/* Logo Loop Styles */
.logo-loop-section {
    position: relative;
    background: white;
}

.logo-loop-container {
    position: relative;
    overflow: hidden;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo-loop-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: logo-scroll 30s linear infinite;
}

.logo-loop-list {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
}

.logo-item {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s linear;
}

.logo-item svg {
    height: 40px;
    width: auto;
    color: #6B7280;
    transition: color 0.2s linear;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item:hover svg {
    color: #111827;
}

/* Fade out edges */
.logo-loop-container::before,
.logo-loop-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(24px, 8%, 120px);
    z-index: 10;
    pointer-events: none;
}

.logo-loop-container::before {
    left: 0;
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-loop-container::after {
    right: 0;
    background: linear-gradient(to left, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes logo-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause animation on hover */
.logo-loop-container:hover .logo-loop-track {
    animation-play-state: paused;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .logo-loop-track {
        animation: none;
    }

    .logo-item {
        transition: none;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .logo-loop-container {
        height: 60px;
    }

    .logo-loop-list {
        gap: 32px;
        padding-right: 32px;
    }

    .logo-item {
        height: 32px;
    }

    .logo-item svg {
        height: 32px;
    }
}
