/* Brand Carousel Styles */
.brands-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.brands-container {
    position: relative;
    padding: 0 50px;
}

.brands-carousel {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0 -10px;
    padding: 20px 0;
}

.brand-item {
    flex: 0 0 16.666%;
    min-width: 150px;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.brand-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.brand-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.brand-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: #cc0000;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control i {
    font-size: 18px;
}

.view-all-brands {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    background-color: transparent;
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view-all:hover {
    background-color: #ff0000;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .brand-item {
        flex: 0 0 25%;
    }
}

@media (max-width: 768px) {
    .brand-item {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 576px) {
    .brand-item {
        flex: 0 0 50%;
    }
    
    .brands-container {
        padding: 0 30px;
    }
}