.hero_section_bg {
    width: 100%;
    overflow: hidden;
}


.hero_center_box {
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 100%;
    height: auto;
    z-index: 10;
}

.tex_and_modal_image_main {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.heading_tagline_text {
    width: 400px;
    font-size: 80px;
    color: white;
    font-family: 'Argent CF', serif !important;
    letter-spacing: 3%;
}

.modal_image_main {
    width: 632px;
    height: auto;
}

.modal_image_main_dentist {
    width: 590px !important;
    height: auto;
}

.modal_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1800px) {
    .modal_image_main {
        width: 530px;
    }

    .modal_image_main_dentist {
        width: 480px !important;
    }

    .heading_tagline_text {
        font-size: 70px;

    }

}

@media (max-width: 1500px) {
    .modal_image_main {
        width: 445px;
    }

    .modal_image_main_dentist {
        width: 380px !important;
    }

    .heading_tagline_text {
        font-size: 60px;

    }

}

@media (max-width: 1250px) {
    .modal_image_main {
        width: 370px;
    }

    .modal_image_main_dentist {
        width: 340px !important;
    }

    .heading_tagline_text {
        font-size: 60px;

    }

}
@media (max-width: 1140px) {
   .modal_image_main_dentist {
        width: 300px !important;
    }
}

@media (max-width: 1048px) {
    .modal_image_main {
        width: 350px;
    }

    .heading_tagline_text {
        font-size: 50px;

    }

    .modal_image_main_dentist {
        width: 280px !important;
    }
}

@media (max-width: 992px) {
    .tex_and_modal_image_main {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .modal_image_main {
        width: 550px !important;
    }

    .heading_tagline_text {
        font-size: 60px;
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
        line-height: 80px;
    }

}

@media (max-width: 750px) {
    .modal_image_main {
        width: 375px !important;
    }

    .heading_tagline_text {
        font-size: 47px;
        line-height: 65px;

    }

}

@media (max-width: 576px) {
    .modal_image_main {
        width: 300px !important;
    }

    .heading_tagline_text {
        font-size: 32px;
        line-height: 47px;
        margin-bottom: 20px;
    }

}

@media (max-width: 420px) {
    .modal_image_main {
        width: 250px !important;
    }

}

@media (max-width: 370px) {
    .modal_image_main {
        width: 200px !important;
    }

}