/* ============================================================
   HORIZON BEHAVIORAL SOLUTIONS — Main Stylesheet
   Colors: Blue #2B6CB0 | Red #E53E3E | Green #38A169
           Orange #ED8936 | Yellow #ECC94B
   Fonts: Nunito (headings) | Open Sans (body)
   ============================================================ */

/* --- Variables --- */
:root {
  --primary:      #2B6CB0;
  --primary-dark: #1A4A8A;
  --primary-light:#EBF4FF;
  --red:          #E53E3E;
  --red-dark:     #C53030;
  --green:        #38A169;
  --orange:       #ED8936;
  --yellow:       #ECC94B;
  --teal:         #2C7A7B;
  --dark:         #1A202C;
  --gray:         #718096;
  --border:       #E2E8F0;
  --light:        #F7FAFC;
  --white:        #FFFFFF;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-pill:  50px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.16);
  --transition:   all 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark); line-height: 1.75; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem,   5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; color: var(--gray); }
p:last-child { margin-bottom: 0; }
strong { color: var(--dark); }

/* --- Layout Helpers --- */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 24px; }
.section      { padding: 90px 0; }
.section-sm   { padding: 60px 0; }
.text-center  { text-align: center; }
.text-white   { color: #fff !important; }
.text-muted   { color: var(--gray); }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-20       { gap: 20px; }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 55px; }
.eyebrow {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--gray); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.section-header.light .eyebrow { background: rgba(255,255,255,0.2); color: #fff; }
.section-header.light h2 { color: #fff; }
.section-header.light p  { color: rgba(255,255,255,0.82); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary        { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-red            { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover      { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline        { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: #fff; }
.btn-white          { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover    { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline-white  { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-lg             { padding: 16px 44px; font-size: 1.05rem; }
.btn-sm             { padding: 9px 22px; font-size: 0.85rem; }
.btn-group          { display: flex; gap: 15px; flex-wrap: wrap; }

/* --- Badge / Pill --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-green  { background: #C6F6D5; color: #276749; }
.badge-blue   { background: var(--primary-light); color: var(--primary); }
.badge-orange { background: #FEEBC8; color: #9C4221; }
.badge-red    { background: #FED7D7; color: #9B2C2C; }
.badge-ndis   { background: var(--green); color: #fff; font-size: 0.8rem; padding: 7px 18px; }

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.header-logo img { height: 58px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.header-nav a {
  padding: 8px 13px;
  border-radius: 7px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  transition: var(--transition);
}
.header-nav a:hover,
.header-nav a.active { color: var(--primary); background: var(--primary-light); }
.header-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 30px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 10px;
  transition: var(--transition);
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover { color: var(--primary); background: var(--primary-light); }
.mobile-nav .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ============================================================
   HERO — HOME PAGE
   ============================================================ */
.hero-home {
  min-height: 600px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #0D2B5E; /* fallback while images load */
}
/* Slide container */
.hero-slides {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* Individual slides */
.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 7s ease-out forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}
/* Dark overlay so white text is always readable */
.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 43, 94, 0.55);
  z-index: 1;
}
.hero-home::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}
.hero-home .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-home h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  line-height: 1.2;
}
.hero-home .hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 55px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat span { display: block; font-size: 2rem; font-weight: 800; font-family: 'Nunito', sans-serif; color: #fff; }
.hero-stat small { font-size: 0.82rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #0D2B5E 0%, #2B6CB0 100%);
  padding: 75px 0;
  text-align: center;
}
.page-hero h1      { color: #fff; margin-bottom: 14px; }
.page-hero p       { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.page-hero .breadcrumb { margin-bottom: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 8px; }

/* ============================================================
   HOME — SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px 28px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card .sc-icon {
  width: 68px; height: 68px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.9rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--dark); }
.service-card p  { font-size: 0.88rem; margin-bottom: 18px; line-height: 1.6; }
.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card .learn-more:hover { gap: 10px; }

/* Service card color themes */
.sc-blue::before  { background: var(--primary); }
.sc-blue  .sc-icon { background: rgba(43,108,176,0.1); color: var(--primary); }
.sc-blue  .learn-more { color: var(--primary); }
.sc-red::before   { background: var(--red); }
.sc-red   .sc-icon { background: rgba(229,62,62,0.1); color: var(--red); }
.sc-red   .learn-more { color: var(--red); }
.sc-green::before { background: var(--green); }
.sc-green .sc-icon { background: rgba(56,161,105,0.1); color: var(--green); }
.sc-green .learn-more { color: var(--green); }
.sc-orange::before{ background: var(--orange); }
.sc-orange .sc-icon { background: rgba(237,137,54,0.1); color: var(--orange); }
.sc-orange .learn-more { color: var(--orange); }
.sc-yellow::before{ background: var(--yellow); }
.sc-yellow .sc-icon { background: rgba(236,201,75,0.15); color: #8A6A00; }
.sc-yellow .learn-more { color: #8A6A00; }
.sc-teal::before  { background: var(--teal); }
.sc-teal  .sc-icon { background: rgba(44,122,123,0.1); color: var(--teal); }
.sc-teal  .learn-more { color: var(--teal); }

/* ============================================================
   HOME — ABOUT SNIPPET
   ============================================================ */
.about-snippet { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.about-image-block {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.about-image-block .img-label {
  position: absolute;
  bottom: 25px; left: 25px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}
.about-text h2 { margin-bottom: 8px; }
/* .eyebrow is now global — no per-container override needed */
.about-text p  { margin-bottom: 18px; }
.about-text .badge { margin-bottom: 25px; display: inline-flex; }

/* ============================================================
   HOME — WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-block { text-align: center; padding: 30px 20px; }
.why-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 2rem;
  transition: var(--transition);
}
.why-block:hover .why-icon { transform: scale(1.1) rotate(-5deg); }
.why-block h4  { margin-bottom: 10px; font-size: 1rem; }
.why-block p   { font-size: 0.88rem; line-height: 1.65; }
.wi-red    { background: rgba(229,62,62,0.1);    color: var(--red); }
.wi-blue   { background: rgba(43,108,176,0.1);   color: var(--primary); }
.wi-green  { background: rgba(56,161,105,0.1);   color: var(--green); }
.wi-orange { background: rgba(237,137,54,0.1);   color: var(--orange); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #C53030 100%);
  padding: 85px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.about-intro-img {
  border-radius: var(--radius);
  min-height: 360px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card { border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); background: #fff; border-top: 5px solid transparent; }
.vm-card.vision { border-top-color: var(--primary); }
.vm-card.mission{ border-top-color: var(--green); }
.vm-card .vm-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.6rem; }
.vm-card.vision .vm-icon  { background: rgba(43,108,176,0.1); color: var(--primary); }
.vm-card.mission .vm-icon { background: rgba(56,161,105,0.1); color: var(--green); }
.vm-card h3 { margin-bottom: 14px; }
.vm-card p  { font-size: 0.95rem; line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid transparent;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .v-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p  { font-size: 0.87rem; }
.vc-blue   { border-left-color: var(--primary); }
.vc-red    { border-left-color: var(--red); }
.vc-green  { border-left-color: var(--green); }
.vc-orange { border-left-color: var(--orange); }
.vc-yellow { border-left-color: var(--yellow); }
.vc-teal   { border-left-color: var(--teal); }

.conditions-wrap { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.conditions-list { margin-top: 20px; }
.conditions-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
.conditions-list li:last-child { border-bottom: none; }
.conditions-list li i { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.conditions-img {
  border-radius: var(--radius);
  min-height: 380px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}

.goal-banner {
  background: var(--yellow);
  padding: 75px 0;
  text-align: center;
}
.goal-banner h2 { color: var(--dark); max-width: 720px; margin: 0 auto 22px; }
.goal-banner p  { color: var(--dark); opacity: 0.75; font-size: 1rem; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 87px;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.services-nav ul { display: flex; overflow-x: auto; padding: 0 24px; max-width: 1180px; margin: 0 auto; }
.services-nav li a {
  display: block;
  padding: 16px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.services-nav li a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.service-section { padding: 90px 0; }
.service-section:nth-child(even) { background: var(--light); }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
.service-layout.flipped { direction: rtl; }
.service-layout.flipped > * { direction: ltr; }
.service-thumb {
  border-radius: var(--radius);
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-thumb .replace-note {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
}
.service-content .age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-content h2 { margin-bottom: 16px; }
.service-content > p { margin-bottom: 14px; }
.service-content h4 { margin: 20px 0 10px; color: var(--dark); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.service-bullets { margin-bottom: 28px; }
.service-bullets li { display: flex; align-items: flex-start; gap: 11px; padding: 7px 0; font-size: 0.93rem; color: var(--gray); border-bottom: 1px solid var(--border); }
.service-bullets li:last-child { border-bottom: none; }
.service-bullets li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 55px; align-items: start; }
.contact-form-section h2 { margin-bottom: 8px; }
.contact-form-section .lead { font-size: 1rem; margin-bottom: 30px; }
.contact-sidebar { background: var(--light); border-radius: var(--radius); padding: 38px; }
.contact-sidebar h3 { margin-bottom: 28px; color: var(--primary); }
.c-info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.c-info-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.c-info-text strong { display: block; font-family: 'Nunito', sans-serif; font-size: 0.85rem; color: var(--dark); margin-bottom: 3px; }
.c-info-text span { font-size: 0.9rem; color: var(--gray); }
.map-placeholder {
  background: var(--light);
  border-radius: var(--radius);
  height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed var(--border);
  color: var(--gray);
  margin-top: 30px;
  text-align: center;
  gap: 10px;
}
.map-placeholder i { font-size: 2.5rem; color: var(--border); }

/* ============================================================
   FORMS
   ============================================================ */
.hbs-form { }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 9px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B2BFCF; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,108,176,0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23718096'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-group input[type="file"] {
  padding: 10px 14px;
  border: 2px dashed var(--border);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray);
}
.form-group input[type="file"]:hover { border-color: var(--primary); }
.form-note { font-size: 0.78rem; color: var(--gray); margin-top: 5px; }
.honeypot { display: none !important; }

/* Form messages */
.msg-success, .msg-error {
  display: none;
  padding: 15px 20px;
  border-radius: 9px;
  margin-bottom: 22px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  align-items: center;
  gap: 10px;
}
.msg-success { background: #C6F6D5; color: #276749; }
.msg-error   { background: #FED7D7; color: #9B2C2C; }
.msg-success.show, .msg-error.show { display: flex; }
.form-submit { margin-top: 10px; }

/* ============================================================
   WORK WITH US PAGE
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.benefit-card  { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: var(--transition); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-card .b-icon { font-size: 2.2rem; margin-bottom: 16px; }
.benefit-card h4 { margin-bottom: 8px; font-size: 1rem; }
.benefit-card p  { font-size: 0.87rem; }

.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.role-card  { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border-top: 4px solid var(--primary); transition: var(--transition); }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.role-card .r-icon { font-size: 2rem; margin-bottom: 15px; color: var(--primary); }
.role-card h4 { margin-bottom: 10px; color: var(--primary); }
.role-card p  { font-size: 0.87rem; }

.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.culture-img  { border-radius: var(--radius); min-height: 380px; background: linear-gradient(135deg, var(--primary) 0%, #1A365D 100%) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.culture-text h2 { margin-bottom: 15px; }
.culture-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; color: var(--gray); }
.culture-list li:last-child { border-bottom: none; }
.culture-list li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }

.qualities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.quality-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 0.92rem; font-weight: 600; font-family: 'Nunito', sans-serif; }
.quality-item i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-card { text-align: center; }
.team-photo {
  width: 170px; height: 170px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.6);
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
}
.team-card h4 { margin-bottom: 5px; font-size: 1.1rem; }
.team-card .role { font-size: 0.88rem; color: var(--primary); font-weight: 700; font-family: 'Nunito', sans-serif; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); z-index: 1; }
.gallery-item .g-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .g-overlay { opacity: 1; }
.gallery-item .g-overlay i { color: #fff; font-size: 2rem; }

/* ============================================================
   FEES PAGE
   ============================================================ */
.fees-intro { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: start; }
.fees-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.fees-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.fees-table thead tr { background: var(--primary); }
.fees-table thead th { padding: 16px 22px; text-align: left; color: #fff; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.5px; }
.fees-table tbody td { padding: 15px 22px; border-bottom: 1px solid var(--border); color: var(--gray); }
.fees-table tbody tr:nth-child(even)  { background: var(--light); }
.fees-table tbody tr:last-child td { border-bottom: none; }
.fees-table tbody tr:hover { background: rgba(43,108,176,0.04); }
.fees-table .service-name { color: var(--dark); font-weight: 600; font-family: 'Nunito', sans-serif; }
.fees-note { font-size: 0.8rem; color: var(--gray); margin-top: 12px; font-style: italic; padding: 0 4px; }
.fees-cta-box { background: var(--primary-light); border-radius: var(--radius); padding: 32px; }
.fees-cta-box h4 { margin-bottom: 10px; color: var(--primary); }
.fees-cta-box p  { font-size: 0.9rem; margin-bottom: 20px; }

/* ============================================================
   CALENDAR PAGE
   ============================================================ */
.calendar-placeholder {
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 32px;
  text-align: center;
}
.calendar-placeholder > i { font-size: 4rem; color: var(--primary); opacity: 0.35; margin-bottom: 20px; }
.calendar-placeholder h3 { margin-bottom: 12px; color: var(--dark); }
.calendar-placeholder p  { color: var(--gray); max-width: 480px; margin: 0 auto 24px; }
.calendar-placeholder .btn { display: inline-flex; width: auto; max-width: 100%; }
.calendar-embed iframe   { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #111827; color: #fff; padding: 75px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr; gap: 45px; margin-bottom: 60px; }
.footer-about .footer-logo { height: 55px; margin-bottom: 20px; }
.footer-about p { font-size: 0.86rem; color: #9CA3AF; line-height: 1.8; margin-bottom: 20px; }
.footer-ndis { display: inline-flex; align-items: center; gap: 8px; background: rgba(43,108,176,0.25); color: #93C5FD; font-size: 0.75rem; font-weight: 700; font-family: 'Nunito', sans-serif; padding: 6px 14px; border-radius: var(--radius-pill); letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col h5 { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.87rem; color: #9CA3AF; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-links a i { font-size: 0.7rem; color: var(--primary); }
.f-contact-item { display: flex; gap: 12px; margin-bottom: 14px; }
.f-contact-icon { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.f-contact-text { font-size: 0.86rem; color: #9CA3AF; line-height: 1.6; }
.f-contact-text a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #9CA3AF; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { background: #0D1219; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: #6B7280; }
.footer-bottom a { color: #6B7280; transition: color 0.2s; }
.footer-bottom a:hover { color: #9CA3AF; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 900px) {
  .about-snippet, .about-intro, .vm-grid, .conditions-wrap,
  .service-layout, .service-layout.flipped, .contact-grid,
  .culture-grid, .fees-intro { grid-template-columns: 1fr; }
  .service-layout.flipped { direction: ltr; }
  /* Image always on top on mobile — fixes alternating order issue */
  .service-layout.flipped .service-thumb { order: -1; }
  .benefits-grid, .roles-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reduce oversized image containers */
  .about-image-block, .about-intro-img,
  .conditions-img, .culture-img { min-height: 280px; }
  .service-thumb  { min-height: 260px; }
  .service-layout { gap: 30px; }
  .service-section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .section { padding: 60px 0; }
  .services-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-stats   { gap: 30px; }
  .qualities-grid { grid-template-columns: 1fr; }
  /* Hero */
  .hero-home { min-height: 480px; padding: 60px 0; }
  /* Further reduce image heights */
  .about-image-block, .about-intro-img,
  .conditions-img, .culture-img { min-height: 240px; }
  .service-thumb { min-height: 220px; }
  .contact-sidebar { padding: 28px; }
}

@media (max-width: 520px) {
  .services-grid, .values-grid,
  .benefits-grid, .roles-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats   { flex-direction: column; gap: 20px; }
  .btn-group    { flex-direction: column; align-items: center; }
  /* Phone-sized image heights */
  .about-image-block, .about-intro-img,
  .conditions-img, .culture-img { min-height: 220px; }
  .service-thumb { min-height: 200px; }
  /* Hero on small phones */
  .hero-home { min-height: 420px; padding: 50px 0; }
  /* Tighten card padding */
  .vm-card { padding: 28px; }
  .contact-sidebar { padding: 22px; }
  .benefit-card, .role-card { padding: 24px 20px; }
}
