/* HERO SLIDER - COMPLETE WORKING VERSION */
        .hero-slider {
            position: relative;
            width: 100%;
            background: #e8e5f3;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(43, 40, 100, 0.1);
            aspect-ratio: 4 / 5;
            max-height: 700px;
        }
 
        .slider-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
 
        .slider-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(0);
        }
 
        .slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e8e5f3;
            overflow: hidden;
        }
 
        /* CRITICAL: Images must fill the slide */
        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }
 
        /* Overlay gradient */
        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.45) 0%,
                rgba(0, 0, 0, 0.1) 100%
            );
            pointer-events: none;
        }
 
        /* Badge on image */
        .slide-badge {
            position: absolute;
            bottom: 24px;
            left: 24px;
            right: 24px;
            background: white;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 4px 16px rgba(43, 40, 100, 0.08);
            z-index: 3;
        }
 
        .slide-badge strong {
            display: block;
            color: #2B2864;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }
 
        .slide-badge span {
            display: block;
            color: #6E7791;
            font-size: 0.875rem;
        }
 
        /* Navigation Arrows */
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.5rem;
            color: #2B2864;
            z-index: 10;
            box-shadow: 0 4px 16px rgba(43, 40, 100, 0.08);
            transition: all 0.3s ease;
        }
 
        .slider-arrow:hover {
            background: #2B2864;
            color: white;
            transform: translateY(-50%) scale(1.1);
        }
 
        .slider-arrow.prev {
            left: 12px;
        }
 
        .slider-arrow.next {
            right: 12px;
        }
 
        /* Navigation Dots */
        .slider-nav {
            position: absolute;
            bottom: 16px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }
 
        .slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
 
        .slider-dot.active {
            background: white;
            width: 24px;
            border-radius: 999px;
        }
 
        /* MOBILE RESPONSIVE */
        @media (max-width: 768px) {
            .hero-slider {
                aspect-ratio: 16 / 10;
                max-height: none;
            }
 
            .slider-arrow {
                width: 40px;
                height: 40px;
                font-size: 1.25rem;
            }
 
            .slider-arrow.prev {
                left: 8px;
            }
 
            .slider-arrow.next {
                right: 8px;
            }
 
            .slide-badge {
                bottom: 16px;
                left: 16px;
                right: 16px;
                padding: 12px;
            }
 
            .slide-badge strong {
                font-size: 0.9rem;
            }
 
            .slide-badge span {
                font-size: 0.75rem;
            }
        }
 
        @media (max-width: 480px) {
            .hero-slider {
                aspect-ratio: 16 / 9;
            }
 
            .slider-arrow {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }
 
            .slide-badge {
                bottom: 12px;
                left: 12px;
                right: 12px;
                padding: 10px;
            }
        }
/* Mobile responsiveness */
@media (max-width: 768px) {
  .slide-badge {
    bottom: var(--s-4);
    left: var(--s-4);
    right: var(--s-4);
  }

  .slide-badge strong {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .slide-badge span {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  }
}
/* ============================================================
   LAPIS DISABILITY CARE - Complete Redesign
   Color Blend: Purple (Wanderlust) + Warm (Lapis Original)
   ============================================================ */

:root {
  /* Purple theme from Wanderlust */
  --c-purple-dark: #2B2864;
  --c-purple-deep: #1F1A4A;
  --c-purple-medium: #4A4088;
  --c-purple-light: #6B5FB8;
  --c-purple-soft: #E8E5F3;
  --c-purple-mist: #F5F3FB;
  
  /* Warm Lapis colors */
  --c-cream: #FFF8EE;
  --c-cream-2: #FFF1DD;
  --c-peach: #F4A87C;
  --c-peach-deep: #DD7E47;
  --c-teal: #00B8A9;
  --c-teal-deep: #008F84;
  
  /* Neutral palette */
  --c-white: #FFFFFF;
  --c-paper: #FFFCF6;
  --c-ink: #15203B;
  --c-ink-2: #2E3A57;
  --c-muted: #6E7791;
  --c-sage: #6B8E5A;
  
  /* Functional colors */
  --c-line: rgba(43, 40, 100, 0.12);
  --c-line-strong: rgba(43, 40, 100, 0.20);
  --c-shadow: rgba(43, 40, 100, 0.08);
  
  /* Typography */
  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono: 'JetBrains Mono', 'SF Mono', monospace;
  
  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  
  /* Radius */
  --r-1: 6px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 24px;
  --r-pill: 999px;
  
  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  
  /* Shadows */
  --sh-1: 0 2px 8px rgba(43, 40, 100, 0.06), 0 4px 16px rgba(43, 40, 100, 0.04);
  --sh-2: 0 4px 16px rgba(43, 40, 100, 0.08), 0 12px 32px rgba(43, 40, 100, 0.06);
  --sh-3: 0 8px 24px rgba(43, 40, 100, 0.10), 0 24px 64px rgba(43, 40, 100, 0.08);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--c-purple-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-purple-medium); }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-purple-dark);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; letter-spacing: -0.035em; margin-bottom: var(--s-5); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; letter-spacing: -0.028em; margin-bottom: var(--s-4); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: var(--s-3); }
h4 { font-size: 1.25rem; font-family: var(--ff-body); font-weight: 600; }
p { margin-bottom: var(--s-4); line-height: 1.7; max-width: 68ch; }
em { font-style: italic; color: var(--c-peach-deep); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--c-ink-2); line-height: 1.65; max-width: 60ch; }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-purple-medium);
  font-weight: 600;
  margin-bottom: var(--s-3);
  display: inline-block;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-cream { background: var(--c-cream); }
.section-purple-light { background: var(--c-purple-soft); }
.section-purple-mist { background: var(--c-purple-mist); }
.section-white { background: var(--c-white); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--sh-1); }

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--gutter);
  gap: var(--s-6);
}

/* Logo Area */
.header-logo-area {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--c-purple-dark);
  white-space: nowrap;
}
.brand:hover { color: var(--c-purple-medium); }

.brand-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.brand-icon img { border-radius: var(--r-2); }

.ndis-logo-header {
  height: 48px;
  width: auto;
  padding-left: var(--s-5);
  border-left: 2px solid var(--c-line);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: var(--s-6);
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-ink);
  padding: var(--s-2) 0;
  position: relative;
}
.nav-links a:hover { color: var(--c-purple-dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-peach);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Header Actions */
.header-actions {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: var(--r-2);
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--c-purple-mist); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-purple-dark);
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

.btn--primary {
  background: var(--c-purple-dark);
  color: white;
}
.btn--primary:hover { background: var(--c-purple-deep); color: white; }

.btn--secondary {
  background: var(--c-peach);
  color: var(--c-purple-dark);
}
.btn--secondary:hover { background: var(--c-peach-deep); color: white; }

.btn--outline {
  background: transparent;
  border-color: var(--c-purple-dark);
  color: var(--c-purple-dark);
}
.btn--outline:hover { background: var(--c-purple-dark); color: white; }

.btn--ghost {
  background: rgba(43, 40, 100, 0.08);
  color: var(--c-purple-dark);
}
.btn--ghost:hover { background: rgba(43, 40, 100, 0.15); }

.btn--lg { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

/* Mobile Menu */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--c-line);
    padding: var(--s-5) var(--gutter);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--sh-2);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--c-line);
  }
  .nav-links a:last-child { border-bottom: none; }
  
  .header-actions { flex-direction: column; width: 100%; }
  .header-actions .btn { width: 100%; justify-content: center; }
  
  .ndis-logo-header { display: none; }
}

/* ===== HERO WITH SLIDER ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-purple-mist) 0%, var(--c-cream) 100%);
  overflow: hidden;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  min-height: 600px;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero-text {
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: white;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-5);
  box-shadow: var(--sh-1);
}
.hero-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--c-teal);
  border-radius: 50%;
}

.hero h1 { color: var(--c-purple-dark); margin-bottom: var(--s-5); }
.hero .lede { margin-bottom: var(--s-6); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-size: 0.875rem;
  color: var(--c-muted);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.hero-trust span::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--c-sage);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  border-radius: var(--r-4);
  overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 5;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  background: var(--c-purple-soft);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43, 40, 100, 0.4) 100%);
}

.slide-badge {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  background: white;
  border-radius: var(--r-3);
  padding: var(--s-4);
  box-shadow: var(--sh-2);
}
.slide-badge strong {
  display: block;
  color: var(--c-purple-dark);
  font-size: 1rem;
  margin-bottom: var(--s-1);
}
.slide-badge span {
  font-size: 0.875rem;
  color: var(--c-muted);
}

.slider-nav {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-2);
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid white;
}
.slider-dot.active {
  background: white;
  width: 24px;
  border-radius: var(--r-pill);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-2);
  transition: all 0.3s;
  z-index: 10;
  color: var(--c-purple-dark);
  font-size: 1.5rem;
}
.slider-arrow:hover { background: var(--c-purple-dark); color: white; }
.slider-arrow.prev { left: var(--s-3); }
.slider-arrow.next { right: var(--s-3); }

@media (max-width: 768px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    min-height: auto;
  }
  .hero-slider { aspect-ratio: 16 / 10; }
}

/* ===== NDIS ELIGIBILITY QUIZ ===== */
.ndis-quiz {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.quiz-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quiz-header {
  text-align: center;
  margin-bottom: var(--s-7);
}
.quiz-header h2 { color: white; margin-bottom: var(--s-4); }
.quiz-header p { color: rgba(255, 255, 255, 0.9); max-width: 100%; }

.quiz-card {
  background: white;
  border-radius: var(--r-4);
  padding: var(--s-7);
  box-shadow: var(--sh-3);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}

.progress-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--c-purple-soft);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-purple-dark), var(--c-peach));
  border-radius: var(--r-pill);
  transition: width 0.4s ease;
}

.progress-text {
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  color: var(--c-muted);
  font-weight: 600;
}

.quiz-question-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--s-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-purple-mist);
  border-radius: 50%;
  font-size: 2.5rem;
}

.quiz-question {
  text-align: center;
  margin-bottom: var(--s-6);
}

.quiz-question h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-purple-dark);
  margin-bottom: var(--s-4);
}

.quiz-description {
  color: var(--c-ink-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.quiz-options {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  margin-top: var(--s-6);
}

.quiz-option-btn {
  flex: 1;
  max-width: 200px;
  padding: var(--s-5);
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  background: white;
  color: var(--c-purple-dark);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s;
}
.quiz-option-btn:hover {
  border-color: var(--c-purple-dark);
  background: var(--c-purple-mist);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.quiz-option-btn.correct { border-color: var(--c-sage); background: rgba(107, 142, 90, 0.1); }
.quiz-option-btn.incorrect { border-color: #EF4444; background: rgba(239, 68, 68, 0.1); }

.quiz-result {
  display: none;
  text-align: center;
  padding: var(--s-6);
}
.quiz-result.show { display: block; animation: fadeIn 0.5s; }
.quiz-result h3 { color: var(--c-purple-dark); margin-bottom: var(--s-4); }
.quiz-result p { margin-bottom: var(--s-5); }

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

@media (max-width: 768px) {
  .quiz-card { padding: var(--s-5); }
  .quiz-options { flex-direction: column; }
  .quiz-option-btn { max-width: 100%; }
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}

.stat-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: var(--c-purple-medium);
  box-shadow: var(--sh-2);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--c-purple-dark);
  line-height: 1;
  margin-bottom: var(--s-3);
}

.stat-label {
  font-weight: 600;
  color: var(--c-ink-2);
  font-size: 1rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--s-8);
}

.section-header h2 { margin-bottom: var(--s-4); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-5);
}

.service-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--c-purple-medium);
  box-shadow: var(--sh-2);
  transform: translateY(-4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--c-purple-mist);
  border-radius: var(--r-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  color: var(--c-purple-dark);
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--s-3);
  color: var(--c-purple-dark);
}

.service-card p {
  color: var(--c-ink-2);
  margin-bottom: var(--s-4);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-purple-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
}
.service-link:hover { color: var(--c-purple-medium); }
.service-link .arrow {
  transition: transform 0.3s;
}
.service-card:hover .service-link .arrow {
  transform: translateX(4px);
}

/* ===== COMPARISON TABLE ===== */
.comparison-wrapper {
  background: white;
  border-radius: var(--r-4);
  overflow: hidden;
  box-shadow: var(--sh-2);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-1);
  border-bottom: 1px solid var(--c-line);
}
.comparison-row:last-child { border-bottom: none; }

.comparison-cell {
  padding: var(--s-5);
  display: flex;
  align-items: start;
  gap: var(--s-3);
}

.comparison-cell:first-child {
  background: rgba(239, 68, 68, 0.05);
  border-right: 1px solid var(--c-line);
}
.comparison-cell:last-child {
  background: rgba(107, 142, 90, 0.05);
}

.comparison-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
}

.comparison-cell:first-child .comparison-icon { color: #EF4444; }
.comparison-cell:last-child .comparison-icon { color: var(--c-sage); }

.comparison-text strong { color: var(--c-purple-dark); }

@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comparison-cell:first-child { border-right: none; border-bottom: 1px solid var(--c-line); }
}

/* ===== PROCESS STEPS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-6);
}

.process-step {
  text-align: center;
  padding: var(--s-5);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--c-purple-dark), var(--c-purple-medium));
  color: white;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: var(--s-4);
  box-shadow: var(--sh-2);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  color: var(--c-purple-dark);
}

.process-step p {
  color: var(--c-ink-2);
  margin: 0 auto;
  max-width: 100%;
}

/* ===== PAYMENT QUIZ (Purple Section) ===== */
.section-questionnaire {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-deep) 100%);
  color: white;
  position: relative;
}

.questionnaire-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
}

.questionnaire-content h2 {
  color: white;
  margin-bottom: var(--s-5);
}

.questionnaire-intro {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--s-6);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition: all 0.3s;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.faq-question {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
}

.faq-answer {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.quiz-card-payment {
  background: white;
  border-radius: var(--r-4);
  padding: var(--s-7);
  box-shadow: var(--sh-3);
}

.quiz-header-badge {
  display: inline-block;
  background: rgba(244, 168, 124, 0.15);
  color: var(--c-peach-deep);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--s-5);
}

.quiz-question-title {
  font-size: 1.75rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-6);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.payment-option {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  cursor: pointer;
  transition: all 0.3s;
}
.payment-option:hover {
  border-color: var(--c-purple-medium);
  background: var(--c-purple-mist);
}

.payment-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--c-purple-dark);
  cursor: pointer;
  margin-top: 2px;
}

.option-content {
  flex: 1;
}

.option-title {
  font-weight: 600;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-1);
  font-size: 1.0625rem;
}

.option-subtitle {
  color: var(--c-muted);
  font-size: 0.9375rem;
}

@media (max-width: 968px) {
  .questionnaire-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* ===== VALUES/BELIEFS ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}

.value-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover {
  border-color: var(--c-purple-medium);
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--s-4);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  color: var(--c-purple-dark);
}

.value-card p {
  color: var(--c-ink-2);
  margin: 0 auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
}

.testimonial {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  flex: 1;
  font-family: var(--ff-display);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c-ink);
  font-style: italic;
  margin-bottom: var(--s-5);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}

.author-name {
  font-weight: 600;
  color: var(--c-purple-dark);
}

.author-role {
  font-size: 0.875rem;
  color: var(--c-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--c-purple-dark) 0%, var(--c-purple-deep) 100%);
  color: white;
  border-radius: var(--r-4);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 168, 124, 0.2), transparent);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--s-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin: 0 auto var(--s-6);
  max-width: 100%;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-purple-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--s-9);
  padding-bottom: var(--s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.footer-brand .brand {
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-ndis {
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  color: var(--c-peach);
  font-weight: 600;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-contact {
  padding: var(--s-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin: var(--s-7) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-5);
}

.footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.contact-value {
  color: white;
  font-weight: 600;
}

.contact-value a {
  color: white;
}
.contact-value a:hover {
  color: var(--c-peach);
}

.footer-social {
  display: flex;
  gap: var(--s-3);
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}
.social-icon:hover {
  background: var(--c-peach);
  color: var(--c-purple-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom nav {
  display: flex;
  gap: var(--s-5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a:hover {
  color: white;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 568px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .section { padding: clamp(3rem, 8vw, 5rem) 0; }
  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .btn { padding: 0.75rem 1.5rem; }
  .btn--lg { padding: 1rem 2rem; }
}

/* ===== SERVICE DETAIL CARDS ===== */
.service-detail-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-4);
  padding: var(--s-7);
  margin-bottom: var(--s-6);
  transition: all 0.3s;
}
.service-detail-card:hover {
  border-color: var(--c-purple-medium);
  box-shadow: var(--sh-2);
}

.service-detail-header {
  display: flex;
  align-items: start;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--c-purple-mist), var(--c-purple-soft));
  border-radius: var(--r-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.service-detail-header h2 {
  margin-bottom: var(--s-2);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.service-meta {
  font-size: 0.875rem;
  color: var(--c-purple-medium);
  font-weight: 600;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-ink-2);
  margin-bottom: var(--s-6);
}

.service-includes {
  background: var(--c-purple-mist);
  border-radius: var(--r-3);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
}

.service-includes h4 {
  font-size: 1rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-4);
  font-weight: 600;
}

.service-includes ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-includes li {
  display: flex;
  align-items: start;
  gap: var(--s-2);
  font-size: 0.9375rem;
  color: var(--c-ink);
  line-height: 1.6;
}

.service-includes li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--c-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 2px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
}

.faq-box {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition: all 0.3s;
}

.faq-box:hover {
  border-color: var(--c-purple-medium);
  box-shadow: var(--sh-1);
  transform: translateY(-2px);
}

.faq-box h4 {
  color: var(--c-purple-dark);
  font-size: 1.125rem;
  margin-bottom: var(--s-3);
  font-weight: 600;
}

.faq-box p {
  color: var(--c-ink-2);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .service-detail-header {
    flex-direction: column;
    gap: var(--s-4);
  }
  
  .service-detail-card {
    padding: var(--s-5);
  }
  
  .service-includes ul {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT PAGE COMPONENTS ===== */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.content-split-text p {
  margin-bottom: var(--s-4);
}

.content-split-image img {
  width: 100%;
}

.mission-box {
  background: linear-gradient(135deg, var(--c-purple-dark), var(--c-purple-deep));
  color: white;
  padding: var(--s-7);
  border-radius: var(--r-4);
  text-align: center;
  margin-bottom: var(--s-7);
  box-shadow: var(--sh-3);
}

.mission-box h3 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s-4);
}

.mission-box p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.95);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}

.coverage-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition: all 0.3s;
}

.coverage-card:hover {
  border-color: var(--c-purple-medium);
  box-shadow: var(--sh-1);
  transform: translateY(-2px);
}

.coverage-card h3 {
  font-size: 1.25rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-3);
}

.coverage-card p {
  color: var(--c-ink-2);
  font-size: 0.9375rem;
  margin: 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}

.credential-box {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  text-align: center;
}

.credential-badge {
  width: 64px;
  height: 64px;
  background: var(--c-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto var(--s-4);
}

.credential-box h4 {
  font-size: 1.125rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-3);
}

.credential-box p {
  font-size: 0.9375rem;
  color: var(--c-ink-2);
  margin-bottom: var(--s-3);
}

.credential-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .content-split {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* ===== CONTACT FORM ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}

.form-group {
  margin-bottom: var(--s-5);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-2);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--s-4);
  border: 2px solid var(--c-line);
  border-radius: var(--r-2);
  font-family: var(--ff-body);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-purple-medium);
  box-shadow: 0 0 0 3px rgba(43, 40, 100, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-box {
  background: var(--c-purple-mist);
  border-radius: var(--r-3);
  padding: var(--s-6);
  margin-bottom: var(--s-5);
}

.contact-info-box h3 {
  font-size: 1.25rem;
  color: var(--c-purple-dark);
  margin-bottom: var(--s-4);
}

.contact-info-item {
  display: flex;
  align-items: start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--c-purple-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  color: var(--c-purple-dark);
  font-size: 0.875rem;
  margin-bottom: var(--s-1);
}

.contact-info-text a {
  color: var(--c-ink);
}

.alert-box {
  background: rgba(244, 168, 124, 0.15);
  border-left: 4px solid var(--c-peach);
  padding: var(--s-5);
  border-radius: var(--r-2);
  margin-bottom: var(--s-5);
}

.alert-box strong {
  display: block;
  color: var(--c-peach-deep);
  margin-bottom: var(--s-2);
}

@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}
/* ============================================================
   RESPONSIVE FIXES - Critical Issues Resolved
   ============================================================ */

/* FIX #1: Mobile hamburger menu must show at 1024px */
@media (max-width: 1024px) {
  .nav-toggle { 
    display: flex !important; /* Force show */
  }
  
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--c-line);
    padding: var(--s-5) var(--gutter);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--sh-2);
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links a {
    width: 100%;
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--c-line);
  }
  .nav-links a:last-child { border-bottom: none; }
  
  .header-actions { 
    flex-direction: column; 
    width: 100%; 
    gap: var(--s-2);
  }
  .header-actions .btn { 
    width: 100%; 
    justify-content: center; 
  }
  
  .ndis-logo-header { display: none; }
}

/* FIX #2: Reduce excessive section padding at all breakpoints */
.section {
  padding: clamp(2.5rem, 6vw, 4rem) 0; /* Reduced from clamp(4rem, 10vw, 8rem) */
}

.section-tight {
  padding: clamp(1.5rem, 4vw, 3rem) 0; /* Reduced from clamp(2.5rem, 6vw, 4rem) */
}

/* Additional reduction for mobile */
@media (max-width: 768px) {
  .section {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
  .section-tight {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
  }
}

/* FIX #3: Hero min-height at tablet breakpoint */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    min-height: auto; /* Remove fixed height */
    padding: clamp(2rem, 5vw, 3rem) 0;
  }
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--s-6);
    min-height: auto;
    padding: clamp(2rem, 4vw, 3rem) 0;
  }
  .hero-slider { aspect-ratio: 16 / 10; }
}

/* FIX #4: Questionnaire layout stacks earlier */
@media (max-width: 1200px) {
  .questionnaire-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* FIX #5: Fix "All States" stat card wrapping */
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3rem); /* Reduced from clamp(2.5rem, 4vw, 3.5rem) */
  font-weight: 400;
  color: var(--c-purple-dark);
  line-height: 1.1;
  margin-bottom: var(--s-3);
  min-height: 3.5rem; /* Ensure consistent height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FIX #6: Explicit process-grid breakpoints */
@media (max-width: 968px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* FIX #7: Explicit values and testimonials grid breakpoints */
@media (max-width: 968px) {
  .values-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* FIX #8: Content-split stacks at 1024px (with mobile nav) */
@media (max-width: 1024px) {
  .content-split {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* FIX #9: Footer grid better breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* FIX #10: Show NDIS badge in mobile menu OR add to footer (we'll keep hidden but show in footer) */
/* Already handled - NDIS registration shown in footer */

/* FIX #11: Better section padding at mid-range */
@media (min-width: 769px) and (max-width: 1200px) {
  .section {
    padding: clamp(3rem, 5vw, 4rem) 0;
  }
}

/* FIX #12: Ensure slider overflow hidden is enforced */
.hero-slider {
  position: relative;
  border-radius: var(--r-4);
  overflow: hidden !important; /* Enforce */
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 5;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
  overflow: hidden; /* Additional safety */
}

/* Additional mobile fixes */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stat-number {
    font-size: 2rem;
    min-height: 3rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .btn--lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Ensure services grid is responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact layout responsive */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* Coverage grid responsive */
@media (max-width: 768px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Stats grid responsive */
@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 968px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ grid responsive */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Credentials grid responsive */
@media (max-width: 768px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ensure comparison table is responsive */
@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .comparison-cell:first-child { 
    border-right: none; 
    border-bottom: 1px solid var(--c-line); 
  }
}

/* Service detail cards mobile */
@media (max-width: 768px) {
  .service-detail-header {
    flex-direction: column;
    gap: var(--s-4);
  }
  
  .service-detail-card {
    padding: var(--s-5);
  }
  
  .service-includes ul {
    grid-template-columns: 1fr;
  }
}

/* Ensure quiz is responsive */
@media (max-width: 768px) {
  .quiz-card {
    padding: var(--s-5);
    min-height: 350px;
  }
  
  .quiz-options {
    flex-direction: column;
  }
  
  .quiz-option-btn {
    max-width: 100%;
  }
}
/* ============================================================
   MOBILE HEADER FIX - Move Buttons into Dropdown Menu
   ============================================================ */

/* Hide header action buttons on mobile (≤1024px) */
@media (max-width: 1024px) {
  .header-actions {
    display: none !important;
  }
  
  /* Move buttons into the mobile nav menu */
  .nav-links.active {
    padding-bottom: var(--s-6);
  }
  
  /* Add buttons to nav-links on mobile */
  .nav-links::after {
    content: '';
    display: block;
    width: 100%;
    border-top: 2px solid var(--c-line);
    margin: var(--s-4) 0;
  }
}

/* Add this HTML to your nav-links in the header (inside <ul class="nav-links">):
   
   Add BEFORE the closing </ul> tag:
   
   <li class="nav-action-item">
     <a href="tel:610421207998" class="btn btn--ghost" style="width: 100%; justify-content: center; margin-bottom: var(--s-3);">
       <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
         <path d="M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z"/>
       </svg>
       +61 (0) 421 207 998
     </a>
   </li>
   <li class="nav-action-item">
     <a href="contact.html" class="btn btn--primary" style="width: 100%; justify-content: center;">
       Let's Get Started
     </a>
   </li>
*/

/* Style the nav action items */
@media (max-width: 1024px) {
  .nav-links .nav-action-item {
    list-style: none;
    padding: 0;
    margin-top: var(--s-3);
  }
  
  .nav-links .nav-action-item:first-of-type {
    margin-top: var(--s-4);
    padding-top: var(--s-4);
    border-top: 2px solid var(--c-line);
  }
  
  .nav-links .nav-action-item a {
    border-bottom: none !important;
    padding: 0 !important;
  }
  
  .nav-links .nav-action-item .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--s-2);
  }
}

/* Desktop - hide nav action items (buttons show in header-actions) */
@media (min-width: 1025px) {
  .nav-action-item {
    display: none;
  }
}
/* ============================================================
   MOBILE DROPDOWN MENU FIX
   Fix: Small text, overlapping, unreadable buttons
   ============================================================ */

@media (max-width: 1024px) {
  
  /* Make dropdown menu larger and more readable */
  .nav-links {
    position: fixed;
    top: 81px; /* Increased from 73px for taller header */
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--c-line);
    padding: var(--s-6) var(--gutter); /* More padding */
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--sh-3); /* Stronger shadow */
    z-index: 99;
    max-height: calc(100vh - 81px);
    overflow-y: auto;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Make menu links BIGGER and more spaced */
  .nav-links a {
    width: 100%;
    padding: var(--s-5) 0; /* Increased from var(--s-4) */
    border-bottom: 1px solid var(--c-line);
    font-size: 1.125rem; /* Increased from 0.9375rem */
    font-weight: 600;
    color: var(--c-purple-dark); /* Darker, more readable */
    line-height: 1.4;
  }
  
  .nav-links a:last-child { 
    border-bottom: none; 
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--c-purple-medium);
    background: var(--c-purple-mist);
    padding-left: var(--s-3);
    margin-left: calc(-1 * var(--s-3));
  }
  
  /* Mobile Action Buttons Styling */
  .nav-links .nav-action-item {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-links .nav-action-item:first-of-type {
    margin-top: var(--s-5);
    padding-top: var(--s-5);
    border-top: 2px solid var(--c-purple-dark);
  }
  
  /* Make buttons BIGGER and more readable */
  .nav-links .nav-action-item a {
    border-bottom: none !important;
    padding: var(--s-5) var(--s-4) !important; /* Much bigger padding */
    margin-bottom: var(--s-3);
    font-size: 1rem !important; /* Bigger text */
    font-weight: 600;
    border-radius: var(--r-2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    min-height: 56px; /* Touch-friendly minimum height */
  }
  
  .nav-links .nav-action-item a:hover {
    background: none; /* Override default hover */
    padding-left: var(--s-4) !important; /* Keep centered */
    margin-left: 0 !important;
  }
  
  /* Phone button (ghost style) - Make text MORE visible */
  .nav-links .nav-action-item .btn--ghost {
    background: var(--c-purple-mist) !important;
    color: var(--c-purple-dark) !important;
    border: 2px solid var(--c-purple-dark);
  }
  
  .nav-links .nav-action-item .btn--ghost:hover {
    background: var(--c-purple-dark) !important;
    color: white !important;
  }
  
  /* CTA button (primary) - Keep strong contrast */
  .nav-links .nav-action-item .btn--primary {
    background: var(--c-purple-dark) !important;
    color: white !important;
    border: 2px solid var(--c-purple-dark);
  }
  
  .nav-links .nav-action-item .btn--primary:hover {
    background: var(--c-purple-deep) !important;
    border-color: var(--c-purple-deep);
  }
  
  /* Make SVG icons bigger in mobile menu */
  .nav-links .nav-action-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  
  /* Ensure header is tall enough */
  .site-header {
    min-height: 81px;
  }
  
  .header-container {
    min-height: 81px;
    padding: var(--s-4) var(--gutter);
  }
}

/* Smaller mobile phones - even BIGGER touch targets */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 1.25rem; /* Even bigger on small phones */
    padding: var(--s-6) 0; /* More spacing */
  }
  
  .nav-links .nav-action-item a {
    font-size: 1.125rem !important;
    padding: var(--s-6) var(--s-4) !important;
    min-height: 64px; /* Even bigger touch target */
  }
}
/* ============================================================
   FINAL MOBILE MENU POLISH
   Based on screenshot feedback
   ============================================================ */

@media (max-width: 1024px) {
  
  /* Phone button - make it look like a proper button, not outlined */
  .nav-links .nav-action-item .btn--ghost {
    background: white !important;
    color: var(--c-purple-dark) !important;
    border: 2px solid var(--c-purple-dark) !important;
    box-shadow: 0 2px 8px rgba(43, 40, 100, 0.1);
  }
  
  .nav-links .nav-action-item .btn--ghost:hover,
  .nav-links .nav-action-item .btn--ghost:active {
    background: var(--c-purple-mist) !important;
    border-color: var(--c-purple-medium) !important;
  }
  
  /* Make sure buttons have rounded corners */
  .nav-links .nav-action-item a {
    border-radius: var(--r-2) !important;
  }
  
  /* Add more visual separation between menu items and buttons */
  .nav-links .nav-action-item:first-of-type {
    margin-top: var(--s-6);
    padding-top: var(--s-6);
    border-top: 3px solid var(--c-purple-dark);
  }
  
  /* Ensure text is always centered and bold */
  .nav-links .nav-action-item a {
    font-weight: 700 !important;
    letter-spacing: 0.02em;
  }
  
  /* Make the close X button bigger and more visible */
  .nav-toggle.active span:nth-child(1),
  .nav-toggle.active span:nth-child(3) {
    background: var(--c-purple-dark);
  }
  
  /* Add subtle animation when menu opens */
  .nav-links a {
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
  }
  
  .nav-links.active a {
    opacity: 1;
  }
  
  .nav-links.active a:nth-child(1) { animation-delay: 0.05s; }
  .nav-links.active a:nth-child(2) { animation-delay: 0.1s; }
  .nav-links.active a:nth-child(3) { animation-delay: 0.15s; }
  .nav-links.active a:nth-child(4) { animation-delay: 0.2s; }
  .nav-links.active a:nth-child(5) { animation-delay: 0.25s; }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Ensure menu doesn't overlap with page content */
  .nav-links {
    z-index: 999;
  }
  
  /* Add subtle backdrop blur when menu is open */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 98;
  }
  
  body.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }
}
