@media (max-width: 1400px) {
    .heading {
        font-size: clamp(17px, 3vw, 28px);
        line-height: 37px;
    }

    section.importance .chooseimg {
        width: 345px;
        height: 527px;
    }

    section.blog_details .blog_title {
        font-size: 19px;
        line-height: normal;
    }

    section.blog_details .blog_side_bar {
        padding: 23px 14px;
    }

    section.blog_details .blog_side_bar .recent_blog_title {
        font-size: 12px;
        line-height: 16px;
    }

    section.blog_details .blog_side_bar .side_date {
        font-size: 11px;
    }

    section.other_banner .blog_banner_heading {
        width: 87%;
    }
}

@media (max-width: 1200px) {
    .menu-items li a {
        font-size: 13px;
    }

    .menu-items {
        column-gap: 22px;
    }

    .heading {
        font-size: clamp(17px, 3vw, 26px);
        line-height: 36px;
    }

    p,
    a,
    .form-label {
        font-size: 14px;
    }

    .padding {
        padding: 50px 0;
    }

    section.other_banner .card img {
        height: 67vh;
    }

    section.faq .question__faqs {
        padding: 20px 39px 20px 13px;
        font-size: 12px;
    }

    .question__faqs::after {
        font-size: 27px;
        right: 15px;
    }

    .question__faqs {
        font-size: 16px;
        padding: 20px 51px 20px 0px;
    }
}

@media (max-width: 1030px) and (max-height: 1367px) {
    section.importance .chooseimg {
        width: 294px;
    }
}

@media (max-width: 1030px) and (max-height: 601px) {
    section.importance .chooseimg {
        width: 302px;
        height: 474px;
        bottom: 28px;
    }

    section.request_consultation .consult__row img {
        height: 492px;
    }
}

@media (max-width: 992px) {
    .padding {
        padding: 44px 0;
    }

    .para {
        width: 100%;
    }

    .heading {
        line-height: 30px;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        position: relative;
        height: 88px;
        border-radius: 12px;
        padding: 10px 21px 10px 12px;
        backdrop-filter: none;
        background: rgb(255 255 255);
    }

    .dropdown-menu {
        position: relative !important;
        display: block !important;
        top: 14px !important;
        left: 0 !important;
        width: 95%;
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
        background-color: #FFE1E1;
        padding: 0;
        visibility: visible;
        min-width: 19rem;
        box-shadow: none;
    }

    .dropdown-menu.show {
        transform: scaleY(1);
        opacity: 1;
        max-height: 1000px;
        padding-top: 10px;
        overflow: visible;
        visibility: visible;
    }

    header .dropdown-menu li a {
        color: #E21212 !important;
        font-weight: 500;
    }

    .navbar1 {
        padding: 18px 0;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        right: 0;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        display: block;
        width: 25px;
        height: 21px;
        position: absolute;
        top: auto;
        right: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar1 .menu-items {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: #932626;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        /* padding-top: 100px; */
        padding-top: 63px;
        transform: translateX(100%);
        transition: transform 0.5s ease, opacity 0.5s ease;
        padding-left: 25px;
    }

    .navbar1 .menu-items li {
        margin-bottom: 34px;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.5s ease-in-out;
        padding: 0;
    }

    .navbar1 .menu-items li a {
        color: white;
    }

    .navbar-container input[type="checkbox"]:checked~.menu-items {
        transform: translateX(0);
        opacity: 1;
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
        background: white;
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
        background: white;
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
        background: white;
    }

    header .dropdown-item {
        padding: 7px 9px;
    }

    .add {
        width: 100%;
    }

    .formrow {
        margin-top: 0;
    }

    .slider-nav {
        margin-right: 0 !important;
    }

    section.other_banner .card img {
        height: 42vh;
    }

    section.choose {
        margin-top: 0;
    }

    section.importance .chooseimg {
        position: static;
        width: 100%;
        height: 381px !important;
        object-position: 0% 75%;
        transform: translateY(-111px);
    }

    section.importance .topmargin {
        margin-top: -61px;
    }

    .modal-title {
        line-height: 19px;
    }

    section.service_body .service_box1 {
        padding: 18px 15px;
    }

    .radius2 {
        border-radius: 20px;
    }

    section.expertteam .team_img {
        height: 430px;
    }

    section.request_consultation .consult__row {
        padding: 25px 12px;
    }
}

@media (max-width: 600px) {
    .form-label {
        font-size: 13px;
    }

    .form-control::placeholder,
    .form-select option,
    .form-select {
        font-size: 13px !important;
    }

    p,
    a,
    li,
    li a,
    .answer {
        font-size: 12px;
    }

    .btn1,
    .btn2 {
        padding: 8px 14px;
    }

    .navbar1 .logo {
        width: 146px;
    }

    .navbar-container {
        height: 76px;
    }

    .navbar-container .hamburger-lines {
        right: 14px;
    }

    .menu-items li a {
        font-size: 16px;
    }

    .heading {
        font-size: clamp(19px, 3vw, 26px) !important;
        line-height: 25px;
    }

    section.other_banner h4 {
        font-size: 14px;
    }

    section.other_banner .heading {
        margin-bottom: 2px;
    }

    .text_bg {
        padding: 4px 16px;
        font-size: 12px;
    }

    .slider___nav {
        position: static;
        justify-content: center;
        margin-top: 16px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
    }

    .slider-nav img {
        width: 12px;
    }

    .formrow {
        margin-top: -244px;
    }

    .add {
        width: 80%;
    }

    .form_div {
        flex-direction: column;
    }

    .form_box {
        padding: 26px 16px;
    }

    .form-control,
    .form-select {
        padding: 7px 10px;
    }

    section.other_banner .card img {
        height: auto;
    }

    section.other_banner .btn1 {
        padding: 8px 10px;
        font-size: 11px;
    }

    section.microarray_what .aboutimg img {
        height: 280px;
    }

    section.importance .topmargin {
        margin-top: -82px;
    }

    .custom__list li {
        margin-left: 1rem;
    }

    .microarray_service_body {
        overflow: hidden;
    }

    .service_box {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .service_box h4 {
        font-size: 20px;
    }

    section.test_work .swiffy-slider .slider-container h4 {
        font-size: 18px;
    }

    section.why_choose .box {
        padding: 28px 24px;
    }

    section.question {
        background: url(../images/question_bg_mob.webp) no-repeat center center;
        padding: 235px 0;
    }

    section.page_banner {
        padding: 241px 0;
        padding-bottom: 32px;
    }

    section.page_banner .heading {
        font-size: clamp(27px, 3vw, 26px) !important;
        margin-bottom: 4px;
    }

    section.service_body .card img {
        height: 267px;
    }

    section.service_body .service_box1 {
        padding: 19px 13px;
        background: linear-gradient(180deg, rgb(0 0 0 / 0%) 33.76%, rgb(0 0 0 / 82%) 103.71%);
    }

    section.service_body .button_div {
        top: 16px;
        right: 16px;
    }

    section.service_body .button__icon-svg {
        width: 15px !important;
    }

    section.service_body .card .button__icon-wrapper {
        width: 39px;
        height: 39px;
    }

    section.why_choose .why_title {
        width: 100%;
    }

    .font5 {
        font-size: 16px;
    }

    .font6 {
        font-size: 19px;
    }

    .table {
        table-layout: auto;
        width: max-content;
        white-space: nowrap;
    }

    .table_div {
        width: 100%;
        overflow-x: auto;
    }

    section.microarray_what .aboutimg::before {
        border: 2px solid white;
        margin: 7px;
    }

    section.fordoctor .service_box {
        margin-top: 0;
    }

    section.fordoctor .aboutimg img {
        border-radius: 24px !important;
    }

    section.fordoctor .aboutimg::before {
        border-radius: 20px !important;
    }

    section.testsoffered .test_box img {
        height: 203px;
    }

    section.expertteam .box {
        padding: 24px 15px;
    }

    section.expertteam .box .team-list h5 {
        font-size: 15px;
    }

    section.expertteam .box ul img {
        width: 70px !important;
    }

    section.expertteam .team-member {
        margin-bottom: 19px;
    }

    section.expertteam .team_img {
        height: 350px;
    }

    section.expertteam {
        padding-bottom: 129px;
    }

    section.questionsfaq {
        border-top-left-radius: 35px;
        border-top-right-radius: 35px;
    }

    .question__faqs {
        font-size: 14px !important;
        padding: 20px 33px 20px 0px;
    }

    section.faq .question__faqs {
        padding: 20px 61px 20px 13px;
    }

    section.accredition .btn1 {
        text-align: center;
        width: 100%;
    }

    .box1 {
        padding: 20px 16px;
        border-radius: 17px;
    }

    section.request_consultation .consult__row {
        margin: 0;
        padding: 17px 4px;
    }

    section.request_consultation .consult__row img {
        height: 100%;
    }

    section.faq .question__faqs {
        height: auto;
    }

    section.blog_page .card img {
        height: 389px;
    }

    section.blog_page .blog_content {
        border-radius: 13px;
    }

    section.blog_details .blog_title {
        width: 94%;
        font-size: 14px;
    }

    section.blog_details .details_date {
        padding: 6px 14px;
    }

    section.blog_details .blog_details_content {
        border-radius: 29px;
        padding: 24px 16px;
    }

    section.blog_details .blog_details_img {
        height: 241px;
        border-radius: 19px;
    }

    section.blog_details .blog_side_bar .latest_tags {
        gap: 7px !important;
    }

    section.blog_details .blog_details_content h5 {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 9px;
    }

    section.blog_details .blog_details_content ul {
        margin-bottom: 19px;
    }

    section.blog_details .blog_details_content ul li {
        margin-left: 15px;
    }

    .table thead th {
        font-size: 15px;
    }

    .modal-content {
        border-radius: 13px;
    }

    .modal-body {
        padding: 11px 10px;
        padding-bottom: 5px;
    }

    section.lablocation .card {
        padding: 15px 16px;
    }

    section.lablocation .card .labheading .locpin {
        width: 39px;
        height: 39px;
    }

    section.lablocation .card .labheading .locpin svg {
        width: 15px !important;
        height: 15px !important;
    }

    section.lablocation .user-label {
        transform: translateY(10px);
        font-size: 13px;
    }

    section.lablocation .input {
        padding: 7px 13px;
        border-radius: 7px;
    }

    section.lablocation .input-group .btn2 {
        font-size: 13px;
        border-radius: 7px !important;
        padding: 7px 14px;
    }

    .scrolltop {
        bottom: 105px;
        right: -13px;
    }

    .whatsappcall {
        display: block;
        position: fixed;
        z-index: 15;
        bottom: 21px;
        right: 10px;
    }

    .whatsappbtn {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background-color: #25d366;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .whatsappbtn.callnowbtn {
        background-color: #E21212;
    }

    .whatsappbtn i {
        font-size: 23px;
    }

    .whatsappbtn.callnowbtn i {
        font-size: 18px;
    }

    footer .caplogo {
        width: 250px;
        transform: translate(-16px, 0);
    }
}