/* ==========================================================================
   Responsive Stylesheet for Lavanya Hospital, Vellore
   ========================================================================== */

/* Large Screens (min-width: 1200px) */
@media (min-width: 1200px) {
  .hero-txt {
    padding-right: 25px;
  }
}

/* Medium & Small Laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .wsmenu-list>li>a {
    padding: 28px 10px !important;
    font-size: 13.5px !important;
  }

  .hero-txt h2 {
    font-size: 34px !important;
  }

  .desktoplogo img {
    height: 100% !important;
  }
}

/* Tablets & Mobile (max-width: 991px) */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
  }

  .hero-txt {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-txt h2 {
    font-size: 30px !important;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 !important;
  }

  .hero-1-img {
    margin:auto 0;
    margin-top: 20px;
  }

  .img-fl uid {
    margin-left: 60px;
  }

  .hero-1-img img {
    max-height: 380px;
    width: auto;
  }

  .hero-mob {
    margin-top: 10%;
  }

  .box-1 {

    height: max-content;
  }

  #abox-1 {
    background-color: #36a8eb;
    border-radius: 6px 0 0 6px;
    height: 250px;
    margin-bottom: 10px;
  }

  #abox-2 {
    background-color: #088edd;
    height: 250px;
    margin-bottom: 10px;

  }

  #abox-3 {
    background-color: #1977cc;
    height: 250px;
    margin-bottom: 10px;
  }

  #abox-4 {
    background-color: #1063af;
    border-radius: 0 6px 6px 0;
    height: 250px;
    margin-bottom: 10px;
  }

  .img-fluid {
    width: 80%;
  }

  .section-title {
    margin-bottom: 40px;
    text-align: center;
  }

  .section-title h3 {
    font-size: 26px !important;
  }

  .doctor-1 {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .appointment-card {
    padding: 22px !important;
  }

  /* Statistics section: 2x2 responsive layout */
  #statistic-1 .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    margin: 0;
  }

  #statistic-1 .row>div {
    width: 100%;
    padding: 0;
  }

  #statistic-1 .statistic-block {
    text-align: center;
    padding: 15px 5px;
  }

  #statistic-1 .statistic-number {
    font-size: 30px;
    margin: 12px 0;
  }

  #statistic-1 .statistic-block p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .content-list>li {
    display: flex;
  }

  .footer-box,
  .footer-info {
    margin-bottom: 35px;
  }

  .bottom-footer {
    text-align: center;
  }

  .bottom-footer .text-md-right {
    text-align: center !important;
    margin-top: 8px;
  }

  .banner-txt {
    text-align: center;
    margin-bottom: 25px;
  }

  .banner-btn {
    text-align: center !important;
  }
}




/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  .hero-txt h2 {
    font-size: 25px !important;
  }

  .hero-txt p {
    font-size: 15px !important;
  }

  .abox-1 {
    padding: 25px 20px !important;
  }

  .box-1 .appointment-card {
    padding: 18px 14px !important;
  }

  .nav-tabs .nav-link {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }
}