/* ==========================================================================
   Rehoboth Occupational Therapy — "Journeying Together" Design System
   NDIS-Familiar Palette (Deep Purple #4A2574, Gold #E59819, Growth Green #2B9348)
   ========================================================================== */

:root {
  /* Core NDIS-Familiar Brand Palette */
  --ndis-purple: #4A2574;          /* Official NDIS Deep Regal Purple */
  --ndis-purple-dark: #331554;     /* Deep Night Plum for headers & footers */
  --ndis-purple-light: #6B3B9E;    /* Vibrant Purple for badges & links */
  --ndis-purple-soft: #F3ECF8;     /* Reassuring soft lavender card tint */
  --ndis-purple-border: #E0D2EC;

  --ndis-gold: #D98200;           /* Warm NDIS Gold/Amber (High AAA Contrast) */
  --ndis-gold-hover: #BF7000;
  --ndis-gold-light: #F5B041;
  --ndis-gold-soft: #FEF8ED;
  --ndis-gold-border: #FBE6C2;

  --ndis-green: #238B45;          /* NDIS Growth Green (Dot on the 'i') */
  --ndis-green-soft: #EBF7EE;
  --ndis-green-border: #C8E8D0;

  --ndis-teal: #0E7490;           /* Accessible Clinical Teal Accent */
  --ndis-teal-soft: #E6F6F9;
  --teal-primary: #0D9488;        /* Vibrant Clinical Teal */
  --teal-dark: #0F766E;
  --teal-light: #5EEAD4;
  --teal-soft: #E6F6F9;

  --coral-accent: #C2410C;        /* Warm terracotta touch */
  --coral-soft: #FFEDE5;

  /* Surfaces & Backgrounds */
  --bg-canvas: #FAF8FC;          /* Soothing Natural Lavender-White Sand */
  --bg-surface: #FFFFFF;         /* Crisp White Surface */
  --bg-subtle: #F2ECF7;          /* Soft Purple Border/Tint */
  --bg-card-hover: #FAF7FD;

  /* Text & Contrast (WCAG AAA compliant) */
  --text-main: #1C1226;          /* Deep Plum Charcoal */
  --text-body: #392E45;          /* Soft Charcoal */
  --text-muted: #5E536B;         /* Slate Lavender */
  --text-subtle: #897E96;
  --text-inverse: #FFFFFF;

  /* Borders & Focus */
  --border-subtle: #E8E0F0;
  --border-card: #E4DBED;
  --border-focus: #4A2574;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(74, 37, 116, 0.04);
  --shadow-sm: 0 3px 12px rgba(74, 37, 116, 0.06);
  --shadow-md: 0 10px 30px rgba(74, 37, 116, 0.09);
  --shadow-lg: 0 20px 50px rgba(74, 37, 116, 0.13);
  --shadow-video: 0 24px 60px -8px rgba(51, 21, 84, 0.28);
  --shadow-pill: 0 4px 14px rgba(74, 37, 116, 0.18);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--ndis-purple);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ndis-purple-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 20px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Notification Strip
   ========================================================================== */
.top-strip {
  background: var(--ndis-purple-dark);
  color: #F1E8F8;
  padding: 9px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-ring 2s infinite ease-in-out;
}
@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  transition: opacity 0.2s;
}
.top-contacts a:hover {
  opacity: 0.85;
}
.divider-dot {
  opacity: 0.35;
}

/* ==========================================================================
   Header & Sticky Navigation (Modern, Sleek & Single-Line)
   ========================================================================== */
header.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

header.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(51, 21, 84, 0.06);
}


.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 12px;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--ndis-purple) 0%, var(--ndis-purple-dark) 100%);
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(74, 37, 116, 0.25);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.brand-link:hover .brand-badge {
  transform: scale(1.05);
}

.brand-info h1 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ndis-purple-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-info span {
  font-size: 0.65rem;
  color: var(--ndis-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-menu a {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.2s ease;
  padding: 5px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--ndis-purple);
  background: var(--ndis-purple-soft);
}

.mobile-only-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.835rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(74, 37, 116, 0.22);
}

.mobile-toggle-btn {
  display: none;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.2rem;
  color: var(--ndis-purple-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-toggle-btn:hover {
  background: var(--ndis-purple-soft);
}

/* ==========================================================================
   Buttons & UI Elements (NDIS Familiar)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.2;
  white-space: nowrap;
}

/* Primary NDIS Purple Action */
.btn-teal,
.btn-purple {
  background: var(--ndis-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(74, 37, 116, 0.28);
}
.btn-teal:hover,
.btn-purple:hover {
  background: var(--ndis-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 37, 116, 0.38);
}

/* Warm NDIS Gold CTA */
.btn-coral,
.btn-gold {
  background: var(--ndis-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 130, 0, 0.28);
}
.btn-coral:hover,
.btn-gold:hover {
  background: var(--ndis-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 130, 0, 0.38);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--ndis-purple);
  border-color: var(--border-subtle);
}
.btn-outline:hover {
  background: var(--ndis-purple-soft);
  border-color: var(--ndis-purple);
  color: var(--ndis-purple-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8125rem;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 48px;
}
.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ndis-gold);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: var(--ndis-purple-dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-block {
  padding: 88px 0;
  position: relative;
}

/* ==========================================================================
   Hero Section ("Journeying Together" Split Hero with 16:9 Video)
   ========================================================================== */
.hero-section {
  padding: 36px 0 54px;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, #FFFFFF 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid var(--ndis-purple-border);
}

.hero-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--ndis-purple-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-copy h2 span.theme-highlight {
  color: var(--ndis-gold);
  font-style: italic;
  display: block;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item i {
  color: var(--ndis-gold);
  font-size: 0.95rem;
}

/* 16:9 Hero Video Frame */
.hero-video-wrapper {
  position: relative;
}

.video-card-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-video);
  position: relative;
}

.video-frame-16-9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1C1226;
  position: relative;
}

.video-frame-16-9 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Live Tag */
.video-live-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(51, 21, 84, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Video Control Buttons */
.video-controls-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.v-ctrl-btn {
  background: rgba(51, 21, 84, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.v-ctrl-btn:hover {
  background: var(--ndis-gold);
  color: #FFFFFF;
  border-color: var(--ndis-gold);
}

/* Video Chapter / Activity Chips Strip */
.activity-chips-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.activity-chip {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.activity-chip:hover {
  transform: translateY(-2px);
  border-color: var(--ndis-purple);
  background: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

.activity-chip-icon {
  font-size: 1.1rem;
  margin-bottom: 2px;
  display: block;
}

.activity-chip h4 {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.activity-chip span {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   Empathy Reassurance Ribbon
   ========================================================================== */
.empathy-ribbon {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 0;
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ribbon-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ribbon-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ribbon-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.ribbon-card p {
  font-size: 0.8375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Interactive Support Navigator ("Where is your family on this journey?")
   ========================================================================== */
.navigator-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.navigator-tab-bar {
  display: flex;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-tab-trigger {
  flex: 1;
  min-width: 190px;
  padding: 18px 16px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.nav-tab-trigger i {
  font-size: 1.05rem;
}

.nav-tab-trigger.active {
  background: var(--bg-surface);
  color: var(--ndis-purple);
  border-bottom-color: var(--ndis-purple);
  font-weight: 700;
}

.nav-tab-trigger:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
}

.navigator-content-body {
  padding: 44px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-text-main h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ndis-purple-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.tab-text-main p {
  font-size: 0.975rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tab-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-main);
  font-weight: 600;
}
.benefit-item i {
  color: var(--ndis-green);
  margin-top: 4px;
  font-size: 0.9rem;
}

.tab-sidebar-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.tab-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ndis-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.tab-sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ndis-purple-dark);
  margin-bottom: 10px;
}

.tab-sidebar-card p {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tab-sidebar-meta {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ndis-purple);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Interactive Support Finder (Dedicated 2-Column Desktop / Responsive)
   ========================================================================== */
.support-finder-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 36px;
}

.support-finder-sidebar {
  position: sticky;
  top: 90px;
}

.support-finder-sidebar .nav-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface);
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.support-finder-sidebar .nav-tab-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.support-finder-sidebar .nav-tab-trigger i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--ndis-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.support-finder-sidebar .nav-tab-trigger span {
  flex: 1;
  line-height: 1.35;
}

.support-finder-sidebar .nav-tab-trigger:hover:not(.active) {
  background: rgba(74, 37, 116, 0.05);
  color: var(--ndis-purple-dark);
  transform: translateX(3px);
}

.support-finder-sidebar .nav-tab-trigger:hover:not(.active) i {
  background: rgba(74, 37, 116, 0.12);
  color: var(--ndis-purple);
}

.support-finder-sidebar .nav-tab-trigger.active {
  background: var(--ndis-purple);
  color: #FFFFFF;
  font-weight: 700;
  border-color: var(--ndis-purple);
  box-shadow: 0 4px 14px rgba(74, 37, 116, 0.22);
}

.support-finder-sidebar .nav-tab-trigger.active i {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Support Finder Panels */
.support-finder-content .tab-panel {
  display: none;
}

.support-finder-content .tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  align-items: stretch;
}

.tab-main-card {
  display: flex;
  flex-direction: column;
}

.tab-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ndis-purple);
  background: var(--bg-subtle);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}

.tab-category-badge i {
  color: var(--ndis-gold);
}

.tab-main-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ndis-purple-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.tab-main-card p {
  font-size: 0.975rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tab-feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.tab-fbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-canvas);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-main);
}

.tab-fbox i {
  color: var(--ndis-teal);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.tab-fbox strong {
  color: var(--text-main);
  font-weight: 700;
}

.support-finder-content .tab-sidebar-card {
  background: linear-gradient(145deg, #FAF8FC 0%, #F4EEF8 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(74, 37, 116, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-finder-content .tab-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ndis-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.support-finder-content .tab-sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ndis-purple-dark);
  margin-bottom: 10px;
}

.support-finder-content .tab-sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Responsive Support Finder */
@media (max-width: 1024px) {
  .support-finder-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-finder-sidebar {
    position: static;
  }

  .support-finder-sidebar .nav-tabs-list {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    gap: 8px;
    border-radius: var(--radius-lg);
    scrollbar-width: none;
  }

  .support-finder-sidebar .nav-tabs-list::-webkit-scrollbar {
    display: none;
  }

  .support-finder-sidebar .nav-tab-trigger {
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .support-finder-sidebar .nav-tab-trigger:hover:not(.active) {
    transform: none;
  }

  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .tab-content-grid {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .tab-main-card h3 {
    font-size: 1.35rem;
  }

  .tab-fbox {
    padding: 12px 14px;
    font-size: 0.875rem;
  }

  .support-finder-content .tab-sidebar-card {
    padding: 20px;
  }
}

/* ==========================================================================
   4-Stage "Journeying Together" Care Roadmap
   ========================================================================== */
.journey-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.journey-step-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journey-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ndis-purple);
}

.journey-step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ndis-purple);
  line-height: 1;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-step-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--ndis-gold-soft);
  color: var(--ndis-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.journey-step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ndis-purple-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.journey-step-card p {
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.step-reassurance {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--ndis-green);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Specialised Paediatric Programs Matrix
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ndis-purple);
}

.program-card.highlighted {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--ndis-purple-soft) 100%);
  border: 2px solid var(--ndis-purple);
}

.program-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.cert-tag {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.program-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.program-bullets {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}
.program-bullets li i {
  color: var(--ndis-green);
  font-size: 0.8rem;
}

.program-card-action {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.program-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ndis-purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.program-link:hover {
  gap: 10px;
  color: var(--ndis-gold);
}

/* ==========================================================================
   Therapist Profile Spotlight
   ========================================================================== */
.therapist-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.therapist-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.therapist-image-box {
  position: relative;
}

.therapist-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background: var(--bg-subtle);
}

.therapist-portrait img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.therapist-reg-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: var(--ndis-purple-dark);
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.therapist-reg-badge strong {
  display: block;
  color: #A7F3D0;
  font-size: 0.95rem;
}

.therapist-reg-badge span {
  font-size: 0.8rem;
  color: #F1E8F8;
}

.therapist-details h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--ndis-purple-dark);
  margin-bottom: 6px;
}

.therapist-role-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--ndis-gold);
  margin-bottom: 20px;
  display: block;
}

.therapist-bio-p {
  font-size: 0.975rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 32px;
}

.cred-pill {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cred-pill i {
  color: var(--ndis-purple);
  font-size: 1rem;
}

.therapist-quote-box {
  background: var(--ndis-gold-soft);
  border-left: 4px solid var(--ndis-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 0.925rem;
  color: var(--ndis-gold-hover);
  margin-bottom: 28px;
}

/* ==========================================================================
   NDIS & Funding Stress-Free Guide
   ========================================================================== */
.funding-section {
  background: var(--ndis-purple-dark);
  color: #FFFFFF;
  padding: 88px 0;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.funding-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all 0.25s ease;
}

.funding-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ndis-gold-light);
  transform: translateY(-3px);
}

.funding-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.funding-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.funding-card p {
  font-size: 0.9rem;
  color: #F1E8F8;
  line-height: 1.65;
  margin-bottom: 18px;
}

.funding-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 700;
  color: #FCD34D;
}

/* ==========================================================================
   Parent Stories & Testimonials
   ========================================================================== */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  position: relative;
}

.testimonials-slide {
  display: none;
  animation: testiSlideIn 0.4s ease forwards;
}

.testimonials-slide.active {
  display: block;
}

@keyframes testiSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  background: #fff;
  color: var(--ndis-purple);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.testimonials-nav-btn:hover {
  background: var(--ndis-purple);
  color: #fff;
  border-color: var(--ndis-purple);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--border-card);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.testimonials-dot.active {
  background: var(--ndis-purple);
  width: 28px;
  border-radius: 5px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stars-group {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-meta h5 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-meta span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Parent FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--ndis-purple);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-question-btn i {
  color: var(--ndis-purple);
  transition: transform 0.25s ease;
  font-size: 0.95rem;
}

.faq-item.active .faq-question-btn i {
  transform: rotate(180deg);
}

.faq-answer-panel {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer-panel {
  display: block;
}

/* ==========================================================================
   Empathetic Intake & Appointment Form (Resend API Ready)
   ========================================================================== */
.intake-section {
  padding: 88px 0;
  background: var(--bg-canvas);
}

.intake-frame-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}

.intake-sidebar {
  background: linear-gradient(180deg, var(--ndis-purple) 0%, var(--ndis-purple-dark) 100%);
  color: #FFFFFF;
  padding: 52px 42px;
}

.intake-sidebar h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.15;
}

.intake-sidebar p {
  font-size: 0.975rem;
  color: #F1E8F8;
  line-height: 1.65;
  margin-bottom: 34px;
}

.intake-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.9rem;
}

.contact-row-item i {
  color: #FCD34D;
  margin-top: 3px;
  font-size: 1.1rem;
}

.contact-row-item strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.contact-row-item span {
  color: #F1E8F8;
  font-size: 0.85rem;
}

.intake-form-side {
  padding: 52px 44px;
  background: #FFFFFF;
}

.intake-form-side h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--ndis-purple-dark);
  margin-bottom: 6px;
}

.intake-form-side p.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.form-grid-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  color: var(--text-main);
  font-size: 0.925rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--ndis-purple);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(74, 37, 116, 0.15);
}

.form-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.radio-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-card-label:hover {
  border-color: var(--ndis-purple);
}

.radio-card-label input[type="radio"]:checked + span {
  color: var(--ndis-purple);
  font-weight: 700;
}

.checkbox-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chip-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-checkbox-label:hover {
  border-color: var(--ndis-purple);
}

.chip-checkbox-label input[type="checkbox"]:checked ~ span {
  color: var(--ndis-purple);
  font-weight: 700;
}

/* Field Validation Feedback */
.form-control.is-invalid {
  border-color: #DE5844 !important;
  background-color: #FFF8F7 !important;
  box-shadow: 0 0 0 3px rgba(222, 88, 68, 0.15) !important;
}

.field-error-msg {
  display: none;
  font-size: 0.775rem;
  color: #C2410C;
  margin-top: 5px;
  font-weight: 600;
  line-height: 1.35;
}

.field-error-msg.visible {
  display: block;
}

/* Submission Feedback Banner */
.form-feedback-banner {
  display: none;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.925rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.form-feedback-banner.success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--ndis-green-soft);
  border: 1px solid var(--ndis-green-border);
  color: var(--ndis-green);
}

.form-feedback-banner.error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--coral-soft);
  border: 1px solid rgba(194, 65, 12, 0.3);
  color: var(--coral-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--ndis-purple-dark);
  color: #D3C5E5;
  padding: 72px 0 36px;
  font-size: 0.875rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 54px;
}

.footer-top-grid h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  color: #D3C5E5;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: #FCD34D;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}
.footer-contact-item i {
  color: #FCD34D;
  margin-top: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.ack-country {
  color: #B5A4CB;
  font-size: 0.775rem;
  line-height: 1.5;
  margin-top: 8px;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile/Tablet Excellence
   ========================================================================== */

/* Prevent horizontal overflow on mobile viewports without breaking position: sticky */
html, body {
  overflow-x: clip;
  width: 100%;
}

/* --------------------------------------------------------------------------
   TABLET & SMALL LAPTOPS (max-width: 1080px)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    text-align: left;
    max-width: 760px;
    margin: 0 auto;
  }
  .hero-video-wrapper {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }

  .therapist-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
    gap: 36px;
  }
  .therapist-portrait {
    max-width: 380px;
    margin: 0 auto 16px;
  }
  .therapist-portrait img {
    height: 360px;
  }

  .intake-frame-card {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .programs-grid,
  .journey-roadmap-grid,
  .funding-grid,
  .testimonials-grid,
  .ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .activity-chips-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   COMPACT LAPTOP NAV OPTIMIZATION (max-width: 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .nav-menu {
    gap: 3px;
  }
  .nav-menu a {
    font-size: 0.8125rem;
    padding: 6px 7px;
  }
  .brand-info h1 {
    font-size: 1.15rem;
  }
  .brand-info span {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   NAVIGATION COLLAPSE (max-width: 1180px)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .top-strip-inner {
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .nav-menu {
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 20px 24px 28px;
    border-bottom: 2px solid var(--ndis-purple-border);
    box-shadow: 0 16px 36px rgba(51, 21, 84, 0.16);
    border-radius: 0 0 20px 20px;
    gap: 8px;
    z-index: 999;
    animation: slideDownMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.open li {
    width: 100%;
  }

  .nav-menu.open a {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-canvas);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
    width: 100%;
  }

  .nav-menu.open a:hover,
  .nav-menu.open a.active {
    background: var(--ndis-purple-soft);
    color: var(--ndis-purple);
    border-color: var(--ndis-purple-border);
  }

  .nav-menu.open .mobile-only-cta {
    display: block;
    width: 100%;
    margin-top: 6px;
  }

  .nav-menu.open .mobile-only-cta a {
    background: var(--ndis-gold);
    color: #FFFFFF;
    border-color: var(--ndis-gold);
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 130, 0, 0.28);
  }

  .nav-menu.open .mobile-only-cta a:hover {
    background: var(--ndis-gold-hover);
    color: #FFFFFF;
  }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   PORTRAIT TABLETS & LARGE PHONES (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding: 0 20px;
  }

  .section-block {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: clamp(1.8rem, 5.5vw, 2.3rem);
    line-height: 1.22;
  }

  .section-desc {
    font-size: 0.975rem;
    line-height: 1.65;
  }

  .top-strip {
    font-size: 0.775rem;
    padding: 8px 0;
  }
  .top-strip-inner {
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .hero-section {
    padding: 28px 0 46px;
  }

  .hero-copy h2 {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-trust-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 16px;
  }

  .trust-item {
    background: var(--bg-surface);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    width: 100%;
  }

  .activity-chips-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .programs-grid,
  .journey-roadmap-grid,
  .funding-grid,
  .testimonials-grid,
  .ribbon-grid,
  .footer-top-grid,
  .form-grid-duo,
  .credentials-grid,
  .form-radio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ribbon-card {
    padding: 16px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
  }

  .navigator-container {
    border-radius: 18px;
  }

  .navigator-tab-bar {
    padding: 8px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tab-trigger {
    min-width: 150px;
    padding: 11px 14px;
    font-size: 0.8375rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: #FFFFFF;
  }

  .nav-tab-trigger.active {
    background: var(--ndis-purple);
    color: #FFFFFF;
    border-color: var(--ndis-purple);
  }

  .navigator-content-body {
    padding: 24px 18px;
  }

  .tab-text-main h3 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .tab-text-main .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .tab-sidebar-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .therapist-details h2 {
    font-size: 1.85rem;
  }
  .therapist-details .btn {
    width: 100%;
    justify-content: center;
  }

  .intake-sidebar, 
  .intake-form-side {
    padding: 28px 20px;
  }
  .intake-sidebar h3 {
    font-size: 1.65rem;
  }
  .intake-form-side h3 {
    font-size: 1.55rem;
  }

  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on mobile iOS Safari */
    padding: 13px 14px;
    border-radius: 10px;
  }

  .radio-card-label {
    padding: 13px 14px;
    min-height: 48px;
    border-radius: 10px;
  }

  .checkbox-chips-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .chip-checkbox-label {
    padding: 12px 14px;
    min-height: 46px;
    border-radius: 10px;
    width: 100%;
  }

  #intakeSubmitBtn {
    min-height: 52px;
    font-size: 1.05rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   SMARTPHONES (max-width: 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .top-strip {
    font-size: 0.725rem;
    padding: 6px 0;
  }

  .top-strip-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .top-contacts {
    gap: 12px;
    font-size: 0.725rem;
  }

  header.site-header {
    height: 66px;
  }

  .nav-container {
    height: 66px;
  }

  .brand-badge {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .brand-info h1 {
    font-size: 1.15rem;
  }
  .brand-info span {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }

  /* Keep header spacious and uncluttered on mobile */
  .nav-actions .btn {
    display: none;
  }

  .hero-section {
    padding: 20px 0 36px;
  }

  .hero-kicker-pill {
    font-size: 0.725rem;
    padding: 5px 12px;
    margin-bottom: 12px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-copy h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .video-card-container {
    padding: 8px;
    border-radius: 14px;
  }

  .video-live-overlay {
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .video-controls-overlay {
    bottom: 10px;
    right: 10px;
    gap: 6px;
  }

  .v-ctrl-btn {
    padding: 5px 10px;
    font-size: 0.725rem;
  }

  .activity-chip {
    padding: 8px 4px;
    min-height: 48px;
  }
  .activity-chip-icon {
    font-size: 1rem;
  }
  .activity-chip h4 {
    font-size: 0.7rem;
  }

  .therapist-portrait img {
    height: 280px;
  }

  .intake-sidebar, 
  .intake-form-side {
    padding: 24px 16px;
  }

  .faq-question-btn {
    padding: 15px 14px;
    font-size: 0.9rem;
  }

  .faq-answer-panel {
    padding: 0 14px 16px;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   STORY SLIDESHOW ("Therapy in Action: Stories of Growth")
   ========================================================================== */
.story-slideshow-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-surface) 100%);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

.story-slideshow-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Main Display Card */
.story-slide-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ndis-purple-border);
  box-shadow: 0 20px 48px rgba(51, 21, 84, 0.08);
  overflow: hidden;
  position: relative;
}

.story-slides-track {
  position: relative;
  width: 100%;
}

.story-slide {
  display: none !important;
  width: 100%;
}

.story-slide.active {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr;
  animation: fadeInStorySlide 0.32s ease forwards;
}

@keyframes fadeInStorySlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image Presentation Column */
.story-slide-media {
  position: relative;
  background: #1B0F2A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-slide-media img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.story-slide-media:hover img {
  transform: scale(1.02);
}

.story-media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(51, 21, 84, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Content & Narrative Column */
.story-slide-content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.story-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.story-step-pill {
  background: var(--ndis-gold-soft);
  color: var(--ndis-gold-hover);
  font-size: 0.775rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-focus-pill {
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.story-slide-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-family: var(--font-display);
  color: var(--ndis-purple-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.story-slide-narrative {
  color: var(--text-main);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.story-milestone-box {
  background: var(--bg-canvas);
  border-left: 4px solid var(--ndis-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-bottom: 28px;
}

.story-milestone-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ndis-gold-hover);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-milestone-text {
  font-size: 0.8875rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.45;
}

/* Control Toolbar */
.story-nav-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: auto;
}

.story-counter {
  font-size: 0.8875rem;
  font-weight: 700;
  color: var(--text-muted);
}

.story-counter strong {
  color: var(--ndis-purple);
  font-size: 1.05rem;
}

.story-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  color: var(--ndis-purple-dark);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-nav-btn:hover {
  background: var(--ndis-purple);
  color: #FFFFFF;
  border-color: var(--ndis-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.story-autoplay-toggle {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.story-autoplay-toggle:hover,
.story-autoplay-toggle.playing {
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  border-color: var(--ndis-purple-border);
}

/* Horizontal Thumbnail Carousel Strip */
.story-thumbnails-wrapper {
  margin-top: 24px;
  position: relative;
}

.story-thumbnails-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.story-thumbnails-strip::-webkit-scrollbar {
  height: 6px;
}

.story-thumbnails-strip::-webkit-scrollbar-track {
  background: var(--bg-surface);
  border-radius: 3px;
}

.story-thumbnails-strip::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.story-thumb-card {
  flex: 0 0 130px;
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: left;
}

.story-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(74, 37, 116, 0.12);
  border-color: var(--ndis-purple-border);
}

.story-thumb-card.active {
  border-color: var(--ndis-purple);
  box-shadow: 0 0 0 2px var(--ndis-gold), 0 8px 20px rgba(74, 37, 116, 0.18);
  transform: translateY(-3px);
}

.story-thumb-img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.story-thumb-meta {
  padding: 6px 8px 8px;
}

.story-thumb-num {
  font-size: 0.675rem;
  font-weight: 800;
  color: var(--ndis-gold-hover);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.story-thumb-label {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ==========================================================================
   Hero Story Slideshow (Above-The-Fold Layout)
   ========================================================================== */
.hero-slideshow-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-slideshow-wrapper .story-slideshow-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-slideshow-wrapper .story-slide-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ndis-purple-border);
  box-shadow: 0 16px 42px rgba(51, 21, 84, 0.09);
  overflow: hidden;
  position: relative;
}

.hero-slideshow-wrapper .story-slide.active {
  display: flex !important;
  flex-direction: column;
  animation: fadeInStorySlide 0.32s ease forwards;
}

.hero-slideshow-wrapper .story-slide-media {
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 440px;
  position: relative;
  overflow: hidden;
  background: #1B0F2A;
}

.hero-slideshow-wrapper .story-slide-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-slideshow-wrapper .story-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-slideshow-wrapper .story-slide-content {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.hero-slideshow-wrapper .story-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-slideshow-wrapper .story-slide-title {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--ndis-purple-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-slideshow-wrapper .story-slide-narrative {
  font-size: 0.8875rem;
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slideshow-wrapper .story-milestone-box {
  padding: 8px 12px;
  margin-bottom: 14px;
  background: var(--bg-canvas);
  border-left: 3px solid var(--ndis-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-slideshow-wrapper .story-milestone-label {
  font-size: 0.7rem;
  margin-bottom: 2px;
}

.hero-slideshow-wrapper .story-milestone-text {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hero-slideshow-wrapper .story-nav-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.hero-slideshow-wrapper .story-thumbnails-wrapper {
  margin-top: 12px;
}

.hero-slideshow-wrapper .story-thumbnails-strip {
  gap: 8px;
  padding: 4px 2px 8px;
}

.hero-slideshow-wrapper .story-thumb-card {
  flex: 0 0 78px;
  width: 78px;
  padding: 4px;
}

.hero-slideshow-wrapper .story-thumb-img {
  height: 48px;
  border-radius: 4px;
}

.hero-slideshow-wrapper .story-thumb-meta {
  padding: 3px 0 0;
}

.hero-slideshow-wrapper .story-thumb-num {
  font-size: 0.65rem;
}

.hero-slideshow-wrapper .story-thumb-label {
  font-size: 0.65rem;
}

/* ==========================================================================
   Video Theater Section ("Therapy in Action: Watch Our Clinical Sessions")
   ========================================================================== */
.video-theater-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-surface) 100%);
  padding: 88px 0 96px;
  position: relative;
  overflow: clip;
}

.video-theater-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.video-theater-wrapper .video-card-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--ndis-purple-border);
  box-shadow: 0 20px 48px rgba(51, 21, 84, 0.1);
  position: relative;
}

.video-theater-wrapper .video-frame-16-9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1C1226;
  position: relative;
}

.video-theater-wrapper .activity-chips-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.video-theater-wrapper .activity-chip {
  padding: 10px 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-slideshow-wrapper .story-slide-media {
    height: auto;
    aspect-ratio: 16 / 11;
    max-height: 400px;
  }
  .video-theater-wrapper .activity-chips-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .hero-slideshow-wrapper .story-slide-media {
    height: auto;
    aspect-ratio: 16 / 11;
    max-height: 320px;
  }
  .hero-slideshow-wrapper .story-slide-content {
    padding: 16px;
  }
  .hero-slideshow-wrapper .story-slide-title {
    font-size: 1.125rem;
  }
  .hero-slideshow-wrapper .story-thumb-card {
    flex: 0 0 68px;
    width: 68px;
  }
  .hero-slideshow-wrapper .story-thumb-img {
    height: 42px;
  }
  .video-theater-section {
    padding: 60px 0 68px;
  }
  .video-theater-wrapper .activity-chips-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   CLINICAL PHOTO GALLERY & LIGHTBOX STYLES
   ========================================================================== */

.gallery-hero-section {
  padding: 48px 0 72px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #FFFFFF 100%);
}

.gallery-hero-header {
  text-align: left;
  margin-bottom: 24px;
}

.gallery-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gallery-breadcrumbs a {
  color: var(--ndis-purple-light);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gallery-breadcrumbs a:hover {
  text-decoration: underline;
}

.gallery-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-main);
  margin: 12px 0 16px;
  line-height: 1.25;
  text-align: left;
}

.gallery-hero-desc {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
}

/* Filter Bar */
.gallery-filter-bar-wrapper {
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.gallery-filter-btn:hover {
  background: var(--ndis-purple-soft);
  color: var(--ndis-purple);
  border-color: var(--ndis-purple-border);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--ndis-purple) !important;
  color: #FFFFFF !important;
  border-color: var(--ndis-purple) !important;
  box-shadow: 0 4px 14px rgba(74, 37, 116, 0.25) !important;
}

.gallery-filter-btn.active i {
  color: #FFFFFF !important;
}

.gallery-count-status {
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.gallery-count-status strong {
  color: var(--ndis-purple);
}

/* Masonry / Cards Grid */
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.gallery-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-card.hidden {
  display: none !important;
}

.gallery-card-inner {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  transition: all var(--trans-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.3);
}

.gallery-media-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #1B0F2A;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-card-inner:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27, 15, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.gallery-lightbox-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--trans-fast);
}

.gallery-card-inner:hover .gallery-lightbox-trigger {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox-trigger:hover {
  background: var(--teal-primary);
  color: #FFFFFF;
}

.gallery-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Bottom CTA Card */
.gallery-bottom-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #1B0F2A 0%, #381D59 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.gallery-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.gallery-cta-content {
  max-width: 680px;
}

.gallery-cta-content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  color: #FFFFFF;
  margin: 12px 0 12px;
}

.gallery-cta-content p {
  color: #D3EEF3;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.gallery-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Interactive Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.active {
  display: flex;
  animation: lightboxFadeIn 0.25s ease forwards;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #1B0F2A;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--trans-fast);
}

.lightbox-close-btn:hover {
  background: var(--coral-accent);
  transform: rotate(90deg);
}

.lightbox-media-wrap {
  width: 100%;
  height: 60vh;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E0715;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--trans-fast);
  z-index: 8;
}

.lightbox-nav-btn:hover {
  background: var(--teal-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
  left: 14px;
}

.lightbox-next-btn {
  right: 14px;
}

.lightbox-footer {
  padding: 20px 24px 24px;
  background: #1B0F2A;
  color: #FFFFFF;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lightbox-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--teal-light);
  background: rgba(13, 148, 136, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.lightbox-counter {
  font-size: 0.8125rem;
  color: #D3EEF3;
}

.lightbox-title {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.lightbox-desc {
  font-size: 0.925rem;
  color: #D3EEF3;
  margin: 0;
  line-height: 1.5;
}

/* Gallery Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 36px 0 60px;
  }
  .gallery-filter-bar {
    justify-content: flex-start;
  }
  .gallery-masonry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-bottom-cta {
    padding: 32px 24px;
  }
  .lightbox-media-wrap {
    height: 45vh;
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}



