/* Estilos para el carrusel de logos */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-carousel {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
}

.logos-slide {
    display: flex;
    gap: 3rem;
    animation: scroll 50s linear infinite;
    will-change: transform;
}

/* Pausar animación al hacer hover */
.logos-carousel:hover .logos-slide {
    animation-play-state: paused;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 160px;
    transition: all 0.4s ease;
}

.logo-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.logo-item:hover .logo-card {
    border-color: #dc2626;
    transform: scale(1.08);
    box-shadow: 0 25px 30px -8px rgba(220, 38, 38, 0.25);
}

.logo-img {
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.logo-item:hover .logo-img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-item {
        min-width: 160px;
        height: 100px;
    }
    .logo-img {
        max-width: 130px;
        max-height: 65px;
    }
    .logos-carousel, .logos-slide {
        gap: 1.5rem;
    }
    .absolute.left-0, .absolute.right-0 {
        width: 4rem;
    }
}

@media (max-width: 480px) {
    .logo-item {
        min-width: 130px;
        height: 80px;
    }
    .logo-img {
        max-width: 100px;
        max-height: 50px;
    }
}