@media(max-width:1400px) {}

@media(max-width:1200px) {
    html {
        font-size: 60%;
    }

    .container {
        width: 100%;
        padding: 0 5%;
    }

    .main-form-container {
        padding: 20px 0px;
    }

    .popupvideo .instagram-media {
        width: 40% !important;
        max-width: 40% !important;
        min-width: 40% !important;
        aspect-ratio: 9/16 !important;
        height: 500px !important;
    }
}

@media(max-width:992px) {
    html {
        font-size: 58%;
    }

    .fullwidth {
        margin-bottom: 3rem;
    }

    .main-form-container {
        flex-direction: column-reverse;
    }

    .flex-box {
        flex: 1;
        flex-basis: 100%;
    }

    .formcontainer .form-group {
        flex-basis: 100%;
        height: auto;
    }


    .service-card {
        flex-basis: calc(33.3% - 1rem);
    }

    .card-text-content h3 {
        font-size: 1.8rem;
    }

    .aboutcontent {
        width: 90%;
    }

    .aboutcontent {
        margin-top: auto;
    }

    .aboutdr-content {
        width: 100%;
        box-shadow: none;
        padding: 2rem;
    }

    .video-container {
        width: calc(50% - 10px);
    }

}


@media(max-width:768px) {
    html {
        font-size: 58%;
    }


    .reviewmaincontainer {
        width: 90%;
    }

    .copy-right {
        margin-bottom: 50px;
    }

    .footer-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        display: block;
        right: 0;
        background: #fff;
        z-index: 998;
        width: 100%;
        height: 48px;
        z-index: 99999999999999999;
    }

    .footer-mobile a {
        display: inline-block;
        padding: 12px 9px;
        color: #000;
        text-decoration: none;
        width: 50%;
        font-weight: 60;
        border-radius: 4px;
        font-size: 14px;
        text-transform: uppercase;
        margin: 1px 0 0 0;
        text-align: center;
        float: left;
        font-weight: 500;
    }

    .footer-mobile a svg {
        font-size: 18px;
        padding-right: 4px;
        position: relative;
        top: 2px;
        color: #383838;
    }

    .footer-mobile a:after {
        position: absolute;
        content: "";
        right: 0;
        left: 0;
        margin: 0 auto;
        height: 90%;
        width: 1px;
        bottom: 4%;
        background: #d3d3d3;
    }


    .whatsapp-widget {
        display: none;
    }


    .video-container {
        width: 48%;
    }



}

@media(max-width:576px) {
    html {
        font-size: 56%;
    }
  
    nav .cta-box .popupclick {
    font-size: 11px;
    padding: 10px 5px;
  }

    .formcontainer .form-group {
        flex-basis: 100%;
    }

    .formcontainer .form-group button {
        width: 100%;
    }

    .service-card {
        flex-basis: calc(50% - 1rem);
    }

    .card-text-content h3 {
        font-size: 1.5rem;
    }

    .card-text-content button {
        font-size: 1rem;
    }

    .inner-doctor :is(img, .dr-card-c) {
        flex-basis: 100%;
    }

    .gallery-position {
        position: relative;
        margin-bottom: 3rem;
    }

    .gallery-container,
    .flex-gallery {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-bottom: 10px;

    }

    .video-container {
        flex: 1 0 85%;
        width: 85%;
        margin-bottom: 3rem;
    }

    .btn-flex {
        position: absolute;
        display: flex;
        justify-content: flex-end;
        text-align: right;
        align-items: center;
        width: auto;
        bottom: -12px;
        gap: 10px;
        right: 0;
        cursor: pointer;
    }


    .youtuve-video {
        aspect-ratio: 16/9;
        width: 100%;
    }

    .popupvideo .instagram-media {
        width: 90% !important;
        min-width: 90% !important;
        max-width: 90% !important;
        height: 400px !important;
    }

    .popupvideo .close-button {
        top: 20%;
        right: 5%;
    }

    .contact-box {
        flex-basis: 100%;
    }


    .cta-flex .cta-container {
        margin-top: 0px;
        flex-basis: 100%;
    }

}


@media(max-width:400px) {

    h5.heading {
        font-size: 2.5rem;
    }

    .card-text-content h3 {
        font-size: 1.3rem;
    }
}