/* Best Brands Section Styles */
.brand-logos {
    padding: 60px 0;
    background-color: #fff;
}

.brand-logos .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-logos .section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.brand-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.brand-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-item {
    flex: 0 0 calc(16.666% - 20px);
    margin: 0 10px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.brand-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.brand-item .brand-name {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    color: #666;
    transition: color 0.3s ease;
}

.brand-item:hover img {
    transform: scale(1.05);
}

.brand-item:hover .brand-name {
    color: #0073aa;
}

/* Responsive styles */
@media (max-width: 991px) {
    .brand-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 767px) {
    .brand-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .brand-logos {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .brand-item {
        flex: 0 0 calc(100% - 20px);
    }
}
