/* Partner Carousel */
.partner-section {
    overflow: hidden;
    background: #e9e9e9;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 50px;

    animation: scrollLogo 25s linear infinite;
}

.logo-item {
    flex: 0 0 160px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 140px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;

    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Animasi dari kanan ke kiri */
@keyframes scrollLogo {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause ketika mouse diarahkan */
.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-track {
        gap: 25px;
        animation-duration: 18s;
    }

    .logo-item {
        flex: 0 0 120px;
        height: 80px;
    }

    .logo-item img {
        max-width: 110px;
        max-height: 60px;
    }
}
