/* =================================================================
   CLIENTS / TRUST SECTION STYLES
   ================================================================= */

.client-section {
    background-color: #111827; /* Dark background (matches header/footer) */
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

/* --- SECTION TITLE --- */
.client-title {
    text-align: center;
    color: #6B7280; /* Muted Grey */
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

/* --- SCROLLER CONTAINER --- */
.clients-container {
    width: 100%;
    overflow: hidden; /* Hides logos that scroll off-screen */

    /* Fade effect on left and right edges */
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);

    margin-top: 0;
}

/* --- LOGO TRACK --- */
.clients-track {
    display: flex;
    align-items: center;
    width: fit-content;
    /* The JS handles the movement/transform */
    will-change: transform;
    padding: 10px 0;
}

/* --- LOGO IMAGES --- */
.clients-track img {
    height: 35px; /* Consistent height */
    margin: 0 50px; /* Spacing between logos */

    /* Default State: Grayscale and Dimmed */
    filter: grayscale(100%) opacity(0.4) brightness(1.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

/* Hover State: Reveal original color */
.clients-track img:hover {
    filter: grayscale(0%) opacity(1) brightness(1);
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media only screen and (max-width: 800px) {
    .client-section {
        padding: 40px 0;
    }

    .client-title {
        margin-bottom: 30px;
        font-size: 11px;
    }

    .clients-track img {
        height: 28px; /* Smaller logos on mobile */
        margin: 0 25px; /* Tighter spacing */
    }
}
