/* Trusted Brands Section Styles (for index.php) */

.brands-section {
    
    padding: 80px 0;
}

.brands-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.brands-section .section-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 15px;
    position: relative;
}

.brands-section .section-header h2::after {
    content: '';
    width: 80px;
    height: 4px;
    
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.brands-section .section-header p {
    font-size: 1.1em;
    color: #778899;
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
}

/* Brands Container */
.brands-carousel {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.brands-track {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: fit-content;
}

/* Remove all animation and clone-related CSS */

/* Simple brand item layout - no cloning needed */
.brand-item {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 30px;
    box-shadow: none;
    transition: all 0.3s ease;
    min-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 5px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.brand-item .brand-logo {
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-logo {
    filter: none;
    transform: scale(1.05);
}

/* Loading States for Trusted Brands */
.brand-item .brand-logo {
    background: none;
    background-size: 200% 100%;
    animation: none;
}

.brand-item .brand-logo.loaded {
    background: none;
    animation: none;
}

@keyframes trusted-brand-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Design for Trusted Brands */
@media (max-width: 768px) {
    .brands-section {
        padding: 60px 0;
    }
    
    .brands-section .section-header h2 {
        font-size: 2em;
    }
    
    .brands-track {
        gap: 30px;
    }
    
    .brand-item {
        min-width: 140px;
        height: 80px;
        padding: 15px 20px;
        margin: 8px 3px;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    
    .brand-item .brand-logo {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .brands-section {
        padding: 40px 0;
    }
    
    .brands-section .section-header {
        margin-bottom: 40px;
    }
    
    .brands-section .section-header h2 {
        font-size: 1.8em;
    }
    
    .brands-track {
        gap: 20px;
    }
    
    .brand-item {
        min-width: 120px;
        height: 70px;
        padding: 10px 15px;
        margin: 5px 2px;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    
    .brand-item .brand-logo {
        max-width: 80px;
        max-height: 40px;
    }
}

/* Print Styles */
@media print {
    .brands-section {
        background: white;
        padding: 40px 0;
    }
    
    .brands-track {
        gap: 30px;
    }
    
    .brand-item {
        box-shadow: none;
        border: none;
        margin: 10px;
        background: transparent;
    }
    
    .brand-item .brand-logo {
        filter: none;
    }
}