/* Global Styles for MEP Website */

/* Modern Core Values Section */
.value-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #dc3545;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.divider-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    margin: 0 auto 16px auto;
    border-radius: 1px;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* About Card Styles - Consistent with Value Cards */
.about-card h5 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #dc3545;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-card .divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    margin: 0 auto 20px auto;
    border-radius: 1px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    right: 20px !important;
    bottom: 100px !important;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #c82333, #e55a5a);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.4);
}

.back-to-top i {
    font-size: 18px;
}

/* WhatsApp Float Button */
.btn-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.btn-whatsapp-float:hover {
    background: #128c7e;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-float i {
    font-size: 24px;
}

/* Pulse Animation for WhatsApp Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .value-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .value-card {
        padding: 25px 15px;
    }
    .value-card h5 {
        font-size: 1rem;
    }
    .divider-line {
        width: 30px;
        height: 2px;
    }
    .value-card p {
        font-size: 0.85rem;
    }
    .about-card h5 {
        font-size: 1.1rem;
    }
    .about-card .divider-line {
        width: 40px;
        height: 2px;
    }
    
    .back-to-top {
        right: 15px !important;
        bottom: 90px !important;
        width: 45px;
        height: 45px;
    }
    
    .btn-whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
    }
    
    .btn-whatsapp-float i {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .value-card {
        padding: 20px 15px;
    }
    .value-card h5 {
        font-size: 0.95rem;
    }
    .value-card p {
        font-size: 0.8rem;
    }
    .about-card h5 {
        font-size: 1rem;
    }
    .about-card .divider-line {
        width: 35px;
        height: 2px;
    }
    
    .back-to-top {
        right: 10px !important;
        bottom: 80px !important;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
    
    .btn-whatsapp-float {
        right: 10px;
        bottom: 10px;
        width: 50px;
        height: 50px;
    }
    
    .btn-whatsapp-float i {
        font-size: 20px;
    }
}
