/* Carrusel de Logos Responsive */
.logo-carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.logo-carousel-container.small {
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 10px;
}

.logo-carousel {
    display: flex;
    animation: slideLogos 15s infinite linear;
    gap: 2rem;
    align-items: center;
}

.logo-carousel.small {
    gap: 1rem;
    animation-duration: 12s;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 150px;
    height: 100px;
}

.logo-item.small {
    min-width: 100px;
    height: 60px;
    padding: 0.5rem;
    border-radius: 8px;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo-item.small img {
    border-radius: 4px;
}

/* Animación del carrusel */
@keyframes slideLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Duplicar contenido para efecto infinito */
.logo-carousel::after {
    content: '';
    flex: 0 0 auto;
    width: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-carousel-container {
        margin: 1rem 0;
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .logo-carousel-container.small {
        margin: 0.5rem 0;
        padding: 0.3rem;
        border-radius: 8px;
    }
    
    .logo-item {
        min-width: 120px;
        height: 80px;
        padding: 0.8rem;
    }
    
    .logo-item.small {
        min-width: 80px;
        height: 50px;
        padding: 0.3rem;
    }
    
    .logo-carousel {
        gap: 1rem;
        animation-duration: 12s;
    }
    
    .logo-carousel.small {
        gap: 0.5rem;
        animation-duration: 10s;
    }
}

@media (max-width: 480px) {
    .logo-carousel-container {
        margin: 0.8rem 0;
        padding: 0.5rem;
        border-radius: 10px;
    }
    
    .logo-carousel-container.small {
        margin: 0.3rem 0;
        padding: 0.2rem;
        border-radius: 6px;
    }
    
    .logo-item {
        min-width: 100px;
        height: 60px;
        padding: 0.5rem;
    }
    
    .logo-item.small {
        min-width: 60px;
        height: 40px;
        padding: 0.2rem;
    }
    
    .logo-carousel {
        gap: 0.8rem;
        animation-duration: 10s;
    }
    
    .logo-carousel.small {
        gap: 0.3rem;
        animation-duration: 8s;
    }
}

/* Indicador de carrusel */
.carousel-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-title.small {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.carousel-title.light {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .carousel-title {
        font-size: 1rem;
    }
    
    .carousel-title.small {
        font-size: 0.8rem;
    }
}