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

@media only screen and (max-width: 1599px) {
    body {
        font-size: 16px;
        line-height: normal;
    }
    h1 {
        font-size: 50px;
        line-height: 1.2;
    }
    h2 {
        font-size: 40px;
        line-height: 1.2;
    }
    h4 {
        font-size: 25px;
        line-height: normal;
    }
    h5 {
        font-size: 20px;
        line-height: normal;
    }
    h6 {
        font-size: 18px;
        line-height: normal;
    }
    .p_120 {
        padding: 100px 0;
    }
    .hearder_wrapper ul.navbar-nav {
        gap: 10px;
    }
    .banner_content ul li {
        font-size: 15px;
        line-height: normal;
        margin-top: 20px;
    }
    .banner_wreap {
        padding: 250px 0 100px;
    }
    .header_band .head-links li:not(:last-child) {
        padding-right: 15px;
        margin-right: 15px;
    }
    .header_band .head-links li {
        font-size: 13px;
    }
    .header_band .head-links li i {
        margin-right: 5px;
    }
    .expect_grid .expect_list .expect_list_img {
        width: 200px;
        height: 200px;
    }
    .expect_grid .expect_list .expect_list_img img {
        max-width: 70px;
    }
    .result_grid {
        gap: 40px 30px;
    }
    .result_grid .result_list p {
        font-size: 14px;
        line-height: normal;
    }
    .works_content ul li span {
        font-size: 20px;
    }
    .works_content ul li p {
        font-size: 14px;
        line-height: normal;
    }
    .works_content ul li::before {
        top: 0;
        left: -130px;
        width: 80px;
        height: 80px;
        font-size: 20px;
    }
    .works_content ul::after {
        left: 60px;
        top: 10px;
    }
    .works_content {
        padding-right: 0;
    }
    .works_content ul li {
        margin-bottom: 30px;
    }
    .result_content .result_hd {
        max-width: 580px;
        margin: 0 auto 30px;
    }
    .costs_content h2 {
        margin: 0 auto 30px;
    }
    .works_wrapper h2 {
        margin-bottom: 30px;
    }
    .cosmetic_wrapper h2 {
        margin-bottom: 30px;
    }
    .footer_content ul li a, .footer_content ul li {
        font-size: 15px;
    }
    .footer_content ul li p {
        font-size: 16px;
    }
    .footer_content h3 {
        font-size: 24px;
    }
    .footer_btn li:not(:last-child) {
        margin-bottom: 10px;
    }
    .btn_wreap {
        gap: 10px;
    }
    .video-thumb {
        width: 80px;
        height: 80px;
    }
    .video_click i {
        font-size: 20px;
    }
    .costs_content::after {
        bottom: 20px;
        left: -50px;
        width: 50px;
        height: 50px;
    }
    .costs_wrapper::after {
        bottom: -130px;
        left: 30px;
        width: 200px;
        height: 200px;
    }
    .expect_grid {
        gap: 50px;
    }
    .cosmetic_content {
        padding-left: 30px;
    }
    .result_grid .result_list h4 {
        margin-top: 25px;
    }
    .social_link {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .social_link ul li a img {
        max-width: 60px;
    }
}

@media only screen and (max-width: 1199px) {
    h1 {
        font-size: 42px;
        line-height: 1.2;
    }
    h2 {
        font-size: 38px;
        line-height: 1.2;
    }
    h4 {
        font-size: 24px;
        line-height: normal;
    }
    h5 {
        font-size: 18px;
        line-height: normal;
    }
    h6 {
        font-size: 16px;
        line-height: normal;
    }
    .p_120 {
        padding: 100px 0;
    }
    .costs_grid {
        gap: 20px;
    }
    .costs_grid .costs_list {
        padding: 20px;
    }
    .costs_content::after {
        bottom: 20px;
        left: 0;
        width: 40px;
        height: 40px;
    }
    .costs_wrapper::after {
        bottom: -120px;
        left: 20px;
        width: 180px;
        height: 180px;
    }
    .expect_grid {
        gap: 30px;
    }
    .expect_grid .expect_list .expect_list_img {
        width: 180px;
        height: 180px;
    }
    .expect_grid .expect_list .expect_list_img img {
        max-width: 60px;
    }
    hr.line {
        margin: 50px 0 50px;
    }
    .result_grid {
        gap: 30px 20px;
    }
    .result_grid .result_list h4 {
        margin-top: 20px;
    }
    .result_grid .result_list p:not(:last-child) {
        margin-bottom: 20px;
    }
    .works_wrapper .works_img {
        margin: 0;
    }
    .cosmetic_content {
        padding-left: 0;
    }
    .btn {
        max-width: 230px !important;
    }
    .dentist-content-right h2 {
    padding-top: 30px;
    max-width: 546px;
}

.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: -120px;
}

.adv-sec .adv-row {
    gap: 15px;
}
}

@media only screen and (max-width: 991px) {
    body {
        font-size: 15px;
        line-height: normal;
    }
    h1 {
        font-size: 38px;
        line-height: 1.2;
    }
    h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    h4 {
        font-size: 22px;
        line-height: normal;
    }
    .p_120 {
        padding: 80px 0;
    }
    header button.navbar-toggler {
        display: grid;
        padding: 0;
        background: transparent;
        outline: none !important;
        box-shadow: none !important;
        cursor: pointer !important;
        border: 0;
        justify-content: end;
        width: 30px;
    }
    .bars {
        width: 30px;
        height: 3px;
        margin: 3px auto;
        background-color: #fff;
        border-radius: 10px;
        transition: all .3s ease-in-out;
        background-image: none !important;
    }
    .navbar-toggler[aria-expanded="true"] .bars {
        margin: -3px;
        transition: all .3s ease-in-out;
    }
    .navbar-toggler[aria-expanded="true"] .bars.bar2 {
        opacity: 0;
    }
    .navbar-toggler[aria-expanded="true"] .bars.bar1 {
        transform: rotate(45deg);
    }
    .navbar-toggler[aria-expanded="true"] .bars {
        margin: -3px;
        transition: all .3s ease-in-out;
    }
    .navbar-toggler[aria-expanded="true"] .bars.bar3 {
        transform: rotate(-45deg);
    }
    .navbar-toggler[aria-expanded="true"] .bars {
        margin: -4px;
        transition: all .3s ease-in-out;
    }
    .hearder_wrapper nav.navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        background-color: #000;
        left: 0;
        right: 0;
        margin: 0 15px;
        z-index: 999;
    }
    .hearder_wrapper ul {
        padding: 15px;
        align-items: start;
    }
    .hearder_wrapper nav.navbar .navbar-nav {
        gap: 15px;
    }
    .banner_wreap {
        padding: 200px 0 80px;
    }
    .costs_grid {
        grid-template-columns: repeat(2,1fr);
    }
    .costs_content::after {
        bottom: -50px;
    }
    .expect_grid {
        gap: 15px;
    }
    .expect_grid .expect_list p {
        line-height: normal;
    }
    .result_grid {
        grid-template-columns: repeat(2,1fr);
    }
    .works_wrapper .works_img {
        margin: 0 0 30px;
    }
    .cosmetic_content {
        padding: 30px 0 0;
    }
    .footer_btn li {
        text-align: start;
    }
    .footer_btn {
        padding-top: 30px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .footer_btn li:not(:last-child) {
        margin-bottom: 0;
    }
    .footer-sec {
        padding-top: 0 !important;
    }
    .social_link {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    .social_link ul li a img {
        max-width: 50px;
    }
    .button_close_now{
        display: block;
    }

    .navbar-light .navbar-toggler {
        background: transparent;
    }

    button.navbar-toggle {
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
    }

    header span.bar {
        display: block;
        width: 30px;
        height: 2px;
        background: #fff;
        margin-bottom: 6px;
        padding: 0;
    }

    nav.straight_smile.navbar.navbar-expand-lg.main-header>.container {
        display: flex;
        justify-content: flex-end;
    }

    nav.straight_smile.navbar.navbar-expand-lg.main-header a.nav-link {
        position: relative;
        color: #fff;
        padding-left: 50px;
        line-height: 25px;
    }

    .hearder_wrapper nav.navbar .navbar-collapse {
        margin: 0;
    }


    .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;
    }
    .desktop_view {
    display: none;
}

.Mobile_view {
    display: block;
}
section.dentist-sec .row {
    flex-direction: column-reverse;
}

.dentist-content-right {
    padding: 0;
    margin-bottom: 30px;
}

.dentist-content-right .about-dr {
    position: relative;
    top: unset;
    bottom: unset;
    margin: 0;
    padding: 30px 20px;
}

.dentist-img {
    text-align: center;
}


}

@media only screen and (max-width: 767px) {
    h2 {
        font-size: 20px;
    }
    .p_120 {
        padding: 70px 0;
    }
    .expect_grid {
        grid-template-columns: repeat(1,1fr);
    }
    .btn {
        padding: 8px 20px;
        font-size: 12px;
        line-height: normal;
    }
    .btn_wreap {
        gap: 5px;
    }

    hr.line {
        margin: 30px 0;
    }
    .result_grid {
        grid-template-columns: repeat(1,1fr);
    }
    .footer_logo {
        gap: 30px;
        padding-bottom: 30px;
    }
    .footer_content ul {
        margin: 20px 0 0;
    }
    .footer_btn {
        gap: 5px;
    }
    .works_content ul li span {
        font-size: 18px;
    }
    .works_content .works_text p {
        padding-top: 20px;
    }
    .works_wrapper h2 {
        margin-bottom: 20px;
    }
    .expect_grid .expect_list h6 {
        margin-top: 20px;
    }
    .banner_content ul li {
        font-size: 14px;
    }
    .header_band .head-links {
        flex-direction: column;
    }
    .header_band .head-links li:not(:last-child) {
        padding: 0 0 10px;
        margin: 0 0 10px;
        border: 0;
        border-bottom: 1px solid #000;
    }
    .banner_wreap {
        padding: 230px 0 60px;
    }
    .hearder_wrapper ul.navbar-nav li .nav-link {
        padding: 8px 20px;
        font-size: 12px;
    }
    .hearder_wrapper nav.navbar .navbar-nav {
        gap: 10px;
    }
    .expect_wrapper::after {
        display: none;
    }
    .btn {
        font-size: 14px!important;
    }
    .hearder_wrapper nav.navbar .navbar-nav li.nav-item {
    width: 100%;
}
.adv-sec .adv-row {
    flex-direction: column;
}

section.dentist-sec .row {
    flex-direction: column-reverse;
}
}

@media only screen and (max-width: 575px) {
    body {
        font-size: 14px;
        line-height: normal;
    }
    h1 {
        font-size: 30px;
        line-height: 1.2;
    }
    h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    h4 {
        font-size: 20px;
        line-height: normal;
    }
    h5 {
        font-size: 16px;
        line-height: normal;
    }
    h6 {
        font-size: 15px;
        line-height: normal;
    }
    .p_120 {
        padding: 50px 0;
    }
    .costs_grid .costs_list {
        padding: 15px;
    }
    .costs_grid {
        gap: 10px;
    }
    .costs_content h6 {
        margin: 30px auto 20px;
    }
    .btn_wreap {
        flex-direction: column;
    }
    .expect_grid .expect_list .expect_list_img {
        width: 130px;
        height: 130px;
    }
    .expect_grid .expect_list .expect_list_img img {
        max-width: 45px;
    }
    .works_content ul {
        padding-left: 70px;
    }
    .works_content ul li::before {
        left: -70px;
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    .works_content ul::after {
        height: 80%;
        left: 26px;
        top: 0;
    }
    .works_content ul li {
        margin-bottom: 20px;
    }
    .cosmetic_wrapper h2 {
        margin-bottom: 20px;
    }
    .video-thumb {
        width: 60px;
        height: 60px;
    }
    .video_click i {
        font-size: 15px;
    }
    .footer_content h3 {
        font-size: 20px;
    }
    .footer_logo {
        gap: 20px;
        padding-bottom: 30px;
    }
    .footer_btn {
        flex-direction: column;
    }
    .navbar-light .navbar-toggler-icon {
        width: 25px;
        height: 2px;
    }
    .social_link ul li a img {
        max-width: 40px;
    }
    .hearder_wrapper ul.navbar-nav li {
        width: 100%;
    }
    .hearder_wrapper ul.navbar-nav li .nav-link {
        max-width: 100%;
    }
    .hearder_wrapper form {
        justify-content: center;
    }
    .hearder_wrapper ul {
        width: 100%;
    }
    .hearder_wrapper form ul li {
        text-align: center;
    }
    .btn {
        max-width: 100%!important;
    }
}

