/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  /* TLE Brand: deep teal primary + coral accent + cream warmth */
  --primary-1: #18a7af;         /* accessible teal on light bg */
  --primary-deep: #0a4f53;      /* deepest teal for text/icons */
  --primary-bright: #5ce0e7;    /* brand teal (logo) */
  --hover-color: #128e95;
  --teal-50: #ecfafb;
  --teal-100: #d4f5f7;

  --accent-coral: #f08597;      /* brand coral (star) */
  --accent-coral-soft: #fbe4e8;
  --accent-coral-deep: #c75565;

  --rebrand-black: #1d2c2e;
  --gray-1: #2a3436;
  --gray-2: #6a7375;
  --dark-slate-grey: #3d4244;
  --gray-3: #e4ecec;
  --gray-4: #f4f9f9d6;
  --gray-5: #edf2f2;
  --white-smoke: #f1f5f5;
  --grey5: #f4f7f7;
  --white: #ffffff;

  --cream: #faf6ee;
  --mint: var(--teal-100);
  --orange-chip: #f4c866;
  --yellow: #fbcf60;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-script: "Caveat", "Libre Baskerville", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--primary-1); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.container-1280 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-faq {
  max-width: 894px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-signup {
  background: var(--mint);
  color: var(--primary-1);
  padding: 12px 24px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-signup:hover {
  background-color: #a8e8ee;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(24,167,175,0.22);
}
.btn-signup:active { transform: translateY(0); }

.btn-white-pill {
  background: var(--white);
  color: var(--primary-1);
  padding: 6px 6px 6px 22px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-white-pill:hover {
  background-color: var(--teal-50);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24,167,175,0.22);
}
.btn-white-pill:active { transform: translateY(0); }
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-1);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-left: 4px;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-white-pill:hover .arrow-circle {
  background: var(--hover-color);
  transform: rotate(-45deg) scale(1.08);
}

/* Eyebrow labels */
.eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent-coral-deep);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}
.eyebrow-on-cream { color: var(--accent-coral-deep); }
.eyebrow-center { display: block; text-align: center; }
.eyebrow-on-coral { color: var(--white); }

/* =========================================================
   Navbar
   ========================================================= */
.navbar-v3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 32px;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-login {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
}
.nav-login:hover { text-decoration: underline; }

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 100;
  padding: 90px 48px 40px;
  overflow-y: auto;
}
.nav-overlay.is-open { transform: translateX(0); }
.nav-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.nav-close:hover {
  background: var(--primary-1);
  color: var(--white);
  transform: rotate(90deg);
}
.nav-overlay-list li a {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
  color: var(--primary-1);
  padding: 14px 0;
  border-bottom: 1px solid rgba(24,167,175,0.15);
}
.nav-overlay-list li a:hover { color: var(--hover-color); }
.nav-overlay-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.nav-overlay-actions .nav-login { color: var(--primary-1); }

.nav-overlay-badge {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 167, 175, 0.18);
}
.nav-overlay-badge .ndis-badge { margin-top: 0; }

/* =========================================================
   Hero
   ========================================================= */
.section-index-hero-v3 {
  position: relative;
  background: var(--cream);
  height: 729px;
  overflow: hidden;
}
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-slide {
  height: 100%;
}
.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 64px;
  overflow: hidden;
}

/* Gradient fallbacks per slide — TLE teal/coral hero washes */
.hero-bg-1 { background: radial-gradient(120% 80% at 75% 50%, #2bb8c0 0%, #0e6a70 45%, #062327 100%); }
.hero-bg-2 { background: radial-gradient(120% 80% at 78% 45%, #f08597 0%, #a04451 45%, #2e1218 100%); }
.hero-bg-3 { background: radial-gradient(120% 80% at 72% 50%, #4cc7cd 0%, #1a777d 45%, #08252a 100%); }
.hero-bg-4 { background: radial-gradient(120% 80% at 70% 48%, #f0a09a 0%, #8a3a40 45%, #2a1015 100%); }

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 7s ease-out;
}
.hero-img.is-loaded {
  opacity: 1;
}
.swiper-slide-active .hero-img.is-loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,79,83,0.7) 0%, rgba(10,79,83,0.25) 50%, rgba(0,0,0,0) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--white);
  padding-top: 90px;
}
.hero-headline {
  margin: 0 0 24px;
  line-height: 1;
  font-family: var(--font-sans);
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-headline .serif {
  color: var(--accent-coral);
}
.hero-headline .sans {
  display: block;
  font-weight: 800;
  font-size: 70px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
}
.hero-headline .serif {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 100px;
  margin-top: -8px;
  text-transform: none;
  opacity: 0;
  transform: translateY(24px);
}

.swiper-slide-active .hero-headline .sans {
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.swiper-slide-active .hero-headline .serif {
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}
.swiper-slide-active .hero-body {
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.swiper-slide-active .hero-content .btn {
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-body {
  font-family: var(--font-body);
  font-size: 16px;
  max-width: 380px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.hero-caption {
  position: absolute;
  right: 32px;
  bottom: 36px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}
.hero-play-pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--primary-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swiper-pagination.hero-pagination {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
}
.swiper-pagination.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  opacity: 1;
  margin: 0 !important;
}
.swiper-pagination.hero-pagination .swiper-pagination-bullet-active {
  background: var(--primary-1);
}

/* =========================================================
   Steps Section
   ========================================================= */
.section-index-steps {
  background: var(--cream);
  padding: 80px 0 120px;
  position: relative;
}
.section-heading {
  font-family: var(--font-sans);
  color: var(--primary-1);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: -0.01em;
}
.section-heading-center { text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 64px;
}
.steps-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 36px;
}
.steps-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 28px;
}
@media (max-width: 1180px) {
  .steps-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .steps-grid-5 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
.step-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.step-item:hover { transform: translateY(-4px); }
.step-icon {
  margin-bottom: 18px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-item:hover .step-icon {
  transform: scale(1.08) rotate(-3deg);
}
.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--rebrand-black);
  margin: 0 0 10px;
  transition: color 0.3s ease;
}
.step-item:hover .step-title { color: var(--primary-1); }
.step-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-1);
  margin: 0;
  max-width: 320px;
}

/* =========================================================
   Register banner
   ========================================================= */
.section-index-register {
  padding: 40px 0 80px;
  background: var(--white);
}
.register-banner {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #18a7af 0%, #1fc1c8 50%, #0e7a80 100%);
  border-radius: 24px;
  padding: 60px 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(24,167,175,0.28);
}
.register-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240,133,151,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.register-banner::after {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 25%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.register-sub {
  font-family: var(--font-body);
  font-size: 15px;
  margin: -12px 0 4px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.register-half { position: relative; z-index: 1; }
.register-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.register-half .btn,
.register-half .phone-link { align-self: flex-start; }
.register-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 48px;
  margin: 0;
  color: var(--white);
}
.register-half:last-child {
  padding-left: 56px;
}
.register-divider {
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
}
.phone-link span { text-decoration: underline; text-underline-offset: 6px; }

/* =========================================================
   Tool Bento
   ========================================================= */
.section-index-tool {
  padding: 60px 0 100px;
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
  min-height: 824px;
}
.tool-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(24,167,175,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(34,37,37,0.08);
}
.tool-card:hover::before { opacity: 1; }
.tool-card-tall {
  grid-row: span 2;
  justify-content: flex-start;
}
.tool-card-tall .tool-card-content { max-width: 460px; }
.tool-card-heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 26px;
  color: var(--rebrand-black);
  margin: 0 0 16px;
  line-height: 1.25;
}
.tool-card-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: var(--gray-1);
}
.tool-card-media { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 12px; }
.tool-portrait {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 460px;
  background: linear-gradient(135deg, var(--accent-coral-soft) 0%, var(--teal-100) 100%);
  position: relative;
}
.tool-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  opacity: 0;
}
.tool-portrait img.is-loaded { opacity: 1; }
.tool-card:hover .tool-portrait img { transform: scale(1.04); }

/* Dashboard mock */
.dashboard-mock {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(34,37,37,0.08);
  display: grid;
  grid-template-columns: 70px 1fr;
  min-height: 220px;
}
.dash-sidebar {
  background: var(--cream);
  border-right: 1px solid var(--gray-3);
}
.dash-main { padding: 16px; }
.dash-pill {
  width: 88px; height: 22px; border-radius: 11px;
  background: var(--primary-1);
  margin-bottom: 16px;
}
.dash-amount {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--rebrand-black);
  margin-bottom: 10px;
}
.dash-chart svg { width: 100%; height: 70px; }
.dash-rows { margin-top: 14px; display: grid; gap: 8px; }
.dash-rows div { height: 8px; background: var(--gray-5); border-radius: 4px; }
.dash-rows div:nth-child(1) { width: 90%; }
.dash-rows div:nth-child(2) { width: 70%; }
.dash-rows div:nth-child(3) { width: 80%; }
.dash-rows div:nth-child(4) { width: 60%; }

/* Pillar stack (replaces dashboard mock in TLE about card) */
.pillar-stack {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 14px 36px rgba(24,167,175,0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-deep);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-3);
}
.pillar-row:last-child { border-bottom: 0; }
.pillar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-1);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(24,167,175,0.12);
}
.pillar-dot-coral {
  background: var(--accent-coral);
  box-shadow: 0 0 0 4px rgba(240,133,151,0.18);
}

/* Explainer phone mocks */
.tool-link-list { margin: 8px 0 0; }
.tool-link-list li { margin-bottom: 8px; }
.tool-link-list a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  color: var(--primary-1);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tool-link-list a:hover { color: var(--hover-color); }

.phone-mocks {
  position: relative;
  width: 180px;
  height: 220px;
  align-self: flex-end;
}
.phone {
  position: absolute;
  width: 110px;
  height: 220px;
  border-radius: 22px;
  background: var(--primary-deep);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(10,79,83,0.22);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--primary-bright), var(--primary-1));
  position: relative;
}
.phone-notch {
  width: 38px; height: 12px;
  background: var(--primary-deep);
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
}
.phone-back { left: 0; top: 10px; transform: rotate(-6deg); }
.phone-front { right: -10px; top: 0; transform: rotate(6deg); }

/* =========================================================
   FAQ
   ========================================================= */
.section-index-faq {
  padding: 80px 0 100px;
}
.section-index-faq .section-heading {
  color: var(--rebrand-black);
  font-weight: 500;
}
.accordion-wrapper { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(61,62,66,0.15);
  transition: padding-left 0.3s ease;
}
.faq-item:hover { padding-left: 6px; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--rebrand-black);
  text-align: left;
  transition: color 0.3s ease;
}
.faq-trigger:hover { color: var(--primary-1); }
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-1);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-panel-inner {
  padding: 0 4px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-1);
}
.faq-panel-inner p { margin: 0 0 14px; }
.faq-panel-inner ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.faq-panel-inner li { margin-bottom: 6px; }

/* =========================================================
   Resources
   ========================================================= */
.section-index-resources {
  padding: 40px 0 120px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.resource-card {
  background: var(--grey5);
  padding: 28px 28px 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, background-color 0.4s ease;
}
.resource-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: 0 24px 50px rgba(34,37,37,0.1);
}
.resource-chip {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.resource-card:hover .resource-chip { transform: rotate(-10deg) scale(1.1); }
.resource-title {
  transition: color 0.3s ease;
}
.resource-card:hover .resource-title { color: var(--primary-1); }
.resource-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.resource-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--orange-chip);
  border-radius: 8px;
}
.resource-chip-teal { background: var(--teal-100); }
.resource-chip-coral { background: var(--accent-coral-soft); }
.resource-type {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--rebrand-black);
}
.resource-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  color: var(--rebrand-black);
  margin: 0 0 12px;
  line-height: 1.25;
}
.resource-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-1);
  margin: 0 0 24px;
  flex-grow: 1;
}
.resource-cta { align-self: flex-start; }
.resource-cta-static {
  align-self: flex-start;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent-coral-deep);
  margin-top: 8px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer-0 {
  background: var(--white);
  padding: 60px 0 30px;
  border-top: 1px solid var(--gray-3);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-deep);
}
.footer-tag {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-2);
  margin: 14px 0 0;
  max-width: 280px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  justify-self: end;
}
.footer-col-heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--primary-1);
  margin: 0 0 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--rebrand-black);
}
.footer-col ul li a:hover { color: var(--primary-1); }
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

/* Reviews */
.footer-reviews {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--gray-3);
  border-bottom: 1px solid var(--gray-3);
  align-items: center;
}
.reviews-aggregate {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.reviews-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-1);
}
.reviews-score {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 26px;
  color: var(--accent-coral-deep);
  line-height: 1;
}
.reviews-stars { color: var(--yellow); font-size: 16px; letter-spacing: 2px; }
.reviews-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-1);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reviews-link:hover { color: var(--hover-color); }

.reviews-carousel-wrap {
  position: relative;
  overflow: hidden;
}
.reviews-swiper { width: 100%; }
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: 10px;
  padding: 16px;
  height: auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-1);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.review-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
}
.review-date { font-size: 12px; color: var(--gray-2); }
.review-stars { color: #fbbc04; font-size: 14px; letter-spacing: 1px; }
.review-body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-1);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-1);
  margin-top: auto;
}
.review-google span.g-mark {
  display: inline-flex; width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary-1);
  position: relative;
}
.review-google span.g-mark-tle {
  background: var(--accent-coral);
  box-shadow: 0 0 0 3px var(--accent-coral-soft);
}
.reviews-next {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-3);
  font-size: 22px;
  color: var(--primary-1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 5;
}

/* Acknowledgement of Country */
.footer-acknowledgement {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-3);
}
.acknowledge-flags {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.acknowledge-flags .flag {
  width: 24px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  line-height: 0;
}
.acknowledge-flags .flag svg {
  display: block;
  width: 100%;
  height: 100%;
}
.acknowledge-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray-2);
  margin: 0;
  font-weight: 400;
}
@media (max-width: 640px) {
  .footer-acknowledgement {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .acknowledge-text { font-size: 12px; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 24px;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-2);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 28px;
}
.footer-legal a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-2);
}
.footer-legal a:hover { color: var(--primary-1); }

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(34,37,37,0.18);
  z-index: 30;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary-1);
  transform: translateY(-4px) scale(1.05);
}
.back-to-top:hover svg { stroke: var(--white); }

/* =========================================================
   Scroll Reveal Animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-revealed > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.55s; }

/* Navbar logo hover */
.nav-logo {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-logo:hover { transform: rotate(-12deg) scale(1.08); }

/* Phone link hover */
.phone-link {
  transition: transform 0.3s ease;
}
.phone-link:hover { transform: translateX(4px); }

/* Tool link list hover */
.tool-link-list a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}
.tool-link-list a:hover { transform: translateX(4px); }

/* Phone mockups subtle float */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}
@keyframes phoneFloatBack {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-6px) rotate(-6deg); }
}
.phone-front { animation: phoneFloat 6s ease-in-out infinite; }
.phone-back  { animation: phoneFloatBack 6s ease-in-out infinite 0.5s; }

/* =========================================================
   CPR & First Aid Training section
   ========================================================= */
.section-training {
  padding: 40px 0 24px;
  background: var(--white);
}
.training-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f0717f 0%, #e85a72 50%, #d04356 100%);
  border-radius: 28px;
  padding: 64px;
  color: var(--white);
  box-shadow: 0 28px 70px rgba(208,67,86,0.28);
}
.training-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.training-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.training-shape-1 {
  width: 280px; height: 280px;
  top: -120px; right: -60px;
}
.training-shape-2 {
  width: 180px; height: 180px;
  bottom: -60px; left: 30%;
  background: rgba(92,224,231,0.12);
}
.training-shape-3 {
  width: 90px; height: 90px;
  top: 40px; left: 38%;
  background: rgba(255,255,255,0.12);
}
.training-content {
  position: relative;
  z-index: 2;
}
.training-content .eyebrow {
  color: rgba(255,255,255,0.85);
  font-size: 22px;
}
.training-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.training-body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 560px;
  opacity: 0.95;
}
.training-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.training-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
}
.training-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent-coral-deep);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.training-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.training-actions .btn-white-pill { color: var(--accent-coral-deep); }
.training-actions .btn-white-pill .arrow-circle { background: var(--accent-coral-deep); }
.training-actions .btn-white-pill:hover .arrow-circle { background: var(--accent-coral); }
.training-note {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 20px;
  color: rgba(255,255,255,0.9);
}

.training-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.training-cert {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--rebrand-black);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  position: relative;
  min-width: 240px;
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.training-cert:hover { transform: rotate(0); }
.cert-ribbon {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: var(--accent-coral-deep);
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 80% 70%, 50% 100%, 20% 70%, 0 100%);
}
.cert-icon {
  background: var(--accent-coral-soft);
  border-radius: 50%;
  padding: 8px;
  display: inline-flex;
  margin-top: 8px;
}
.cert-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cert-label {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent-coral-deep);
  line-height: 1;
}
.cert-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--rebrand-black);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .training-card {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    gap: 32px;
  }
  .training-heading { font-size: 36px; }
  .training-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .training-card { padding: 36px 24px; border-radius: 20px; }
  .training-heading { font-size: 28px; }
}

/* ---- Course cards ---- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  scroll-margin-top: 100px;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: 22px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(29,44,46,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(208,67,86,0.14);
  border-color: var(--accent-coral-soft);
}
.course-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.course-code {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-coral-soft);
  color: var(--accent-coral-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.course-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--gray-2);
  white-space: nowrap;
}
.course-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  color: var(--rebrand-black);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.course-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-1);
  margin: 0 0 16px;
}
.course-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--gray-1);
  line-height: 1.45;
}
.course-points li::before {
  content: "\2713";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.course-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.course-price {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.course-price-amt {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 30px;
  color: var(--rebrand-black);
  letter-spacing: -0.02em;
}
.course-price-per {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--gray-2);
  margin-top: 4px;
}
.btn-coral-pill {
  background: var(--accent-coral-deep);
  color: var(--white);
  padding: 6px 6px 6px 22px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-coral-pill:hover {
  background-color: #b4475a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(199,85,101,0.28);
}
.btn-coral-pill:active { transform: translateY(0); }
.btn-coral-pill .arrow-circle { background: var(--white); color: var(--accent-coral-deep); }
.btn-coral-pill:hover .arrow-circle { background: var(--accent-coral-soft); transform: rotate(-45deg) scale(1.08); }

/* ---- Venue + request strip ---- */
.training-foot {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.training-venue {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--grey5);
  border-radius: 18px;
  padding: 20px 22px;
}
.training-venue-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-coral-deep);
  box-shadow: 0 4px 12px rgba(29,44,46,0.06);
}
.training-venue strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--rebrand-black);
  margin-bottom: 4px;
}
.training-venue span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.5;
}
.training-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--teal-50);
  border: 1px dashed var(--primary-1);
  border-radius: 18px;
  padding: 20px 22px;
  color: var(--primary-deep);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.training-request:hover { background: var(--teal-100); transform: translateY(-2px); }
.training-request strong {
  font-family: var(--font-sans);
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary-1);
}

/* ---- RTO disclosure (required: third-party delivery on behalf of an RTO) ---- */
.training-rto {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-1);
}
.training-rto svg { flex-shrink: 0; color: var(--primary-1); }
.training-rto strong { color: var(--rebrand-black); }
/* Same disclosure inside the coral overview card on the homepage */
.training-rto-inline {
  margin: 18px 0 0;
  max-width: 560px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.training-rto-inline strong { color: var(--white); }

/* =========================================================
   Training page (/training)
   ========================================================= */
/* Secondary pages have no dark hero, so the navbar sits in normal
   flow as a white bar with dark text instead of floating over an image. */
.page-sub .navbar-v3 {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--gray-3);
}
.page-sub .nav-login,
.page-sub .nav-menu-trigger { color: var(--rebrand-black); }
.page-sub .nav-logo { background: var(--teal-50); backdrop-filter: none; }

.training-hero {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 100%);
}
.training-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-2);
}
.crumbs a { color: var(--primary-1); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.training-hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--rebrand-black);
  margin: 8px 0 18px;
}
.training-hero-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-1);
  max-width: 620px;
  margin: 0 0 22px;
}
.training-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.training-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-3);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-1);
}
.training-hero-meta svg { color: var(--primary-1); flex-shrink: 0; }
.training-hero-visual { display: flex; justify-content: center; }
.section-courses {
  padding: 16px 0 96px;
  background: var(--white);
}
@media (max-width: 960px) {
  .training-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .training-hero-title { font-size: 38px; }
  .training-hero-visual { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .training-hero { padding: 32px 0 16px; }
  .training-hero-title { font-size: 30px; }
  .training-hero-visual { display: none; }
}

@media (max-width: 960px) {
  .courses-grid { grid-template-columns: 1fr; }
  .training-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .course-card { padding: 22px 20px 20px; border-radius: 18px; }
  .course-foot { flex-direction: column; align-items: stretch; }
  .course-foot .btn-coral-pill { justify-content: space-between; }
  .training-request { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   NDIS Registered Provider badge
   ========================================================= */
.ndis-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.ndis-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #6c2d8f;
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  padding: 10px 12px;
  flex-shrink: 0;
}
.ndis-badge-we {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  line-height: 1;
}
.ndis-badge-heart {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: -2px;
}
.ndis-badge-ndis {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  grid-column: 1 / span 2;
  grid-row: 2;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.5px;
}
.ndis-badge-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--gray-2);
  line-height: 1.35;
}

/* =========================================================
   Floating glass navbar (scroll-up reveal)
   ========================================================= */
.navbar-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(24, 167, 175, 0.12);
  box-shadow: 0 6px 28px rgba(10, 79, 83, 0.06);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}
.navbar-floating.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.navbar-floating-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 32px;
}

.nav-logo-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-deep);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.nav-logo-float:hover { transform: scale(1.02); }
.nav-logo-float svg { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav-logo-float:hover svg { transform: rotate(-8deg); }

.nav-float-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-float-links a {
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--rebrand-black);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-float-links a:hover { color: var(--primary-1); }
.nav-float-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-1), var(--accent-coral));
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-float-links a:hover::after { width: 100%; }

.nav-float-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-float-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
  padding: 8px 12px;
  border-radius: 100px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-float-phone:hover {
  background: rgba(24, 167, 175, 0.08);
  color: var(--primary-1);
}
.btn-float-cta {
  padding: 10px 18px;
  font-size: 14px;
}
.nav-menu-trigger-float {
  color: var(--primary-deep);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.3s ease;
}
.nav-menu-trigger-float:hover { background: rgba(24, 167, 175, 0.1); }
.nav-menu-trigger-float .hamburger { width: 18px; }

/* Scroll progress line at the bottom edge of the bar */
.navbar-floating-progress {
  height: 2px;
  width: 100%;
  background: transparent;
  overflow: hidden;
}
.navbar-floating-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-bright), var(--primary-1), var(--accent-coral));
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

@media (max-width: 960px) {
  .nav-float-links { display: none; }
  .nav-float-phone span { display: none; }
  .navbar-floating-inner { gap: 16px; padding: 12px 20px; }
}
@media (max-width: 640px) {
  .btn-float-cta { display: none; }
  .nav-logo-float span { display: none; }
}

/* =========================================================
   Clickable card affordances
   ========================================================= */
.is-clickable {
  cursor: pointer;
  outline: none;
}
.is-clickable:focus-visible {
  box-shadow: 0 0 0 3px var(--primary-bright);
  border-radius: 12px;
}
.card-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-1);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.3s ease;
}
.step-item.is-clickable:hover .card-learn-more,
.step-item.is-clickable:focus-visible .card-learn-more {
  opacity: 1;
  transform: translateY(0);
}
.card-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.step-item.is-clickable:hover .card-arrow { transform: translateX(4px); }

.resource-card.is-clickable .resource-cta-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-1);
  margin-top: 12px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.resource-card.is-clickable:hover .resource-cta-static { gap: 10px; color: var(--accent-coral-deep); }

/* =========================================================
   Drawer (slide-out panel)
   ========================================================= */
body.drawer-open { overflow: hidden; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 79, 83, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 200;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 560px;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -32px 0 80px rgba(10, 79, 83, 0.2);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,79,83,0.06);
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.drawer-close:hover {
  background: var(--primary-deep);
  color: var(--white);
  transform: rotate(90deg);
}

.drawer-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Hero header inside drawer */
.drawer-hero {
  padding: 56px 56px 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 100%);
}
.drawer-hero.is-pillar {
  background: linear-gradient(135deg, var(--accent-coral-soft) 0%, var(--white) 100%);
}
.drawer-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,167,175,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.drawer-hero.is-pillar::before {
  background: radial-gradient(circle, rgba(240,133,151,0.22) 0%, transparent 70%);
}
.drawer-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--white);
  color: var(--primary-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(24,167,175,0.18);
  position: relative;
  z-index: 1;
}
.drawer-hero.is-pillar .drawer-hero-icon {
  color: var(--accent-coral-deep);
  box-shadow: 0 12px 32px rgba(240,133,151,0.25);
}
.drawer-hero-icon svg { width: 38px; height: 38px; }
.drawer-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent-coral-deep);
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}
.drawer-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  color: var(--primary-deep);
  margin: 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* Body content */
.drawer-body {
  padding: 12px 56px 32px;
  flex: 1;
}
.drawer-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-1);
  margin: 8px 0 32px;
}
.drawer-subheading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-2);
  margin: 0 0 16px;
}
.drawer-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-1);
  line-height: 1.5;
}
.drawer-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--primary-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.drawer-hero.is-pillar + .drawer-body .drawer-tick {
  background: var(--accent-coral-soft);
  color: var(--accent-coral-deep);
}

.drawer-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream);
  border-left: 3px solid var(--accent-coral);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin-top: 12px;
}
.drawer-note-icon {
  font-size: 18px;
  color: var(--accent-coral-deep);
  line-height: 1;
  margin-top: 2px;
}
.drawer-note p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-1);
}

/* Footer with CTA */
.drawer-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 56px 40px;
  border-top: 1px solid var(--gray-3);
  background: var(--white);
  position: sticky;
  bottom: 0;
}
.drawer-cta {
  background: var(--primary-1);
  color: var(--white);
}
.drawer-cta .arrow-circle {
  background: var(--white);
  color: var(--primary-1);
}
.drawer-cta:hover { background: var(--hover-color); }
.drawer-cta:hover .arrow-circle { background: var(--white); }
.drawer-secondary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-2);
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.drawer-secondary:hover { color: var(--primary-deep); }

/* Stagger content fade-in once drawer opens */
.drawer.is-open .drawer-hero-icon { animation: drawerFade 0.55s 0.15s both; }
.drawer.is-open .drawer-eyebrow    { animation: drawerFade 0.55s 0.22s both; }
.drawer.is-open .drawer-title      { animation: drawerFade 0.55s 0.28s both; }
.drawer.is-open .drawer-lead       { animation: drawerFade 0.55s 0.36s both; }
.drawer.is-open .drawer-subheading { animation: drawerFade 0.55s 0.42s both; }
.drawer.is-open .drawer-bullets li { animation: drawerFade 0.5s both; }
.drawer.is-open .drawer-bullets li:nth-child(1) { animation-delay: 0.48s; }
.drawer.is-open .drawer-bullets li:nth-child(2) { animation-delay: 0.54s; }
.drawer.is-open .drawer-bullets li:nth-child(3) { animation-delay: 0.6s; }
.drawer.is-open .drawer-bullets li:nth-child(4) { animation-delay: 0.66s; }
.drawer.is-open .drawer-bullets li:nth-child(5) { animation-delay: 0.72s; }
.drawer.is-open .drawer-bullets li:nth-child(6) { animation-delay: 0.78s; }
.drawer.is-open .drawer-note       { animation: drawerFade 0.55s 0.82s both; }
.drawer.is-open .drawer-footer     { animation: drawerFade 0.55s 0.9s both; }

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

@media (max-width: 640px) {
  .drawer { max-width: 100%; }
  .drawer-hero { padding: 56px 28px 32px; }
  .drawer-body { padding: 12px 28px 24px; }
  .drawer-footer { padding: 20px 28px 32px; flex-wrap: wrap; }
  .drawer-title { font-size: 34px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { justify-self: stretch; }
}

@media (max-width: 960px) {
  .section-index-hero-v3 { height: 620px; }
  .hero-headline .sans { font-size: 52px; }
  .hero-headline .serif { font-size: 70px; }
  .section-heading { font-size: 36px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }

  .tool-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .tool-card-tall { grid-row: auto; }

  .register-banner {
    flex-direction: column;
    padding: 40px;
    gap: 32px;
  }
  .register-divider { display: none; }
  .register-half:last-child { padding-left: 0; }
  .register-heading { font-size: 36px; }

  .footer-reviews { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .navbar-v3 { padding: 16px; }
  .nav-login { display: none; }

  .hero-slide { padding: 0 28px; }
  .hero-headline .sans { font-size: 42px; }
  .hero-headline .serif { font-size: 56px; }
  .hero-caption { right: 16px; bottom: 60px; font-size: 12px; }

  .section-index-steps { padding: 60px 0 80px; }
  .steps-grid { grid-template-columns: 1fr; }
  .section-heading { font-size: 30px; margin-bottom: 36px; }

  .register-banner { padding: 32px 24px; border-radius: 18px; }
  .register-heading { font-size: 28px; }
  .phone-link { font-size: 22px; }

  .resources-grid { grid-template-columns: 1fr; }

  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }
}
