/* ---------- Responsive ---------- */
@media (max-width: 1399.9px) {
  .cta-actions{
    gap: 10px;
  }
}
@media (max-width: 1199.98px) {
  .navbar .nav-link::after { display: none; }
  .cta-box{
    grid-template-columns: 1.2fr 1fr;
  }
  .cta-title{
    font-size: 28px;
  }
  .cta-text{
    font-size: 12px;
  }
  .cta-list li{
    font-size: 13px;
  }
  .cta-list li i{
    font-size: 16px;
  }
  .service-card .service-image img{
    width: 95px;
    height: 95px;
  }
}

@media (max-width: 991.9px) {
  /* Hero: stack text on top, full-width image below (edge to edge) */
  /* .page-hero-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: auto;
    padding: 44px 0 0;
    text-align: center;
  }
  .hero-image { position: relative; height: 260px; }
  .hero-image img {
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-content h1, .hero-content .hero-title { font-size: 30px; }
  .hero-content p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; } */

  .hero-content h1, .hero-content .hero-title { font-size: 36px; }
  .hero-content p { font-size: 16px; }
  .why-image-sider { position: static; margin-bottom: 24px; }
  .facilities-section .section-heading{
    text-align: left !important;
  }

  /* About banner: stack text on top, full-width slider below */
  .about-banner-content { padding: 44px 0 32px; text-align: center; }
  .about-banner-content h1 { font-size: 32px; }
  .about-banner-points { max-width: 460px; margin-left: auto; margin-right: auto; }
  .about-banner-actions { justify-content: center; }
  .about-banner-slider { position: static; width: 100%; height: 320px; }

  .stats-section .counter-card::after { display: none; }
  .counter-num{
    font-size: 28px;
  }
  .category-item h5{
    font-size: 16px;
  }
  .cta-list{
    gap: 14px;
  }
  .cta-list li i{
    font-size: 14px;
  }
  .cta-list li{
    font-size: 12px;
  }
  .stats-section .counter-card p{
    font-size: 10px;
  }
  .cta-box { grid-template-columns: 1fr; gap: 26px; padding: 36px 28px; }
  .cta-actions { justify-content: flex-start; }

  .faq-intro { position: static; margin-bottom: 8px; }
  .about-banner-slider{
    display: none;
  }
  .contact-aside{
    border-radius: 0px 0px 12px 12px;
  }
}

@media (max-width: 767.9px) {
  .page-banner { padding: 44px 0; }
  .page-banner h1 { font-size: 30px; }
  .page-banner p { font-size: 15px; }
  .page-banner::after { width: 220px; height: 220px; border-width: 40px; right: -90px; }

  .about-highlights { grid-template-columns: repeat(2, 1fr); }
  .counter-num { font-size: 36px; }
  .mv-values { grid-template-columns: 1fr; }
  .mv-head h2 { font-size: 28px; }
  .faq-intro h2 { font-size: 28px; }
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }
  .facility-card{
    padding: 16px;
  }
  .facility-icon{
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .contact-head h1{
    font-size: 36px;
  }
  .doc-photo img{
    object-fit: contain;
  }
}

@media (max-width: 575px) {
  .about-banner-content h1 { font-size: 26px; }
  .section-heading h2, .about-contents h2{
    font-size: 32px;
  }
  .about-banner-points { grid-template-columns: 1fr; justify-items: center; }
  .about-banner-slider { height: 240px; }

  .hero-content h1, .hero-content .hero-title { font-size: 26px; }
  .hero-content p { font-size: 15px; }

  .cta-box { padding: 28px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-book, .cta-actions .cta-call { justify-content: center; }

  /* prevent large gutters from overflowing the viewport on phones */
  .row.g-4 { --bs-gutter-x: 1.5rem; }


  .page-hero-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: auto;
    padding: 44px 0 0;
    text-align: center;
  }
  .hero-image { position: relative; height: 260px; }
  .hero-image img {
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-content h1, .hero-content .hero-title { font-size: 30px; }
  .hero-content p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .faq-section, .mission-vision-section, .doctors-section, .facilities-section, .service-section, .contact-section, .blog-section, .blog-details-section, .doctors-details-section{
    padding: 36px 0px;
  }

  .doc-info .btn-book i{
    display: none;
  }
  .doc-info .section-eyebrow, .doc-gold-tag{
    text-transform: capitalize;
    font-size: 11px;
  }
  .doc-exp-badges span{
    font-size: 11px;
    padding: 4px 7px;
  }
  .doc-readmore-btn:hover{
    background: #f0f4f7 !important;
    color: var(--primary);
  }
}

@media (max-width: 400px) {
  .navbar-brand img { height: 32px; }
  .nav-emergency, .btn-book { padding: 7px 10px; }
}

/* ---------- Facility Detail Pages ---------- */
@media (max-width: 991.98px){
  /* Hero: stack text on top, hide the edge-to-edge image (same pattern as .about-banner) */
  .facility-hero-content{ padding: 44px 0 32px; text-align: center; }
  .facility-hero h1{ font-size: 32px; }
  .facility-hero-top{ gap: 16px; align-items: center; }
  .facility-hero-icon{ width: 60px; height: 60px; font-size: 26px; border-radius: 10px; }
  .facility-hero-icon img{ width: 30px; height: 30px; }
  .facility-hero-actions{ justify-content: center; }
  .facility-stat-row{ justify-content: center; border-top: none; padding-top: 0; }
  .facility-hero-media{ display: none; }
  .facility-steps{ grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facility-step:not(:last-child)::after{ display: none; }
  .facility-safety-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 575.98px){
  .facility-hero h1{ font-size: 26px; }
  .facility-steps{ grid-template-columns: 1fr; }
  .facility-hero-top{ flex-direction: column; align-items: center; }
  .facility-stat-row{ gap: 10px 20px; }
}
