@media only screen and (max-width: 992px){
    .countersectionbox {
        /* flex-wrap: wrap; */
        gap: 18px;
        padding: 5px 0;
    }
    
    .countersectionbox .counterbox h3 {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .topheader {
    }
    
    nav.main-nav {
        display: none;
    }
    .hero-content {
        padding: 20px 20px 20px 0;
    }
    .logo {
        width: 40%;
    }
    
    .countersectionbox .counterbox {
        width: max-content;
        gap: 5px;
    }
    .countersectionbox .langopt {
        display: none;
    }
    .langopt {
        bottom: 10%;
        right: 10px;
        width: 45%;
    }
    
    .hero-content h3 {
        font-size: 28px;
        font-weight: 500;
        margin: 0 0 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        text-align: justify;
        margin: 0 0 15px;
    }
    
    .hero-btns {
        flex-wrap: wrap;
        gap: 5px;
        margin: 0;
    }
    
    .hero-btns a {padding: 10px 10px;font-size: 14px;}
    
    .hero {
        padding: 20px 0 0;
    }
    
    .doctorprofile {
        padding: 20px 0;
    }
    
    .doctorprofile .doctorprofilebox {
    gap: 15px;
    }
    
    .doctorprofile .doctorprofilebox .doctorimage {
    width: 100%;
    }
    .doctorprofile .doctorprofilebox .doctorimage img {
        height: 100%!important;
    }
    .doctorprofile .doctorprofilebox .doctorinfobox {
    }
    
    .doctorprofile .doctorprofilebox .doctorinfobox h2 {
        font-size: 24px;
        font-weight: 600;
    }
    
    .doctorprofile .doctorprofilebox .doctorinfobox h3 {
        font-size: 16px;
        font-weight: 500;
    }
    
    .doctorprofile .doctorprofilebox .doctorinfobox h4 {
        font-size: 16px;
        letter-spacing: 1.5px;
        font-weight: 500;
        line-height: 1.5;
    }
    .doctorprofile .doctorprofilebox .doctorinfobox p {
        font-size: 16px;
    }
    .titlebox h1 {
        font-size: 22px;
    }
    
    .fancy-accordion {
        gap: 10px;
    }
    
    .fa-header {
        padding: 5px 5px 5px 0;
    }
    
    .fa-header h5 {
        font-size: 16px;
        padding: 10px 15px;
    }
    
    .diagnostic-panel {
        padding: 10px;
    }
    
    .fancy-accordion-section {
        padding: 20px 0;
    }
    
    .testimonials-section {
        padding: 20px 0;
    }
    
    .testimonials-grid {
        gap: 10px;
        margin: 10px 0 0;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .faq-section {
        padding: 20px 0;
    }
    
    .faq-grid .faq-left {
        width: 38%;
    }
    
    .faq-right {
        width: 60%;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 12px 18px;
    }
    
    .final-cta-section {
        padding: 20px 0;
    }
    
    .final-cta-box {
    padding: 30px 30px;
    }
    
    .final-cta-box .titlebox h1 {
        font-size: 24px;
    }
    
    .final-cta-buttons a {
        width: max-content;
        font-size: 14px;
    }
    
    .final-cta-buttons {}
    
    .trust-badgesbox {
        flex-wrap: wrap;
    }
    
    .trust-badgesbox .videosection {
        width: 50%;
    }
    .emergency-box .inner-box-grid {
        padding: 20px;
        border-radius: 0;
    }
    
    .mobile-sidenav {display: block;}
    .cta-panel a {
        padding: 10px 15px;
    }
    .fa-body .fa-body-links a {
        font-size: 14px;
    }
}
@media only screen and (max-width: 767px) {
    .doctorprofile .doctorprofilebox {
        flex-wrap: wrap;
    }
    .fa-body .fa-body-links a {
        font-size: 16px;
    }
    .doctorprofile.homepage .doctorprofilebox .doctorimage {
        width: 100%;
    }
    
    .doctorprofile .doctorprofilebox .doctorinfobox {
        width: 100%;
        padding: 0 10px;
    }
    .titlebox h1 {
        font-size: 28px;
    }
    .final-cta-box {
        padding: 20px 20px;
        border-radius: 10px;
    }
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .faq-grid .faq-left {
        width: 100%;
    }
    
    .faq-right {
        width: 100%;
    }
    .about-us-page .t {
        margin: 20px 0 0;
    }
    .about-us-page .t h2 {
        font-size: 20px;
    }
    .gallerycategory {
        margin: 0 0 0px;
    }
    .gallerycategory h2 {
        font-size: 18px;
    }
    .gallery-img-box {padding: 0px;}
    
    .gallery-item {
        margin-bottom: 10px;
    }
    .faq-left .titlebox h5, .faq-left .titlebox p, .faq-left .titlebox h1 {
        text-align: center;
    }
}
@media only screen and (max-width: 575px) {
    .hero-images {
        display: none;
    }
    .hero-content {
        padding: 10px 0;
    }
    .service-card img {
        height: 130px;
    }
    
    .service-card {
        margin: 0 5px;
    }
    
    .service-body h5 {
        font-size: 14px;
        padding: 10px 0 5px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .logo {
        width: 60%;
    }
    .service-body a {
        padding: 5px 0;
    }
    .final-cta-box .titlebox h1 {
        font-size: 18px;
    }
    .titlebox h1 {
        font-size: 18px;
    }
    .faq-grid .faq-left .titlebox h1 {
        font-weight: 600;
    }
    .servicebanner .servicebannerimg img {
    }
    
    .hero h1 {
        font-size: 22px;
    }
    
    .cta-row {
    }
    
    .trust-badgesbox {
        flex-wrap: wrap;
    }
    
    .trust-badgesbox .videosection {
        width: 100%;
    }
    
    #treatment h2 {
        font-size: 20px;
    }
    
    .section h2 {
        font-size: 22px;
    }
    .grid-3 .card {
        width: 100%;
    }
    .step {
        width: 100%;
    }
    .grid-box {
        margin: 0 0 20px;
    }
    
    .contact-box .form {
        padding: 10px 20px;
    }
    
    .contact-box .form form {
        margin: 0!important;
    }
    
    .contact-box {
        margin: 20px 0 10px;
    }
    
    .map-box {
        margin: 0;
    }
    
    .emergency-box {
        padding: 0!important;
    }
    
    .emergency-box .inner-box-grid .grid-box .details-box .head-details {
        line-height: unset;
        font-size: 18px;
    }
    
    .emergency-box .inner-box-grid .grid-box .details-box .text-details {
        padding-top: 5px;
    }
    .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    .cta-panel a {
        padding: 10px 10px;
    }
    .doctorinfobox .hero-btns a.book-btn.bookappointment {
        padding: 10px 15px;
        width: unset;
    }
    .hero-content h3 {
        font-size: 18px;
        width: 90%;
    }
    .doctorprofile .doctorprofilebox .doctorinfobox h4 {
        font-size: 14px;
    }
    .doctorinfobox .hero-btns a.book-btn.bookappointment {
        padding: 10px 15px;
        width: unset;
    }
    .hero-content p {
        font-size: 14px;
    }
    .fa-header {
        padding: 0px 15px;
        font-size: 16px;
        padding: 10px 10px 10px 0;
    }
    .fa-body {
        padding: 0px 15px;
    }
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-card h4 {
        font-size: 16px;
    }
    
    .testimonial-card .testimonialcardbox {
        padding: 15px;
    }
    .faq-grid .faq-left .titlebox {
        text-align: center;
        padding: 0 5px;
    }
    .faq-grid .faq-left .titlebox h5 {
        text-align: center;
    }
    .faq-grid .faq-left .titlebox h1 {
        text-align: center;
    }
    .faq-grid .faq-left .titlebox p {
        text-align: center;
    }
    .diagnostic-panel h3 {
        font-size: 18px;
        text-align: center;
        font-family: var(--primary-font);
        font-family: var(--secondary-font);
    }
    .diagnostic-panel p {
        text-align: center;
    }
    .cta-panel {
        text-align: center;
    }
    .cta-panel h5 {
        text-align: center;
    }
    .accordion summary {
        font-size: 16px;
    }
    .card {
        width: 100%;
    }
    .section {
        padding: 20px 0;
    }
    .sub {
        font-size: 16px;
    }
    .fancy-accordion {
        margin: 10px 0 0;
    }
    .topheader {
        padding: 0 10px;
    }
    
    .faq-left {
        margin: 0 0 20px;
    }
    
    .mobilewrapperbox{
        scroll-behavior:smooth;
    }
    
    .mobilewrapperbox{
        display:flex;
        overflow-x:auto;
        overflow-y:hidden;
        scroll-snap-type:x mandatory;
        scroll-behavior:smooth;
        width:100%;
        height: 80vh;
    }
    
    .mobilewrapperbox > div,
    .mobilewrapperbox > section,
    .mobilewrapperbox > footer{
        min-width:100%;
        width:100%;
        flex-shrink:0;
        scroll-snap-align:start;
        scroll-snap-stop:always;
        overflow-y:auto;
        min-height:10vh;
    }
    
    .mobilewrapper{
    padding-bottom: 20px;
    }
    
    .flex-direction {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .diagnostic-panel {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .cta-panel {
        margin-top: 0;
        margin-bottom: 15px;
    }

}