/* ==========================================================================
   LRRC WEBSITE DESIGN SYSTEM — REFERENCE-BASED THEME
   Primary Reference: https://fspms.infoschoolplus.com/
   Color Tokens: Deep Green, Primary Green, Mid Green, Light Green, Pale Green, White
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --deep-green: #176B50;
  --primary-green: #278565;
  --mid-green: #55A97D;
  --light-green: #DDF2E5;
  --pale-green: #F3FAF5;
  --white: #FFFFFF;
  --ink: #20352C;
  --muted: #52665B;
  --line: #DCE8DF;
  --line-light: #EBF2ED;
  --gold: #D4973B;
  --gold-light: #FFF8E7;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;

  /* Gradients */
  --gradient-green: linear-gradient(135deg, #176B50 0%, #278565 60%, #55A97D 100%);
  --gradient-green-subtle: linear-gradient(135deg, rgba(23, 107, 80, 0.04) 0%, rgba(85, 169, 125, 0.08) 100%);
  --gradient-hero: radial-gradient(ellipse at 80% 20%, #DDF2E5 0%, #F3FAF5 50%, #FFFFFF 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F7FAF8 100%);
  --gradient-accent: linear-gradient(135deg, #278565 0%, #55A97D 100%);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(23, 107, 80, 0.04);
  --shadow-md: 0 8px 25px rgba(23, 107, 80, 0.08);
  --shadow-lg: 0 16px 45px rgba(23, 107, 80, 0.12);
  --shadow-hover: 0 20px 50px rgba(23, 107, 80, 0.16);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
}

/* Base Elements */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-green); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }

/* Focus & Selection */
:focus-visible { outline: 3px solid var(--primary-green); outline-offset: 4px; }
::selection { background-color: var(--light-green); color: var(--deep-green); }

/* Layout Container */
.container-wide {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--ink);
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2vw, 26px); }
h1 em, h2 em, .font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary-green);
}
p { margin-top: 0; margin-bottom: 1.25rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.lead-text { font-size: 1.15rem; line-height: 1.8; color: var(--muted); }

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 1rem;
}
.eyebrow.light { color: #A8D5BC; }
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mid-green);
  box-shadow: 0 0 0 3px rgba(85, 169, 125, 0.25);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--light-green);
  color: var(--deep-green);
  letter-spacing: 0.05em;
}

/* Buttons & Links */
.btn-primary-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient-green);
  color: var(--white) !important;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(23, 107, 80, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-primary-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 107, 80, 0.3);
  color: var(--white);
}
.btn-primary-green .btn-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.btn-primary-green:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--deep-green) !important;
  border: 1.5px solid var(--mid-green);
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-outline-green:hover {
  background-color: var(--pale-green);
  border-color: var(--primary-green);
  color: var(--primary-green) !important;
}

.btn-white-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--white);
  color: var(--deep-green) !important;
  border: 1px solid var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
}
.btn-white-green:hover {
  background-color: var(--pale-green);
  color: var(--deep-green);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-green);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.link-arrow:hover {
  border-bottom-color: var(--mid-green);
  gap: 12px;
}

/* ==========================================================================
   Header & Navigation (Reference Pattern)
   ========================================================================== */

/* Top Announcement Bar */
.top-bar {
  background: var(--deep-green);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-motto {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C3E5D2;
}
.top-bar-divider {
  opacity: 0.4;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar-contact a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.top-bar-contact a:hover {
  color: var(--light-green);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}
.lang-switch select {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xs);
  padding: 2px 8px;
  font-size: 0.75rem;
}
.lang-switch select option {
  background: var(--deep-green);
  color: white;
}

/* Main Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(23, 107, 80, 0.04);
  transition: all 0.3s ease;
}
.navbar-brand-lrrc {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.navbar-brand-lrrc img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--light-green);
  object-fit: contain;
}
.brand-titles {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-green);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mid-green);
  text-transform: uppercase;
}

/* Navigation Links & Dropdowns (Clean, Reference-Grade Design) */
.nav-lrrc {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-lrrc .nav-item {
  position: relative;
}
.nav-lrrc .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-lrrc .nav-link:hover {
  color: var(--deep-green);
  background-color: var(--pale-green);
  transform: translateY(-1px);
}
.nav-lrrc .nav-link.active {
  color: var(--deep-green);
  background: linear-gradient(135deg, rgba(23, 107, 80, 0.08) 0%, rgba(85, 169, 125, 0.16) 100%);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(39, 133, 101, 0.25);
}
.nav-lrrc .nav-link .nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.nav-lrrc .nav-item.dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu Styles (Floating Glassmorphic Cards) */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-lrrc .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(85, 169, 125, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(23, 107, 80, 0.15), 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 10px;
  margin-top: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}
.dropdown-menu .dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  border-left: 2px solid transparent;
}
.dropdown-menu .dropdown-item span.item-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}
.dropdown-menu .dropdown-item:hover {
  background-color: var(--pale-green);
  color: var(--deep-green);
  border-left-color: var(--primary-green);
  padding-left: 18px;
}
.dropdown-menu .dropdown-divider {
  margin: 6px 0;
  border-color: var(--line-light);
}

/* ==========================================================================
   Hero Section (Reference Layout)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  padding: 70px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-tagline {
  margin-bottom: 1.5rem;
}
.hero-title {
  margin-bottom: 1.5rem;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.08;
}
.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light-green);
  color: var(--deep-green);
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* Hero Visual & Photo Frame */
.hero-visual-frame {
  position: relative;
  z-index: 2;
}
.hero-image-container {
  position: relative;
  border-radius: 240px 240px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
  aspect-ratio: 1 / 1.15;
}
.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
}
.floating-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.floating-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-green);
  margin: 0;
}
.floating-card-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-green);
  margin: 0;
  line-height: 1.1;
}

/* ==========================================================================
   Impact Statistics Ribbon (stats reference pattern)
   ========================================================================== */
.impact-ribbon {
  background: var(--gradient-green);
  color: var(--white);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.impact-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.impact-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 18px;
}
.impact-header-title {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.impact-report-link {
  color: var(--light-green);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
}
.impact-grid-six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.impact-stat-card {
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.impact-stat-card:first-child {
  border-left: none;
  padding-left: 0;
}
.stat-number {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.stat-number span.plus {
  color: #A3DEC0;
  font-weight: 500;
}
.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}
.stat-period {
  font-size: 0.72rem;
  color: #BBE2CC;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.impact-disclaimer {
  margin-top: 25px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Leadership Spotlight (superiorGeneral reference pattern)
   ========================================================================== */
.leadership-spotlight-section {
  padding: 90px 0;
  background-color: var(--white);
}
.leadership-card {
  background: var(--pale-green);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.leadership-photo-wrap {
  position: relative;
}
.leadership-img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.leadership-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--deep-green);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.leadership-content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-style: italic;
  color: var(--deep-green);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
  position: relative;
}
.leadership-author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.leadership-author-role {
  font-size: 0.85rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Mission & Vision Cards (manifesto reference pattern)
   ========================================================================== */
.manifesto-section {
  padding: 90px 0;
  background: var(--pale-green);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.manifesto-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 45px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.manifesto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mid-green);
}
.manifesto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.manifesto-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--light-green);
  color: var(--deep-green);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.manifesto-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--pale-green);
  color: var(--primary-green);
  border: 1px solid var(--line);
}
.manifesto-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.manifesto-card p {
  font-size: 1.05rem;
  line-height: 1.8;
}
.manifesto-card .highlight-phrase {
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: underline;
  text-decoration-color: var(--mid-green);
  text-underline-offset: 4px;
}

/* ==========================================================================
   Photo Mosaic (zoomParallax reference pattern)
   ========================================================================== */
.mosaic-section {
  padding: 90px 0;
  background-color: var(--white);
}
.mosaic-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 20px;
}
.mosaic-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.mosaic-item:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-md);
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mosaic-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(20, 59, 50, 0.85) 0%, transparent 100%);
  color: var(--white);
  padding: 24px 20px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mosaic-1 { grid-column: span 5; grid-row: span 3; }
.mosaic-2 { grid-column: span 4; grid-row: span 2; }
.mosaic-3 { grid-column: span 3; grid-row: span 2; }
.mosaic-4 { grid-column: span 4; grid-row: span 2; }
.mosaic-5 { grid-column: span 3; grid-row: span 2; }

/* ==========================================================================
   Medical Services Stacking Cards (services reference pattern)
   ========================================================================== */
/* ==========================================================================
   Comprehensive Medical & Rehabilitation Services (Interactive Chapters Showcase)
   Reference Pattern: St. Joseph Cluny "Facilities That Support Every Patient"
   ========================================================================== */
.services-section {
  padding: 100px 0 110px;
  background: #F7FAF8;
  position: relative;
}

.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.section-head {
  max-width: 740px;
}

.section-head .eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-green, #176B50);
  margin-bottom: 0.5rem;
}

.section-head .section-title {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  font-weight: 800;
  color: var(--ink, #0B2340);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.section-head .section-lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--muted, #4A6358);
  line-height: 1.7;
  margin: 0;
}

/* Chapters Two-Column Showcase */
.ch-wrap {
  --ch-accent: #176B50;
  --ch-accent-ink: #0C4A39;
  --ch-accent-soft: #A8D5BC;
  --ch-paper: #F3F8F5;
  --ch-paper-line: rgba(23, 107, 80, 0.08);
  --ch-paper-edge: rgba(23, 107, 80, 0.18);
  --ch-height: 38rem;

  display: grid;
  grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
  gap: 2.25rem;
  align-items: start;
}

/* Vertical Tab List */
.ch-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: var(--ch-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 107, 80, 0.3) transparent;
}

.ch-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1.2rem;
  text-align: left;
  color: var(--ink, #0B2340);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(23, 107, 80, 0.12);
  border-radius: 1.15rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch-tab:hover {
  background: #ffffff;
  border-color: rgba(23, 107, 80, 0.35);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(23, 107, 80, 0.08);
}

.ch-tab:focus-visible {
  outline: 2px solid var(--ch-accent);
  outline-offset: 2px;
}

.ch-tab.is-active {
  background: var(--deep-green, #0C4A39);
  border-color: var(--deep-green, #0C4A39);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(12, 74, 57, 0.25);
  transform: translateX(6px);
}

.ch-tab-num {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  background: rgba(23, 107, 80, 0.12);
  color: var(--ch-accent);
  transition: all 0.25s ease;
}

.ch-tab.is-active .ch-tab-num {
  background: var(--mid-green, #278565);
  color: #ffffff;
}

.ch-tab-text {
  min-width: 0;
}

.ch-tab-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ch-accent);
  margin-bottom: 2px;
}

.ch-tab.is-active .ch-tab-kicker {
  color: var(--ch-accent-soft);
}

.ch-tab-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

/* Right Card with Ruled Paper Lines & 3D Turn Animations */
.ch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
  border-radius: 1.75rem;
  min-height: var(--ch-height);
  background: var(--ch-paper);
  border: 1.5px solid var(--ch-paper-edge);
  box-shadow: 0 20px 50px rgba(12, 74, 57, 0.08);
  perspective: 1400px;
}

/* Ruled-paper lines */
.ch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: repeating-linear-gradient(transparent 0 38px, var(--ch-paper-line) 38px 39px);
}

.ch-card > * {
  position: relative;
}

/* Panel Layout (Split Body and Featured Media) */
.ch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.ch-panel[hidden] {
  display: none;
}

.ch-panel.is-in-next {
  animation: ch-turn-next 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: left center;
}

.ch-panel.is-in-prev {
  animation: ch-turn-prev 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: right center;
}

@keyframes ch-turn-next {
  from {
    opacity: 0;
    transform: translateX(30px) rotateY(16deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ch-turn-prev {
  from {
    opacity: 0;
    transform: translateX(-30px) rotateY(-16deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ch-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ch-accent);
}

.ch-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--deep-green, #0C4A39);
  letter-spacing: -0.02em;
}

.ch-rule {
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 0.85rem 0 1.25rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ch-accent), transparent);
}

.ch-text {
  margin: 0 0 1.25rem;
  font-size: clamp(0.96rem, 0.92rem + 0.25vw, 1.1rem);
  line-height: 1.75;
  color: var(--muted, #365044);
}

.ch-dropcap::first-letter {
  float: left;
  margin: 0.2rem 0.65rem 0 0;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 0.82;
  color: var(--ch-accent);
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--ink, #0B2340);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.service-features-list li::before {
  content: '✓';
  color: var(--primary-green, #176B50);
  font-weight: 800;
}

.ch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ch-accent);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(23, 107, 80, 0.35);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.ch-link:hover {
  color: var(--deep-green, #0C4A39);
  border-bottom-color: var(--deep-green, #0C4A39);
  gap: 0.85rem;
}

/* Featured Media Image Box */
.ch-media {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 74, 57, 0.15);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  aspect-ratio: 4 / 3;
}

.ch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch-media:hover img {
  transform: scale(1.05);
}

.ch-media-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 74, 57, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card Bottom Footer: Progress Bar & Prev/Next Controls */
.ch-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 107, 80, 0.15);
}

.ch-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 107, 80, 0.12);
  overflow: hidden;
}

.ch-progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #176B50, #278565);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch-nav {
  display: flex;
  gap: 0.6rem;
}

.ch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ch-btn:focus-visible {
  outline: 2px solid var(--ch-accent);
  outline-offset: 2px;
}

.ch-btn-prev {
  background: transparent;
  color: var(--deep-green, #0C4A39);
  border: 1.5px solid rgba(12, 74, 57, 0.25);
}

.ch-btn-prev:hover {
  background: #ffffff;
  border-color: var(--deep-green, #0C4A39);
}

.ch-btn-next {
  background: var(--deep-green, #0C4A39);
  color: #ffffff;
  border: 1.5px solid var(--deep-green, #0C4A39);
}

.ch-btn-next:hover {
  background: var(--primary-green, #176B50);
  border-color: var(--primary-green, #176B50);
  color: #ffffff;
}

/* Tablets and Mobile: Every Tab Stays in View as Compact Responsive Tiles */
@media (max-width: 991px) {
  .services-section {
    padding: 70px 0 80px;
  }
  .ch-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .ch-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.5rem;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .ch-tab {
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.85rem;
  }
  .ch-tab-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }
  .ch-tab-kicker {
    display: none;
  }
  .ch-tab-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.25;
  }
  .ch-tab.is-active {
    box-shadow: 0 8px 18px rgba(12, 74, 57, 0.22);
    transform: none;
  }
  .ch-card {
    min-height: 0;
  }
}

@media (max-width: 575px) {
  .ch-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .ch-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .ch-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .ch-nav > .ch-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-panel.is-in-next,
  .ch-panel.is-in-prev {
    animation: none;
  }
  .ch-progress-bar {
    transition: none;
  }
}

/* ==========================================================================
   Pillars of Care & Journey (whyUs & process reference pattern)
   ========================================================================== */
.pillars-section {
  padding: 100px 0;
  background-color: var(--white);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.pillar-card {
  padding: 36px 28px;
  background: var(--pale-green);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.3s ease;
}
.pillar-card:hover {
  background: var(--white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pillar-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary-green);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.pillar-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.pillar-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Care Journey Step Process */
.journey-section {
  padding: 90px 0;
  background: var(--gradient-hero);
  border-top: 1px solid var(--line);
}
.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
  position: relative;
}
.journey-step-item {
  position: relative;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-number-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 14px;
}
.journey-step-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.journey-step-item p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   Milestones & Timeline Preview (milestone reference pattern)
   ========================================================================== */
.timeline-section {
  padding: 100px 0;
  background-color: var(--white);
  border-top: 1px solid var(--line);
}
.timeline-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.timeline-card-item {
  position: relative;
  padding: 30px 24px;
  background: var(--pale-green);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}
.timeline-card-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--mid-green);
}
.timeline-year {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
  margin-bottom: 12px;
}
.timeline-card-item h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline-card-item p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   Community Welfare & MCR Footwear Spotlight
   ========================================================================== */
.welfare-section {
  padding: 90px 0;
  background: var(--pale-green);
  border-top: 1px solid var(--line);
}
.welfare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.welfare-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.welfare-image-box img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}
.welfare-stats-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--deep-green);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.welfare-stats-badge strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  color: #C3E5D2;
}

/* ==========================================================================
   Featured Annual Report Card
   ========================================================================== */
.annual-report-section {
  padding: 90px 0;
  background-color: var(--white);
}
.report-feature-card {
  background: radial-gradient(ellipse at 85% 50%, #DDF2E5 0%, #F3FAF5 60%, #FFFFFF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 70px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.report-book-mockup {
  background: linear-gradient(135deg, #FFFFFF 0%, #EBF4EE 100%);
  border-left: 10px solid var(--primary-green);
  border-radius: 4px 14px 14px 4px;
  padding: 35px 28px;
  box-shadow: 12px 16px 30px rgba(23, 107, 80, 0.15), 0 0 0 1px var(--line);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.report-book-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}
.report-mock-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mid-green);
}
.report-mock-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1.15;
  margin: 15px 0;
}
.report-mock-meta {
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ==========================================================================
   News & Events Card Grid
   ========================================================================== */
.news-section {
  padding: 90px 0;
  background: var(--pale-green);
  border-top: 1px solid var(--line);
}
.news-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}
.news-card-modern {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.news-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.news-card-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card-modern:hover .news-card-img-wrap img {
  transform: scale(1.04);
}
.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--deep-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.news-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.news-card-footer {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* ==========================================================================
   Full Width Call to Action Banner
   ========================================================================== */
.cta-banner-section {
  background: var(--gradient-green);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-section h2 {
  color: var(--white);
  font-size: clamp(32px, 3.8vw, 50px);
  margin-bottom: 1.25rem;
}
.cta-banner-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer (Reference Pattern)
   ========================================================================== */
.site-footer {
  background-color: #12382D;
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 0;
  font-size: 0.9rem;
}
.footer-grid-four {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand-col .brand-name {
  color: var(--white);
}
.footer-brand-col .brand-sub {
  color: #A3DEC0;
}
.footer-bio {
  margin: 18px 0 20px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}
.footer-motto-callout {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #C3E5D2;
}
.footer-col-title {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.footer-links-list a:hover {
  color: var(--white);
  padding-left: 6px;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-bottom-bar {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Page Preloader / Initial Site Loading
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at center, #FFFFFF 0%, #F4F9F6 65%, #E3EFE8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
  pointer-events: auto;
}
.site-preloader.preloader-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  padding: 24px;
}
.preloader-logo-ring {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.preloader-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 18px rgba(23, 107, 80, 0.2);
  animation: preloader-pulse 2s ease-in-out infinite;
}
.preloader-spinner-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(85, 169, 125, 0.2);
  border-top-color: var(--primary-green);
  border-right-color: var(--deep-green);
  animation: preloader-spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
.preloader-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep-green);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.preloader-subtitle {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.preloader-progress-track {
  width: 180px;
  height: 4px;
  background: rgba(23, 107, 80, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.preloader-progress-bar {
  width: 100%;
  height: 100%;
  background: var(--gradient-green);
  border-radius: 999px;
  animation: preloader-bar 1.4s ease-in-out infinite;
  transform-origin: left;
}
@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes preloader-bar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   Floating "Support Our Mission" Trigger & Modal
   ========================================================================== */
.floating-support-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-green);
  color: var(--white) !important;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(23, 107, 80, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}
.floating-support-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(23, 107, 80, 0.45);
  color: var(--white);
}
.heart-pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF6B6B;
  animation: heart-beat 1.6s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  70% { transform: scale(1); }
}

/* Support Our Mission Modal Dialog */
.modal-dialog-support {
  max-width: 680px;
}
.modal-content-support {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 25px 70px rgba(23, 107, 80, 0.25);
  overflow: hidden;
}
.modal-header-support {
  background: var(--gradient-green);
  color: var(--white);
  padding: 24px 30px;
  position: relative;
}
.modal-header-support h5 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0;
  font-weight: 800;
}
.modal-body-support {
  padding: 28px 32px;
  background: #FCFDFC;
  max-height: 80vh;
  overflow-y: auto;
}
.support-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.support-tier-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.support-tier-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 6px 20px rgba(23, 107, 80, 0.08);
  transform: translateY(-2px);
}
.support-tier-card.featured-tier {
  border-color: var(--mid-green);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3FAF5 100%);
}
.support-tier-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--deep-green);
  display: block;
}
.support-tier-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin: 4px 0 2px;
}
.support-tier-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}
.bank-transfer-card {
  background: #F4F8F5;
  border: 1px dashed var(--mid-green);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(23, 107, 80, 0.08);
}
.bank-row:last-child {
  border-bottom: none;
}
.bank-row strong {
  color: var(--deep-green);
}
.tax-badge-80g {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 107, 80, 0.1);
  color: var(--deep-green);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ==========================================================================
   ROAD MAP SECTION — REFERENCE BASED (Highway Track + Avatars + Glass Cards)
   Direct Match: media_1793015593987_ba8c0a18.png
   ========================================================================== */
.roadmap-section {
  position: relative;
  background-color: #FAF7F0;
  overflow: hidden;
}

/* Dynamic Ambient Glow reacting to active milestone theme color */
.roadmap-ambient-glow {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  max-width: 90vw;
  height: 850px;
  border-radius: 50%;
  filter: blur(200px);
  pointer-events: none;
  opacity: 0.22;
  background: #0E7C86;
  transition: background 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  z-index: 0;
}

.roadmap-pinned-frame {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: 68px; /* Clean flush clearance under sticky navbar */
}

.roadmap-pinned-header {
  flex-shrink: 0;
  position: relative;
  z-index: 25;
  text-align: center;
  padding: 0 16px 6px;
}

.roadmap-pinned-header .roadmap-header {
  margin: 0 auto;
  max-width: 860px;
}

.roadmap-pinned-header h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  margin: 2px 0 6px;
}

.roadmap-pills-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(11, 35, 64, 0.1);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.roadmap-pills-bar::-webkit-scrollbar {
  display: none;
}

.roadmap-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.roadmap-nav-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.25s ease;
}

.roadmap-nav-pill .pill-num {
  font-family: monospace;
  font-size: 0.74rem;
  opacity: 0.8;
}

.roadmap-nav-pill.is-active {
  background: var(--p-col, #0E7C86);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 124, 134, 0.35);
}

.roadmap-nav-pill.is-active .pill-dot {
  background: #FFFFFF;
  box-shadow: 0 0 6px #FFFFFF;
}

.roadmap-stage-viewport {
  flex: 1;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Removed mask-image so active cards are never clipped or faded at the top or bottom */
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.roadmap-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 2400px;
  will-change: transform;
  z-index: 2;
}

/* Serpentine Asphalt Highway SVG Background Track */
.roadmap-svg-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.roadmap-highway-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.highway-ambient-glow {
  filter: blur(24px);
  transition: stroke 0.6s ease;
}

.highway-neon-curb {
  transition: stroke 0.6s ease;
  filter: drop-shadow(0 0 16px rgba(14, 124, 134, 0.7));
}

.highway-dashed-centerline {
  filter: drop-shadow(0 0 4px #ffffff);
}

/* Horizontal Connector Lines from Highway to Cards */
.roadmap-connector {
  transition: all 0.4s ease;
}
.roadmap-connector.is-active {
  opacity: 0.95 !important;
  stroke-dasharray: none !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 8px currentColor);
}

/* Circular Milestone Nodes on Highway */
.roadmap-marker {
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease;
}
.roadmap-marker:hover {
  transform: scale(1.12);
}
.roadmap-marker .marker-ping {
  opacity: 0;
  transform-origin: center;
}
.roadmap-marker.is-active .marker-ping {
  opacity: 0.75;
  animation: roadmap-marker-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.roadmap-marker.is-active .marker-base {
  r: 22px;
  stroke-width: 3px;
  filter: drop-shadow(0 0 14px rgba(11, 35, 64, 0.35));
}
.roadmap-marker.is-active .marker-num {
  font-size: 14px;
}

@keyframes roadmap-marker-ping {
  0% { transform: scale(0.9); opacity: 0.8; }
  75%, 100% { transform: scale(1.65); opacity: 0; }
}

/* Traveler Avatar: Sister in Habit (Dynamic Scrolling Effect matching fspms) */
.roadmap-traveler-avatar {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  width: 96px;
  height: 124px;
  will-change: left, top, transform;
  transform: translate(-50%, -85%) rotate(var(--road-tilt, 0deg));
  transition: transform 0.15s ease-out;
}

.traveler-bobber {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.roadmap-traveler-avatar.is-walking .traveler-bobber {
  animation: traveler-bob-step 0.35s ease-in-out infinite;
}

.roadmap-traveler-avatar.is-walking .roadmap-avatar-shadow {
  animation: traveler-shadow-step 0.35s ease-in-out infinite;
}

.roadmap-avatar-svg {
  width: 82px;
  height: 106px;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.38));
}

.roadmap-avatar-shadow {
  width: 52px;
  height: 10px;
  margin-top: -6px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 75%);
  border-radius: 50%;
}

@keyframes traveler-bob-step {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-2.5deg); }
  75% { transform: translateY(-5px) rotate(2.5deg); }
}

@keyframes traveler-shadow-step {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(0.8); opacity: 0.25; }
}

/* Milestone Cards Track */
.roadmap-cards-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.roadmap-row {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  pointer-events: auto;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

.roadmap-row[data-stage="0"] { top: 9.58%; }   /* y = 230 / 2400 */
.roadmap-row[data-stage="1"] { top: 25.42%; }  /* y = 610 / 2400 */
.roadmap-row[data-stage="2"] { top: 41.25%; }  /* y = 990 / 2400 */
.roadmap-row[data-stage="3"] { top: 57.08%; }  /* y = 1370 / 2400 */
.roadmap-row[data-stage="4"] { top: 72.92%; }  /* y = 1750 / 2400 */
.roadmap-row[data-stage="5"] { top: 88.96%; }  /* y = 2135 / 2400 */

.card-align-right {
  justify-content: flex-end;
}

.card-align-left {
  justify-content: flex-start;
}

/* 3D Glassmorphism Milestone Card (Optimized Height for Full Visibility) */
.roadmap-card-glass {
  width: 100%;
  max-width: 440px;
  padding: 18px 24px 20px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
  cursor: pointer;
  transform-style: preserve-3d;

  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(11, 35, 64, 0.08);
  opacity: 0.22;
  transform: perspective(1200px) rotateY(var(--card-tilt-inactive)) scale(0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card-align-right .roadmap-card-glass {
  --card-tilt-inactive: -8deg;
  --card-tilt-active: -3deg;
}

.card-align-left .roadmap-card-glass {
  --card-tilt-inactive: 8deg;
  --card-tilt-active: 3deg;
}

.roadmap-card-glass.is-active {
  opacity: 1;
  transform: perspective(1200px) rotateY(var(--card-tilt-active)) rotateX(1deg) translateZ(15px) scale(1.02);
  z-index: 12;
  border: 2px solid var(--active-border-color, var(--card-theme));
  box-shadow: 0 0 35px var(--active-glow-color, var(--card-glow)), 0 16px 36px rgba(11, 35, 64, 0.12);
  background: linear-gradient(135deg, var(--active-bg-gradient, var(--card-bg)), rgba(255, 255, 255, 0.98));
}

.roadmap-card-glass:hover:not(.is-active) {
  opacity: 0.65;
  transform: perspective(1200px) rotateY(var(--card-tilt-inactive)) scale(0.95);
}

/* Speed Trails facing the center Highway (Reference Pattern: fspms speedTrail) */
.roadmap-speed-trail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0.2;
}

.roadmap-card-glass.is-active .roadmap-speed-trail {
  opacity: 1;
}

.trail-facing-left {
  left: -70px;
}
.trail-facing-left .speed-trail-blur {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--card-theme));
  opacity: 0.35;
  filter: blur(14px);
  border-radius: 28px 0 0 28px;
}
.trail-facing-left .streak-1 {
  position: absolute;
  height: 2px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 25%;
  right: 0;
  width: 55px;
  opacity: 0.85;
}
.trail-facing-left .streak-2 {
  position: absolute;
  height: 2.5px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 50%;
  right: 8px;
  width: 66px;
  opacity: 0.95;
}
.trail-facing-left .streak-3 {
  position: absolute;
  height: 2px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 75%;
  right: 4px;
  width: 44px;
  opacity: 0.8;
}

.trail-facing-right {
  right: -70px;
}
.trail-facing-right .speed-trail-blur {
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, transparent, var(--card-theme));
  opacity: 0.35;
  filter: blur(14px);
  border-radius: 0 28px 28px 0;
}
.trail-facing-right .streak-1 {
  position: absolute;
  height: 2px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 25%;
  left: 0;
  width: 55px;
  opacity: 0.85;
}
.trail-facing-right .streak-2 {
  position: absolute;
  height: 2.5px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 50%;
  left: 8px;
  width: 66px;
  opacity: 0.95;
}
.trail-facing-right .streak-3 {
  position: absolute;
  height: 2px;
  background: var(--card-theme);
  border-radius: 2px;
  top: 75%;
  left: 4px;
  width: 44px;
  opacity: 0.8;
}

/* Card Header & Content */
.roadmap-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  position: relative;
  z-index: 10;
}

.roadmap-step-pill {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 2px;
}

.roadmap-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0B2340;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.roadmap-card-sub {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.roadmap-card-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.roadmap-card-text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(11, 35, 64, 0.8);
  margin-bottom: 10px;
  position: relative;
  z-index: 10;
}

.roadmap-card-metric {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(11, 35, 64, 0.05);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0B2340;
  border: 1px solid rgba(11, 35, 64, 0.08);
  position: relative;
  z-index: 10;
}

/* Responsive Behavior */
@media (max-width: 991px) {
  .roadmap-section {
    padding: 70px 0 90px;
  }
  .roadmap-cards-track {
    gap: 45px;
  }
  .roadmap-row.card-align-right,
  .roadmap-row.card-align-left {
    justify-content: center;
  }
  .roadmap-card-glass {
    max-width: 100%;
    transform: scale(0.97) !important;
  }
  .roadmap-card-glass.is-active {
    transform: scale(1.01) !important;
  }
  .roadmap-speed-trail {
    display: none;
  }
  .roadmap-highway-svg {
    opacity: 0.35;
  }
  .roadmap-traveler-avatar {
    width: 76px;
    height: 98px;
  }
  .roadmap-avatar-svg {
    width: 64px;
    height: 82px;
  }
}

/* ==========================================================================
   Interactive Google Maps Component
   ========================================================================== */
.google-map-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(23, 107, 80, 0.12);
  border: 1.5px solid var(--line);
  background: var(--pale-green);
}
.google-map-iframe {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}
.map-overlay-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(85, 169, 125, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-width: 320px;
  z-index: 2;
}
.map-overlay-title {
  font-weight: 800;
  color: var(--deep-green);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.map-overlay-address {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
}
.map-overlay-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Ambient Graphical Designs & Patterns
   ========================================================================== */
.bg-grid-mesh {
  background-image: radial-gradient(rgba(39, 133, 101, 0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.ambient-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 169, 125, 0.14) 0%, rgba(221, 242, 229, 0.04) 70%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb-top-right {
  top: -120px;
  right: -100px;
}
.orb-bottom-left {
  bottom: -150px;
  left: -120px;
}

/* Form Controls */
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.92rem;
  background-color: #FAFCFA;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(39, 133, 101, 0.15);
  background-color: var(--white);
}

/* Lightbox Dialog */
dialog#lightbox {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  width: 90vw;
  background: var(--white);
  overflow: hidden;
}
dialog#lightbox::backdrop {
  background: rgba(18, 56, 45, 0.85);
  backdrop-filter: blur(6px);
}
.lightbox-body {
  position: relative;
  padding: 24px;
}
.lightbox-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1199px) {
  .impact-grid-six { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .impact-stat-card:nth-child(4) { border-left: none; padding-left: 0; }
  .pillars-grid, .journey-steps-grid, .timeline-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-four { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual-frame { max-width: 500px; margin: 0 auto; }
  .leadership-card { grid-template-columns: 1fr; gap: 30px; padding: 35px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .service-cards-stack, .news-grid-three { grid-template-columns: repeat(2, 1fr); }
  .report-feature-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .welfare-grid { grid-template-columns: 1fr; gap: 40px; }
  .mosaic-1, .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { grid-column: span 6; grid-row: span 2; }
}

@media (max-width: 767px) {
  .top-bar { display: none; }
  .service-cards-stack, .news-grid-three { grid-template-columns: 1fr; }
  .pillars-grid, .journey-steps-grid, .timeline-preview-grid { grid-template-columns: 1fr; }
  .impact-grid-six { grid-template-columns: repeat(2, 1fr); }
  .impact-stat-card:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .footer-grid-four { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
  .mosaic-1, .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { grid-column: span 12; grid-row: span 2; }
}

/* ==========================================================================
   REFERENCE-MATCHED MEDICAL TEAL CURVED WAVE HERO BANNER
   Direct Match: User Uploaded Reference (ORTHOC Healthcare Header & Wave)
   ========================================================================== */

/* Header adaptations for Home Transparent & Teal Banner (Overlay Directly on Video) */
.main-header.header-home-transparent:not(.header-scrolled),
.main-header.header-home-teal:not(.header-scrolled) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-header.header-home-transparent .navbar-brand-lrrc,
.main-header.header-home-teal .navbar-brand-lrrc {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-header.header-home-transparent .brand-name,
.main-header.header-home-teal .brand-name {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.main-header.header-home-transparent .brand-sub,
.main-header.header-home-teal .brand-sub {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* Nav Links - Clean Uppercase White Text, NO dark pill */
.main-header.header-home-transparent:not(.header-scrolled) .nav-lrrc,
.main-header.header-home-teal:not(.header-scrolled) .nav-lrrc {
  gap: 12px;
}
.main-header.header-home-transparent:not(.header-scrolled) .nav-lrrc .nav-link,
.main-header.header-home-teal:not(.header-scrolled) .nav-lrrc .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 14px !important;
  position: relative;
  transition: all 0.25s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.main-header.header-home-transparent:not(.header-scrolled) .nav-chevron,
.main-header.header-home-teal:not(.header-scrolled) .nav-chevron {
  stroke: #ffffff;
}
.main-header.header-home-transparent:not(.header-scrolled) .nav-lrrc .nav-link:hover,
.main-header.header-home-teal:not(.header-scrolled) .nav-lrrc .nav-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
  background: transparent !important;
  transform: translateY(-1px);
}
.main-header.header-home-transparent:not(.header-scrolled) .nav-lrrc .nav-link.active,
.main-header.header-home-teal:not(.header-scrolled) .nav-lrrc .nav-link.active {
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}
.main-header.header-home-transparent:not(.header-scrolled) .nav-lrrc .nav-link.active::after,
.main-header.header-home-teal:not(.header-scrolled) .nav-lrrc .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
}
.main-header.header-home-transparent:not(.header-scrolled) .navbar-toggler-icon,
.main-header.header-home-teal:not(.header-scrolled) .navbar-toggler-icon {
  filter: invert(1);
}

/* Mobile / Tablet Collapsible Menu */
@media (max-width: 1199.98px) {
  .main-header.header-home-transparent .navbar-collapse,
  .main-header.header-home-teal .navbar-collapse {
    background: rgba(10, 48, 38, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 18px 24px;
    margin-top: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* Dropdown Menus on Teal/Transparent Header */
.main-header.header-home-transparent .dropdown-menu,
.main-header.header-home-teal .dropdown-menu {
  background: rgba(10, 50, 40, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
}
.main-header.header-home-transparent .dropdown-item,
.main-header.header-home-teal .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.2s ease;
}
.main-header.header-home-transparent .dropdown-item:hover,
.main-header.header-home-teal .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding-left: 24px;
}
.main-header.header-home-transparent .dropdown-item .item-sub,
.main-header.header-home-teal .dropdown-item .item-sub {
  color: rgba(255, 255, 255, 0.65);
}
.main-header.header-home-transparent .dropdown-divider,
.main-header.header-home-teal .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* Search Icon Trigger Button */
.nav-search-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.nav-search-btn:hover {
  background: #ffffff;
  color: #167e65;
  border-color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.main-header.header-scrolled .nav-search-btn {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Scrolled Header with Frosted Glass & Gold Rim */
.main-header.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 90, 72, 0.94) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  border-bottom: 1.5px solid rgba(223, 183, 108, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 0 20px rgba(223, 183, 108, 0.15) !important;
  padding-top: 10px;
  padding-bottom: 10px;
  animation: slideDownHeader 0.35s ease;
}
@keyframes slideDownHeader {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.main-header.header-scrolled .brand-name {
  color: #ffffff !important;
}
.main-header.header-scrolled .brand-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}
.main-header.header-scrolled .nav-lrrc .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
}
.main-header.header-scrolled .nav-chevron {
  stroke: #ffffff;
}

/* ==========================================================================
   FULL-SIZE RESPONSIVE VIDEO HERO BANNER (100% Bleed, No Empty Green Layout)
   ========================================================================== */
.video-hero-banner-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 580px;
  max-height: 940px;
  background-color: #000000;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

.video-banner-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  overflow: hidden;
}

.hero-fullscreen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Completely fills banner container, no empty bars */
  object-position: center bottom !important; /* Preserves full visibility of video text & subtitle */
  display: block;
  background-color: #000000;
}

/* Top Vignette Gradient Overlay so transparent header is crisp & legible */
.video-top-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

/* Floating Luxury Glass Video Controls - Safely floating above the organic curve */
.video-controls-overlay {
  position: absolute;
  bottom: clamp(65px, 9vw, 105px);
  right: 35px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-control-pill {
  background: rgba(14, 60, 48, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(223, 183, 108, 0.25);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.video-control-pill:hover {
  background: rgba(22, 126, 101, 0.95);
  border-color: #dfb76c;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(223, 183, 108, 0.45);
}

/* ==========================================================================
   VIDEO FOOTER ORGANIC GREEN CURVED WAVE (Exact Reference Design in Green)
   ========================================================================== */
.video-footer-wave,
.video-wave-bottom {
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  line-height: 0 !important;
  z-index: 25 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}
.video-footer-wave .video-footer-wave-svg,
.video-wave-bottom .orthoc-wave-svg {
  display: block !important;
  width: 100% !important;
  height: clamp(75px, 9vw, 120px) !important;
  margin: 0 !important;
  padding: 0 !important;
  filter: drop-shadow(0 -4px 14px rgba(0, 0, 0, 0.25));
}

@media (max-width: 991px) {
  .video-hero-banner-section {
    height: 65vh;
    min-height: 420px;
  }
  .hero-fullscreen-video {
    object-fit: cover !important;
    object-position: center bottom !important;
  }
  .video-controls-overlay {
    bottom: clamp(50px, 8vw, 80px);
    right: 20px;
    gap: 8px;
  }
  .video-control-pill {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .video-footer-wave .video-footer-wave-svg,
  .video-wave-bottom .orthoc-wave-svg {
    height: clamp(55px, 8vw, 85px) !important;
  }
}

@media (max-width: 575px) {
  .video-hero-banner-section {
    height: 52vh;
    min-height: 320px;
  }
  .hero-fullscreen-video {
    object-fit: cover !important;
    object-position: center bottom !important;
  }
  .video-controls-overlay {
    bottom: 35px;
    right: 15px;
    gap: 6px;
  }
  .video-control-pill .control-label {
    display: none;
  }
  .video-control-pill {
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .video-footer-wave .video-footer-wave-svg,
  .video-wave-bottom .orthoc-wave-svg {
    height: clamp(40px, 7vw, 60px) !important;
  }
}

/* Hero Section Container with Medical Teal Gradient */
.orthoc-hero-section {
  position: relative;
  background: linear-gradient(135deg, #0d5e4a 0%, #167e65 35%, #1ca082 70%, #28bea0 100%);
  color: #ffffff;
  padding-top: 110px;
  overflow: hidden;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 3D WebGL Canvas Layer */
.orthoc-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* Atmospheric Glow Orbs */
.orthoc-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orthocGlowFloat 16s ease-in-out infinite alternate;
}
.orthoc-glow-left {
  width: 550px;
  height: 550px;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
}
.orthoc-glow-right {
  width: 650px;
  height: 650px;
  top: 5%;
  right: -5%;
  background: radial-gradient(circle, rgba(40, 190, 160, 0.38) 0%, transparent 70%);
  animation-delay: -8s;
}
@keyframes orthocGlowFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.06); }
  100% { transform: translate(-25px, 25px) scale(0.96); }
}

/* Hero Content Grid */
.orthoc-hero-container {
  position: relative;
  z-index: 2;
  width: min(1340px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  padding-bottom: 25px;
}

/* Eyebrow badge */
.orthoc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dfb76c;
  background: rgba(0, 0, 0, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(223, 183, 108, 0.4);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.orthoc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dfb76c;
  box-shadow: 0 0 10px #dfb76c;
  animation: pulse 2s infinite;
}

/* Bold Uppercase Headline (Exact match to reference) */
.orthoc-hero-title {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #ffffff !important;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* Subtitle paragraph */
.orthoc-hero-desc {
  font-size: clamp(15px, 1.12vw, 17.5px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.94) !important;
  margin-bottom: 34px;
  max-width: 550px;
  font-weight: 400;
}

/* Action Buttons */
.orthoc-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.orthoc-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #167e65 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 34px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  letter-spacing: 0.01em;
}
.orthoc-hero-btn:hover {
  background-color: #f4faf7;
  color: #0d5e4a !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}
.orthoc-hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.orthoc-hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Carousel Slider Dots (Exact match to reference) */
.orthoc-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.orthoc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.orthoc-dot.active {
  width: 26px;
  border-radius: 999px;
  background-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}
.orthoc-dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Doctor Column & 3D Tilt Wrapper */
.orthoc-doctor-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.orthoc-doctor-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.orthoc-doctor-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 570px;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 20px 20px 0 0;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.28));
  display: block;
}

/* Floating 3D Badge on Doctor */
.orthoc-floating-badge {
  position: absolute;
  bottom: 35px;
  left: -20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(223, 183, 108, 0.5);
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16), 0 0 20px rgba(223, 183, 108, 0.25);
  transform: translateZ(40px);
  z-index: 5;
}
.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #167e65 0%, #28bea0 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(22, 126, 101, 0.35);
}
.floating-badge-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.floating-badge-val {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--deep-green);
  line-height: 1.1;
}

/* Dynamic Organic Wave SVG Separator */
.orthoc-wave-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 3;
  margin-top: -2px;
}
.orthoc-wave-svg {
  display: block;
  width: 100%;
  height: clamp(80px, 9vw, 150px);
}

/* ==========================================================================
   "OUR DEPARTMENTS" SECTION (Directly below the wave, matching reference)
   ========================================================================== */
.departments-showcase-section {
  position: relative;
  background-color: #ffffff;
  padding: 40px 0 95px;
  border-bottom: 1px solid var(--line-light);
}
.departments-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.departments-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 50px;
}
.departments-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
@media (max-width: 1280px) and (min-width: 992px) {
  .departments-quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (max-width: 991px) and (min-width: 641px) {
  .departments-quick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .departments-quick-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* St. Joseph Cluny Reference Department Card Design (in Green Color) */
.department-quick-card {
  background: #ffffff;
  border: 1px solid rgba(11, 35, 64, 0.08);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}
.department-quick-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 107, 80, 0.35);
  box-shadow: 0 22px 45px rgba(27, 107, 80, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Card Media Header with Angled Diagonal Slope */
.dept-card-media {
  position: relative;
  height: 185px;
  width: 100%;
}
.dept-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.department-quick-card:hover .dept-card-media img {
  transform: scale(1.08);
}

/* Floating Circular Badge Overlapping the Diagonal Slope in Green */
.dept-floating-icon {
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #1B6B50;
  color: #1B6B50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(27, 107, 80, 0.22), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 4;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
}
.department-quick-card:hover .dept-floating-icon {
  transform: scale(1.12);
  background: #1B6B50;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(27, 107, 80, 0.35);
}

/* Card Body Content */
.dept-card-body {
  padding: 22px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.dept-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B2340;
  margin-top: 4px;
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.3s ease;
}
.department-quick-card:hover .dept-card-title {
  color: #1B6B50;
}
.dept-card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #64748B;
  margin-bottom: 14px;
  padding-right: 38px; /* Room for giant translucent number */
  flex-grow: 1;
}

/* Giant Translucent Number in Bottom-Right Corner (in Green Color) */
.dept-card-num {
  position: absolute;
  right: 18px;
  bottom: 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(27, 107, 80, 0.15);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  transition: color 0.35s ease, transform 0.35s ease;
}
.department-quick-card:hover .dept-card-num {
  color: rgba(27, 107, 80, 0.32);
  transform: scale(1.05) translateY(-2px);
}

/* ==========================================================================
   LUXURY 3D & SCROLL ENGINE UTILITIES
   ========================================================================== */

/* Luxury Cursor Follower */
.luxury-cursor-dot {
  position: fixed;
  top: -4px; left: -4px;
  width: 8px; height: 8px;
  background: #dfb76c;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 0 12px #dfb76c;
}
.luxury-cursor-ring {
  position: fixed;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(223, 183, 108, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  opacity: 0;
  transition: opacity 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 0 20px rgba(223, 183, 108, 0.2);
}
.luxury-cursor-ring.cursor-hover {
  border-color: #dfb76c;
  background-color: rgba(223, 183, 108, 0.15);
  box-shadow: 0 0 30px rgba(223, 183, 108, 0.45);
}
@media (pointer: coarse) {
  .luxury-cursor-dot, .luxury-cursor-ring { display: none !important; }
}

/* Top Luxury Scroll Reading Progress Tracker */
.luxury-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #167e65 0%, #28bea0 40%, #dfb76c 100%);
  z-index: 99999;
  box-shadow: 0 0 12px rgba(223, 183, 108, 0.85);
  transition: width 0.05s linear;
}

/* 3D Tilt Glare Overlay */
[data-tilt-3d] {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.card-3d-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.4s ease;
}

/* Responsive Rules for Reference Banner & Departments */
@media (max-width: 991px) {
  .orthoc-hero-container {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }
  .orthoc-hero-content {
    padding-right: 0;
    max-width: 100%;
    margin-inline: auto;
  }
  .orthoc-hero-desc {
    margin-inline: auto;
  }
  .orthoc-hero-actions {
    justify-content: center;
  }
  .orthoc-slider-dots {
    justify-content: center;
  }
  .orthoc-doctor-img {
    max-width: 380px;
  }
  .orthoc-floating-badge {
    left: 10px;
    bottom: 20px;
  }
  .departments-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .orthoc-hero-title {
    font-size: 32px;
  }
  .departments-quick-grid {
    grid-template-columns: 1fr;
  }
}

