.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    box-sizing: border-box;
}

.logo-marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    position: relative;
    animation: marquee linear infinite;
}

.logo-marquee-container[dir="rtl"] .logo-marquee-track {
    animation: marquee-rtl linear infinite;
}

.logo-item {
    position: relative;
    margin: 0 20px;
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.logo-slide img,
.logo-hover img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover .logo-hover {
    opacity: 1;
}

.hover-arrow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000;
    transform: rotate(45deg);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.logo-marquee-container[data-pause-on-hover="true"]:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .logo-item {
        width: 130px;
        height: 90px;
        margin: 0 15px;
    }
}

@media (max-width: 992px) {
    .logo-item {
        width: 120px;
        height: 80px;
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .logo-item {
        width: 100px;
        height: 70px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .logo-item {
        width: 80px;
        height: 60px;
        margin: 0 8px;
    }
}

@media (hover: none) {
    .logo-marquee-container[data-pause-on-hover="true"]:hover .logo-marquee-track {
        animation-play-state: running;
    }
} 