@media(min-width:320px) and (max-width:768px){
    .top-bar{
        text-align: center;
    }
    .social{
        text-align: center;
    }
    .logo a{
        display: block;
        text-align: center;
    }
    .logo h2{
        font-size: 2.2rem;
    }
    .logo .text{
        font-size: 1.5rem;
    }
    .logo .text2{
        font-size: 1.5rem;
    }
    .call-wrap{
        justify-content: center;
    }
    .book{
        text-align: center;
    }
    .book i{
        font-size: 1.6rem;
    }
    .book a{
        padding: 1rem 2rem;
        font-size: 1.4rem;
        font-weight: normal;
    }
    .carousel-caption{
        bottom: 1rem;
        left: 1.5rem;
    }
    .carousel-caption h3{
        font-size: 1.8rem;
        line-height: 2rem;
        margin-bottom: 0.5rem;
    }
    .carousel-caption h4{
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.8rem;
    }
    .carousel-caption button{
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    .section{
        padding: 4rem 0;
    }
    .about h2{
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .about h2 span{
        font-weight: normal;
    }
    .about .img-wrap{
        margin-bottom: 2rem;
    }
    .about p{
        margin-bottom: 1rem;
    }
    .about a{
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }
    .app-form h3{
        font-size: 2.4rem;
    }
    .app-form p{
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .form-group{
        margin-bottom: 1rem;
    }
    .app-form .btn{
        font-size: 1.4rem;
    }
    .heading{
        margin-bottom: 2rem;
    }
    .heading h2{
        font-size: 2.4rem;
    }
    .content-block figcaption h4{
        font-size: 1.6rem;
    }
    .content-block:hover figcaption h4{
        font-size: 1.8rem;
    }
    .content-block figcaption a{
        padding: 0.7rem 1.5rem;
        margin-top: 1rem;
    }
    .view{
        margin-top: 0;
        font-weight: normal;
    }
    .test-item p{
        font-size: 1.4rem;
    }
    .test-item{
        width: 100%;
        border-radius: 15px;
        padding: 30px 20px;
    }
    .test-item span{
        font-weight: normal;
    }
    .clinic-gallery{
        margin: 0 0 3rem;
        flex-wrap: wrap;
        border-width: 1px;
    }
    .clinic-info{
        width: 100%;
        padding: 2rem;
    }
    .clinic-pic{
        width: 100%;
    }
    .clinic-info h4{
        font-weight: normal;
    }
    .clinic-info p{
        width: 100%;
    }
    .cta .cta-block h1{
        font-size: 1.8rem;
    }
    .cta .cta-block{
        text-align: center;
        padding: 15px;
    }
    .cta .cta-btn{
        text-align: center;
        padding-top: 10px;
    }
    .cta .cta-block .btn{
        font-size: 1.4rem;
    }
    .footer-block h2{
        font-size: 2rem;
        line-height: 2.4rem;
        margin-bottom: 1rem;
    }
    .footer-block h2 span{
        font-size: 1.4rem;
    }
    .footer-block p{
        font-size: 1.4rem;
    }
    .footer-end p{
        font-size: 1.2rem;
        padding-top: 1.5rem;
    }
    footer{
        padding: 3rem 0 1.5rem;
    }
    .footer-block{
        margin-bottom: 2rem;
    }
    .banner h2{
        font-size: 2.4rem;
    }
    .banner{
        padding: 5rem 0;
        background-position: 70% 100%;
    }
    .pattern-item .text h3{
        font-size: 20px;
    }
    .pattern-item{
        margin-bottom: 20px;
    }
    .content-block:hover figcaption{
        padding-top: 5rem;
    }
    .content-block figcaption{
        top:82%
    }
    .service-details h3::before {
        width: 7rem;
    }
    .ser-det-info{
        padding: 2rem;
    }
    .service-details p{
        font-size: 1.4rem;
    }
    .service-details h3{
        font-size: 2rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .service-details a{
        margin-top: 0;
    }
    .app-inner .img-wrap{
        margin-top: 2rem;
    }
    .hospital ul{
        flex-wrap: wrap;
        margin: 0;
    }
    .hospital ul li{
        padding: 0 0 2rem;
        width: 100%;
        flex: none;
    }
    .timing-wrap{
        position: static;
    }
    .cta .cta-block.typ-hosp h1{
        font-weight: normal;
        font-size: 1.6rem;
        line-height: 2rem;
    }
    .cta .cta-block.typ-hosp h1 span{
        font-size: 2rem;
    }
    .cta{padding: 0;}
    .faq .img-wrap{
        margin-top: 2rem;
    }
    .faq-item{
        margin-bottom: 3rem;
    }
    .faq h3{
        font-size: 2.4rem;
    }
    .contact ul{
        flex-wrap: wrap;
        margin: 0;
    }
    .contact ul li{
        padding: 0 0 2rem;
        width: 100%;
        flex: none;
    }
    .contact .cont-info a{
        font-size: 1.5rem;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-caption h3 {
        font-size: 4rem;
        line-height: 4rem;
        font-weight: 400;
        color: #000;
        max-width: 40rem;
        margin-bottom: 2rem;
    }
    .carousel-caption h4 {
        font-size: 2.4rem;
        line-height: 2.4rem;
        font-weight: 300;
        color: #222;
        margin-bottom: 2rem;
    }
    .carousel-caption button {
        background: #ec268f;
        border: none;
        padding: 1rem 2rem;
        font-size: 1.6rem;
    }
    .content-block figcaption{
        top: 85%;
        padding: 10px 20px 10px;
    }
    .cta{
        padding: 4rem 0;
    }
    .menu li a{
        padding: 10px 13px;
    }
    .cta .cta-block{
        text-align: left;
    }
    .banner{
        padding: 8rem 0;
    }
    .app-inner .img-wrap{
        height: auto;
        align-items: center;
    }
}