@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        padding-top: 80px;
    }

    ::-webkit-scrollbar {
        width: 0px;
        /* Mostly for vertical scrollbars */
        height: 0px;
        /* Mostly for horizontal scrollbars */
    }

    .top_header {
        display: none;
    }

    .header_nav {
        height: 80px !important;
        top: 0px;
    }

    .logo img {
        height: 60px;
        width: auto;
    }

    .nav_links {
        display: none !important;
    }

    .nav-side {
        display: flex !important;
        justify-content: end;
    }

    /* Mobile menu dropdown behavior */
    .menu .sub-menu {
        display: none;
        position: static;
        /* override desktop absolute positioning */
        padding-left: 10px;
        margin-top: 0px;
    }

    .menu .menu-item-has-children-mob .dropdown-arrow {
        transition: transform 0.25s ease;
    }

    .menu .menu-item-has-children-mob.active .sub-menu {
        display: block;
        background: transparent;
    }

    .menu .menu-item-has-children-mob.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .menu-link {
        color: #fff !important;
        transform: all 0.3s ease-in-out;
        font-family: var(--secondary-font);
        font-size: 18px;
        text-transform: capitalize;
    }

    .menu-link:hover {
        color: #fff !important;
    }

    .side_menu_bg {
        width: 100%;
    }

    .navbar2 .nav_links {
        display: flex !important;
        padding-left: 0px;
        margin-right: 0px;

    }

    .home_banner {
        height: 50vh;
        overflow: hidden;
    }

    .home_slider img,
    .home_slider video {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    .home_slider .slick-prev,
    .home_slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .home_slider .slick-next {
        right: 0px;
    }

    .home_slider .slick-prev {
        left: 0px !important;
    }

    .menu {
        width: 60%;
    }

    .fix_icons {
        max-width: 90%;
    }

    .homeabout_list {
        padding: 30px 50px;
        background: #ffffff3b;
        margin-top: 40px;
    }

    .home_about {
        padding: 12rem 0 7rem 0;
        background-size: 500px, 500px;
    }

    .cbct .subheading {
        font-size: 26px;
    }

    .cbct img {
        margin: 40px 0px;
    }

    .tab-content {
        padding: 24px;
    }

    .tab-content.active {
        gap: 25px;
    }

    .tab-content img {
        width: 240px;
        height: 315px;

    }

    .tab-text h3 {
        font-size: 24px;
    }

    .subheading {
        font-size: 30px;
    }

    .doctors_slide .slick-next {
        right: -20px;
        top: -20px;
    }

    .doctors_slide .slick-prev {
        left: 81% !important;
        top: -20px;
    }

    .doctors_slide .slick-slide {
        padding: 0px 10px;
    }

    .slider-container {
        height: 200px;
        margin-top: 1.3rem;
    }

    .bottomslider {
        height: 150px;
    }

    .video_right {
        padding-left: 0px;
    }

    .blog_image {
        height: 200px;
    }

    .appointment-right {
        margin-top: 3rem;
        background-size: contain;
        padding-left: 0px;
    }

    .appointment_flex .para {
        width: 90%;
        margin-bottom: 30px;
    }

    .row_md_reverse {
        flex-direction: column-reverse;
    }

    .kadic_page_img img {
        margin-bottom: 40px;
        width: 70%;
    }

    .kadic_page_img_mission img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        margin-bottom: 3rem;
    }

    .our_inspiration .flex_image img {
        height: 220px;
    }

    .inner_slider {
        height: 30vh;
    }

    .inner_slider .inner_long_slider img {
        height: 30vh;
    }

    .details_inner_content .flex_image img {
        width: 50%;
    }

    .contact_details_box {
        margin-left: 0rem;
        margin-top: 5rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .appintment_image {
        height: 360px;
    }

    .video_left {
        padding-right: 30px;
    }

    .facilities_video .video-button {
        left: 96%;
    }

    .technology_button_flex {
        align-items: start;
        justify-content: start;
        margin-top: 20px;
    }

    .tab {
        padding: 15px 15px;
    }

    .merge-caption h3 {
        margin-left: 3rem;
    }

    .about_contents {
        padding-left: 3rem;
    }

    .service_video_inner img {
        margin: 0;
    }

    .service_video_inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================================ */

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    ::-webkit-scrollbar {
        width: 0px;
        /* Mostly for vertical scrollbars */
        height: 0px;
        /* Mostly for horizontal scrollbars */
    }

    .top_header {
        display: none;
    }

    .header_nav {
        height: 80px !important;
        top: 0px;
    }

    .logo img {
        height: 60px;
        width: auto;
    }

    .nav_links {
        display: none !important;
    }

    .nav-side {
        display: flex !important;
        justify-content: end;
    }

    /* Mobile menu dropdown behavior */
    .menu .sub-menu {
        display: none;
        position: static;
        /* override desktop absolute positioning */
        padding-left: 10px;
        margin-top: 0px;
    }

    .menu .menu-item-has-children-mob .dropdown-arrow {
        transition: transform 0.25s ease;
    }

    .menu .menu-item-has-children-mob.active .sub-menu {
        display: block;
        background: transparent;
    }

    .menu .menu-item-has-children-mob.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .menu-link {
        color: #fff !important;
        transform: all 0.3s ease-in-out;
        font-family: var(--secondary-font);
        font-size: 18px;
        text-transform: capitalize;
    }

    .menu-link:hover {
        color: #fff !important;
    }

    .side_menu_bg {
        width: 100%;
    }

    .row-reverse {
        flex-direction: column-reverse;
    }

    .navbar2 .nav_links {
        display: flex !important;
        padding-left: 0px;
        margin-right: 0px;
    }

    .home_slider .slick-prev,
    .home_slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .home_slider .slick-next {
        right: 0px;
    }

    .home_slider .slick-prev {
        left: 0px !important;
    }

    .fix_icons {
        max-width: 90%;
    }

    .home_about {
        padding: 13rem 0 5rem 0;
        background-size: 400px, 400px;
    }

    .merge-caption {
        margin-bottom: 3rem;
    }

    .merge-caption h3 {
        font-size: 46px;
        margin-left: 0rem;
    }

    .merge-caption h3 span {
        font-size: 42px;
    }

    .flex_contents {
        padding-left: 0rem;
    }

    .flex_image {
        margin-top: 0;
    }




    .flex_image img {
        width: 100%;
    }

    .subheading {
        font-size: 36px;
    }

    .about_contents .subheading {
        width: 100%;
    }

    .about_contents h4 {
        width: 100%;
        font-size: 20px;
    }

    .abt-head {
        width: 100%;
        font-size: 20px;
    }

    .about_contents .para {
        width: 100%;
    }

    .cbct {
        padding: 4rem 0;
        background-color: #fff;
    }

    .cbct img {
        height: auto;
        width: 80%;
        margin: 40px 0px 40px 0px;
    }

    .num_flex_text {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .big-number {
        font-size: 65px;
    }

    .big-number sup {
        font-size: 26px;
    }

    .resources-section {
        padding: 4rem 0;
    }

    .tabs {
        gap: 1px;
        flex-direction: column;
    }

    .tab-content {
        padding: 20px;
    }

    .tab-content img {
        width: 100%;
        height: 200px;
    }

    .tab-text h3 {
        text-align: start;
    }

    .tab-text p {
        text-align: start;
    }

    .tick_list li {
        text-align: start;
    }

    .dr-home {
        padding: 5rem 0;
    }

    .doctors_slide .slick-prev {
        left: -20px !important;
        top: 15px;
    }

    .doctors_slide .slick-next {
        left: 80px !important;
        top: 15px;
    }

    .dr_about .doctors_slide .slick-prev {
        left: -20px !important;
        top: 40px;
    }

    .dr_about .doctors_slide .slick-next {
        left: 80px !important;
        top: 40px;
    }



    .before-after {
        padding: 5rem 0;
    }

    .slider-container {
        height: 200px;
    }

    .bottomslider {
        height: 200px;
    }

    .mission_flex {
        gap: 20px;
        flex-direction: column;
    }

    .video_right {
        padding-left: 0px;
    }

    .mission_video {
        height: 245px;
    }

    .latest_news {
        padding: 5rem 0;
    }

    .latest_blogs {
        padding: 5rem 0;
    }

    .blog_image {
        height: 175px;
    }

    .blogright {
        padding: 25px;
    }

    .book_an_appointment {
        padding: 4rem 0;
    }

    .appointment_flex .para {
        width: 100%;
        margin-bottom: 40px;
    }

    .appointment-right {
        background-size: contain;
        padding-left: 0px;
        padding-top: 80px;
    }

    #dentalProblemBanner {
        width: 100%;
        height: 150px;
    }

    #dentalProblemTitle {
        font-size: 18px;
    }

    #dentalProblemExcerpt {
        font-size: 15px;
    }

    #dentalProblemDetails {
        flex-direction: column;
    }

    .footer_contents {
        padding: 2rem 0 1rem 0;
    }

    .footer_links {
        margin-top: 20px;
    }

    .footer_links .content-wrap {
        gap: 10px;
    }

    .copy_flex {
        align-items: start;
        flex-direction: column;
    }

    .inner_slider {
        height: 200px;
        overflow: hidden;
    }

    .inner_slider .inner_long_slider img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .para {
        font-size: 16px !important;
    }

    .inner_banner {
        height: 250px;
    }

    .inner_banner_flex {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 5px;
        height: 250px;
    }

    .inner_banner-heading {
        font-size: 32px;
    }

    .inner_banner-subheading {
        font-weight: 300;
    }

    .before-and-after-page {
        padding-bottom: 3rem;
    }

    .before-after-video {
        padding: 3rem 0;
    }

    .kadic_page_img img {
        margin-bottom: 40px;
    }

    .about_mission_vision {
        padding: 4rem 0;
    }

    .kadic_page_img_mission img {
        margin-bottom: 30px;
        height: 250px;
        object-fit: cover;
    }

    .our_inspiration .flex_image img {
        height: 200px;
    }

    .dr_about .subheading {
        width: 100%;
    }

    .doctores_bg_gap {
        padding: 190px 25px 20px 25px;
    }

    .testi_message {
        font-size: 20px;
        width: 90%;
    }

    .testimonials_slider .slick-prev {
        left: -20px !important;
        top: 20%;
    }

    .testimonials_slider .slick-next {
        right: -20px;
        top: 20%;
    }

    .contact_details_box {
        margin: 5rem 1rem 1rem 1rem;
    }

    .blog_details {
        padding: 4rem 0;
    }

    .blog_details_img {
        height: 250px;
    }

    .blog_admin {
        justify-content: space-between;
    }

    .blog_admin i {
        display: none;
    }

    .blog_details_sidebar {
        padding-left: 0rem;
        margin-top: 40px;
    }

    .blog_details_sidebar h4 {
        padding: 15px;
    }

    .make-appoitment {
        padding: 4rem 0;
    }

    .appintment_image {
        height: 250px;
    }

    .make_appoitment_form_box {
        padding: 2rem;
        background: var(--bg-light);
    }

    .why_choose {
        padding: 4rem 0;
    }

    .facilities_big {
        padding: 4rem 0;
    }

    .video_left {
        padding-right: 40px;
        margin-top: 20px;
    }

    .facilities_right {
        padding-left: 10px;
        margin-top: 20px;
    }

    .technology_button_flex {
        align-items: start;
        justify-content: start;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .details_inner_content img {
        margin: 2rem 0;
        width: 100%;
        object-fit: contain;
    }

    .details_inner_content p {
        font-size: 15px;
    }

    .tabs-wrap {
        gap: 0px;
    }

    .homeabout_list {
        padding: 30px 50px;
        background: #ffffff3b;
        margin-top: 40px;
    }

    .doctors_slide .slick-slide {
        padding: 20px 5px;
    }

    .service_video_inner img {
        margin: 0;
    }

    .service_video_inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .service_video_inner .video-main .video .thumb {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .service_video_inner .video-main .video .thumb {
        height: 250px;
    }
}


@media only screen and (min-width: 1100px) and (max-width: 1445px) {
    .main-slider .main-slider-texts {
        left: 4%;
    }

    .banner-review {
        right: 4%;
    }

    .inner-banner-contents {
        left: 4%;
    }

    .play_btn {
        left: 40%;
    }
}