.responsive-layout .header-middle .header-middle-content {
    padding: 0px !important;
}

.main-slider {
    min-height: 500px;
    width:100%;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-img img {
    width: 100%;
    height: 100%;   
}

.main-slider::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    height: 100%;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.2);
     z-index: 1;
}

.main-slider .bg-float {
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 100%;
}
.main-slider .bg-float img {
    height: 100%;
}

.main-slider .top-slider {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.main-slider .top-slider h2 {
    color: #19937c;
    font-size: 48px;
    font-weight: 900;
    line-height: 48px;
    text-align:center;
    /*text-shadow: 0 0 1px white;*/
    width: 650px;
}

.main-slider .bottom-slider {
    position: relative;
    display: flex;
    z-index: 1;
    justify-content: space-around;
}

.main-slider .top-slider {
    
}

.main-slider .left-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-slider .left-slider h3 {
    color: white;
    font-weight: 900;
    font-size: 32px;
    text-align:center;
    line-height: 32px;
}

.main-slider .left-slider a {
    color: #19937c;
    background-color: black;
    padding: 12px 18px;
}

.main-slider .right-slider img {
    max-width: 550px;
}

@media (max-width: 425px) {
    
    .main-slider {
        min-height: 450px;
        padding: 0px;
    }

    /* 1. Hide background float */
    .main-slider .bg-float {
        display: none;
    }

    /* 2. Stack everything vertically */
    .main-slider .bottom-slider {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 3. Make left + right behave like one column */
    .main-slider .left-slider,
    .main-slider .right-slider {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    /* 4. Reorder elements */
    .main-slider .top-slider {
        order: 1;
    }
    .main-slider .left-slider {
        display: flex;
        flex-direction: column;
    }
    .main-slider .left-slider h3 {
        order: 2;
    }

    .main-slider .right-slider {
        order: 3;
    }

    .main-slider .left-slider a {
        font-size: 22px;
        margin-top: 16px;
        padding: 15px 5px;
        position: absolute;
        bottom: -10px;
        width: 100%;
    }

    /* 5. Ensure image scales properly */
    .main-slider .right-slider img {
        max-width: 100%;
        height: auto;
        margin: 16px 0;
    }

    .main-slider .top-slider h2 {
        font-size: 24px;
        line-height: 28px;
        padding: 0px 10px;
    }

    .main-slider .left-slider h3 {
        font-size: 22px;
        line-height: 26px;
        margin-top: 10px;
    }
}

