.rs-banner {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
}

.banner-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    margin: 0;
}

.banner-background-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-layered-image {
    position: absolute;
    left: 0;
}

.background-layered-image.image1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.background-layered-image.image2 {
    width: 20vw;
    z-index: 2;
}

.background-layered-image.image3 {
    width: 420px;
    position: absolute;
    left: auto !important;
    right: 0 !important;
    bottom: 0;
    z-index: 3 !important;
    margin-right: 10%;
    margin-bottom: 100px;
}

.background-layered-image.image4 {
    width: 100%;
    height: auto;
    bottom: 0;
    position: absolute;
    z-index: 4;
}

.content-wrap {
    position: relative;
    z-index: 10;
    padding-top: 50px;
}

.appoach-img {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.appoach-img img {
    width: auto;
    max-width: 100%;
    height: auto;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .rs-banner {
        min-height: 100vh;
        min-height: 100svh;
    }

    .background-layered-image.image2 {
        width: 35vw;
        max-width: 150px;
    }

    .background-layered-image.image3 {
        display: none !important;
    }

    .background-layered-image.image4 {
        width: 100%;
        height: auto;
        max-height: 40vh;
        object-fit: cover;
        object-position: bottom;
    }

    .content-wrap {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hide the entire appoach-img section on mobile */
    .appoach-img {
        display: none !important;
    }

    /* Alternative selector if :has() is not supported */
    .appoach-img-container {
        display: none !important;
    }

    /* Make sure the remaining content takes full width */
    .col-lg-6-hero-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .background-layered-image.image2 {
        width: 40vw;
        max-width: 120px;
    }

    .background-layered-image.image4 {
        max-height: 30vh;
    }

    .content-wrap {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .rs-banner {
        min-height: 100vh;
    }

    .background-layered-image.image4 {
        max-height: 50vh;
    }
}
