/* Tablet */
@media (max-width:1199px){
  .subheading-wrapper h1 {
    font-size: 48px;
}
    .logo-text h1 {
      font-size: 35px;
  }
  .logo-text p {
      font-size: 11px;
  }
  .top-contact a {
      font-size: 14px;
  }
  .social-bar a {
    width: 35px;
    height: 35px;
}
.social-bar i {
    font-size: 20px;
}
.navbar-nav .nav-link {
    font-size: 14px;
    margin: 0 7px;
}
.navbar-custom {
    padding: 8px 0;
}
#child1 {
    width: 300px;
    position: absolute;
    left: 100px;
    top: 20px;
    transform-origin: center;
}
#giraffe {
    width: 150px;
    position: absolute;
    right: 40px;
    top: 30px;
    transform-origin: center;
}
#bear {
    width: 180px;
    position: absolute;
    right: 60px;
    bottom: 40px;
    transform-origin: center;
}
#elephant {
    width: 140px;
    position: absolute;
    left: 10px;
    top: -74px;
    transform-origin: center;
}
}

@media (max-width:1023px){
  .footer-list {
    margin-bottom: 0;
}
  .doctor-img {
    padding-right: 0;
}
  .hero-content {
    padding: 30px 45px;
    left: 8%;
    top: 8%;
}
  .testimonial-section {
    padding-bottom: 20px;
}
.contact-card .content h4 {
    font-size: 15px;
}
  .testimonial-container .prev {
    left: 0;
}
 .testimonial-container .next {
    right: 0;
}
  .timeline-item {
    margin-bottom: 19px;
}
  .subheading-wrapper h1 {
      font-size: 38px;
  }
  .social-icons {
      left: -54px;
  }
  .abouleft {
    padding-right: 0;
}
  .aboutright h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
  .doctor-wrapper {
    padding: 20px;
}
.btn-consult {
    padding: 10px 15px;
    line-height: 1.5;
    font-size: 14px;
}
.btn-profile {
    padding: 14px 15px;
    font-size: 14px;
}
.abttext {
    padding: 20px;
    margin-bottom: 16px;
}
.doctor-buttons {
    gap: 10px;
}
  .tag {
    font-size: 15px;
}
.expertise li {
  font-size: 15px;
}
  .aboutright h2 {
    font-size: 44px;
}
.abttext p {
    font-size: 15px;
}
#child1 {
    width: 300px;
    position: absolute;
    left: 50px;
    top: 10px;
    transform-origin: center;
}
#giraffe {
    width: 150px;
    position: absolute;
    right: 10px;
    top: 30px;
    transform-origin: center;
}
#bear {
    width: 155px;
    position: absolute;
    right: 20px;
    bottom: 50px;
    transform-origin: center;
}
#elephant {
    width: 140px;
    position: absolute;
    left: -5px;
    top: -60px;
    transform-origin: center;
}
#child3 {
    width: 100px;
    position: absolute;
    left: 0px;
    top: 20px;
    transform-origin: center;
}
}
@media (max-width:992px){

.logo-text h1{
font-size:37px;
}

.logo-img img{
width:300px;
}

    
#child1 {
    width: 250px;
    position: absolute;
    left: 1px;
    top: 16px;
    transform-origin: center;
}

#giraffe {
    width: 110px;
    position: absolute;
    right: 20px;
    top: 30px;
    transform-origin: center;
}

#bear {
    width: 140px;
    position: absolute;
    right: 10px;
    bottom: 40px;
    transform-origin: center;
}

#elephant {
    width: 150px;
    position: absolute;
    left: 20px;
    top: -80px;
    transform-origin: center;
}

#child3 {
    width: 88px;
    position: absolute;
    left: 0px;
    top: 10px;
    transform-origin: center;
}
#child2 {
    width: 150px;
    position: absolute;
    left: 30px;
    top: 10px;
    transform-origin: center;
}

#child4 {
    width: 113px;
    position: absolute;
    right: 50px;
    top: 8px;
    transform-origin: center;
}

}
@media (max-width:991px){
  .counter-card .icon i {
    font-size: 35px;
}
  .counter-card {
    padding: 20px 5px;
}
.counter-card p {
    font-size: 14px;
}
.counter-card h2 {
    margin: 10px 0 5px 0;
}
  .menubar ul li ul li a {
    padding: 10px 5px;
}
  .hero-title {
      font-size: 60px;
  }
  .social-bar{
    display: none;
  }
  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 5px 0;
}
.cx-drhero-wrap {
    max-width: 100%;
    padding: 0 15px;
}
.cx-drhero-name {
    font-size: 40px;
}
.cx-drhero-title {
    margin-top: 3px;
    margin-bottom: 4px;
    font-size: 1.2rem;
    font-weight: 600;}
.cx-drhero-subtitle {
    margin-bottom: 13px;
}
.cx-drhero-list {
    margin: 0 0 18px;
}
.cx-drhero-card {
    padding: 14px;
}
.cx-drhero-card h2 {
    font-size: 37px;
    line-height: 1;
}
}

@media(max-width:800px){
  .feature-box {
    padding: 10px;
}
.feature-box .icon {
    margin-bottom: 10px;
}
  .hero-title {
    font-size: 45px;
}
.hero-title span {
    font-size: 45px;
}
.hero-text {
  margin-top: 5px;
  font-size: 18px;
}
.service-content {
    padding: 10px;
}
.service-content h4 {
    font-size: 20px;
}
.service-content p {
    font-size: 15px;
    margin-bottom: 7px;
}
  .btn-profile {
    padding: 8px 15px;
}
  .aboutright h2 {
    font-size: 35px;
}
.aboutright h3 {
    font-size: 16px;
}
.abttext p {
    font-size: 15px;
}
}
@media(max-width:768px){
  .logo-text h1 {
    font-size: 34px;
}
  .timeline-section .container {
    width: 100%;
  }
  .timeline-item .content h4 {
    padding-bottom: 0;
    margin-bottom: 10px;
}
.cta-btn {
    font-size: 17px;
    padding: 10px 20px;
}
.cta-section {
    padding: 16px 19px;
}
  .timeline-item {
    margin-bottom: 10px;
    padding-left: 54px;
    transition: 0.3s ease;
}
  .article-box{
    flex-direction: column;
  }

  .article-img,
  .article-content{
    width: 100%;
  }

  .article-content{
    padding: 20px;
  }

  
}

/* Mobile */
@media (max-width:767px){
  .abttext p {
      font-size: 15px;
      margin-bottom: 10px;
  }
  .testimonial p {
    font-size: 18px;
    font-weight: 400;
    max-width: 100%;
}
  .reviewsec {
    padding: 40px 0;
}
  .timeline-section .container {  
      margin-top: 25px!important;
  }
  .subheading-wrapper p {
      font-size: 15px;
      width: 80%;
  }
  .cta-box p {
    font-size: 15px;
    margin: 0 auto 10px;
}
  .cta-box {
    padding: 25px 20px;
}
.cta-box h2 {
    font-size: 30px;
    margin-bottom: 5px;
}
  .tab-card .highlight {
    margin: 5px 0;
}
  .tab-card {
    padding: 15px;
}
  .features {
    margin-top: 15px;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}
  .subheading-wrapper h1 {
    font-size: 30px;
}
  .iesec{
    padding-top: 40px;
  }
  .service-card {
    margin-top: 20px;
}
  .doctor-img {
    margin-bottom: 0;
}
  .aboutsection {
    padding: 40px 0;
}
  .aboutright h2 {
    font-size: 42px;
    text-align: center;
}
.aboutright h3 {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}
  .hero-content {
    width: 90%;
    left: 8%;
    top: 8%;
}
  .hero-title {
    font-size: 51px;
}
.hero-title span {
    font-size: 28px;
}
  .top-contact{
    display: block;
  }
      .logo-text h1{
        font-size: 35px;
      }
      .menubar {
      padding: 0 20px 0 20px;
      border-radius: 10px;
  }
  .logo-img{
    text-align:center;
}
 .logo-img img{
    width:500px;
    display:inline-block;
}
    .top-contact{
        float:none;
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        padding: 3px 0 10px 0;
    }
     .social-bar{
    display: flex;
    gap: 10px;
     align-items:center;
        justify-content:center;
        text-align:center;
        padding: 10px 0 10px 0;

  }
    
#child1 {
    width: 163px;
    position: absolute;
    left: 1px;
    top: 68px;
    transform-origin: center;
}

#giraffe {
    width: 80px;
    position: absolute;
    right: 10px;
    top: 30px;
    transform-origin: center;
}

#bear {
    width: 100px;
    position: absolute;
    right: 0px;
    bottom: 40px;
    transform-origin: center;
}

#elephant {
    width: 100px;
    position: absolute;
    left: 0px;
    top: -40px;
    transform-origin: center;
}

#child3 {
    width: 110px;
    position: absolute;
    left: 0px;
    top: 5px;
    transform-origin: center;
}
#child2 {
    width: 120px;
    position: absolute;
    left: 6px;
    top: 0px;
    transform-origin: center;
}

#child4 {
    width: 90px;
    position: absolute;
    right: 48px;
    top: 2px;
    transform-origin: center;
}
}
@media (max-width:576px){
.logo-text p {
    font-size: 14px;
}
    .logo-wrap{
    flex-direction:column;
    text-align:center;
    }

    .logo-text p{
    font-size:13px;
    }

    .logo-img{
    text-align:center;
}

.logo-img img{
    width:390px;
    display:inline-block;
}
    .top-contact{
        float:none;
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        padding: 3px 0 10px 0;
    }
     .social-bar{
    display: flex;
    gap: 10px;
     align-items:center;
        justify-content:center;
        text-align:center;
        padding: 10px 0 10px 0;

  }

    #giraffe {
    width: 65px;
    position: absolute;
    right: 0px;
    top: 50px;
    transform-origin: center;
}

#child1 {
    width: 100px;
    position: absolute;
    left: 1px;
    top: 68px;
    transform-origin: center;
}

#bear {
    width: 100px;
    position: absolute;
    right: 0px;
    bottom: 40px;
    transform-origin: center;
}

#elephant {
    width: 100px;
    position: absolute;
    left: 0px;
    top: -40px;
    transform-origin: center;
}

#child3 {
    width: 65px;
    position: absolute;
    left: 0px;
    top: 5px;
    transform-origin: center;
}
#child2 {
    width: 90px;
    position: absolute;
    left: 6px;
    top: 0px;
    transform-origin: center;
}

#child4 {
    width: 48px;
    position: absolute;
    right: 10px;
    top: 2px;
    transform-origin: center;
}
.doctor-wrapper
 {
    margin: 0 10px;

}
.social-icons a {
    margin-left: 10px;
}

.cx-bc-img {
    position: relative;
    height: 232px;
    overflow: hidden;
}
.cx-bc-content {
    padding: 5px 15px;
}
.cx-proc-wrap {
    padding: 5px 0;
    font-family: var(--roboto);
}
footer {
    padding: 10px 0;
    Background: #237c81;
}

.servicepg {
    padding: 30px 0;
}

.blogpg {
    padding: 10px 15px;
}
.testisec {
    padding: 10px 0;
}
.footercopy p {
    padding-top: 0.5rem;
}
.servicesec {
    padding: 0 0 20px 0;
}
.contactpg {
    padding: 20px 0;
}
.eh-clinic-wrap {
    /* background: #f3f4f6; */
    padding: 15px 15px;}
    .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
  
}

@media (max-width: 400px) {
    .logo-img img {
        width: 300px;
        display: inline-block;
    }
}
