/* ================================
   CLIENTS SECTION (COMPONENT ONLY)
   Uses global: .section, .section-header, etc.
================================ */

/* Wrapper */
.clients-section {
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Slider container */
.clients-slider {
    overflow: hidden;
    position: relative;
    padding: 12px 0; /* space for shadows */
}

/* Animation track */
.clients-track {
    display: flex;
    width: max-content;
    animation: scrollClients 40s linear infinite;
}

.clients-row {
    display: flex;
    gap: 32px;
    padding: 10px 24px;
}

/* Client Card */
.client-card {
    min-width: 240px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    background: #ffffff;
    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05),
        0 2px 6px rgba(0, 0, 0, 0.03);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Logos */
.client-card img {
    max-height: 65px;
    max-width: 190px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.35s ease;
}

/* Hover */
.client-card:hover {
    transform: translateY(-6px);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Infinite scroll */
@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fade edges */
.clients-slider::before,
.clients-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

/* Mobile */
@media (max-width: 768px) {
    .client-card {
        min-width: 190px;
        height: 110px;
    }

    .client-card img {
        max-height: 50px;
    }

    .clients-row {
        gap: 20px;
    }
}
