@media screen and (min-width: 1500px) {
    .container {
        max-width: 1470px;
    }
}

@media screen and (max-width: 1200px) {
    h1 {
        font-size: 50px;
        line-height: 1.4;
    }

    h2 {
        font-size: 40px;
        line-height: 1.4;
    }

    h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    h4 {
        font-size: 22px;
        line-height: 1.4;
    }

    h5 {
        font-size: 20px;
        line-height: 30px;
    }

    h6 {
        font-size: 18px;
        line-height: 30px;
    }

    .p-120 {
        padding: 100px 0;
    }

    .benefit-type .benefit-circle {
        width: 180px;
        height: 180px;
    }

    .treatment-sec .row .col-lg-3:not(:last-child) .steps-box:before {
        right: -80px;
    }

    .steps-box {
        padding: 20px 40px 20px 20px;
    }
}

@media screen and (max-width: 1199px) {
    header.site-header .navbar-nav {
        gap: 10px;
    }
    section.treatment-sec.p-120 {
        overflow: hidden;
    }
    .trust-img.text-right img {
        width: 100%;
        padding-left: 10px;
    }
    .about-dr {
        border-radius: 25px;
        background: rgba(97, 67, 121, 0.05);
        padding: 40px 40px 40px 110px;
        margin-left: -150px;
        z-index: -1;
        position: absolute;
        bottom: -90px;
    }
    .dentist-content-right h2 {
        padding-top: 30px;
        max-width: 546px;
    }
    .adv-sec .adv-row {

     gap: 15px;
 }
 .cta {
    max-width: 200px!important;
}
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 42px;
        line-height: 1.4;
    }

    h2 {
        font-size: 34px;
        line-height: 1.4;
    }

    h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    h4 {
        font-size: 22px;
        line-height: 1.4;
    }

    h5 {
        font-size: 20px;
        line-height: 30px;
    }

    h6 {
        font-size: 18px;
        line-height: 30px;
    }

    .p-120 {
        padding: 70px 0;
    }
    .banner-sec {
        padding: 200px 0;
    }
    .benefit-type .benefit-circle {
        width: 150px;
        height: 150px;
    }


    .treatment-content .col-lg-3.col-md-4:last-child {
        margin-top: 25px;
    }
    header span.bar {
        display: block;
        width: 25px;
        height: 2px;
        background: #fff;
        margin-bottom: 7px;
    }
    header.site-header .navbar-nav {
        gap: 10px;
        align-items: center;
    }
    header button.navbar-toggler {
        display: none;
    }
    header .navbar-collapse {
        position: absolute;
        background: #000;
        top: 80px;
        right: 0;
        width: 280px;
        padding: 20px;
        z-index: 99;
    }
    header nav.navbar.navbar-expand-lg {
        position: relative;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .foot-col {
        display: flex;
        align-items: center;
        justify-content: start;
    }
    section.pri-fin-sec .pri-fin-box {
        height: 100%;
    }
    .dentist-content-right {
        padding: 0;
        margin-bottom: 30px;
    }
    .dentist-content-right .about-dr {
        position: relative;
        top: unset;
        bottom: unset;
        margin: 0;
        padding: 30px 20px;
    }
    section.dentist-sec .row {
        flex-direction: column-reverse;
    }
    .check-list-row ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
    }

    header.site-header .navbar-toggle {
        background: transparent !important;
        border: 0;
        padding: 0;
    }

    header span.bar {
        width: 30px;
    }

    header .navbar-collapse {
        top: 100%;
        width: 100%;
        padding: 0;
    }


    header.site-header .navbar-nav {
        width: 100%;
        align-items: flex-start;
        padding: 10px 0px;
    }

    nav.cosmetic_smile>.container {
        justify-content: flex-end;
    }



    nav.cosmetic_smile.navbar.navbar-expand-lg.main-header a.nav-link {
        margin-left: 50px;
    }

    .navbar-toggler[aria-expanded="true"] .bar.bar-2 {
        display: none;
    }
    .navbar-toggler[aria-expanded="true"] .bar.bar-1 {
        transform: rotate(45deg);
    }
    .navbar-toggler[aria-expanded="true"] .bar.bar-3 {
        transform: rotate(-45deg);
    }
    .navbar-toggler[aria-expanded="true"] .bar {
        margin: -2px;
    }

    .button_close_now{
        display: block;
    }

    .navbar-toggle.button_close_now[aria-expanded="true"] span.bar.bar-2 {
        display: none !important;
    }
    .navbar-toggle.button_close_now[aria-expanded="true"] .bar.bar-1 {
        transform: rotate(45deg) !important;
    }
    .navbar-toggle.button_close_now[aria-expanded="true"] .bar.bar-3 {
        transform: rotate(-45deg) !important;
    }
    .navbar-toggle.button_close_now[aria-expanded="true"] .bar {
        margin: -2px !important;
    }


    button.navbar-toggle.button_close_now {
        height: 30px;
        width: 30px;
    }

    header span.bar {
        transition: all 0.3s ease-out;
    }

}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 38px;
        line-height: 1.4;
    }

    h2 {
        font-size: 30px;
        line-height: 1.4;
    }

    h3 {
        font-size: 22px;
        line-height: 1.4;
    }

    h4 {
        font-size: 20px;
        line-height: 1.4;
    }

    h5 {
        font-size: 18px;
        line-height: 1.4;
    }

    h6 {
        font-size: 16px;
        line-height: 1.4;
    }

    .p-120 {
        padding: 50px 0;
    }
    .check-list-row ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
    }
    .check-list-row ul li {
        display: flex;
        text-align: center;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .check-list-row ul {
        align-items: center;
    }
    .treatment-sec .row .col-lg-3:not(:last-child) .steps-box {
        margin-bottom: 50px;
        height: auto;
    }
    .treatment-sec .row .col-lg-3:not(:last-child)::after {
        bottom: 0%;
        right: 42%;
        top: unset;
        transform: rotate(90deg);
    }
    header.site-header ul.head-links {
        flex-direction: column;
    }    
    header.site-header ul.head-links li {
        border: none!important;
        padding: 0!important;
    }    
    header.site-header ul.head-links {
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
    }    
    .our-team-sec .our-team-btn {
        flex-direction: column;
        align-items: center;
    }    
    .benefits-sec .our-team-btn ,.treatment-sec .our-team-btn, .pri-fin-sec .our-team-btn {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }    
    .adv-sec .adv-row {
        flex-direction: column;
    }    
    .footer-content ul {
        padding-top: 0;
    }
    .benefits-content h2 ,.treatment-sec .treatment-content-head ,.comp-bond-sec .comp-bond-head ,.pri-fin-sec h2{
        margin-bottom: 20px;
    }
    .our-team-sec .our-team-content .bond-offer {
        padding: 20px 30px;
    }
    footer.footer-sec .whatsapp-img ,footer.footer-sec .chatbot-img {
        position: absolute;
        bottom: 40px;
    }
    footer.footer-sec .whatsapp-img {
        left: 40px;
    }
    footer.footer-sec .chatbot-img {
        right: 40px;
    }
    footer.footer-sec .whatsapp-img ,footer.footer-sec .chatbot-img {
        position: absolute;
        bottom: 20px;
        max-width: 60px;
    }
    footer.footer-sec .whatsapp-img {
        left: 10px;
    }
    footer.footer-sec .chatbot-img {
        right: 10px;
    }
    footer.footer-sec .whatsapp-img img ,footer.footer-sec .chatbot-img img{
        max-width: 100%;
    }
    .treatment-content .col-lg-3.col-md-4:last-child {
        margin-top: 0;
    }
    .banner-sec {
        padding: 150px 0;
    }
}

@media screen and (max-width: 575px) {
    h1 {
        font-size: 34px;
        line-height: 1.4;
    }

    h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    h3 {
        font-size: 22px;
        line-height: 1.4;
    }

    h4 {
        font-size: 20px;
        line-height: 1.4;
    }

    h5 {
        font-size: 18px;
        line-height: 1.4;
    }

    h6 {
        font-size: 16px;
        line-height: 1.4;
    }
    .p-120 {
        padding: 30px 0;
    }
    .banner-sec {
        padding: 120px 0;
    }

}