/* Banner Slider Styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.banner-slider {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    width: 100%;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    width: 100%;
    pointer-events: auto !important;
}

.banner-overlay .container {
    max-width: 100%;
}

.owl-carousel {
    position: relative;
    z-index: 1;
}

.banner-view {
    position: relative;
    min-height: 640px;
    width: 100%;
}

@media (min-width: 992px) {
    .banner-overlay {
        left: 65px;
        width: 90%;
    }
}


/* Only apply these styles for mobile screens */
@media (max-width: 991px) {
    .banner-overlay {
        padding: 0 15px;
    }

    .banner-overlay .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner-view {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .w3l-main-slider .header-hero-19 {
        text-align: center;
        padding: 0 15px;
    }

    .w3l-main-slider .banner-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 15px;
    }

    .w3l-main-slider .banner-info p {
        position: static !important;
        margin: 15px 0 !important;
        padding: 0 !important;
        max-width: 100%;
    }

    .w3l-main-slider .banner-info p:before {
        display: none !important;
    }

    .w3l-main-slider .banner-info h1 {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100%;
    }

    .banner-slider {
        min-height: 500px;
    }
    
    .banner-view {
        min-height: 500px;
    }
    
    .w3l-main-slider .banner-info h1 {
        font-size: 3rem !important;
        line-height: 1.2;
    }
    
    .banner-info .d-flex {
        height: auto !important;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .banner-slider {
        min-height: 400px;
    }
    
    .banner-view {
        min-height: 400px;
    }
    
    .w3l-main-slider .banner-info h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
        white-space: normal !important;
    }
    
    .banner-info p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .brands-section {
        position: relative !important;
        margin-top: 1rem;
        width: 100%;
    }
    
    .brands-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .banner-slider {
        min-height: 350px;
    }
    
    .banner-view {
        min-height: 350px;
    }
    
    .w3l-main-slider .banner-info h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .banner-info p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .brands-section p {
        font-size: 0.8rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .banner-slider {
        min-height: 300px;
    }
    
    .banner-view {
        min-height: 300px;
    }
    
    .w3l-main-slider .banner-info h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .banner-info p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .banner-overlay {
        padding: 0 10px;
    }
    
    .w3l-main-slider .header-hero-19 {
        padding: 0 10px;
    }
    
    .w3l-main-slider .banner-info {
        padding: 0 10px;
    }
} 