/*-- Use For Custom Styling --*/

/* ===================================
   Dual Slider System
====================================== */

/* Desktop Revolution Slider */
@media screen and (min-width: 768px) {
    #rev_slider_346_1_wrapper {
        height: 100vh !important;
        min-height: 600px !important;
    }
    
    #main-slider-four {
        height: 100vh !important;
        min-height: 600px !important;
    }
}

/* Mobile Owl Carousel Slider */
@media screen and (max-width: 767px) {
    #home {
        position: relative;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }
    
    #mobile-slider {
        height: 100vh !important;
        min-height: 100vh !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        z-index: 1;
    }
    
    /* Show first slide by default before Owl initializes */
    #mobile-slider .item:first-child {
        display: block;
    }
    
    #mobile-slider .item:not(:first-child) {
        display: none;
    }
    
    /* Once Owl is initialized, let it handle visibility */
    #mobile-slider.owl-loaded .item {
        display: block !important;
    }
    
    #mobile-slider.owl-carousel {
        display: block !important;
        height: 100vh !important;
        min-height: 100vh !important;
    }
    
    #mobile-slider .owl-stage-outer {
        height: 100vh !important;
    }
    
    #mobile-slider .owl-stage {
        height: 100vh !important;
        display: flex !important;
        align-items: stretch !important;
    }
    
    #mobile-slider .item {
        height: 100vh !important;
        min-height: 100vh !important;
        position: relative;
        overflow: hidden;
        width: 100% !important;
        flex-shrink: 0;
    }
    
    #mobile-slider .item .mobile-banner-img {
        width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        object-fit: cover;
        object-position: center center;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Mobile slider dots styling */
    #mobile-slider.owl-carousel .owl-dots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: flex;
        justify-content: center;
    }
    
    #mobile-slider.owl-carousel .owl-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        margin: 0 5px;
        transition: all 0.3s ease;
        display: inline-block;
        cursor: pointer;
    }
    
    #mobile-slider.owl-carousel .owl-dot.active {
        background: #ffffff;
        transform: scale(1.2);
    }
    
    #mobile-slider.owl-carousel .owl-dot:hover {
        background: rgba(255, 255, 255, 0.8);
    }
}
