/* ============================================================
   SHAISTA MEDICAL CENTER — Modern Website Stylesheet v2.0
   Primary Color: #CD5C5C | Font: Poppins
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:        #CD5C5C;
  --primary-dark:   #b84b4b;
  --primary-light:  #ffeeed;
  --primary-rgb:    205, 92, 92;
  --dark:           #1a1a2e;
  --dark-2:         #2d2d2d;
  --muted:          #6c757d;
  --white:          #ffffff;
  --light-bg:       #f8f9fa;
  --light-bg-2:     #f0f4f8;
  --border:         #e9ecef;
  --shadow-sm:      0 4px 15px rgba(0,0,0,0.07);
  --shadow:         0 8px 35px rgba(0,0,0,0.10);
  --shadow-primary: 0 10px 30px rgba(205, 92, 92, 0.30);
  --transition:     all 0.35s ease;
  --radius-sm:      8px;
  --radius:         16px;
  --radius-lg:      24px;
  --radius-pill:    50px;
  --font:           'Poppins', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@supports (overflow: clip) {
  html { overflow-x: clip; }
}

body {
  font-family: var(--font);
  color: var(--dark-2);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

/* Custom site cursor — place cursor2.ico in project root /cursor/ (same folder as referenced from CSS) */
@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url('../cursor/cursor2.ico'), auto;
  }
  a[href],
  button:not(:disabled),
  [type='button']:not(:disabled),
  [type='submit']:not(:disabled),
  [role='button'],
  label[for],
  select,
  summary,
  .btn,
  .navbar-toggler,
  .site-navbar .nav-link,
  .nav-pill-btn,
  .floating-wa,
  .back-to-top,
  .faq-question,
  input[type='checkbox'],
  input[type='radio'],
  .hero-floating-card {
    cursor: url('../cursor/cursor2.ico'), pointer;
  }
  input[type='text'],
  input[type='email'],
  input[type='tel'],
  input[type='search'],
  input[type='date'],
  input[type='number'],
  input[type='password'],
  textarea,
  .form-control-modern {
    cursor: text;
  }
  input:disabled,
  button:disabled,
  select:disabled,
  textarea:disabled {
    cursor: not-allowed;
  }
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
iframe {
  max-width: 100%;
  border: 0;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--dark-2); }

/* ── Utility ── */
.text-primary-brand { color: var(--primary) !important; }
.bg-primary-brand   { background: var(--primary) !important; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark-2);
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }

/* Bootstrap columns: allow content to shrink so rows don’t force page width (fixes horizontal scroll) */
.row > [class*="col-"] {
  min-width: 0;
}

/* Long URLs / unbroken strings */
p, td, th, .faq-answer, .legal-content p, .legal-content li,
.contact-form-card, .appointment-card {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Prevent stray horizontal scroll from full-bleed sections & nav */
section,
.stats-bar-modern,
nav.site-navbar,
footer.site-footer {
  max-width: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  section,
  .stats-bar-modern,
  nav.site-navbar,
  footer.site-footer {
    overflow-x: clip;
  }
}

/* ── Buttons ── */
.btn-primary-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-brand:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(205,92,92,0.4);
}
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.btn-white-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-white-brand:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Top Bar (single line: no wrap on contact row) ── */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  font-size: clamp(0.62rem, 2.05vw, 0.83rem);
  z-index: 1000;
  max-width: 100%;
  overflow-x: hidden;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--primary); }
/*
 * Desktop: classic strip — all contact items in one row on the left (with gaps), social aligned right (like original).
 * Mobile (≤767px): 3-column spread — phone | email | 24/7 (social hidden).
 */
.top-bar > .container > .top-bar-row {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.top-bar-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.top-bar-main::-webkit-scrollbar { display: none; height: 0; }
.top-bar-segment {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}
.top-bar-segment span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.top-bar-segment span i {
  flex-shrink: 0;
  font-size: 0.9em;
  opacity: 0.95;
}
.top-bar-segment--left {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(5px, 1.5vw, 14px);
}
/* Desktop: segments flow left-to-right in one cluster (not viewport-centered columns) */
.top-bar-segment--center,
.top-bar-segment--right {
  justify-content: flex-start;
  text-align: left;
}
.top-bar .top-bar-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.top-bar .top-bar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  transition: var(--transition);
}
.top-bar .top-bar-social a:hover { background: var(--primary); color: #fff; }

/* ── Navbar ── */
.site-navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0;
  transition: var(--transition);
  z-index: 999;
  max-width: 100%;
  overflow-x: clip;
}
.site-navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}
.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 3.75rem);
}
.navbar-brand-logo img {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.navbar-brand-logo .brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.navbar-brand-logo .brand-text .brand-name {
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  font-weight: 700;
  color: var(--dark-2);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.navbar-brand-logo .brand-text .brand-tag {
  font-size: clamp(0.58rem, 1.8vw, 0.65rem);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
}
.site-navbar .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-2) !important;
  padding: 28px 14px !important;
  position: relative;
  transition: var(--transition);
}
.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active { color: var(--primary) !important; }
.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after { transform: scaleX(1); }
.site-navbar .nav-link.dropdown-toggle::after {
  content: '';
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  height: auto;
  width: auto;
  margin-left: 0.35em;
  border: 0.28em solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  background: none;
  transform: none;
  border-radius: 0;
  vertical-align: 0.2em;
  display: inline-block;
}
.site-navbar .nav-link.dropdown-toggle:hover::after,
.site-navbar .nav-link.dropdown-toggle.show::after {
  transform: none;
}
.site-navbar .dropdown-menu.site-dept-menu {
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  margin-top: 0;
  box-shadow: var(--shadow);
}
.site-navbar .dropdown-menu.site-dept-menu .dropdown-item {
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
}
.site-navbar .dropdown-menu.site-dept-menu .dropdown-item:hover,
.site-navbar .dropdown-menu.site-dept-menu .dropdown-item:focus {
  background: var(--primary-light);
  color: var(--primary-dark);
}
@media (max-width: 991.98px) {
  .site-navbar #navbarNav .dropdown-menu.site-dept-menu {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    margin: 0.35rem 0 0;
    box-shadow: none;
    border: 1px solid var(--border);
  }
}
/* Nav CTA pills — match .btn-primary-brand / .btn-outline-brand theme */
.site-navbar .nav-item-btn {
  display: flex;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}
@media (min-width: 992px) {
  .site-navbar .nav-item-btn {
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 4px;
  }
  .site-navbar .nav-item-btn:first-of-type { margin-left: 12px; }
}
.site-navbar .nav-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}
.site-navbar .nav-pill-btn--primary {
  background: var(--primary);
  color: #fff !important;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
}
.site-navbar .nav-pill-btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(205,92,92,0.4);
}
.site-navbar .nav-pill-btn--secondary {
  background: transparent;
  color: var(--dark-2) !important;
  border: 2px solid var(--primary);
}
.site-navbar .nav-pill-btn--secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.navbar-toggler {
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--primary);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23CD5C5C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Collapsed menu (mobile / tablet): Appointment + Patient Portal pills side by side — matches site CTAs */
@media (max-width: 991.98px) {
  .site-navbar #navbarNav .navbar-nav {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: stretch !important;
    gap: 8px;
    width: 100%;
    padding-bottom: 4px;
  }
  .site-navbar #navbarNav .navbar-nav > .nav-item:not(.nav-item-btn) {
    flex: 1 1 100%;
    width: 100%;
  }
  .site-navbar #navbarNav .navbar-nav > .nav-item.nav-item-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-left: 0 !important;
  }
  .site-navbar #navbarNav .navbar-nav > .nav-item.nav-item-btn + .nav-item.nav-item-btn {
    margin-left: 0 !important;
  }
  .site-navbar #navbarNav .navbar-nav > .nav-item.nav-item-btn .nav-pill-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 10px 8px;
    font-size: clamp(0.72rem, 2.4vw, 0.82rem);
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* ── Hero Section (premium) ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(145deg, #070a10 0%, #12182a 45%, #1a1f35 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section--premium .hero-bg {
  opacity: 0.32;
  transform: scale(1.02);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  transition: opacity 1.2s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg,
      rgba(8, 10, 18, 0.94) 0%,
      rgba(26, 26, 46, 0.72) 42%,
      rgba(205, 92, 92, 0.18) 72%,
      rgba(15, 18, 32, 0.95) 100%);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(205, 92, 92, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 88% 75%, rgba(255, 255, 255, 0.04) 0%, transparent 48%);
  opacity: 0.85;
}
.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-section__row {
  min-height: min(90vh, 880px);
  padding-top: clamp(32px, 8vw, 60px);
  padding-bottom: clamp(36px, 8vw, 60px);
}
.hero-section__inner {
  position: relative;
  z-index: 2;
}

/* Entrance (staggered; disabled when user prefers reduced motion) */
.hero-section--premium .hero-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: heroRevealIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-section--premium .hero-reveal--1 { animation-delay: 0.08s; }
.hero-section--premium .hero-reveal--2 { animation-delay: 0.18s; }
.hero-section--premium .hero-reveal--3 { animation-delay: 0.28s; }
.hero-section--premium .hero-reveal--4 { animation-delay: 0.4s; }
.hero-section--premium .hero-reveal--5 { animation-delay: 0.5s; }
.hero-section--premium .hero-reveal--stat:nth-child(1) { animation-delay: 0.58s; }
.hero-section--premium .hero-reveal--stat:nth-child(2) { animation-delay: 0.66s; }
.hero-section--premium .hero-reveal--stat:nth-child(3) { animation-delay: 0.74s; }
.hero-section--premium .hero-reveal--stat:nth-child(4) { animation-delay: 0.82s; }
.hero-section--premium .hero-reveal--media { animation-delay: 0.32s; }

@keyframes heroRevealIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes heroRevealFloat {
  from {
    opacity: 0;
    transform: translate3d(12px, 8px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes heroRevealFloatLeft {
  from {
    opacity: 0;
    transform: translate3d(-14px, 8px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section--premium .hero-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-section--premium .hero-floating-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-img-card img {
    animation: none !important;
  }
  .hero-badge .pulse-dot {
    animation: none !important;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(205, 92, 92, 0.18) 0%, rgba(26, 26, 46, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(205, 92, 92, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffe8e5;
  font-size: clamp(0.68rem, 2.05vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px 11px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: clamp(18px, 4vw, 26px);
}
.hero-badge__text {
  line-height: 1.35;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero-title {
  margin-bottom: clamp(18px, 3.5vw, 26px);
}
.hero-title__kicker {
  display: block;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 0.35em;
}
.hero-title__display {
  display: block;
  font-size: clamp(2.35rem, 5.5vw, 4.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero-title .highlight {
  background: linear-gradient(118deg, #fff5f4 0%, #ffb4ae 35%, var(--primary) 58%, #ffd0cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  display: none;
}

.hero-subtitle {
  font-size: clamp(0.96rem, 2.5vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32.5rem;
  margin-bottom: clamp(22px, 4.5vw, 32px);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(10px, 2.2vw, 16px);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}
.hero-actions .btn-primary-brand,
.hero-actions .btn-outline-brand {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  padding-top: 14px;
  padding-bottom: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.hero-actions .hero-cta span:not(.hero-cta__glow) {
  position: relative;
  z-index: 1;
}
.hero-cta--primary {
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(205, 92, 92, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.hero-cta__glow {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: heroCtaShine 4.5s ease-in-out infinite;
}
@keyframes heroCtaShine {
  0%, 70% { transform: translateX(-100%); }
  85% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta__glow { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .hero-actions .btn-primary-brand:hover,
  .hero-actions .btn-outline-brand:hover {
    transform: translateY(-3px);
  }
}
.hero-cta--emergency {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-cta--emergency:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

/* Hero metrics — always 2×2 in half-width column (avoids cramped 4-up overlap) */
.hero-content--premium {
  container-type: inline-size;
  container-name: hero-col;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  gap: clamp(10px, 2.5cqi, 16px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: clamp(30px, 4.5vw, 48px);
  padding-top: clamp(24px, 3.5vw, 38px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  isolation: isolate;
  contain: layout;
}
.hero-stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  gap: clamp(8px, 2cqi, 12px);
  align-self: stretch;
  min-width: 0;
  max-width: 100%;
  padding: 13px 11px;
  padding: clamp(11px, 2.8cqi, 15px) clamp(9px, 2cqi, 14px);
  border-radius: 14px;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.035) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero-stat-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(205, 92, 92, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  }
}
.hero-stat-icon {
  width: 38px;
  height: 38px;
  width: clamp(34px, 9cqi, 42px);
  height: clamp(34px, 9cqi, 42px);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  font-size: clamp(0.85rem, 2.8cqi, 1rem);
  color: #fff;
  background: linear-gradient(145deg, rgba(205, 92, 92, 0.58), rgba(205, 92, 92, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.hero-stat-copy {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-align: start;
}
.hero-stat-item .stat-num {
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-size: clamp(1.05rem, 5.5cqi, 1.55rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 10px rgba(205, 92, 92, 0.2);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}
.hero-stat-item .stat-label {
  font-size: clamp(0.56rem, 1.5vw, 0.68rem);
  font-size: clamp(0.54rem, 3.4cqi, 0.69rem);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Fallback when container queries are unavailable */
@supports not (container-type: inline-size) {
  .hero-stats {
    gap: 12px 14px;
  }
  .hero-stat-item {
    padding: 13px 11px;
    gap: 10px;
  }
  .hero-stat-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .hero-stat-item .stat-num {
    font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  }
  .hero-stat-item .stat-label {
    font-size: clamp(0.56rem, 1.5vw, 0.68rem);
  }
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .hero-section__row > .hero-content {
    padding-right: clamp(12px, 2.5vw, 28px);
  }
  .hero-section__row > .hero-image-wrap {
    padding-left: clamp(12px, 2.5vw, 28px);
  }
}

figure.hero-img-card {
  display: block;
  margin: 0;
}
.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.45);
  position: relative;
}
.hero-img-card__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(125deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 38%,
    transparent 62%,
    rgba(255, 255, 255, 0.04) 100%);
  mix-blend-mode: soft-light;
}
.hero-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1.03) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, -0.8%); }
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  background: linear-gradient(165deg, #ffffff 0%, #faf8f8 100%);
  border-radius: var(--radius);
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(205, 92, 92, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.hero-section--premium .hero-floating-card.card-1 {
  bottom: 22px; left: auto; right: 22px;
  animation:
    heroRevealFloat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards,
    floatCard 4.2s ease-in-out 2s infinite;
}
.hero-section--premium .hero-floating-card.card-2 {
  top: 28px;
  left: 22px;
  right: auto;
  animation:
    heroRevealFloatLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards,
    floatCard 4.2s ease-in-out 2.15s infinite;
}
@keyframes floatCard {
  0%,100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
.hero-floating-card .fc-icon {
  width: 46px; height: 46px;
  background: linear-gradient(145deg, var(--primary-light), #fff);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.12rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(205, 92, 92, 0.2);
}
.hero-floating-card .fc-text .fc-num {
  font-size: 1.22rem; font-weight: 800; color: var(--dark-2); line-height: 1;
  letter-spacing: -0.02em;
}
.hero-floating-card .fc-text .fc-label {
  font-size: 0.74rem; font-weight: 600; color: var(--muted); margin-top: 2px;
  letter-spacing: 0.04em;
}

/* Tablet: balanced headline & image */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-title__display {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  }
  .hero-img-card img {
    height: 420px;
  }
}

/* Animated background shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(205,92,92,0.07);
  animation: shapePulse 8s ease-in-out infinite;
  z-index: 0;
}
.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shape-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; animation-delay: 3s; }
@keyframes shapePulse {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.06) rotate(4deg); opacity: 1; }
}

/* ── Stats Bar (home — modern) ── */
.stats-bar-modern {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a84343 0%, var(--primary) 38%, #d67878 100%);
  padding: 0;
}
.stats-bar-modern__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255,255,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(26,26,46,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.stats-bar-modern__row {
  --stat-tile-radius: 20px;
}
.stat-tile {
  height: 100%;
  text-align: center;
  padding: 1.5rem 1rem 1.65rem;
  border-radius: var(--stat-tile-radius);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.stat-tile:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.12);
}
.stat-tile__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  animation: statIconFloat 4s ease-in-out infinite;
}
.stats-bar-modern__row .col-lg-3:nth-child(2) .stat-tile__icon { animation-delay: 0.5s; }
.stats-bar-modern__row .col-lg-3:nth-child(3) .stat-tile__icon { animation-delay: 1s; }
.stats-bar-modern__row .col-lg-3:nth-child(4) .stat-tile__icon { animation-delay: 1.5s; }
@keyframes statIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.stat-tile__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-tile .stat-number {
  font-size: clamp(2.1rem, 4.5vw, 2.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
  font-variant-numeric: tabular-nums;
}
.stat-tile:hover .stat-number {
  text-shadow: 0 2px 28px rgba(0,0,0,0.25), 0 0 24px rgba(255,255,255,0.15);
}
.stat-suffix {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  align-self: flex-start;
  margin-top: 0.15em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.15);
}
.stat-tile__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0.65rem 0 0;
  line-height: 1.45;
  max-width: 11rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── About Section ── */
.about-img-wrap {
  position: relative;
  max-width: 100%;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-experience-badge {
  position: absolute;
  bottom: -16px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 16px 18px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-primary);
  max-width: calc(100% - 24px);
}
@media (min-width: 1200px) {
  .about-experience-badge {
    bottom: -20px;
    right: -8px;
    padding: 20px 24px;
    max-width: none;
  }
}
.about-experience-badge .exp-num {
  font-size: 2.5rem; font-weight: 800; line-height: 1;
}
.about-experience-badge .exp-text {
  font-size: 0.8rem; font-weight: 500; opacity: 0.9; margin-top: 4px;
}
.about-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.about-feature-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.about-feature-item .fi-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.about-feature-item .fi-text h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.about-feature-item .fi-text p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ── Appointment Form Section ── */
.appointment-section { background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%); }
.appointment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  border-top: 4px solid var(--primary);
}
.appointment-card h3 {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 6px;
}
.appointment-card .appt-subtitle { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.form-label-sm { font-size: 0.82rem; font-weight: 600; color: var(--dark-2); margin-bottom: 6px; }
.form-control-modern {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--dark-2);
  background: #fff;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control-modern:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(205,92,92,0.1);
}
.form-control-modern::placeholder { color: #adb5bd; }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--primary); pointer-events: none; font-size: 0.85rem;
}
.form-control-modern:disabled {
  background: var(--light-bg); color: var(--muted); cursor: not-allowed;
}
.appointment-info-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: #fff;
  height: 100%;
}
.appointment-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.appointment-info-card .ai-subtitle { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 32px; }
@media (max-width: 575px) {
  .dept-content-section .appointment-info-card {
    padding: 36px 16px 40px;
  }
}
.appt-info-list { display: flex; flex-direction: column; gap: 20px; }
.appt-info-item { display: flex; align-items: flex-start; gap: 16px; }
.appt-info-item .ai-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(205,92,92,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.appt-info-item .ai-text h6 { font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.appt-info-item .ai-text p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ── Services Section ── */
.services-section { background: var(--light-bg); }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
  border-color: var(--primary);
}
.service-card .sc-icon {
  width: 72px; height: 72px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem; color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .sc-icon { background: var(--primary); color: #fff; }
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ── Departments Section ── */
.dept-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  text-decoration: none;
  height: 240px;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dept-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dept-card:hover .dept-card-img { transform: scale(1.08); }
.dept-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.2) 60%, transparent 100%);
  transition: var(--transition);
}
.dept-card:hover .dept-card-overlay {
  background: linear-gradient(to top, rgba(205,92,92,0.88) 0%, rgba(26,26,46,0.4) 80%, transparent 100%);
}
.dept-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  color: #fff;
}
.dept-card-content h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.dept-card-content p { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin: 0; }
.dept-card-content .dept-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem;
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
}
.dept-card:hover .dept-arrow { opacity: 1; transform: translateY(0); }

/* ── Doctors Section ── */
.doctors-section { background: var(--white); }
/* Equal-height cards per row: column flex + card fills + text block grows */
.doctors-section .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #fff;
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary); }
/* Portrait cards: fill frame; bias crop to upper area so faces stay in shot (not center-crop) */
.doctor-img-wrap {
  position: relative;
  overflow: hidden;
  background: #e4e9f0;
  height: clamp(268px, 34vw, 340px);
  min-height: 252px;
  flex-shrink: 0;
}
.doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.04); }
@media (max-width: 575px) {
  .doctor-img-wrap {
    min-height: 248px;
    height: clamp(248px, 62vw, 320px);
  }
}
.doctor-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(205,92,92,0.88);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0; transition: var(--transition);
}
.doctor-card:hover .doctor-hover-overlay { opacity: 1; }
.doctor-hover-overlay .doc-cred {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  padding: 0 20px;
}
.doctor-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}
.doctor-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
}
.doctor-info .doc-specialty {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.doctor-info .doc-hours {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.4;
  margin-top: auto;
}

/* ── Schedule Section ── */
.schedule-section { background: var(--dark); position: relative; overflow: hidden; }
.schedule-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(205,92,92,0.12) 0%, transparent 60%);
}
.schedule-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.schedule-card:hover {
  background: rgba(205,92,92,0.12);
  border-color: var(--primary);
  transform: translateY(-6px);
}
/* Schedule avatars: large circle, cover fill — object-position aligns crop to face zone (not tiny contain) */
.schedule-card .sch-img {
  display: block;
  width: 124px;
  height: 124px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center 28%;
  border: 4px solid var(--primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  background: #2d3142;
}
@media (max-width: 991px) {
  .schedule-card .sch-img {
    width: 112px;
    height: 112px;
  }
}
@media (max-width: 575px) {
  .schedule-card .sch-img {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
  }
}
.schedule-card h5 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.schedule-card .sch-specialty { color: var(--primary); font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; }
.schedule-card .sch-time { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.5; }

/* Schedule Swiper: reserve bottom space so absolute pagination does not sit on cards; dots scoped below */
.scheduleSwiper.swiper {
  padding-bottom: 3rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.schedule-swiper-pagination.swiper-pagination {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px 0;
  box-sizing: border-box;
}
.schedule-swiper-pagination .swiper-pagination-bullet {
  margin: 0 4px !important;
  vertical-align: middle;
}

/* ── Testimonials Section ── */
.testimonials-section { background: var(--light-bg); }
.testimonials-section .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.testimonial-card .quote-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.testimonial-card .testimonial-text {
  font-size: 0.92rem; color: var(--muted); font-style: italic;
  line-height: 1.8;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-card .patient-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  flex-shrink: 0;
}
.testimonial-card .patient-avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card .patient-name { font-size: 0.9rem; font-weight: 700; }
.testimonial-card .patient-role { font-size: 0.75rem; color: var(--primary); font-weight: 600; }
.star-rating { color: #ffc107; font-size: 0.8rem; margin-bottom: 10px; flex-shrink: 0; }

/* ── Blog Section ── */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #fff;
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-body h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-body p { font-size: 0.83rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.blog-read-more { color: var(--primary); font-size: 0.83rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.blog-read-more:hover { gap: 10px; }

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-strip::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.82); max-width: 500px; }

/* ── Contact Section ── */
.contact-section { background: #fff; }
.contact-info-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-primary); transform: translateY(-4px); }
.contact-info-card .ci-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.3rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.contact-info-card:hover .ci-icon { background: var(--primary); color: #fff; }
.contact-info-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a {
  font-size: 0.85rem; color: var(--muted); margin: 0;
}
.contact-info-card a:hover { color: var(--primary); }
.contact-form-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--border);
}
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
  position: relative;
  z-index: 2;
}
.footer-brand img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 20px; position: relative; }
.footer-heading::after {
  content: '';
  display: block; width: 32px; height: 2px;
  background: var(--primary); margin-top: 8px; border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); gap: 12px; }
.footer-links a i { font-size: 0.7rem; color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item .fci-icon { color: var(--primary); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item .fci-text { font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.footer-contact-item .fci-text a { color: rgba(255,255,255,0.6); }
.footer-contact-item .fci-text a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom a { color: var(--primary); }
.footer-bottom .footer-bottom-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer-bottom .footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom .footer-bottom-links a:hover { color: var(--primary); }
.footer-bottom .container > .d-flex.flex-column.flex-md-row {
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.75rem 1rem !important;
}
@media (min-width: 768px) {
  .footer-bottom .container > .d-flex.flex-column.flex-md-row {
    justify-content: space-between !important;
  }
}

/* ── About / Department: paired CTAs stay one row on mobile & tablet ── */
.about-cta-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}
.about-cta-row .btn-primary-brand,
.about-cta-row .btn-outline-brand {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

/* Department sidebar: Book + Call side by side on mobile & tablet */
.dept-appt-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
}
.dept-appt-btn {
  flex: 1 1 0;
  min-width: 0 !important;
  margin-top: 0 !important;
  justify-content: center;
  text-align: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 8px !important;
  font-size: clamp(0.68rem, 2.5vw, 0.83rem) !important;
  line-height: 1.25;
  white-space: normal;
}
@media (min-width: 576px) {
  .dept-appt-btn {
    font-size: clamp(0.75rem, 1.8vw, 0.85rem) !important;
    padding: 11px 12px !important;
  }
}

/* Department page bottom CTA strip — two buttons stay one row on small screens */
.dept-cta-strip .col-lg-5.d-flex {
  flex-wrap: nowrap !important;
  justify-content: flex-end;
}
@media (max-width: 991px) {
  .dept-cta-strip .col-lg-5.d-flex {
    justify-content: center;
  }
}
.dept-cta-strip .btn-white-brand,
.dept-cta-strip .btn-outline-white-brand {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
  font-size: clamp(0.75rem, 2.6vw, 0.9rem);
  padding: 10px 12px;
}
@media (max-width: 575px) {
  .hero-actions .btn-primary-brand,
  .hero-actions .btn-outline-brand {
    padding: 11px 10px;
    font-size: clamp(0.74rem, 3.1vw, 0.88rem);
  }
  .about-cta-row .btn-primary-brand,
  .about-cta-row .btn-outline-brand {
    padding: 11px 10px;
    font-size: clamp(0.75rem, 2.9vw, 0.88rem);
  }
}

/* ── Floating Buttons ── */
.floating-wa {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  right: max(28px, env(safe-area-inset-right, 0px));
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: var(--transition);
  animation: floatWA 3s ease-in-out infinite;
}
.floating-wa:hover { transform: scale(1.12); color: #fff; background: #1ebe5d; }
@keyframes floatWA {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.back-to-top {
  position: fixed;
  bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 76px));
  right: max(28px, env(safe-area-inset-right, 0px));
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.9rem;
  box-shadow: var(--shadow-primary);
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── Page Hero (dept pages) ── */
.page-hero {
  position: relative;
  height: 380px;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(205,92,92,0.35) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; font-weight: 800; margin-bottom: 10px; }
.breadcrumb-custom { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb-custom a { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom .sep { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb-custom .current { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

/* ── Department Page Content ── */
.dept-content-section {
  background: #fff;
  display: flow-root;
  position: relative;
  z-index: 0;
}
/* Prevent equal-height flex stretch from mis-sizing sidebar vs main column */
.dept-content-section > .container > .row {
  align-items: flex-start;
}
.dept-content-section > .container > .row > .col-lg-4 {
  align-self: flex-start;
}
.dept-content-section > .container {
  isolation: isolate;
}
.dept-feature-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--light-bg);
  margin-bottom: 12px;
  transition: var(--transition);
}
.dept-feature-card:hover { border-color: var(--primary); background: var(--primary-light); }
.dept-feature-card .df-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.dept-feature-card:hover .df-icon { background: var(--primary); color: #fff; }
.dept-feature-card h6 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.dept-feature-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ── Privacy/Terms Pages ── */
.legal-page { background: var(--light-bg); }
.legal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 50px 48px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  overflow-x: auto;
}
.legal-content h2 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: var(--muted); line-height: 1.9; }
.legal-content ul { padding-left: 0; }
.legal-content ul li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.legal-content ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; color: var(--primary); font-size: 0.75rem; top: 4px;
}

.legal-meta { background: var(--light-bg); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 28px; border-left: 4px solid var(--primary); }
.legal-meta p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 22px 0 8px; }
.legal-warning-box {
  background: #fff8e1; border-left: 4px solid #f9a825;
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0;
}
.legal-warning-box p { font-size: 0.88rem; color: #5d4037; margin: 0; }
.legal-warning-box i { color: #f9a825; margin-right: 6px; }
.legal-contact-box {
  background: var(--primary-light); border-radius: var(--radius-sm);
  padding: 20px 24px; margin: 16px 0; border: 1px solid rgba(205,92,92,0.2);
}
.legal-contact-box p { font-size: 0.88rem; color: var(--body); margin-bottom: 6px; }
.legal-contact-box p:last-child { margin-bottom: 0; }
.legal-contact-box i { color: var(--primary); margin-right: 8px; width: 14px; }
.legal-contact-box a { color: var(--primary); }
.legal-footer-note {
  background: var(--light-bg); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-top: 36px; text-align: center;
}
.legal-footer-note p { font-size: 0.83rem; color: var(--muted); font-style: italic; margin: 0; }
.footer-legal-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-legal-links a:hover { color: var(--primary); }

/* ── FAQ Section ── */
.faq-section { background: var(--light-bg-2); }
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(var(--primary-rgb), 0.3); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--dark); background: none; border: none; text-align: left; line-height: 1.4; }
.faq-question i:first-child { color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.faq-chevron { margin-left: auto; color: var(--muted); font-size: 0.8rem; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-question:not(.collapsed) { color: var(--primary); }
.faq-question:not(.collapsed) .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { padding: 0 20px 16px 44px; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 767px) {
  .faq-question { font-size: 0.87rem; padding: 14px 16px; }
  .faq-answer { padding: 0 16px 14px 38px; }
}

/* ── Success Pages ── */
.success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.success-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  max-width: 540px;
  box-shadow: var(--shadow);
}
.success-card .success-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #4caf50, #43a047);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem; color: #fff;
  box-shadow: 0 10px 30px rgba(76,175,80,0.3);
}
.success-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.success-card p { color: var(--muted); font-size: 0.95rem; }

/* ── Swiper Overrides ── */
.swiper-pagination-bullet { background: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; opacity: 1; }
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; }

/* ── Loader ── */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  height: clamp(140px, 32vmin, 240px);
  width: auto;
  max-width: min(420px, 88vw);
  object-fit: contain;
  display: block;
  margin: 0 auto 28px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
  margin: 0 auto;
}
.loader-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: loaderFill 1.8s ease-in-out forwards;
}
@keyframes loaderFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ── About Section Video (portrait frame + contain — avoids cropping faces on mobile) ── */
.about-video-main {
  position: relative;
  width: min(100%, 420px, calc(85vh * 9 / 16));
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
}
/* In-flow spacer fixes height when children are absolutely positioned (portrait 9:16) */
.about-video-main::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 177.7778%; /* 16/9 of width → 9:16 portrait box */
}
.about-video-main video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease; cursor: pointer; z-index: 2;
}
.video-play-overlay .vpo-icon {
  width: 72px; height: 72px;
  background: rgba(205,92,92,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 8px 30px rgba(205,92,92,0.45);
  transition: transform 0.3s ease;
}
.video-play-overlay:hover .vpo-icon { transform: scale(1.1); }
/* Top-right so it doesn’t overlap the “35+ Years” badge (anchored bottom-right of the about block) */
.video-sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.55);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.video-sound-btn:hover { background: var(--primary); border-color: var(--primary); }

/* ── Enhanced Page Hero (Sub-pages) ── */
.page-hero { height: 450px; }
.page-hero-bg { animation: heroBgZoom 14s ease-in-out infinite alternate; }
@keyframes heroBgZoom { from { transform: scale(1.06); } to { transform: scale(1.0); } }
.page-hero-overlay {
  background: linear-gradient(
    150deg,
    rgba(26,26,46,0.9) 0%,
    rgba(205,92,92,0.45) 55%,
    rgba(26,26,46,0.88) 100%
  );
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  letter-spacing: -0.5px;
}

/* ── Enhanced Dept Feature Cards ── */
.dept-feature-card {
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  border: 1.5px solid var(--border);
  padding: 24px;
  margin-bottom: 0;
  height: 100%;
}
.dept-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205,92,92,0.5);
  box-shadow: 0 16px 40px rgba(205,92,92,0.12);
  background: #fff;
}
.dept-feature-card .df-icon {
  width: 52px; height: 52px;
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: all 0.35s ease;
}
.dept-feature-card:hover .df-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(-8deg);
}
.dept-feature-card h6 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.dept-feature-card p {
  font-size: 0.83rem; color: var(--muted);
  margin: 0; line-height: 1.68;
}

/* ── Dept Sidebar Card ── */
.dept-content-section .appointment-info-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1e1e3a 0%, #2a1a38 100%);
  border: 1px solid rgba(205,92,92,0.22);
}
.dept-content-section .appointment-info-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205,92,92,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Dept Gallery ── */
.dept-gallery-wrap {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 22px;
  border: 1.5px solid var(--border);
  margin-bottom: 24px;
  position: relative;
  z-index: 0;
  clear: both;
}
.gallery-heading {
  font-size: 0.9rem; font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.gallery-heading i { color: var(--primary); }
.gallery-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 120px;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.gallery-thumb:hover img { transform: scale(1.1); }

/* ── Department CTA Strip ── */
.dept-cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, #b84b4b 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.dept-cta-strip::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.dept-cta-strip::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.cta-strip-title {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; margin-bottom: 8px;
}
.cta-strip-sub {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem; margin: 0;
}
.btn-outline-white-brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-size: 0.9rem; font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-white-brand:hover {
  background: rgba(255,255,255,0.18);
  color: #fff; border-color: #fff;
}

/* ── Responsive extras ── */
@media (max-width: 991px) {
  .page-hero { height: 360px; }
  .dept-cta-strip { padding: 48px 0; }
}
@media (max-width: 767px) {
  .page-hero { height: 300px; }
  .page-hero-content h1 { font-size: 1.9rem; }
  .dept-cta-strip { padding: 40px 0; text-align: center; }
  .dept-cta-strip .d-flex { justify-content: center !important; }
}

/* ── AOS Overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .hero-floating-card.card-1 { right: 16px; bottom: 18px; }
  .hero-floating-card.card-2 { left: 16px; right: auto; top: 24px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hero-floating-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .hero-floating-card .fc-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .hero-floating-card .fc-text .fc-num {
    font-size: 1.08rem;
  }
}
@media (max-width: 991px) {
  .site-navbar .nav-link { padding: 12px 16px !important; }
  .site-navbar .nav-link::after { display: none; }
  .hero-img-card img { height: 380px; }
  .section-padding { padding: 65px 0; }
  .appointment-card { padding: 32px 24px; }
  .about-experience-badge { bottom: -12px; right: 12px; max-width: calc(100% - 24px); }
  .legal-content { padding: 36px 28px; }
  .success-card { padding: 44px 28px; }
}
@media (max-width: 767px) {
  /* Mobile: 3-column spread (phone | email | 24/7); social hidden */
  .top-bar > .container > .top-bar-row {
    display: block !important;
  }
  .top-bar-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: clamp(8px, 2.5vw, 20px);
    width: 100%;
    align-items: center;
    overflow-x: visible;
  }
  .top-bar-segment--left { justify-self: start; }
  .top-bar-segment--center {
    justify-self: center;
    text-align: center;
  }
  .top-bar-segment--right { justify-self: end; }
  .top-bar .top-bar-social { display: none; }
  .hero-section { min-height: auto; padding: 88px 0 40px; }
  .hero-section__row {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.08em;
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-title {
    text-align: center;
    margin-bottom: 16px;
  }
  .hero-title__kicker {
    letter-spacing: 0.16em;
  }
  .hero-title__display {
    font-size: clamp(1.85rem, 6.8vw, 2.45rem);
  }
  .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
    margin-bottom: 22px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 26px;
    padding-top: 22px;
  }
  .hero-stat-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px 11px;
    border-radius: 13px;
    gap: 6px;
  }
  .hero-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 0;
  }
  .hero-stat-copy {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  .hero-stat-item .stat-num {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
    line-height: 1.2;
  }
  .hero-stat-item .stat-label {
    font-size: clamp(0.58rem, 2.4vw, 0.68rem);
    letter-spacing: 0.07em;
    margin-top: 4px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .hero-floating-card {
    display: none;
  }
  .contact-form-card { padding: 28px 20px; }
  .appointment-card { padding: 24px 18px; }
  .hero-image-wrap { margin-top: 40px; }
  .about-img-main img { height: 320px; }
}
@media (max-width: 575px) {
  .section-padding { padding: 50px 0; }
  .floating-wa {
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
  }
  .back-to-top {
    bottom: max(82px, calc(env(safe-area-inset-bottom, 0px) + 64px));
    right: max(18px, env(safe-area-inset-right, 0px));
  }
}
