/* ═══════════════════════════════════════════════
   BASECARE SERVICES – Main Stylesheet
   Brand: Navy #0D2D45  |  Cyan #7EEAEA  |  White
   ═══════════════════════════════════════════════ */

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

:root {
  --navy:       #0D2D45;
  --navy-light: #163D5C;
  --cyan:       #7EEAEA;
  --cyan-light: #B8F4F4;
  --cyan-dark:  #4ECECE;
  --white:      #FFFFFF;
  --off-white:  #F4FBFB;
  --light-gray: #F0F4F8;
  --mid-gray:   #6B7E8F;
  --text:       #1A2E3D;
  --text-light: #4A6070;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 8px rgba(13,45,69,.08);
  --shadow-md:  0 6px 24px rgba(13,45,69,.12);
  --shadow-lg:  0 16px 48px rgba(13,45,69,.16);

  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.section-pad { padding: 96px 0; }
.bg-light { background: var(--light-gray); }

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; color: var(--white); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
h4 { font-size: .95rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
p { color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan-dark);
  background: rgba(126,234,234,.12);
  border: 1px solid rgba(126,234,234,.3);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-label.light { color: var(--cyan-light); border-color: rgba(126,234,234,.25); background: rgba(126,234,234,.08); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-sub { font-size: 1.05rem; color: var(--text-light); }

.highlight {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}
.btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(126,234,234,.4); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover { background: var(--cyan-light); border-color: var(--cyan-light); transform: translateY(-2px); }

.btn-outline-nav {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--cyan);
  padding: .6rem 1.4rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-nav:hover { background: var(--cyan); color: var(--navy); }

.btn-full { width: 100%; justify-content: center; }

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--navy);
  padding: .75rem 0;
  box-shadow: 0 4px 24px rgba(13,45,69,.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-svg { height: 52px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  opacity: .85;
}
.main-nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 65% 75% at 25% 58%, rgba(14, 65, 105, 0.85) 0%, transparent 65%),
    linear-gradient(160deg, #06111e 0%, #0a2238 50%, #05101c 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,234,234,.07) 0%, transparent 70%);
}
.shape-1 { width: 700px; height: 700px; top: -200px; right: -100px; }
.shape-2 { width: 600px; height: 600px; bottom: -100px; left: -150px; background: radial-gradient(circle, rgba(21,104,176,.25) 0%, transparent 70%); }

/* ── Hero carousel background ── */
.hero--carousel { background: #050d18; }
.hero-carousel-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(5,13,24,.75) 0%, rgba(8,28,48,.65) 100%);
}
.hero-slide.active { opacity: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 1;
}

/* Badge */
.ndis-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  padding: .5rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--cyan);
}

.hero-text h1 { line-height: 1.1; }

.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 1.5rem 0 2rem;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Divider + stats */
.hero-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,.12);
  margin-bottom: 1.75rem;
}
.hero-stats { display: flex; align-items: flex-start; gap: 2.5rem; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.stat-label { display: block; font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }

/* Hero panel (right side – default state) */
.hero-visual { display: flex; align-items: center; justify-content: flex-end; }
.hero-visual--panel { }

.hero-panel {
  width: 100%;
  max-width: 430px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.5rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.hero-panel-card {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem;
  padding: 1.5rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  text-align: center;
  transition: background .25s ease;
}
.hero-panel-card:hover { background: rgba(126,234,234,.07); }
.hero-panel-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
}
.hero-panel-icon svg { width: 30px; height: 30px; }
.hero-panel-card span { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.3; }
.hero-panel-wide {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-panel-wide-icon {
  width: 34px; height: 34px;
  color: rgba(255,255,255,.55);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-panel-wide-icon svg { width: 22px; height: 22px; }
.hero-panel-wide p { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; margin: 0; }
.hero-panel-wide strong { color: rgba(255,255,255,.9); }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrapper { position: relative; padding: 2rem; }
.about-img-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, var(--cyan-light) 0%, var(--off-white) 70%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: 0;
}
.about-img-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.about-illustration { width: 100%; max-width: 320px; margin: 0 auto; }
.about-badge-float {
  position: absolute;
  top: 1.5rem; right: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 2;
  line-height: 1.3;
}
.about-badge-float svg { width: 20px; height: 20px; flex-shrink: 0; }

.about-content h2 { margin-bottom: 1.25rem; }
.about-content > p { margin-bottom: 1rem; font-size: 1.025rem; }

.about-values { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--off-white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; }
.value-item strong { display: block; font-size: .95rem; color: var(--navy); margin-bottom: .2rem; }
.value-item p { font-size: .875rem; margin: 0; }

/* ── SERVICES ── */
.section-header--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-header--split .section-sub { text-align: left; max-width: none; margin: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(13,45,69,.06);
  border: 1px solid rgba(13,45,69,.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.service-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(126,234,234,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
  color: var(--cyan-dark);
}
.service-card:hover .service-icon-wrap { background: rgba(126,234,234,.22); }
.service-icon-wrap svg { width: 22px; height: 22px; }

.service-cat-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--cyan-dark);
  letter-spacing: .04em;
  margin-bottom: .4rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.service-card > p { font-size: .875rem; line-height: 1.65; color: var(--text-light); }
.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--cyan-dark);
  transition: var(--transition);
}
.service-link:hover { color: var(--navy); letter-spacing: .02em; }

/* ── NDIS SECTION ── */
.ndis-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.ndis-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(126,234,234,.08) 0%, transparent 70%);
}

.ndis-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ndis-content h2 { color: var(--white); margin-bottom: 1rem; }
.ndis-content > p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }

.ndis-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.step-content strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: .2rem; }
.step-content p { color: rgba(255,255,255,.6); font-size: .875rem; margin: 0; }

.ndis-badge-col { display: flex; justify-content: center; align-items: center; }
.ndis-emblem { position: relative; width: 260px; height: 260px; }
.ndis-ring-wrap { position: absolute; inset: 0; animation: rotateSlow 25s linear infinite; }
.ndis-ring-wrap svg { width: 100%; height: 100%; }
.ndis-emblem-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ndis-emblem-img { width: 58%; height: 58%; object-fit: contain; border-radius: 50%; }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(13,45,69,.06);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(126,234,234,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 30px; height: 30px; }
.why-card p { font-size: .9rem; margin-top: .5rem; }

/* ── TESTIMONIALS ── */
.testimonials {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.testimonials h2 { color: var(--navy); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,45,69,.06);
  position: relative;
  transition: var(--transition);
}
.testimonial-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.03);
}
.testimonial-card.featured p { color: rgba(255,255,255,.8); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--cyan);
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem; left: 1.75rem;
  opacity: .3;
}
.testimonial-card.featured .quote-icon { color: var(--cyan); opacity: .4; }

.testimonial-card p {
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-card.featured .author-avatar { background: rgba(126,234,234,.25); color: var(--cyan); }
.testimonial-author strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-card.featured .testimonial-author strong { color: var(--white); }
.testimonial-author span { font-size: .8rem; color: var(--mid-gray); }
.testimonial-card.featured .testimonial-author span { color: rgba(255,255,255,.5); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { font-size: 1.025rem; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(126,234,234,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: .2rem; }
.contact-item a { color: var(--cyan-dark); font-size: .95rem; transition: var(--transition); }
.contact-item a:hover { color: var(--navy); }
.contact-item span { font-size: .95rem; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13,45,69,.06);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group:last-of-type { margin-bottom: 0; }

label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
}
label span { color: var(--cyan-dark); }

input, select, textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #D8E4EE;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: #A0B4C2; }
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(126,234,234,.2);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 110px; }

.form-privacy {
  font-size: .75rem;
  text-align: center;
  margin-top: 1rem;
  color: var(--mid-gray);
}
.form-privacy a { color: var(--cyan-dark); text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: start;
}

.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand > p { color: rgba(255,255,255,.5); font-size: .9rem; max-width: 240px; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: .75rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.social-links a svg { width: 17px; height: 17px; }
.social-links a:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(126,234,234,.08); }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.footer-col h4 { margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.footer-col a {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.ndis-reg { font-size: .75rem !important; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--cyan);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(126,234,234,.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--cyan-dark); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ── FORM SUCCESS STATE ── */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  background: rgba(126,234,234,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success .success-icon svg { width: 32px; height: 32px; }
.form-success h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: .5rem; }
.form-success p { color: var(--text-light); }

/* ── LOGO IMAGE ── */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

/* ── HERO FEATURE PHOTO ── */
.hero-visual--photo { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.hero-photo-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(13,45,69,.85);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(126,234,234,.3);
}
.hero-photo-badge--tl { top: 1.25rem; left: 1.25rem; }
.hero-photo-badge--br { bottom: 1.25rem; right: 1.25rem; }

/* ── SERVICE CARD IMAGE ── */
.service-card--has-img { padding: 0; overflow: hidden; }
.service-card-img-wrap { width: 100%; overflow: hidden; }
.service-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-card--has-img:hover .service-card-img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: .5rem; }

/* ── TESTIMONIAL PROFILE PHOTO ── */
.author-avatar--photo {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.author-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ── ABOUT PHOTO ── */
.about-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
}

/* ── WPFORMS WRAPPER ── */
.wpforms-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(13,45,69,.06);
}
.wpforms-wrapper .wpforms-field label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
}
.wpforms-wrapper .wpforms-field input,
.wpforms-wrapper .wpforms-field select,
.wpforms-wrapper .wpforms-field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #D8E4EE;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  font-family: var(--font);
}
.wpforms-wrapper .wpforms-field input:focus,
.wpforms-wrapper .wpforms-field select:focus,
.wpforms-wrapper .wpforms-field textarea:focus {
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 3px rgba(126,234,234,.2);
}
.wpforms-wrapper .wpforms-field textarea { min-height: 110px; resize: vertical; }
.wpforms-wrapper .wpforms-submit-container { margin-top: 1.25rem; }
.wpforms-wrapper .wpforms-submit {
  width: 100%;
  padding: .9rem 2rem;
  background: var(--cyan) !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.wpforms-wrapper .wpforms-submit:hover {
  background: var(--cyan-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126,234,234,.4);
}
.form-notice {
  background: rgba(126,234,234,.1);
  border: 1px solid rgba(126,234,234,.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.form-notice p { color: var(--navy); font-size: .95rem; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid .testimonial-card:last-child { display: none; }
  .ndis-inner { grid-template-columns: 1fr; }
  .ndis-badge-col { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-col { max-width: 440px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 100%);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right .3s ease;
    z-index: 999;
    display: flex;
  }
  .main-nav.open { right: 0; box-shadow: -8px 0 40px rgba(0,0,0,.4); }
  .main-nav ul { flex-direction: column; gap: .5rem; align-items: flex-start; }
  .main-nav a { font-size: 1.1rem; padding: .75rem 1rem; width: 100%; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { transform: none; }
  .hero-stats { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .footer-nav { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
}
