@media screen and (min-width:992px) and (max-width: 1199.99px) {
    .mri_details_section{
        height: auto !important;
        
    }
    

    .mri_details_section .mri-details-items .item .text h3{
        font-size: 2em !important;

    }
    .mri_details_section .mri-details-items .item .text p{
        font-size: 1em !important;

    }
    .mri_details_section .right_area{
        padding: 1%;
        
    }
    /* MRi */
    
    /* Tab section style for responsive*/
.tabs-section .nav-tab-area .tab_header ul.filter {
    
    justify-content: start;
    gap: 0.5rem;
  }
  .tabs-section .nav-tab-area .tab_header .active {
  
    padding: 1.5%;
  }
  .tabs-section .nav-tab-area .tab_header ul li {
    width: 19% !important;
  }
  ul {
    padding-left: 0 !important;
    
}
.tabs-section .slider li .card {

    overflow: hidden;
  }
  .tabs-section .slider .slick-prev,  .tabs-section .slider .slick-next{
    left: 46% !important;
  
  }
}

/* Medium device */
@media screen and (min-width:768px) and (max-width:991.99px){

    .topbar{
       
        grid-template-columns: repeat(3, 1fr);
        
        
    }
    .topbar p{
        font-size: 0.7rem;
    }
    .icon-area{
        display: none !important;
    }
    .topbar .hotline i,.topbar .address i,.topbar .daytime i{
   
      height: 1.5em;
      width: 1.5em;
        padding: .25em;
        
    } 
    /* categories section responsive */
        .right-card-body{
            grid-template-columns: repeat(3, 1fr) !important;
            padding: 3% !important;

        }

        .right-card-body .item{
            height: 100px !important;
            width: 100px;
        }
          
             a img{
                    height: 40% !important;
                    width: 30% !important;   
                }

   .cards-section .card-body .left-card .card-text .btn{
    font-size: 15px;
    
   }
  
   .main-section .header-section .slider .carousel-inner .carousel-item .carousel-caption{
    top: 20%;
   }
         /* Quality Section */
         .image-in-bg{
            height: 55em !important;
            
           
    }
/* Offer section style */
.offer-section{
    height: auto !important;
    margin-top: auto !important;
}
.offer-section .offer-body{
    padding-top: 50%!important;
    width: 100% !important;
    overflow: hidden;

}
.offer-section .offer-body .offer_card_area{
    padding: 1% !important;
}
/* Tab section style for responsive*/
.tabs-section .nav-tab-area .tab_header ul.filter {
    
    justify-content: start;
    gap: 0.5rem;
  }
  .tabs-section .nav-tab-area .tab_header .active {
  
    padding: 1.5%;
  }
  .tabs-section .nav-tab-area .tab_header ul li {
    width: 19% !important;
  }
  .tabs-section .slider .slick-prev,  .tabs-section .slider .slick-next{
    left: 46% !important;
  
  }
  /* mri details section style */
  .mri_details_section {
    height: auto;
  }
/* testimonial */
.testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next::after {
    
    bottom: -5px;
    right: 43.5%;
  }

  /* Free checkup */
  .freecheckup .offer{
    flex-direction: column ;
  }
  .freecheckup .offer .offer-img{
    width: 100%;
    height: 50%;
    padding-top: 3% !important;
    margin: auto;
  }
  .freecheckup .offer .offer-img img{
    height: 100%;
    
    padding: 0 !important;
  }
  .freecheckup .offer .offer-text{
    width: 100%;
    height: 50%;
    padding: 3% !important;
    font-size: 2rem;
  }
  .freecheckup .request button{
    padding: 1.2rem;
    width: 20%;

  }
  .freecheckup .request form button {
 
    padding: 2.1em;
    width: 40%;
    font-size: 13px;
  }
  .freecheckup .request form button::before {
    
    height: 30px;
    width: 30px;
    top: 30%;
  }
  .freecheckup .request form button::after {
  
    font-size: 1.5rem;
    top: 23%;
  }
 
  /* article-section */

  .article-section .article-area .text-card .card-part ul {
   
    justify-content: start;
  }

  .partners-section .partners_area {
    
    flex-wrap: wrap;
  }
  .partners-section .partners_area img{
    width: 33.33%;
    padding: 5%;
  }
  .footer_area .footer_top_row{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
 
  .footer_area .follow_us ul li i {
    height: 30px;
    width: 30px;
   
    font-size: 15px;
  }
  .footer_area .footer_middle_row .outer .viewers .items {
   
    flex-direction: column;
  }
  .footer_area .footer_middle_row .outer .viewers .items img {
    width: 50%;
   
  }
   
}










/* small device */
@media screen and (min-width:576px) and (max-width:767.99px){
  .partners-section .partners_area img{
    width:50%;
    padding: 10%;
  }
  .partners-section .partners_area {
    
    flex-wrap: wrap;
  }

    .topbar{
       
        grid-template-columns: repeat(3, 1fr);
        
        
    }
    .topbar p{
        font-size: 0.7rem;
    }
    .icon-area{
        display: none !important;
    }
    .topbar .hotline i,.topbar .address i,.topbar .daytime i{
   
      height: 1.5em;
      width: 1.5em;
        padding: .25em;
        
    } 
    /* categories section responsive */
    .categories-section{
        
       height: auto !important;
    }
    .cards-section{
        
        height: auto !important;
    }

.right-card{
    height: auto;
}
    .left-card{
        margin-bottom: 1rem;
        height: auto;
    }
        .right-card-body{
            grid-template-columns: repeat(3, 1fr) !important;
            padding: 3% !important;
          

        }

        .right-card-body .item{
            height: 100px !important;
            width: 100px;
        }
          
             a img{
                    height: 40% !important;
                    width: 30% !important;   
                }
               
    .counter-area .item{
        width: 50%;
    }
         /* Quality Section */
         .image-in-bg{
            height: 50em !important;
            
           
    }
    .quality-section .items-body{
        display: grid;
        grid-template-columns: auto auto;
    }
    /* Offer section style */
.offer-section{
    height: auto !important;
    margin-top: auto !important;
}
.offer-section .offer-body{
    padding-top: 50%!important;
    width: 100% !important;
    overflow: hidden;
    

}

.offer-section .offer-body .offer_card_area{
    padding: 1% !important;
   
}    
.offer-section .offer-body .offer_card_area .row {
    display: grid;
    grid-template-columns: auto auto;
}  

/* Tab section style for responsive*/
.tabs-section .nav-tab-area .tab_header ul.filter {
    
    justify-content: start;
    gap: 0.3rem;
  }
  .tabs-section .nav-tab-area .tab_header .active {
  
    padding: 1.2%;
  }
  .tabs-section .nav-tab-area .tab_header ul li {
    width: 25% !important;
  }
  .tabs-section .slider .slick-prev,  .tabs-section .slider .slick-next{
    left: 39% !important;
  
  }
  .tabs-section .nav-tab-area ul{
    padding-left: 0 !important;
  }
  .tabs-section .b-btn {
   
    padding-left: 0 !important;
   
  }
  /* mri details section style */
  .mri_details_section {
    height: auto;
  }
  
  /* testimonial */
.testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next::after {
    
    bottom: -1.5px;
    right: 41.5%;
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-prev::after {
    bottom: -18.5px;
    right: 51.8%;
  }
  .testimonial {
    margin-top: 35rem !important;
}
/* Free checkup */
.freecheckup .offer{
  width: 100%;
}
.freecheckup .offer .offer-img{
  width: 50%;
  height: 50%;
  padding-top: 3% !important;
  margin: auto;
}
.freecheckup .offer .offer-img img{
  height: 100%;
  width: 100%;
  padding: 0 !important;
}
.freecheckup .offer .offer-text{
  width: 50%;
  height: 50%;
  padding: 3% !important;
  font-size: 2rem;
}
.freecheckup .request{
  padding: 5%;
  width: 100%;
  height: auto;
}

.freecheckup .request form button {

  padding: 2.1em;
  width: 40%;
  font-size: 13px;
}
.freecheckup .request form button::before {
  
  height: 30px;
  width: 30px;
  top: 30%;
}
.freecheckup .request form button::after {

  font-size: 1.5rem;
  top: 23%;
}
.freecheckup{
  height: auto;
  flex-direction: column;
}
/* article-section */

.article-section .article-area .text-card .card-part ul {
   
  justify-content: start;
}
.article-section .article-area .card-area {
  display: block;
}
.article-section .article-area .double-card {
  width: 96%;
  padding: 8%;
  
}
.article-section .article-area .double-card .c-item .text-area ul {
  
  justify-content: space-around;
}


.footer_area .follow_us {
    
  position: relative;
  bottom: -50px;
}
.footer_area .follow_us ul li i {
  height: 30px;
  width: 30px;
 
  font-size: 15px;
}
.footer_area .footer_middle_row .outer .viewers .items img {
  width: 30%;
 
}

   
}























/*  Extra small device */
@media screen and (max-width: 575.99px) {
  .quality-section .quality-body .image-in-bg .quality-items .items-body .item .item_text h6 {
  
    font-size: 13px;
  }

  .offer-section .offer-body .title_text_area h2 {
    font-size: 20px;
  }

  .quality-section .quality-body .image-in-bg .quality-items {
   
    bottom: -300px;
   
  }
  .quality-section .quality-body .image-in-bg .quality-items .items-body .item {

    padding: 0;
  }

  .about_quality .quality-body {
    height: 200px !important;
   
  }
  .footer_area .follow_us {
    
    position: relative;
    bottom: -50px;
  }
  .footer_area .follow_us ul li i {
    height: 30px;
    width: 30px;
    
    font-size: 15px;
  }
  .footer_area .footer_top_row{
  padding-left: 0 !important;
   padding-right: 0 !important;
  margin-left: 0 !important;
   margin-right: 0 !important;
  }
    .offcanvas .offcanvas-header img{
        height: 80% !important;
        width: 80% !important;
    }

    .header-section .header-nav-section .nav-row .col img{
        height: 100%;
        width: 100%;
    }
    .topbar{
        display: none;
    }

    .right-card-body{
        /* grid-template-columns: repeat(2, 1fr) !important; */
        display: flex !important;
        justify-content: center;
        align-items: center;

    }
    .right-card-body .item p{
        font-size: 0.8rem;
    }
    .right-card{
        height: auto !important;
       
    }
    .categories-section{
        z-index: -1 !important;
        height: auto !important;
     }
     .cards-section{
         
         height: auto !important;
         top: 0 !important;
     }
     .cards-section .card-body .left-card .card-text .btn{
        font-size: 15px;
        
       }
       /* carousel style for extra small device*/
    .carousel-indicators{
        grid-gap: 0.5% !important;
        height: 40% !important;
        top: 25% !important;
        left: 75% !important;

    }
    .indicators::before{
        height: 200% !important;
    }
    .carousel-item img{
        
      
        height: 435px !important;
      
           
       
    }
    .main-section {
        height: 500px !important;
        
      }
      .main-section .header-section .slider .slick-prev, .main-section .header-section .slider .slick-next{
        display: none !important;
      }
  .main-section .header-section .slider .slick-track{
        transform: translate3d(0px, -430px, 0px) !important;
       }
     
    .main-section .header-section .slider .social-icons {
      top: 62% !important;
      height: 42%;
      grid-gap: 1%;
    }
    .carousel-social-icon::before{
        height: 105% !important;
    }
    .counter-section .counter-area .item{
        display: flex;
        justify-content: center;
    }
        /* Quality Section */
        .image-in-bg{
            height: 50em ;
            
           
    }
    .image_in_aboutus_bg{
      height: 10em !important;

    }
    /* Offer section style */
    .offer-section .offer-body .offer_card_area .card .icon-circle {
      height: 100px;
      width: 100px;
      position: unset;
      margin: auto;
     
    }
    .offer-section{
        height: auto !important;
        margin-top: auto !important;
    }
    .offer-section .offer-body{
        padding-top: 100%!important;
        width: 100% !important;
        overflow: hidden;
        
    
    }
    
    .offer-section .offer-body .offer_card_area{
        padding: 1% !important;
       
    }  
/* offer-section */
.offer-section .offer_card_area .card_text ul{
    left: 0 !important;
}

/* Mri_section */
  /* mri details section style */
  .mri_details_section {
    height: auto;
  }
.mri_details_section .mri-details-items{
    grid-template-columns: auto !important;
    grid-gap: 0.5rem;
}
.mri_details_section .mri-details-items .item{
    flex-direction: column;
}
.mri_details_section .left_area{
    height: auto !important;
}
.mri_details_section .right_area .doctor{
    display: none !important;
}
.mri_details_section .right_area .mri_machine img{
    height: 80% !important;
    width: 100% !important;
}
.mri_details_section .right_area {
    margin-bottom: 40px !important;
}
.mri_details_section .left_area  .mri_details_text h2{
    font-size: 25px !important;
    
}
.mri_details_section .left_area  .mri_details_text h3{
    font-size: 18px !important;

}

/* Tab section style for responsive*/


.tabs-section .nav-tab-area .tab_header ul.filter {
    
    justify-content: start;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .tabs-section .nav-tab-area .tab_header ul.filter li{
    font-size: 12px;
  }
  .tabs-section .nav-tab-area .tab_header .active {
  
    padding: 0.2%;
  }

  .tabs-section .nav-tab-area .tab_header ul li {
    width: 30% !important;
  }
  .tabs-section .slider .slick-prev,  .tabs-section .slider .slick-next{
    left: 36% !important;
  
  }
  .tabs-section .nav-tab-area ul{
    padding-left: 0 !important;
  }
  .tabs-section .b-btn {
   
    padding-left: 0 !important;
   
  }
  .tabs-section .nav-tab-area .text_area h2 {
  
    font-size: 1.5rem;
    
  }
  .tabs-section .slider li .card .card-body p {
    width: 120px;
  }
  

    
.testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next {
    
    background-color: unset;
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-prev {
    background-color: unset;
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-prev:hover, .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next:hover {
    background-color: unset;
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next::after {

    bottom: -0.5px;
    right: 30.5%;
  }
  .testimonial {
    margin-top: 52rem !important;
}
.testimonial .inner-bg .testimonial-slide-section .owl-stage .owl-item .card-item .circle-are {
    height: 100px;
    width: 100px;
    
    top: -3%;
    left: 20%;


  }
  .testimonial .inner-bg .testimonial-slide-section .owl-stage .owl-item .card-item .card-top h4 {
  
    font-size: 12px;
   
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-stage .owl-item .card-item .card-top {
    
    height: 345px;
    
  }
  /* Free checkup */
.freecheckup .offer{
  flex-direction: column-reverse;
  width: 100%;
}
.freecheckup .offer .offer-img{
  width: 100%;
  height: 50%;
  padding-top: 3% !important;
  margin: auto;
}
.freecheckup .offer .offer-img img{
  height: 100%;
  width: 100%;
  padding: 0 !important;
}
.freecheckup .offer .offer-text{
  width: 100% !important;
  height: 50%;
  color: black;
  text-align: center;
  padding-top: 10%;
  padding: auto;
  font-size: 2rem;
  margin: auto;
}
.freecheckup .request{
  padding: 5%;
  width: 100%;
  height: auto;
}
.freecheckup .request form {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}
.freecheckup .request form button {
  position:unset;
  text-align: left;
  right: 0;
 width: auto;

  font-size: 1em;
  border-radius: 25px;
  background-color: #2d3663;
  color: white;
  margin: auto;
}


.freecheckup .request form button::before {
  display: none;
  
}
.freecheckup .request form button::after {
display: none;

}
.freecheckup{
  height: auto;
  flex-direction: column;
}

.article-section .article-area .text-card .card-part ul {
   
  justify-content: start;
}
.article-section .article-area .card-area {
  display: block;
}
.article-section .article-area .double-card {
  width: 96%;
  padding: 8%;
  
}
.article-section .article-area .double-card .c-item .text-area ul {
  
  justify-content: space-around;
}
.article-section .article-area .text-card .card-part button {
  width: 11em !important;
  font-size: 0.7rem;
}
.article-section .article-area .text-card .card-part h3 {
  font-size: 1rem;
 
}
.article-section .article-area .text-card .card-part ul{
  gap: 0 !important;
}
.article-section .article-area .text-card .card-part ul li {
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.article-section .article-area .double-card .c-item .useable-button {
  width: 50%;
  font-size: 15px;
}
.freecheckup .request form input {
 
  padding: 0.5rem;
  border-radius: 0;
}
.freecheckup .request form button {
 
  padding: 0.6rem;
 
}
.partners-section .partners_area img{
  width:90%;
  /* padding-left: 40%;
  padding-right: 40%; */
  padding: 5% 30% 5% 30%;
}
.partners-section .partners_area  {
  flex-wrap: wrap;
}
.footer_area .footer_middle_row .outer .viewers .items {
   
  flex-direction: column;
}
.footer_area .footer_middle_row .outer .viewers .items img {
  width: 50%;
 
}
.footer_area .footer_middle_row .outer .quick_move ul {
  grid-template-columns: repeat(1, 1fr);
  
}
.footer_area .footer_middle_row .outer .about_us_items .header_text i {

  padding: 8px;
}

}







@media screen and (max-width: 250px) {
  .quality-section .quality-body .image-in-bg {
    height: 25em;
    
  }

  .medical_product .article-area .double-card .c-item .text-area, .article-section .article-area .double-card .c-item .text-area {
    padding: 0.5rem !important;
  }

  .medical_product .article-area .double-card #cardiology-card, .article-section .article-area .double-card #cardiology-card {
    
    height: 350px;
    
  }
  
  .testimonial .inner-bg .testimonial-slide-section .owl-stage .owl-item .card-item {
    height: 450px;
    
  }
  .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav {
    margin-top: -120px !important;
    margin-left: 0 !important;
    left: -23px;
    position: relative;
  }
  .testimonial {
   
    
    height: auto;
  }

  .testimonial .inner-bg .testimonial-slide-section .owl-stage .owl-item .card-item .card-top {
    height: 260px;
  }
    /* indicator responsive */
    .carousel-indicators {
      height: 68% !important;
      top: 38% !important;
     
    }
    
    .indicators{
        height: 20px !important;
        width: 20px !important;
        margin-bottom: 101% !important;
    }
    .indicators::before{
        
        height: 165% !important;
    }
    .carousel-item img{
        
            height: 380px !important;
           
       
    }
    .main-section {
        height: 400px !important;
        
      }
     
    
    .active::after{   
            right: 8% !important;
           
            top: 30% !important;
            left: 26% !important;
    }
/* .social-icons{
      top: 22% !important;
    } */
    .main-section .header-section .slider .social-icons {
      top: 68% !important;
      height: 35%;
      grid-gap: 1%;
    }
    .carousel-social-icon::before{
      
    
       height: 105% !important;
        left: 45% !important;
    }
    .carousel-social-icon{
                    
                    
        
        height: 30px !important;
        width: 30px !important;
       
       
      
    }
      /* ./indicator responsive */
      /* clinical */

   
    .cards-section .card-body .left-card .card-text .btn{
        font-size: 9px;
        
       }
       
        .about-right h1{
            font-size: 20px;
            font-weight: 600;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        }
        .about-right h4{
            font-weight: 700;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        }
        .btn{
            font-size: 9px;
            
           }
           p{
            font-size: 10px;
           }
           h1{
            font-size: 15px;
           }
            /* Quality Section */
        .image-in-bg{
            height: 40em; 
            }
            .image_in_aboutus_bg{
              height: 10em !important;
            }
            
            /* mri_details section style */
        .mri_details_section .right_area .mri_machine img{
                height: 60% !important;
                width: 100% !important;
            }
            .mri_details_section .right_area {
                margin-bottom: 0 !important;
            }
            .mri_details_section .mri-details-items .item .text h3{
                font-size: 1.2em !important;
        
            }
            .mri_details_section .mri-details-items .item .text p{
                font-size: .6em !important;
        
            }
            /* tab section style */
            .tabs-section .card .img-outer{
                height: 140px !important;
                width: 140px !important;
                
            }
            .tabs-section .card .img-inner{
                height: 130px !important;
                width: 130px !important;

            }
            .testimonial .inner-bg .testimonial-slide-section .owl-theme .owl-nav .owl-next::after {

                bottom: 0px;
                right: 15.5%;
              }
              .testimonial {
                margin-top: 45rem !important;
            }
            /* Article section */

            .article-section .article-area .text-card .card-part button {
              width: 8em !important;
              font-size: 0.6rem;
            }
            .article-section .article-area .double-card .c-item .text-area ul,.article-section .article-area .text-card .card-part ul {
              
             
              flex-direction: column;
              
            }       
            .article-section .article-area .text-card .card-part ul li {
              
              display: unset !important;
             
              text-align: left !important;
              
            }   
            .footer_area .footer_middle_row {
              padding-left: 0 !important;
              padding-right: 0 !important;
                
            }
            .footer_area .footer_middle_row .outer .quick_move ul {
              grid-template-columns: repeat(1, 1fr);
            
            }
            .footer_area .footer_middle_row .outer .viewers .items {
              
              flex-direction: column;
            }
            .footer_area .follow_us {
              flex-direction: column;
            }
            .footer_area .logo img{
              width: 100%;
            }
           
            .footer_area .footer_top_row{
              margin-left: 0 !important;
              margin-right: 0 !important;
            }
            .footer_area .copy_rights{
              padding: 0 !important;
            }
}