@media (max-width: 1299px) {
  .hero_area .hero_bg_box {
    top: 0;

    left: 0;

    width: 100%;
  }
}

@media (max-width: 1120px) {
}

@media (max-width: 992px) {
  .hero_area {
    min-height: auto;
  }

  .slider_section .detail-box {
    margin-bottom: 45px;
  }

  .custom_nav-container .navbar-nav {
    padding-top: 15px;

    align-items: center;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;

    margin: 5px 0;
  }

  .footer_section .footer_bg_box img {
    -o-object-position: 10% top;

    object-position: 10% top;
  }
}

@media (max-width: 767px) {
  .about_section .img-box {
    margin-bottom: 30px;
  }

  .contact_section .form_container {
    margin-bottom: 45px;
  }

  .client_section .box {
    margin: 45px 0;
  }

  .hero_area .hero_bg_box img {
    -o-object-position: center top;

    object-position: center top;
  }
  .hero_area .hero_bg_box {
    height: 40rem;
  }

  .hero_area .hero_bg_box img {
    width: 24rem;
  }
}

@media (max-width: 576px) {
  .doctor_section .box .social_box {
    top: 0;
    opacity: 1;
  }
  .hero_area .hero_bg_box {
    height: 40rem;
    justify-content: center;
  }

  .hero_area .hero_bg_box img {
    width: 24rem;
  }
}
/* phone view */
@media (max-width: 480px) {
  .slider_section .detail-box h1 {
    font-size: 2rem;
  }

  .about_section {
    border-radius: 90px;

    padding-left: 10px;

    padding-right: 10px;
  }

  .doctor_section .box .social_box {
    top: 0 !important;
    opacity: 1 !important;
  }

  .about_section .detail-box a,
  .department_section .btn-box a {
    width: 100%;
    text-align: center;
  }

  .hero_area .hero_bg_box {
    height: 40rem;
    justify-content: center;
  }

  .hero_area .hero_bg_box img {
    width: 19rem;
  }
}

@media (max-width: 420px) {
  .doctor_section .box .social_box {
    top: 0;
    opacity: 1;
  }

  .hero_area .hero_bg_box img {
    width: 18rem;
  }
}

@media (max-width: 376px) {
  .doctor_section .box .social_box {
    top: 0;
    opacity: 1;
  }

  .hero_area .hero_bg_box img {
    width: 17rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
