/* Mobile-specific styles */
@media (max-width: 767.98px) {
    /* Reset and fix the hero section */
    #home-section {
        width: calc(100% - 20px) !important;
        margin: 10px !important;
        height: calc(100vh - 20px) !important;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }

    .home-slider {
        width: 100% !important;
        height: 100% !important;
    }

    .owl-carousel.home-slider {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        pointer-events: none !important;
    }

    .owl-carousel.home-slider .slider-item {
        height: 100% !important;
        position: relative !important;
    }

    /* Background image container */
    .owl-carousel.home-slider .slider-item .one-third {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-position: center !important;
        background-size: cover !important;
    }

    /* Content container */
    .owl-carousel.home-slider .slider-item .one-forth {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding: 2rem !important;
    }

    /* Text content */
    .owl-carousel.home-slider .slider-item .slider-text {
        width: 100% !important;
        padding: 0 !important;
    }

    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .owl-carousel.home-slider .slider-item .slider-text .subheading {
        font-size: 1rem !important;
        color: #fff !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
    }

    /* Overlay */
    .owl-carousel.home-slider .slider-item .overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 1 !important;
    }

    /* Hide navigation */
    .owl-carousel.home-slider .owl-nav,
    .owl-carousel.home-slider .owl-dots {
        display: none !important;
    }

    /* Enable buttons */
    .owl-carousel.home-slider .btn,
    .owl-carousel.home-slider a {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 3 !important;
    }

    /* Fix carousel stage */
    .owl-carousel.home-slider .owl-stage-outer,
    .owl-carousel.home-slider .owl-stage,
    .owl-carousel.home-slider .owl-item {
        height: 100% !important;
    }

    /* Ensure body scroll works */
    body {
        overflow-y: auto !important;
    }

    /* Fix container padding */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .owl-carousel.home-slider,
    .owl-carousel.home-slider .slider-item,
    .owl-carousel.home-slider .slider-item .slider-text {
        height: 600px !important;
    }
} 