/* Mission, Vision, Values Section */
.mission-vision-values {
    padding: 120px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.mission-vision-values .mvv-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 5px solid transparent;
}

.mission-vision-values .mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision-values .mission-card:hover {
    border-bottom-color: #52d7fc;
}

.mission-vision-values .vision-card:hover {
    border-bottom-color: #4562ed;
}

.mission-vision-values .values-card:hover {
    border-bottom-color: #52d7fc;
}

.mission-vision-values .mvv-card .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #f4f7fa;
    margin: 0 auto 30px auto;
    font-size: 32px;
    transition: all 0.4s ease;
}

.mission-vision-values .mission-card .icon {
    color: #52d7fc;
}

.mission-vision-values .vision-card .icon {
    color: #4562ed;
}

.mission-vision-values .values-card .icon {
    color: #52d7fc;
}

.mission-vision-values .mvv-card:hover .icon {
    color: #fff;
}

.mission-vision-values .mission-card:hover .icon {
    background: #52d7fc;
}

.mission-vision-values .vision-card:hover .icon {
    background: #4562ed;
}

.mission-vision-values .values-card:hover .icon {
    background: #52d7fc;
}

.mission-vision-values .mvv-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.mission-vision-values .mvv-card p {
    font-size: 15px;
    line-height: 28px;
    color: #7a7a7a;
    margin-bottom: 0;
}

/* Add a subtle background decoration */
.mission-vision-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/services-left-dec.png');
    /* Assuming this exists or similar */
    background-repeat: no-repeat;
    background-position: left top;
    opacity: 0.05;
    pointer-events: none;
}

/* =========================================
   Our Clients Section
   ========================================= */

.our-clients {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    margin-top: 80px;
}

/* Ghost Text for Our Clients */
.our-clients .section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.our-clients .section-heading::before {
    content: "OUR CLIENTS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 900;
    color: #2a2a2a;
    opacity: 0.1;
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 768px) {
    .our-clients .section-heading::before {
        font-size: 50px !important;
    }

    .our-clients {
        padding: 60px 0;
        margin-top: 40px;
    }
}

/* Clients Carousel Styles */
.clients-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Gradient fade effect on edges */
.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #e9ecef 0%, transparent 100%);
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scroll-clients 30s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    min-height: 120px;
}

.client-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .clients-track {
        gap: 30px;
        animation-duration: 20s;
    }

    .client-logo {
        padding: 15px 20px;
        min-height: 80px;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 60px;
    }


    .clients-carousel-wrapper::before,
    .clients-carousel-wrapper::after {
        width: 50px;
    }
}


/* =========================================
   About Us Page Responsive Fixes
   ========================================= */

@media (max-width: 992px) {
    .about-story .left-image {
        margin-right: 0;
        margin-bottom: 45px;
        text-align: center;
    }

    .about-story .left-image img {
        display: inline-block;
        width: 100%;
        max-width: 500px;
    }

    .about-story .about-content {
        text-align: center;
        padding-left: 0;
    }

    .mission-vision-values .mvv-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-heading.about-heading .header-text h2 {
        font-size: 36px;
    }

    .about-story {
        padding: 60px 0;
    }

    .about-story .left-image {
        margin-bottom: 30px;
    }

    .about-story .about-content h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .about-story .about-content p {
        font-size: 15px;
        line-height: 26px;
    }

    .mission-vision-values {
        padding: 60px 0 30px 0;
    }
}