:root {
  /* Swastha Teal & Gold Medical Palette from Reference Banner */
  --color-primary: #074744;
  /* Deep rich teal brand color */
  --color-primary-dark: #042e2c;
  /* Darkest night teal for deep contrast */
  --color-primary-light: #f0f7f6;
  /* Soft clean pale mint tint */
  --color-accent: #2e8b7e;
  /* Balanced vibrant teal */
  --color-gold: #e59d2c;
  /* Reference warm golden-yellow highlight */
  --color-emergency: #c84132;
  /* Urgent crisis notice */
  --color-text-main: #1d3330;
  /* Deep legible slate-teal */
  --color-text-muted: #5c7470;
  /* Secondary calm text */
  --color-bg-warm: #ffffff;
  /* Pure crisp clean white across all pages */
  --color-card-border: #e6eeec;
  /* Gentle subtle border */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Typography refinements */
h1,
h2,
h3,
.font-serif {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
}

/* Hero banner: compact, responsive height */
.hero-banner-section {
  position: relative;
  min-height: auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7f6 0%, #e2eeec 50%, #f4f8f7 100%);
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 126, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-banner-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 157, 44, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Hero Banner Right Image */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.hero-banner-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: none;
  object-fit: cover;
}

/* Same left/right inset as the header on every screen size. */
.hero-banner-content > .row {
  --bs-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 992px) {
  .hero-banner-content > .row > .col-lg-7 {
    padding-right: 2rem;
  }
}

@media (max-width: 991.98px) {
  .hero-banner-section {
    height: auto;
    min-height: auto;
    padding: 1.25rem 0;
  }
}

/* g-5 is wider than the container padding below 576px, so the row
   sticks out and the page scrolls sideways. Match the default gutter. */
@media (max-width: 575.98px) {
  .row.g-5,
  .row.gx-5 {
    --bs-gutter-x: 1.5rem;
  }
}

.hero-banner-content {
  position: relative;
  z-index: 2;
}

.hero-banner-content .row > [class*="col"] {
  min-width: 0;
}

.hero-location-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-location-badge i {
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.hero-location-badge span {
  min-width: 0;
}

/* Reference-styled Hero Typography & Elements */
.hero-title-main {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-subtitle-tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0.35rem;
  letter-spacing: -0.01em;
}

.hero-accent-divider {
  width: 54px;
  height: 4px;
  background-color: var(--color-gold);
  border-radius: 4px;
  margin: 1.1rem 0;
}

.hero-quote-strip {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.55rem 1.45rem;
  border-radius: 50px;
  position: relative;
  box-shadow: 0 4px 14px rgba(7, 71, 68, 0.25);
  margin-top: 0.85rem;
}

.hero-quote-strip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--color-gold);
  border-radius: 3px;
}

/* Reference 4 Circular Feature Icons */
.hero-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-pillar-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #d1ece8;
  border: 1.5px solid #a8ddd5;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pillar-item:hover .hero-pillar-circle {
  transform: translateY(-3px);
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 16px rgba(7, 71, 68, 0.2);
}

.hero-pillar-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.25;
}

@media (max-width: 575.98px) {
  .hero-title-main {
    font-size: 1.85rem;
  }

  .hero-subtitle-tagline {
    font-size: 1.15rem;
  }

  .hero-pillar-circle {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .hero-pillar-label {
    font-size: 0.7rem;
  }

  .hero-quote-strip {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .hero-banner-content .btn-swastha-primary,
  .hero-banner-content .btn-swastha-outline {
    width: 100%;
    text-align: center;
  }
}

.emergency-strip {
  background-color: #fbf3f2;
  border-bottom: 1px solid #f3d4d0;
  color: #8c251a;
  font-size: 0.885rem;
  padding: 0.55rem 0;
}

.emergency-strip a {
  color: #8c251a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Top clinic bar */
.top-clinic-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-card-border);
  font-size: 0.9rem;
  padding: 0.45rem 0;
}

/* Navbar with Clean White Background */
.navbar-swastha {
  background: #ffffff;
  border-bottom: 1px solid var(--color-card-border);
  padding: 0.85rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-swastha .navbar-brand {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  line-height: 1.1;
  text-decoration: none;
}

.navbar-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  /* Original natural colors for white navbar */
}

.btn-mobile-nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-mobile-call {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid #cce3df;
}

.btn-mobile-book {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary-dark);
  box-shadow: 0 2px 6px rgba(7, 71, 68, 0.22);
}

.btn-mobile-nav-icon:active {
  transform: scale(0.95);
}

@media (max-width: 575.98px) {
  .navbar-brand-logo {
    height: 36px;
    max-width: 140px;
  }
}

.footer-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.85rem;
  /* Original natural colors for white footer */
}

.navbar-swastha .nav-item {
  margin: 0 0.25rem;
}

.navbar-swastha .nav-link {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.55rem 0.95rem !important;
  background-color: transparent;
  border-radius: 0;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-swastha .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.95rem;
  right: 0.95rem;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.navbar-swastha .nav-link:hover {
  color: var(--color-primary) !important;
  background-color: transparent !important;
}

.navbar-swastha .nav-link:hover::after {
  transform: scaleX(0.6);
  background-color: var(--color-accent);
}

.navbar-swastha .nav-link.active {
  color: var(--color-primary-dark) !important;
  font-weight: 700;
  background-color: transparent !important;
}

.navbar-swastha .nav-link.active::after {
  transform: scaleX(1);
  background-color: var(--color-primary);
}

/* Header action button */
.btn-nav-appointment {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.15rem;
  transition: all 0.18s ease;
}

.btn-nav-appointment:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 71, 68, 0.25);
}

@media (min-width: 992px) {
  .btn-nav-appointment {
    background: linear-gradient(180deg, #117a73 0%, #095853 48%, #063d3a 100%);
    border: 1px solid #042c2a;
    border-radius: 10px;
    padding: 0.52rem 1.2rem;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      inset 0 -2px 2px rgba(0, 0, 0, 0.25),
      0 3px 0 #032220,
      0 5px 12px rgba(4, 46, 44, 0.28) !important;
  }

  .btn-nav-appointment:hover {
    background: linear-gradient(180deg, #117a73 0%, #095853 48%, #063d3a 100%);
    border-color: #042c2a;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -2px 2px rgba(0, 0, 0, 0.22),
      0 4px 0 #e59d2c,
      0 7px 16px rgba(229, 157, 44, 0.35) !important;
  }

  .btn-nav-appointment:active {
    transform: translateY(2px);
    background: linear-gradient(180deg, #063d3a 0%, #095853 100%);
    box-shadow:
      inset 0 2px 4px rgba(0, 0, 0, 0.35),
      0 1px 0 #032220,
      0 2px 5px rgba(4, 46, 44, 0.2) !important;
  }
}

/* Buttons */
.btn-swastha-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 500;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  border: 1px solid var(--color-primary);
  transition: all 0.2s ease;
}

.btn-swastha-primary:hover,
.btn-swastha-primary:focus {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  border-color: var(--color-primary-dark);
}

.btn-swastha-outline {
  background-color: #ffffff;
  color: var(--color-primary);
  font-weight: 500;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  border: 1px solid var(--color-card-border);
  transition: all 0.2s ease;
}

.btn-swastha-outline:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

.btn-swastha-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease;
}

.btn-swastha-whatsapp:hover {
  background-color: #1eb855;
  color: #ffffff;
}

/* Cards & Sections */
.bg-cream {
  background: linear-gradient(135deg, #f0f7f6 0%, #e2eeec 50%, #f4f8f7 100%);
}

.swastha-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 1.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.swastha-card:hover {
  border-color: #cfdbd5;
  box-shadow: 0 4px 14px rgba(30, 86, 71, 0.05);
}

#appointment .swastha-card,
#appointment .swastha-card:hover {
  border: 2px solid var(--color-gold);
  box-shadow: 0 6px 20px rgba(229, 157, 44, 0.14) !important;
}

@media (max-width: 575.98px) {
  #appointment .swastha-card {
    padding: 1.35rem 1.1rem !important;
  }

  #appointment h2.display-6 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  #appointment .text-secondary.small {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  #appointment .form-label {
    font-size: 0.84rem;
    margin-bottom: 0.3rem;
  }

  #appointment .form-control,
  #appointment .form-select {
    font-size: 16px;
    padding: 0.6rem 0.8rem;
  }

  #appointment .form-check-label {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  #appointment #submitBtn {
    width: 100%;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
    text-align: center;
  }
}

/* SVG Icon in Hero Circle */
.hero-pillar-circle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 575.98px) {
  .hero-pillar-circle svg {
    width: 22px;
    height: 22px;
  }
}

/* Cards Section under Hero (Consultation & Privacy Cards) */
.consult-cards-section {
  padding: 1.5rem 0;
  background-color: #ffffff;
}

@keyframes consultBorderSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.consult-service-card {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: #ffffff;
  border: 1px solid rgba(229, 157, 44, 0.28);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(229, 157, 44, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consult-service-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  aspect-ratio: 1 / 1;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 250deg,
    rgba(253, 224, 71, 0.35) 290deg,
    #f6c453 325deg,
    #e59d2c 348deg,
    transparent 360deg
  );
  animation: consultBorderSpin 4s linear infinite;
  z-index: -2;
  pointer-events: none;
}

.consult-service-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #ffffff;
  border-radius: 10px;
  z-index: -1;
  pointer-events: none;
}

.consult-service-card > * {
  position: relative;
  z-index: 1;
}

.consult-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 157, 44, 0.2);
}

.consult-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #e4f2f0;
  color: #074744;
  font-size: 1.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #042e2c;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.consult-card-desc {
  font-size: 0.82rem;
  color: #5c7470;
  margin-bottom: 0;
  line-height: 1.45;
}

.privacy-banner-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(7, 71, 68, 0.04);
}

.privacy-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #e4f2f0;
  color: #074744;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes hoursHighlightGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(229, 157, 44, 0.35), 0 3px 10px rgba(229, 157, 44, 0.2);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(229, 157, 44, 0), 0 4px 14px rgba(229, 157, 44, 0.35);
  }
}

.privacy-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8db 0%, #fde68a 55%, #f6c453 100%);
  border: 1.5px solid #e59d2c;
  color: var(--color-primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  animation: hoursHighlightGlow 2.4s ease-in-out infinite;
}

.privacy-hours-badge i {
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* Modern Interactive Service Cards */
.service-feature-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(7, 71, 68, 0.04);
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
}

.service-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f0f7f6;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-feature-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.service-card-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-card-overlay-icon {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(7, 71, 68, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
  transition: all 0.25s ease;
}

.service-feature-card:hover .service-card-overlay-icon {
  transform: translateY(-2px);
  background-color: var(--color-gold);
  color: #042e2c;
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color 0.25s ease;
  z-index: 3;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  border-color: #a8ddd5;
  box-shadow: 0 12px 28px rgba(7, 71, 68, 0.09);
}

.service-feature-card:hover::before {
  background-color: var(--color-primary);
}

.service-card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: #e4f2f0;
  color: #074744;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.service-feature-card:hover .service-card-icon-box {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-quick-badge {
  background-color: #f0f7f6;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* Services Filter Pill Navigation */
.service-nav-pill {
  padding: 0.55rem 1.15rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background-color: #f0f7f6;
  border: 1px solid var(--color-card-border);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-nav-pill:hover,
.service-nav-pill.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(7, 71, 68, 0.18);
}

.service-spec-box {
  background-color: #fafcfb;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #4b6360;
  margin-top: 1.15rem;
}

.badge-service {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Notice box */
.info-notice {
  background-color: #f7faf8;
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

/* Footer with Clean White Background */
footer.clinic-footer {
  background-color: #ffffff;
  color: var(--color-text-main);
  border-top: 1px solid var(--color-card-border);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

footer.clinic-footer h5 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  margin-bottom: 1.15rem;
}

footer.clinic-footer p,
footer.clinic-footer li {
  color: var(--color-text-muted) !important;
}

footer.clinic-footer a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.clinic-footer a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.sub-footer {
  border-top: 1px solid var(--color-card-border);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Mobile text adaptation & full-width centered buttons for About & Services */
@media (max-width: 575.98px) {
  body.page-about h1.display-5,
  body.page-services h1.display-5 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  body.page-about h2.display-6,
  body.page-about h3.display-6,
  body.page-services h2.display-6,
  body.page-services h3.display-6 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  body.page-about p.lead,
  body.page-services p.lead {
    font-size: 0.96rem !important;
    line-height: 1.55;
  }

  body.page-about .swastha-card,
  body.page-services .service-card-body {
    padding: 1.25rem !important;
  }

  body.page-services .service-card-body h2.h4 {
    font-size: 1.15rem;
  }

  body.page-services .service-nav-pill {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  body.page-services .accordion-button {
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
  }

  body.page-about .btn-swastha-primary,
  body.page-about .btn-swastha-whatsapp,
  body.page-about .btn-swastha-outline,
  body.page-services .btn-swastha-primary,
  body.page-services .btn-swastha-whatsapp,
  body.page-services .btn-swastha-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}