/* Brand Logo Slider Styles */

.brand-slider-section {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.brand-slider-gradient {
    background: linear-gradient(90deg, 
        #000000 0%, 
        #1a1a1a 10%, 
        #404040 25%, 
        #666666 40%, 
        #808080 50%, 
        #666666 60%, 
        #404040 75%, 
        #1a1a1a 90%, 
        #000000 100%
    );
    padding: 15px 0;
    position: relative;
}

/* Add subtle shine effect */
.brand-slider-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

/* Brand marquee specific styles */
.brand-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.brand-marquee .d-item {
    display: flex;
    align-items: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.brand-marquee .d-item-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}

.brand-logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.brand-logo {
    max-width: 240px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 
                0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0%) brightness(1);
    display: block;
}

.brand-logo-link:hover .brand-logo,
.brand-logo:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.2), 
                0 6px 16px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .brand-slider-gradient {
        padding: 12px 0;
    }
    
    .brand-marquee .d-item {
        gap: 40px;
    }
    
    .brand-marquee .d-item-display {
        padding: 0 20px;
    }
    
    .brand-logo {
        max-width: 200px;
        max-height: 120px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .brand-slider-gradient {
        padding: 10px 0;
    }
    
    .brand-marquee .d-item {
        gap: 30px;
    }
    
    .brand-marquee .d-item-display {
        padding: 0 15px;
    }
    
    .brand-logo {
        max-width: 160px;
        max-height: 95px;
        padding: 15px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .brand-slider-gradient {
        padding: 8px 0;
    }
    
    .brand-marquee .d-item {
        gap: 20px;
    }
    
    .brand-marquee .d-item-display {
        padding: 0 12px;
    }
    
    .brand-logo {
        max-width: 130px;
        max-height: 80px;
        padding: 12px;
        border-radius: 10px;
    }
}