@media (max-width: 767.98px) {
    .health-cards .single-card:first-child {
        padding-top: 50px;
    }
    .mission, .vision {
        padding: 20px 20px;
    }
    .about-medicine img {
        border-radius: 20px;
    }
    .breadcrumb-item a, .breadcrumb-item {
        font-size: 16px;
    }
    .navbar-nav-wrapper .logo {
        display: block;;
    }
    .banner {
        padding: 50px 0;
    }
    .sub-banner {
        padding: 35px 0;
        background-size: cover;
        background-position: center;
    }

    .sub-banner-title {
        font-size: 30px;
    }

    .padding {
        padding: 60px 0;
    }

    .text-five {
        font-size: 22px;
    }

    ul.cause-list {
        padding-left: 0;
    }
    .medicine-one-row .medicine-img {
        object-position: bottom;
        height: 400px !important;
    }
    .cause-item .text-three {
        flex: 1;
    }
    img.medicine-img {
        border-radius: 20px;
    }

    .slider-testimonials {
        padding-left: 0;
    }

    .feedback-details {
        padding: 40px 20px;
    }

    header.header-top {
        display: none;
    }

    .heading-one {
        font-size: 35px;
    }

    .banner .form-card {
        margin-top: 60px;
        border-radius: 15px;
        padding: 30px 15px 50px;
    }
    .default-btn {
        border: 1px solid;
    }
    .leaf-logo {
        display: none;
    }

    h2.heading-two {
        font-size: 22px;
    }

    .medicine-images {
        flex-direction: column;
    }

    .medicine-one-row .medicine-img,
    .medicine-two-row .medicine-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .service .container-fluid {
        padding: 0px !important;
    }
    .medicine-one-row,
    .medicine-two-row {
        width: 100%;
    }

    .medicine-two-row {
        display: flex;
        flex-direction: column;
        gap: 26px;
        margin-bottom: 30px;
    }

    h2.heading-subtext-two {
        font-size: 25px;
    }
    .custom-tabs.nav-pills {
        overflow-x: auto;
        overflow-y: hidden;
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 15px;
    }
    .br-none br {
        display: none;
    }

    .grid-box-one {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .choose-us-card {
        padding: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid #DAD8D7;
    }

    .border-line {
        display: none;
    }

    h3.heading-three {
        font-size: 16px;
    }

    .partners-bg {
        width: 100%;
        position: relative;
        bottom: 0;
        right: auto;
    }

    .card-content {
        padding: 50px 30px;
        border-bottom: 1px solid #dad8d75e;
    }

    .flex-row {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .partners {
        height: auto;
        padding-bottom: 0 !important;
    }

    .bg-inner::before,
    .bg-inner::after {
        display: none;
    }

    .text-four {
        font-size: 22px;
    }

    span.tab-text {
        font-size: 16px;
    }

    .tab-btn {
        gap: 15px;

    }

    .nav-pills .nav-link.active {
        padding: 20px;
    }

    .nav-pills .nav-link {
        padding: 20px;
        white-space: nowrap;
    }

    .tab-content {
        padding: 20px 15px;
        margin-top: 30px;
        
    }

    .tab-img img {
        width: 100%;
    }

    .sub-title {
        margin-bottom: 20px !important;
    }

    .slider-testimonial .owl-carousel .owl-stage-outer {
        overflow: hidden;
    }

    .testimonial-content {
        padding: 40px 25px;
        flex-direction: column;
    }

    .quote i {
        display: none;
    }

    .accordion-header span.tab-text {
        max-width: 260px;
    }

    .accordion-button::before,
    .accordion-button::after {
        line-height: 1.4;
    }

    .faq-img {
        display: none;
    }

    .faq-bg img {
        position: absolute;
        left: 0;
        bottom: -55px;
        z-index: 1;
        height: 309px;
        width: 130%;
    }

    .faq {
        overflow: hidden;
        padding-top: 20px !important;
    }

    .faq .accordion-item:last-of-type .accordion-button.collapsed {
        border-radius: 10px;
    }

    h5.link-heading {
        margin-top: 30px;
    }

    .about-medicine {
        padding-right: 0;
        padding-bottom: 30px;
    }

    .vision {
        margin-top: 30px;
    }

    .blog-item {
        padding: 15px 15px;
    }

    .item-date {
        margin-top: 20px;
    }

    .client-reviews .owl-dots {

        margin-top: 10px;
    }

    .contact-left {
        padding: 50px 25px 0px;
    }

    .address-line::after {
        bottom: -22px;
    }

    .contact-form {
        margin-top: 30px;
    }

    a.doctors-card-wrapper.ali-doctor {
        margin-top: 30px;
        display: inline-block;
        margin-bottom: 0;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .product-img {
        padding: 8px;
    }

    .product-name {
        font-size: 16px;
        line-height: 1.2;
    }

    .product-price {
        font-size: 16px;

    }

    .modal.show .modal-dialog {
        margin: 0;
    }

    .default-btn-two {
        padding: 6px 6px 6px 30px;
        font-size: 14px;
    }

    .float-btn {
        display: none;
    }

    .blog-one-banner .breadcrumb-item.active,
    .blog-two-banner .breadcrumb-item.active {
        flex: 1;
    }

    .banner-content {
        margin-left: 0;
    }

    .text-one {
        font-size: 16px;
        line-height: 1.2;
    }

    p.text-two {
        font-size: 16px;
    }

    .form-lable {
        font-size: 14px;
    }

    button.default-btn-three {
        font-size: 14px;
    }

    .default-btn-four {
        font-size: 14px;
    }

    .text-three {
        font-size: 14px;
    }

    .more-btn span.btn-text {
        font-size: 14px;
    }

    .card-name {
        font-size: 16px;
    }

    .testimonial-content h3.heading-three {
        font-size: 16px;
    }

    .text-six {
        font-size: 14px;
    }

    a.footer-link {
        font-size: 14px;
    }

    .round-bg {
        margin-left: 20px;
    }

    .readmore-btn {
        font-size: 14px;
    }

    .item-container .heading-three {
        font-size: 22px;
    }

    .form-card.servive-details-form {
        padding: 50px 15px;
    }

    .causes h3.heading-three,
    .client-reviews h3.heading-three {
        font-size: 22px;
    }

    .feedback-details .heading-three {
        font-size: 16px !important;
    }

    .info-item a,
    .info-item p {
        font-size: 14px;
    }

    .office-hours li span {
        font-size: 14px;
    }

    .default-btn {
        font-size: 14px;
    }

    .doctor-name {
        font-size: 16px;
    }
}




@media (min-width: 768px) and (max-width: 991.98px) {
    .sub-banner {
        padding: 70px 0;
    }

    .about-us-banner {
        background-size: cover;
    }

    .form-card.servive-details-form {
        margin-top: 30px;
        max-width: 100%;
    }

    .header-top {
        display: none;
    }

    .banner .form-card {
        max-width: 100%;
        margin-top: 30px;
    }

    .br-none br {
        display: none;
    }

    .grid-box-one {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .choose-us-card {
        padding: 0 0 20px 0;
        position: relative;
        border-bottom: 1px solid #DAD8D7;
    }

    .border-line {
        display: none;
    }

    .sub-heading {
        margin-bottom: 35px !important;
    }

    .partners-bg {
        width: 100%;
        position: relative;
        bottom: 0;
        right: auto;
    }

    .partners {
        height: auto;
        padding-bottom: 0 !important;
    }

    .tab-img img {
        width: 100%;
    }

    .tab-content {
        margin-top: 30px;
    }

    .faq-img {
        display: none;
    }

    .faq-bg img {
        bottom: -28%;
        z-index: 1;
    }

    .faq {
        overflow: hidden;
    }

    h5.link-heading {
        font-size: 20px;
    }

    .sub-banner-title {
        font-size: 40px;
    }

    .about-medicine {
        padding-right: 0;
        padding-bottom: 30px;
    }

    section.about-us {
        padding-bottom: 60px;
    }

    .item-date {
        margin-top: 20px;
    }

    .product-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }

    .float-btn {
        display: none;
    }

    .heading-one {
        font-size: 60px;
    }

    .banner-content {

        margin-left: 0;
    }
    ul.footer-social.social-media-link {
    margin-bottom: 30px;
}
}


@media (min-width: 992px) and (max-width: 1199.98px) {}


@media (min-width: 1200px) {}



@media (max-width:991.98px) {
    .nav-bottom {
        display: block;
        position: fixed;
        bottom: 0px;
        width: 100%;
        padding: 10px 0;
        background: #fff;
        z-index: 99999;
        overflow: hidden;
        box-shadow: rgb(149 157 165 / 28%) -2px 1px 10px;
    }

    .logo-two {
        display: block;
    }

    .logo-two img {
        position: absolute;
        top: 7%;
        height: auto !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .phone-number {
        display: none;
    }

    .nav-top .nav-link.active {
        font-weight: 600;
        border-bottom: 2px solid #3a6a5e;
        width: fit-content;
        padding: 0;
    }


    .overlay.activeclass {
        opacity: 1;
        display: inline-block;
        z-index: 9;
    }

    span.close-btn {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 99;
        border-bottom-left-radius: 10px;
    }

    .toggler-icon {
        display: inline-block;
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
    }






    .menu-btn {
        display: block;
    }

    .navbar-nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(4deg, #ffeee7, #ffffff);
        padding: 70px 20px 70px 20px;
        transition: .4s ease;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 0 !important;
        overflow-y: scroll;
        padding-top: 20px;
    }
    .navbar-nav-wrapper.show {
        left: 0;
        transition: 0.5s all ease;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .nav-item {
        list-style: none;
        /* border-bottom: 1px solid #53787891; */
        padding: 17px 0;
    }

    ul.navbar-navs {
        justify-content: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .navbar-brand {
        margin-bottom: 40px;
    }
    .nav-top {
        padding: 10px 0;
    }




    .sub-menu {
        position: relative;
        top: 15px;
        left: 0px;
        margin-top: 0;
        margin-bottom: 0;
        min-width: 100%;
        min-height: 0;
        transition: all ease-in 0.5s;
        height: 0;
        padding-left: 0;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-items:hover i {
        transform: rotateX(0);
    }

    .dropdown-items.active .sub-menu {
        max-height: 100%;
        transition: all ease-in 0.5s;
        height: 74%;
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dropdown-items:hover .sub-menu {
        visibility: hidden;
        opacity: 0;
        border-radius: 0;
        margin-top: 7px;
    }

    .dropdown-items .dropdown-items i {
        transform: rotateX(0);
    }

    .dropdown-items .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    img.logo {
        width: 100%;
        height: 100%;
        max-width: 85px;
    }

    .navbar-nav-wrapper img.logo {
        max-width: 100px;
    }

    .appointment-btn {
        display: none;
    }
    .banner::after {
        background: linear-gradient(183deg, #000000bf, transparent);
    }

    .nav-link {
        line-height: 1;
        display: block;
        padding: 0;
        text-decoration: none;
        position: relative;
        z-index: 22;
        text-align: left;
        font-weight: 500;
    }


    .dropdown-items i {
        padding-left: 0;
        transition: all ease-in 0.5s;
        background: #c5683f26;
        height: 25px;
        width: 25px;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    span.tab-icon {
        display: none;
    }

    .info-text {
        color: #000;
        font-size: 12px;
        font-weight: 600;
    }

    .contact-details li a {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    ul.contact-details {
        display: grid;
        justify-content: center;
        text-align: center;
        align-items: center;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contact-details li:nth-child(2) {
        position: relative;
    }

    .contact-details li:nth-child(2)::after {
        position: absolute;
        border-right: 1px solid #e8e8e8;
        border-left: 1px solid #e8e8e8;
        height: 172%;
        content: "";
        right: 0;
        top: -30%;
    }

    .contact-details li:nth-child(2)::before {
        position: absolute;
        border-left: 1px solid #e8e8e8;
        height: 172%;
        content: "";
        left: 0;
        top: -30%;
    }

    .form-card.modal-form {
        padding-bottom: 100px;
    }

    .footer {
        padding-bottom: 75px !important;
    }

    .nav-item.dropdown-items {
        padding: 10px 0;
    }
}


@media (max-width: 991px) {
    .custom-tabs {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .custom-tabs::-webkit-scrollbar {
        display: none;
    }

    .custom-tabs .nav-link {
        flex: 0 0 auto;
    }
}