/* ============================================
   INFINITE MARQUEE SECTION
   ============================================ */

.marquee-section {
    position: relative;
    padding: var(--space-12) 0;
    overflow: hidden;
    background: linear-gradient(to right, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.5) 20%, rgba(10, 10, 15, 0.5) 80%, rgba(10, 10, 15, 0) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.marquee-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    font-weight: 600;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--space-20);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--space-16);
    /* Large gap between logos */
    min-width: 100%;
    animation: scroll 40s linear infinite;
}

.marquee-content.reverse {
    animation-direction: reverse;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--space-16)));
    }
}

/* Pause on hover for interaction */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Logo Styling */
/* Text Styling */
.marquee-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.5);
    /* Increase visibility slightly */
    font-size: 1.5rem;
    /* Reduced from 3rem */
    font-weight: 600;
    /* Reduced from 800 */
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.4s ease;
    white-space: nowrap;
    opacity: 0.8;
}

/* Decorative Separator */
.marquee-item::after {
    content: '•';
    /* Dot separator */
    color: var(--color-primary);
    font-size: 1rem;
    /* Reduced separator */
    margin-left: var(--space-8);
    opacity: 0.5;
    transform: translateY(-2px);
}

.marquee-item svg {
    display: none;
}

.marquee-item:hover {
    color: white;
    opacity: 1;
    transform: scale(1.02);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    letter-spacing: 0.05em;
}

.marquee-item:hover svg {
    /* Optional: Shake or bounce effect */
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-section {
        padding: var(--space-8) 0;
    }

    .marquee-content {
        gap: var(--space-8);
        animation-duration: 20s;
    }

    .marquee-item {
        font-size: 1.2rem;
    }

    .marquee-item svg {
        width: 32px;
        height: 32px;
    }
}