@media only screen and (max-width: 1700px) {
    p {
        font-size: 16px;
    }

    .owl-theme .owl-dots .owl-dot.active span::before {
        top: -4.8px;
    }

    section.about .widthtext {
        width: 73%;
    }

    section.blog .blog__title {
        width: 100%;
    }

    section.about .hide {
        display: none;
    }

    section.depart_about .widthtext {
        width: 91%;
    }
}

@media only screen and (max-width: 1400px) {
    section.banner .para {
        width: 45%;
    }

    .widthtext {
        width: 54%;
    }

    .custombtn {
        padding: 7px 20px;
        padding-right: 13px;
        font-size: 14px;
    }

    .custom_ul li {
        font-size: 14px;
    }

    .icon_box {
        width: 33px;
        height: 33px;
        flex: 0 0 33px;
    }

    .icon_box i {
        font-size: 16px;
    }

    p,
    a,
    label,
    section.blog_details .main_blog_content ul li,
    .custom_ul li {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1300px) {
    section.why_choose_department .box {
        padding: 24px 12px;
        border-radius: 16px;
    }

    p,
    a,
    label,
    section.blog_details .main_blog_content ul li,
    .custom_ul li {
        font-size: 13px;
    }

    section.blog .blog__content .author__name {
        font-size: clamp(14px, 2vw, 15px);
    }
}

@media only screen and (max-width: 1100px) {
    section.service {
        margin-top: -44px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 4%;
    }

    .container-fluid {
        padding: 0 33px;
    }

    /* blog css */
    section.blog .blog__img {
        height: 354px;
    }

    section.blog .blog__content {
        padding: 21px 16px;
        margin: 0 18px;
        margin-top: -87px;
    }

    section.department_bookonline .box .widthtext {
        width: 71%;
    }

    section.department_bookonline .book_text {
        width: 85%;
    }

    section.department_bookonline .chooseimg {
        right: 27px;
    }
}

@media only screen and (max-width: 992px) {
    body {
        overflow-x: hidden !important;
    }

    .container-fluid {
        padding: 0 33px;
    }

    .stickyappoint_btn {
        display: block;
        position: fixed;
        top: auto;
        z-index: 4;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .sticky_button {
        border: 1px solid transparent;
        padding: 10px 25px;
        width: 100%;
        background: #002F6B;
        color: white;
        font-family: "SatoshiMedium", sans-serif;
        text-align: center;
        display: inline-block;
        font-size: 17px;
    }

    header .custombtn {
        display: none;
    }

    .sub_heading {
        font-family: "SatoshiRegular", sans-serif;
    }

    .widthtext {
        width: 50%;
    }

    .custombtn {
        padding: 4px 16px;
        padding-right: 7px;
    }

    .button__icon-wrapper {
        width: 25px;
        height: 25px;
    }

    .button__icon-wrapper svg {
        width: 10px !important;
    }

    section.banner img {
        height: 45vh;
    }

    section.banner .para {
        width: 66%;
    }

    section.service {
        margin-top: -46px;
    }

    section.about .widthtext {
        width: 54%;
    }

    section.about .work-text::after {
        bottom: 1px;
    }

    section.department_home .dep_div img {
        width: 100%;
        height: 221px !important;
    }

    section.department_home .customarrow .button__icon-wrapper,
    section.blog .blog__content .customarrow .button__icon-wrapper,
    section.testimonial.services_home .card .customarrow .button__icon-wrapper {
        width: 28px;
        height: 28px;
    }

    section.department_home .box {
        padding: 8px 13px 8px 15px;
    }

    footer {
        margin-bottom: 46px;
    }

    section.other_banner img {
        height: 24vh;
        object-position: right;
    }

    section.depart_service {
        padding-bottom: 43px !important;
    }

    section.department_bookonline .box .widthtext {
        width: 48%;
    }

    section.department_bookonline .box {
        padding: 31px 20px;
    }

    section.department_bookonline .book_text {
        width: 49%;
    }

    section.about .first_row .logo_element_div {
        bottom: 28px;
    }

    section.about .third_row .logo_element_div {
        top: auto;
        right: 17px;
        bottom: -36px;
        height: auto;
    }

    section.under_constrauction {
        height: 53vh;
        margin-bottom: 0;
    }

    section.under_constrauction .child_container {
        top: 46%;
        left: 48%;
    }

    section.under_constrauction .child_container .heading {
        width: 86%;
    }

    section.under_constrauction .child_container dotlottie-player {
        transform: translateX(0);
        width: 406px !important;
        height: 400px !important;
    }

    section.search_doctor .search_box {
        padding: 29px 18px;
        gap: 12px;
    }

    .search_btn {
        padding: 17px 33px !important;
    }
}

@media only screen and (max-width: 600px) {
    .container-fluid {
        padding: 0 8px;
        text-align: center;
    }

    p,
    a,
    label,
    section.blog_details .main_blog_content ul li,
    .custom_ul li {
        font-size: 13px;
    }

    .sub_heading {
        text-transform: none;
        text-align: center;
    }

    .carousel-item .sub_heading {
        display: none;
    }

    .padding {
        padding: 43px 0;
    }

    .custombtn {
        padding: 4px 20px;
        padding-right: 7px;
        gap: 13px;
        font-size: 14px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 7%;
        /* top: -53px; */
    }

    section.banner .widthtext {
        width: 86%;
        margin: 0 auto;
    }

    .widthtext {
        width: 90%;
    }

    .owl-nav {
        position: initial;
        margin-top: 22px !important;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        width: 34px;
        height: 34px;
    }

    .owl-nav .owl-prev img,
    .owl-nav .owl-next img {
        width: 16px;
    }

    .radius {
        border-radius: 20px;
    }

    section.banner picture img {
        height: auto;
        aspect-ratio: 0.883 / 1;
    }

    section.banner .para {
        display: none;
        width: 100%;
    }

    section.banner .card-img-overlay {
        justify-content: end;
        padding: 0;
        padding-bottom: 72px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 16.05%, #000000ba 114.88%);
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    section.service {
        padding-bottom: 0;
    }

    section.service .box img {
        width: 48px;
    }

    section.service .box {
        padding: 17px 12px;
        border-radius: 16px;
    }

    section.about .widthtext {
        width: 100%;
    }

    section.about .box {
        padding: 26px 17px;
        border-radius: 17px;
    }

    .logo_element_div {
        top: -10px;
        right: 15px;
    }

    .logo_element_div img,
    section.about .first_row .logo_element_div img {
        width: 67px;
    }

    section.about #counter>div {
        padding: 19px 13px;
        border-radius: 13px;
    }

    section.about #counter {
        gap: 9px;
    }

    section.consultant .content_box {
        height: 101px;
    }

    section.consultant .box img {
        width: 350px;
        height: 328px;
        object-position: top;
    }

    section.testimonial {
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    section.testimonial h2,
    section.blog h2 {
        width: 74%;
    }

    section.testimonial .box {
        padding: 23px 15px;
    }

    section.testimonial .owl-carousel .box .testimonial_text {
        height: auto;
        margin-bottom: 25px;
    }

    section.testimonial .logo_element_div {
        right: 13px;
        top: 37px;
    }

    section.blog {
        padding-top: 100px;
    }

    section.blog .blog__title {
        width: 80%;
    }

    section.blog .blog__content {
        margin: 0 14px;
        margin-top: -79px;
    }

    .form-control,
    .form-select {
        border-radius: 9px;
        padding: 9px 11px;
    }

    .form_div {
        padding: 20px 15px;
    }

    .form_flex {
        flex-direction: column;
        gap: 0;
    }

    .social_icon a,
    .icon_box {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
        font-size: 16px;
    }

    .icon_box i {
        font-size: 16px;
    }

    section.connect_home .widthtext {
        width: 73%;
    }

    footer iframe {
        height: 350px !important;
    }

    section.other_banner img {
        height: 45vh;
        object-position: 94%;
    }

    section.other_banner .card-img-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 4.05%, #000000ba 99.88%);
        justify-content: end;
        padding-bottom: 36px !important;
    }

    section.depart_about .box {
        padding: 26px 17px;
        border-radius: 17px;
    }

    section.why_choose_department {
        border-top-left-radius: 35px;
        border-top-right-radius: 35px;
    }

    section.why_choose_department .box {
        padding: 19px 14px;
        border-radius: 16px;
    }

    section.why_choose_department .box img {
        width: 56px;
    }

    section.faq .question__faqs {
        padding: 17px 66px 17px 16px;
    }

    section.faq .answercont {
        font-size: 13px;
    }

    section.faq .logo_element_div {
        display: none;
    }

    section.department_bookonline {
        padding: 0 0;
        padding-bottom: 43px;
    }

    section.department_bookonline .chooseimg {
        position: static;
    }

    section.department_bookonline .box .widthtext {
        width: 94%;
    }

    section.department_bookonline .book_text {
        width: 100%;
    }

    section.department_bookonline .box {
        padding-bottom: 0px;
    }

    section.department_bookonline .box2 {
        border-radius: 17px;
    }

    section.department_bookonline .box2 .heading {
        font-size: clamp(18px, 3vw, 32px);
    }

    section.about .first_row .logo_element_div {
        bottom: auto;
        right: 24px;
        left: auto;
        top: -29px;
    }

    section.about .mission_row img {
        aspect-ratio: 11 / 9;
    }

    section.about_footer {
        padding-top: 43px;
    }

    section.about_footer .box {
        padding-bottom: 31px;
    }

    section.group_choose .box img {
        width: 116px;
    }

    section.under_constrauction {
        height: 71vh;
    }

    section.under_constrauction .child_container .heading {
        width: 100%;
    }

    section.under_constrauction .child_container dotlottie-player {
        width: 323px !important;
        height: 314px !important;
    }

    section.under_constrauction .child_container {
        left: 50%;
        top: 48%;
    }

    section.contact_banner .widthtext {
        width: 88%;
    }

    section.contact_bookonline {
        padding-top: 43px !important;
    }

    section.other_banner .parent_author {
        column-gap: 5px;
        row-gap: 9px;
        align-items: start;
    }

    section.other_banner .author__case {
        padding: 6px 14px;
    }

    section.journey .timeline {
        width: 100%;
        padding: 0px 5px 0px 6px;
    }

    section.journey .timeline ul li {
        padding: 14px 5px;
    }

    section.search_doctor {
        margin-top: 0;
    }

    section.search_doctor .search_box {
        flex-direction: column;
        align-items: normal;
        gap: 9px;
    }

    .search_btn {
        width: 100%;
        height: 40px;
        border-radius: 8px;
        margin-top: 15px;
    }

    section.search_doctor.consultant .box img {
        height: auto;
    }

    section.search_doctor.consultant .content_box {
        height: auto;
    }

    section.search_doctor.consultant .degree {
        font-size: 12px;
    }

    section.search_doctor.consultant .box {
        padding: 7px;
        border-radius: 14px;
    }

    section.search_doctor.consultant .box .custombtn {
        padding: 12px 6px;
    }

    section.search_doctor.consultant .box img {
        border-radius: 11px;
    }

    .doctor_row {
        padding-left: 12px;
        padding-right: 12px;
    }

    .doctor_row .doctor_column {
        padding-left: 5px;
        padding-right: 5px;
    }

    .doctor_row .doctor_column:nth-child(2n + 1) {
        padding-left: 0;
        /* Left column in each row (1st, 3rd, 5th...) */
    }

    .doctor_row .doctor_column:nth-child(2n) {
        padding-right: 0;
        /* Right column in each row (2nd, 4th, 6th...) */
    }

    section.doctor_details .doctor_desc .clinic_time {
        gap: 7px;
        flex-wrap: wrap;
    }

    section.doctor_details .doctor_desc .clinic_time a {
        padding: 8px 27px;
        font-size: 14px;
    }

    section.doctor_details .clinic_time_section {
        order: -1;
    }

    section.testimonial.services_home .card img {
        height: 324px;
    }

    section.testimonial.services_home .card .content_service {
        padding-bottom: 19px;
    }

    section.bio_waste .mainbiobox {
        flex-direction: column;
        align-items: start;
        row-gap: 16px;
    }

    section.bio_waste .text__box {
        gap: 9px;
        flex-direction: column;
        align-items: start;
    }

    section.bio_waste .text__box img {
        width: 39px;
    }
}