/* ==========================================================================
   OUR CLIENTS LOGO CAROUSEL (PNG / SVG TRANSPARENT DISPLAY)
   ========================================================================== */

.clients-carousel-section {
    background-color: #FFFFFF !important;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding-top: 70px;
    padding-bottom: 70px;
}

.clients-heading {
    color: #000B33 !important;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

/* Edge Fade Mask for Smooth Endless Flow */
.clients-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    animation: scrollClientsMarquee 32s linear infinite;
}

/* Pause scroll when cursor hovers */
.clients-marquee-wrapper:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes scrollClientsMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Client Logo Outer Box */
.client-logo-card {
    flex: 0 0 210px;
    width: 210px;
    height: 96px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 11, 51, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.client-logo-card:hover {
    background: #FFFFFF;
    border-color: #F27915;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(242, 121, 21, 0.12), 0 4px 10px rgba(0, 11, 51, 0.04);
}

.client-logo-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Real Logo PNG / SVG Styling */
.client-brand-png {
    max-width: 130px;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Subtle professional grayscale baseline that illuminates in brand color on hover */
    filter: grayscale(100%) opacity(0.72);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.client-logo-card:hover .client-brand-png {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .clients-carousel-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }
    .client-logo-card {
        flex: 0 0 180px;
        width: 180px;
        height: 85px;
        padding: 12px 18px;
    }
    .client-brand-png {
        max-width: 110px;
        max-height: 40px;
    }
}

@media (max-width: 575.98px) {
    .clients-carousel-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .clients-heading {
        font-size: 1.65rem !important;
    }
    .clients-marquee-wrapper {
        mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    }
    .client-logo-card {
        flex: 0 0 150px;
        width: 150px;
        height: 75px;
        padding: 10px 14px;
        border-radius: 12px;
    }
    .client-brand-png {
        max-width: 95px;
        max-height: 34px;
    }
}