/* ============================================================
   ITM NEST – Senior Care Centre
   Master Stylesheet
   Version: 1.0
   Developed for: ITM Medical Hospital
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (BRAND TOKENS)
   ============================================================ */
:root {
  /* Primary Brand Colors */
  --primary:         #194F46;
  --primary-dark:    #123D36;
  --primary-light:   #2A6B5F;

  /* Secondary / Supporting */
  --secondary:       #6F9583;
  --secondary-light: #8FB5A5;

  /* Backgrounds */
  --sage:            #DDE9E1;
  --cream:           #F8F5EE;
  --warm:            #E8D8B8;
  --warm-light:      #F3ECDC;
  --white:           #FFFFFF;

  /* Text */
  --text-dark:       #24312E;
  --text-muted:      #6A7773;
  --text-light:      #9AB0AA;

  /* Accent */
  --accent:          #B8A070;
  --accent-light:    #D4BC90;

  /* Utility */
  --border-light:    #E0E8E3;
  --shadow-sm:       0 2px 12px rgba(25, 79, 70, 0.08);
  --shadow-md:       0 6px 30px rgba(25, 79, 70, 0.12);
  --shadow-lg:       0 16px 60px rgba(25, 79, 70, 0.15);

  /* Spacing */
  --section-py:      90px;
  --section-py-sm:   60px;
  --container-max:   1440px;

  /* Border Radius */
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;

  /* Transitions */
  --transition:      all 0.35s ease;
  --transition-fast: all 0.2s ease;

  /* Fonts */
  --font-heading:    'Lora', Georgia, serif;
  --font-body:       'Inter', system-ui, sans-serif;
}

/* ============================================================
   2. RESETS & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.eyebrow--light { color: var(--secondary-light); }
.eyebrow--gold  { color: var(--accent-light); }

.section-title {
  margin-bottom: 18px;
}

.section-title + p {
  margin-bottom: 0;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding: var(--section-py) 0;
}

.section--cream   { background-color: var(--cream); }
.section--sage    { background-color: var(--sage); }
.section--warm    { background-color: var(--warm-light); }
.section--dark    { background-color: var(--primary-dark); }
.section--primary { background-color: var(--primary); }

/* Grid helpers */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Spacers */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 52px; /* Senior-friendly touch target */
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  margin-top: 0;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--primary);
  color: var(--white);
  margin-top: 0;
}

.btn--white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn--white:hover,
.btn--white:focus-visible {
  background-color: var(--cream);
  margin-top: 0;
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--gold {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--gold:hover { background-color: var(--accent-light); }

.btn--sm {
  padding: 10px 22px;
  font-size: 0.88rem;
  min-height: 44px;
}

.btn--lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Focus states (accessibility) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo-text .logo-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-text .logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Desktop Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--primary);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  transform: scaleX(1);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.header-phone:hover {
  background: var(--sage);
  border-color: var(--secondary);
}

.header-phone i {
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hamburger:hover { background: var(--sage); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-inner {
  padding: 32px 32px 120px;
}

.mobile-nav-list {
  margin-bottom: 32px;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list li a {
  display: block;
  padding: 18px 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

.mobile-contact-info {
  margin-top: 32px;
  padding: 24px;
  background: var(--sage);
  border-radius: var(--radius-md);
}

.mobile-contact-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mobile-contact-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ============================================================
   7. HERO SECTIONS
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 61, 54, 0.82) 0%, rgba(25, 79, 70, 0.7) 60%, rgba(25, 79, 70, 0.5) 100%);
  z-index: 1;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  max-width: 680px;
  color: var(--white);
}

.page-hero-content .eyebrow { color: var(--warm); }

.page-hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero-content .lead {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* Home Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background-image: url('../images/home/hero-campus.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(18, 61, 54, 0.90) 0%,
    rgba(25, 79, 70, 0.80) 50%,
    rgba(25, 79, 70, 0.45) 100%
  );
  z-index: 1;
}

.home-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
  max-width: 640px;
}

.hero-content .eyebrow {
  color: var(--warm);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--warm);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-top: 20px;
}

.hero-trust-note i {
  color: var(--warm);
  font-size: 1rem;
}

/* Hero Side Card */
.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--warm);
  font-size: 1rem;
}

.hero-stat-item p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.hero-stat-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============================================================
   8. TRUST STRIP / STATS BAR
   ============================================================ */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
  box-shadow: var(--shadow-sm);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--sage);
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.trust-item:hover .trust-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.trust-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.trust-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ============================================================
   9. SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 16px 0;
}

.section-header.centered .section-divider {
  margin: 16px auto;
}

/* ============================================================
   10. SPLIT LAYOUT (IMAGE + TEXT)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}
.split-section.reverse > * {
  direction: ltr;
}

.split-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}

.split-image-wrap:hover img {
  transform: scale(1.02);
}

.split-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-image-badge i {
  font-size: 1.5rem;
  color: var(--primary);
}

.split-image-badge p {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
}

.split-image-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

.split-content .eyebrow { margin-bottom: 10px; }
.split-content h2 { margin-bottom: 20px; }
.split-content p { margin-bottom: 20px; }

.split-highlights {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.split-highlight-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   11. CARE OPTIONS GRID
   ============================================================ */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.care-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.care-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.care-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.care-card:hover::before {
  transform: scaleX(1);
}

.care-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.care-card:hover .care-card-icon {
  background: var(--primary);
  color: var(--white);
}

.care-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.care-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.care-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition-fast);
}

.care-card-link i {
  transition: transform 0.2s ease;
}

.care-card:hover .care-card-link i {
  transform: translateX(4px);
}

/* ============================================================
   12. CIRCLE OF CARE / HEXAGONAL LAYOUT
   ============================================================ */
.care-circle-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.care-pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.care-pillar:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.care-pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.care-pillar:hover .care-pillar-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.care-pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.care-pillar:hover h3 { color: var(--white); }

.care-pillar p {
  font-size: 0.88rem;
  margin: 0;
  transition: var(--transition);
}

.care-pillar:hover p { color: rgba(255,255,255,0.8); }

/* ============================================================
   13. WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.why-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.why-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   14. FACILITIES PREVIEW
   ============================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: start;
}

.facilities-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.facilities-main-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.facilities-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.facility-item:hover {
  background: var(--sage);
  border-color: var(--secondary);
}

.facility-item i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.facility-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================================================
   15. LIFE / LIFESTYLE GALLERY
   ============================================================ */
.life-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 79, 70, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(25, 79, 70, 0.35);
}

.gallery-item-overlay i {
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
}

/* ============================================================
   16. HOSPITAL ECOSYSTEM / FLOW DIAGRAM
   ============================================================ */
.ecosystem-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 380px;
}

.ecosystem-node {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 28px;
  text-align: center;
  width: 100%;
  position: relative;
  transition: var(--transition);
}

.ecosystem-node:hover {
  border-color: var(--primary);
  background: var(--sage);
}

.ecosystem-node.highlight {
  background: var(--primary);
  border-color: var(--primary);
}

.ecosystem-node.highlight h4,
.ecosystem-node.highlight p {
  color: var(--white);
}

.ecosystem-node h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.ecosystem-node p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.ecosystem-arrow {
  width: 2px;
  height: 28px;
  background: var(--border-light);
  position: relative;
}

.ecosystem-arrow::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--border-light);
}

/* ============================================================
   17. DOCTOR / TEAM MESSAGE
   ============================================================ */
.message-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.message-photo {
  position: sticky;
  top: 100px;
}

.message-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.message-photo-caption {
  margin-top: 16px;
  text-align: center;
}

.message-photo-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.message-photo-caption p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.message-content blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.message-content blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--sage);
  display: block;
  line-height: 0.6;
  margin-bottom: 16px;
}

.message-content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ============================================================
   18. FULL-WIDTH CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section .lead {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ============================================================
   19. TIMELINE (Day at ITM NEST)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--sage);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--primary);
}

.timeline-time {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.92rem;
  margin: 0;
}

/* ============================================================
   20. VALUE / APPROACH CARDS
   ============================================================ */
.approach-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.approach-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.approach-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.approach-step:hover .step-number {
  background: var(--primary);
  color: var(--white);
}

.approach-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.approach-step p {
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   21. FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: var(--secondary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  transition: var(--transition-fast);
  min-height: 64px; /* Senior-friendly */
}

.faq-question:hover {
  background: var(--sage);
}

.faq-question h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.5;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  color: var(--text-muted);
}

/* ============================================================
   22. CONTACT / FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text h5 {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  margin-bottom: 6px;
}

.contact-item-text p,
.contact-item-text a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

.contact-item-text a:hover {
  color: var(--warm);
}

/* Admission Form */
.admission-form {
  background: var(--white);
}

.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-body);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sage);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  min-height: 52px; /* Senior-friendly */
  width: 100%;
  appearance: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 79, 70, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d94040;
}

.form-error-msg {
  font-size: 0.82rem;
  color: #d94040;
  display: none;
}

.form-group.has-error .form-error-msg { display: block; }

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.radio-item:hover,
.checkbox-item:hover {
  border-color: var(--secondary);
  background: var(--sage);
}

.radio-item input,
.checkbox-item input {
  min-height: unset;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.radio-item span,
.checkbox-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================================
   23. JOURNEY / PROCESS STEPS
   ============================================================ */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.journey-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.journey-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-circle:hover,
.journey-step:hover .step-circle {
  background: var(--primary);
}

.step-circle i {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.journey-step:hover .step-circle i {
  color: var(--white);
}

.journey-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.journey-step p {
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   24. FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-logo img {
  filter: brightness(0) invert(1);
  height: 44px;
}

.footer-brand .logo-text .logo-name { color: var(--white); }
.footer-brand .logo-text .logo-tagline { color: var(--secondary-light); }

.footer-brand-desc {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 280px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--warm);
  font-size: 0.95rem;
  margin-top: 12px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--warm);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-item p,
.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.footer-contact-item a:hover { color: var(--white); }

.footer-cta {
  margin-top: 24px;
}

.footer-cta .btn {
  width: 100%;
  justify-content: center;
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-cta .btn:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   25. FLOATING CTA / STICKY BOTTOM BAR
   ============================================================ */
/* Desktop floating "Book a Visit" pill */
.float-cta {
  position: fixed;
  bottom: 40px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-decoration: none;
}

.float-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.float-cta-btn i {
  font-size: 1rem;
}

/* Mobile sticky bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 12px 16px;
  z-index: 900;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-sticky-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 16px;
}

/* ============================================================
   26. LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ============================================================
   27. SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .care-card, .trust-item, .gallery-item img {
    transition: none;
  }
}

/* ============================================================
   28. PAGE-SPECIFIC HELPERS
   ============================================================ */
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; }

/* Inline link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.link-arrow i { transition: transform 0.2s; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow--white { color: var(--white); }

/* Tag / Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
}

.badge--primary { background: var(--sage); color: var(--primary); }
.badge--warm    { background: var(--warm); color: var(--accent); }

/* Disclaimer / Client Confirm note (visually hidden on live site) */
.client-confirm-note {
  display: none; /* Hidden on frontend; visible in source comments */
}

/* Image Frame (decorative) */
.img-frame {
  position: relative;
}

.img-frame::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  background: var(--sage);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Accent line decorator */
.accent-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.accent-line span {
  display: block;
  height: 2px;
  border-radius: 2px;
}

.accent-line span:first-child {
  width: 40px;
  background: var(--primary);
}

.accent-line span:last-child {
  width: 20px;
  background: var(--accent);
}

/* Vision/Mission card */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vision-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.vision-card.vision {
  background: var(--primary);
  color: var(--white);
}

.vision-card.mission {
  background: var(--white);
  border: 2px solid var(--primary);
}

.vision-card .eyebrow {
  color: var(--warm);
}

.vision-card.mission .eyebrow {
  color: var(--secondary);
}

.vision-card h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.vision-card.mission h3 {
  color: var(--primary);
}

.vision-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.vision-card.mission p {
  color: var(--text-muted);
}

.vision-card ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vision-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

.vision-card.mission ul li {
  color: var(--text-muted);
}

.vision-card ul li i {
  color: var(--warm);
  margin-top: 4px;
  flex-shrink: 0;
}

.vision-card.mission ul li i {
  color: var(--primary);
}

/* Team profile cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img {
  transform: scale(1.04);
}

.team-card-img-wrap {
  overflow: hidden;
}

.team-card-body {
  padding: 24px;
}

.team-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card-body .qualification {
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card-body .specialty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Head doctor card (larger) */
.team-head-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--sage);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}

.team-head-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}

.team-head-content {
  padding: 48px 48px 48px 0;
}

.team-head-content .eyebrow { margin-bottom: 8px; }
.team-head-content h3 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.team-head-content .designation {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
}

.team-head-content blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.6;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin-bottom: 20px;
}

/* Facilities cards */
.facility-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.facility-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-card-img {
  transform: scale(1.04);
}

.facility-card-img-wrap { overflow: hidden; }

.facility-card-body {
  padding: 24px;
}

.facility-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.facility-card-body p {
  font-size: 0.9rem;
  margin: 0;
}

/* Alert / Notice block */
.notice-block {
  background: var(--warm-light);
  border: 1px solid var(--warm);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.notice-block i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.notice-block p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin: 0;
}

/* Horizontal scrolling activities */
.activity-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.activity-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 120px;
  transition: var(--transition);
  flex-shrink: 0;
  text-align: center;
}

.activity-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.activity-pill i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.activity-pill:hover i { color: var(--white); }

.activity-pill span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.activity-pill:hover span { color: var(--white); }

/* Masonry gallery for facilities */
.masonry-gallery {
  columns: 3;
  column-gap: 16px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.04);
}

/* Hospital ecosystem layout on page */
.ecosystem-section-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

/* Care service category block */
.service-category {
  margin-bottom: 80px;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.service-category-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-category-header h3 {
  font-size: 1.4rem;
  margin: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-list-item:hover {
  border-color: var(--secondary);
  background: var(--sage);
}

.service-list-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-list-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.service-list-item p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   29. UTILITY — VISUALLY HIDDEN (ACCESSIBILITY)
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   30. PLACEHOLDER IMAGES STYLING
   ============================================================ */
.img-placeholder {
  background: var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  min-height: 200px;
}

.img-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ============================================================
   End of style.css
   ============================================================ */

/* UI/UX Pro Max Enhancements */
.section-premium {
    padding: 100px 0;
}
@media (max-width: 768px) {
    .section-premium { padding: 60px 0; }
}

.intro-image-wrapper {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}
.intro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.intro-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 280px;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 1024px) {
    .intro-badge {
        bottom: 20px;
        right: 20px;
    }
}
@media (max-width: 768px) {
    .intro-image-wrapper { min-height: 350px; }
    .intro-badge { display: none; /* Hide complex overlapping on mobile to keep it clean */ }
}

.text-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-content-wrapper h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--primary-dark);
}
.text-content-wrapper p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.premium-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.premium-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}
.premium-list i {
    color: var(--primary);
    background: var(--sage);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
}

/* Home Page Specific Container Styles */
.home-page {
  --container-max: 1440px;
}
.home-page .container,
.home-page .header-inner {
  padding-left: 50px;
  padding-right: 50px;
}
/* ============================================================
   SERVICES OVERVIEW SECTION (UI/UX PRO MAX)
   ============================================================ */
.services-overview {
  position: relative;
  background-color: #faf9f6; /* Warm ivory/cream */
  overflow: hidden;
  padding: 100px 0;
}
.bg-botanical {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.bg-botanical.left {
  top: 10%;
  left: -5%;
  width: 400px;
}
.bg-botanical.right {
  top: 5%;
  right: -2%;
  width: 250px;
}

.overview-heading-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 4rem;
}
.overview-eyebrow {
  font-family: var(--font-heading);
  color: #b59b5a; /* Muted gold */
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  display: block;
}
.overview-heading-wrap h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.overview-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}
.overview-divider::before, .overview-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background-color: #b59b5a;
  opacity: 0.6;
}
.overview-divider i {
  color: #b59b5a;
  font-size: 1.2rem;
}
.overview-desc {
  max-width: 650px;
  margin: 0 auto;
  color: #4a5568;
  font-size: 1.15rem;
  line-height: 1.7;
}

.services-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .services-grid-9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .services-grid-9 { grid-template-columns: 1fr; }
}

.service-card-hz {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.8);
}
.service-card-hz:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: rgba(25, 79, 70, 0.1);
}
.service-card-hz-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--sage);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #f4f7f5;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.service-card-hz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card-hz:hover .service-card-hz-img img {
  transform: scale(1.1);
}
.service-card-hz-content h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  font-weight: 700;
}
.service-card-hz-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.trust-banner-hz {
  background: linear-gradient(135deg, #eef3f0 0%, #faf9f6 100%);
  border-radius: 24px;
  padding: 3rem 4rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(25, 79, 70, 0.05);
}
.trust-banner-hz i.main-icon {
  font-size: 3.5rem;
  color: var(--primary);
  background: white;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.trust-banner-hz h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.trust-banner-hz h3 span {
  color: #b59b5a;
  font-style: italic;
}
@media (max-width: 768px) {
  .trust-banner-hz { 
    flex-direction: column; 
    text-align: center; 
    padding: 2.5rem 2rem; 
    gap: 1.5rem;
  }
  .trust-banner-hz h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
}


@media (min-width: 992px) {
  .trust-banner-hz h3 {
    white-space: nowrap;
    font-size: 1.65rem;
  }
}
@media (max-width: 991px) {
  .trust-banner-hz h3 {
    white-space: normal;
  }
}


/* Fix for .feature-list items hanging indent */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.feature-list li i {
  margin-right: 0.6rem;
  font-size: 0.45rem;
  flex-shrink: 0;
  margin-top: 0;
}






