/* ===================================
   BRANDS SLIDER SECTION
   =================================== */

.brands-slider-section {
    background-color: #ffffff;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.brands-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-slider-track {
    display: flex;
    align-items: center;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.brands-slider-track:hover {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
}

.brand-item img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Animación de scroll infinito */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brands-slider-section {
        padding: 40px 0;
    }
    
    .brand-item {
        padding: 0 25px;
        min-width: 140px;
        height: 80px;
    }
    
    .brand-item img {
        max-width: 120px;
        max-height: 60px;
    }
    
    .brands-slider-track {
        animation: scroll 30s linear infinite;
    }
}

@media (max-width: 480px) {
    .brand-item {
        padding: 0 20px;
        min-width: 120px;
        height: 70px;
    }
    
    .brand-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .brands-slider-track {
        animation: scroll 25s linear infinite;
    }
}