@media (max-width: 1400px) {
    section.banner .content {
        width: 53%;
    }

    section.banner .carousel img {
        height: 90vh;
    }

    section.choose .choose_box .chooseimg {
        right: 37px;
        width: 437px;
    }

    .heading {
        font-size: clamp(17px, 3vw, 28px);
        line-height: 37px;
    }

    section.new_service .main .card .text h5 {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .menu-items li a {
        font-size: 13px;
    }

    .menu-items {
        column-gap: 22px;
    }

    section.banner .content {
        width: 61%;
    }

    .heading {
        font-size: clamp(17px, 3vw, 26px);
        line-height: 36px;
    }

    p,
    a,
    .form-label {
        font-size: 14px;
    }

    section.about .box {
        padding: 23px 22px;
    }

    .padding {
        padding: 50px 0;
    }

    section.new_service {
        padding-bottom: 232px;
    }

    section.choose .choose_box {
        padding: 40px 25px;
    }

    section.choose .choose_box .chooseimg {
        width: 386px;
    }
}

@media (max-width: 1030px) and (max-height: 1367px) {
    section.banner .carousel img {
        height: 51vh;
    }
}

@media (max-width: 1030px) and (max-height: 601px) {
    section.banner .carousel img {
        height: 90vh;
    }
}

@media (max-width: 992px) {
    .padding {
        padding: 44px 0;
    }

    section.new_service.commonservice {
        padding-bottom: 44px !important;
    }

    .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;
    }

    section.banner .content {
        border-radius: 22px;
    }

    section.about .box {
        padding: 26px 17px;
    }

    section.choose .choose_box .chooseimg {
        position: static;
    }

    section.choose .choose_box {
        padding-bottom: 0;
    }

    section.choose .heading {
        width: 69%;
    }

    section.connect .connectbg {
        padding: 39px 26px;
        border-radius: 31px;
    }

    .add {
        width: 100%;
    }

    .formrow {
        margin-top: 0;
    }

    .slider-nav {
        margin-right: 0 !important;
    }

    section.new_service {
        padding-bottom: 168px;
    }

    section.new_service .main .inner {
        flex-direction: column;
    }

    section.new_service .main .card {
        margin-bottom: 6px;
        height: 251px;
        filter: sepia(0%);
        border-radius: 16px;
    }

    section.new_service .main .card .text {
        padding: 13px 13px;
        border-radius: 16px;
        padding-bottom: 19px;
    }

    section.new_service .main .card .text p {
        font-size: 12px;
        opacity: 1;
        max-height: none !important;
        width: 100%;
        transform: translateY(0px);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section.new_service .main .card:hover .text p {
        animation: none;
        text-align: start;
    }
}

@media (max-width: 600px) {
    .form-label {
        font-size: 13px;
    }

    .form-control::placeholder,
    .form-select option,
    .form-select {
        font-size: 13px !important;
    }

    .form-control,
    .form-select {
        padding: 7px 10px;
    }

    p,
    a,
    li,
    li a {
        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;
    }

    section.banner canvas {
        height: 64vh;
    }

    section.banner.genomics__banner .content {
        width: 87%;
        top: 43%;
        border-radius: 13px;
        transform: translateY(0);
        padding: 17px 14px;
    }

    section.banner.genomics__banner .heading {
        font-size: clamp(17px, 3vw, 26px);
    }

    section.banner .carousel img {
        height: 67vh;
    }

    section.banner .content {
        width: 100%;
        margin-bottom: 11px;
        border-radius: 22px;
        transform: translateY(0);
        padding: 21px 16px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 9%;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 24px;
        height: 24px;
    }

    .heading {
        font-size: clamp(20px, 3vw, 26px);
        line-height: 25px;
    }

    section.about .aboutimg img {
        height: 280px;
    }

    section.new_service {
        padding-bottom: 148px;
    }

    section.choose .choose_box {
        border-radius: 25px;
        overflow-y: hidden;
    }

    section.choose .choose_box .chooseimg {
        width: 246px;
        margin-top: -60px;
        transform: translateX(23px);
    }

    .text_bg {
        padding: 4px 16px;
        font-size: 12px;
    }

    section.choose .heading {
        width: 100%;
    }

    .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;
    }

    section.connect .connectbg {
        padding: 25px 20px;
        border-radius: 21px;
        padding-bottom: 250px;
        background-position-x: 36%;
    }

    .add {
        width: 80%;
    }

    .form_div {
        flex-direction: column;
    }

    .form_box {
        padding: 26px 16px;
    }

    .modal-content {
        border-radius: 13px;
    }

    section.new_service.oncoservice .main .card .text {
        background: linear-gradient(180deg, rgb(0 0 0 / 0%) 9%, #000000 100%);
    }

    section.new_service .modal-header .heading {
        font-size: clamp(16px, 3vw, 26px);
    }

    .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);
    }
}

@media (max-width: 400px) {
    section.banner canvas {
        height: 73vh;
    }

    section.banner.genomics__banner .content {
        top: 49%;
    }
}

@media (max-width: 370px) {
    section.banner canvas {
        height: 69vh;
    }
}