@media (max-width:600px) {

    /* navbar */

    .navbar .navbar-brand {
        width: 70% !important;
    }

    .navbar .nav-link {
        padding-top: 5px;
    padding-bottom: 5px;
    }

    #carouselExampleIndicators {
        background-image: url(../img/home/mobile-hero.png);
        height: 400px;
        width: auto;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        margin-top: 10%;
    }

    .carousel .carousel-indicators button {
        display: none;
    }

    #carouselExampleIndicators .carousel-control-prev ,
    #carouselExampleIndicators .carousel-control-next {
        display: none;
    }

    #carouselExampleIndicators .carousel-item {
       display: none;
    }


    /* endoscopy card */

    #carouselExampleControls .carousel-item {
        margin-bottom: 30px;
    }

    

    /* all cards */

    .card {
        margin-top: 20px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    /* heading container */
    .heading-container{
        padding: 0% 5%;
    }

    /* counters */

    #counters h2 {
        margin-top: 30px;
    }

    #whyus .img-box {
        width: 80%;
        margin: auto;
        margin-top: 20px;
    }

    /* clients */

    #clients img {
        margin-top: 20px;
    }

    /* main btn */
    .container.main-btn{
     margin-left: 30% !important;
    }

    /* subhero */
    .sub-hero{
        width:100%;
        height: 30vh;
       padding: 5%;
       padding-top: 10%;
       margin-top: 0%!important;
    }

    .sub-heading{        
        padding-top: 30%;
    }


    .p{
        padding:0px 20px;
    }

    /* about page */
    .about-1 .bg{
      visibility: hidden;
    }

    /* history */
    .histroy .img-1{
        margin-left: 10%;
    }

   
    /* service details */
    .service-details img{
        height: 30%;
    }

    /* products */

    .gallery img {
        margin-top: 0px;
      }

   .s-none {
        display: none !important;
    }

    /* contact page */
    .react-us .main-btn{
        margin-top: 10px;
    }
    .contact_form{
    padding: 10px 30px;
    }
    .contact_form .from-group input{
       width:50% !important;
    }

    /* contact */

    form{
       width: 95% !important;
    }
}
