/* =========================================
   Clients Section (Light Theme Marquee)
   ========================================= */

/* Container */
.clients-marquee-section {
    padding: 20px 0 80px 0;
    background-color: #f8fafc;
    /* Light grey background */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Header Adjustments */
.clients-marquee-section .section__header {
    margin-bottom: 48px;
}

/* Marquee Track */
.marquee-wrapper {
    padding: 30px 0 0;
    position: relative;
    /* Create a mask for fading edges (White fade) */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: marquee-scroll 300s linear infinite;
    will-change: transform;
    padding: 8px 0;
}

/* Pause on hover */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Card Style (Clean Light) */
.client-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default;
    min-width: 180px;
    min-height: 80px;
}

.client-card:hover {
    border-color: #ff5000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Icon */
.client-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5000;
    font-size: 14px;
    font-weight: 700;
}

.client-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Typography (Simple Placeholder) */
.client-name {
    color: #475569;
    /* --text-secondary */
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.client-card:hover .client-name {
    color: #0f172a;
    /* Darker on hover */
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .clients-marquee-section {
        padding: 60px 0;
    }

    .marquee-track {
        gap: 20px;
        animation: marquee-scroll 200s linear infinite;
    }

    .marquee-group {
        gap: 20px;
    }

    .client-card {
        padding: 12px 16px;
        min-width: 140px;
        min-height: 60px;
    }

    .client-name {
        font-size: 14px;
    }
}