
.carousel-container {
    overflow: hidden;
    padding: 40px 0;
    background: #f1f1f1; /* Color plomo claro de fondo */
    border-radius: 20px;
    position: relative;
}

.carousel-track {
    display: flex;
    width: calc(250px * 10); /* Ajusta según el número total de slides (incluyendo duplicados) */
    animation: scrollInfinite 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused; /* El carrusel se detiene al pasar el mouse */
}

.cliente-slide {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    transition: all 0.4s ease;
}

.cliente-slide img {
    width: 100px;
    height: auto;
    filter: grayscale(100%); /* Efecto plomo/gris por defecto */
    opacity: 0.6;
    transition: all 0.4s ease;
    margin-bottom: 15px;
}

.cliente-slide .cliente-nombre {
    color: #888; /* Texto gris por defecto */
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.4s ease;
}

/* Efecto Hover */
.cliente-slide:hover img {
    filter: grayscale(0%); /* Vuelve a su color original */
    opacity: 1;
    transform: scale(1.1);
}

.cliente-slide:hover .cliente-nombre {
    color: #005B9F; /* El texto toma el color azul de tu marca */
}

/* Animación del movimiento */
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5)); /* Se mueve la mitad del total de slides */
    }
}

/* Ajuste Responsive */
@media (max-width: 768px) {
    .carousel-track {
        width: calc(200px * 10);
        animation: scrollInfinite 20s linear infinite;
    }
    @keyframes scrollInfinite {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-200px * 5)); }
    }
    .cliente-slide img {
        width: 100px;
        height: auto;
        filter: grayscale(100%); /* Efecto plomo/gris por defecto */
        opacity: 0.6;
        transition: all 0.4s ease;
        margin-bottom: 15px;
    }
    .cliente-slide {
        width: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0px;
        transition: all 0.4s ease;
    }

}