/*
Theme Name: Care By Carers
Theme URI: https://carebycarer.bycommuserv.com.au
Description: Custom theme for Care By Carers NDIS Support Services, inspired by Brooklyn Demo 7
Author: CSV Internal Software
Version: 1.0.9
Tags: one-page, animated, ndis, care
*/

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #2a7ae4;
  --primary-dark: #1a5bbf;
  --accent:    #e05c2d;
  --dark:      #1a1a2e;
  --dark2:     #16213e;
  --mid:       #444;
  --light:     #f7f9fc;
  --white:     #ffffff;
  --text:      #555;
  --border:    #e0e6f0;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow:    0 8px 40px rgba(42,122,228,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 580px;
  line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }
.row { display: flex; flex-wrap: wrap; gap: 2rem; }
.col-2 { flex: 1 1 calc(50% - 1rem); }
.col-3 { flex: 1 1 calc(33.333% - 1.34rem); }
.col-4 { flex: 1 1 calc(25% - 1.5rem); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(42,122,228,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42,122,228,0.45);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-dark {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* =========================================
   HEADER / NAV
   ========================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 0.9rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo img {
  height: auto;
  width: 120px;
  max-height: 52px;
  object-fit: contain;
  transition: width 0.4s var(--ease), max-height 0.4s var(--ease);
}
#site-header.scrolled .site-logo img { width: 96px; max-height: 40px; }
.site-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.site-logo-text span { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.85; }
#site-header.scrolled .site-logo-text { color: var(--dark); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { left: 0.85rem; right: 0.85rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
#site-header.scrolled .nav-menu a { color: var(--mid); }
#site-header.scrolled .nav-menu a:hover,
#site-header.scrolled .nav-menu a.active { color: var(--primary); }
.nav-menu .btn { margin-left: 0.75rem; }
/* Contact Us button — always readable */
.nav-menu .btn-primary {
  background: var(--primary) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(42,122,228,.35);
}
.nav-menu .btn-primary:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,122,228,.45);
}

/* ── Nav Dropdowns ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
}
.nav-chevron {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem !important;
  font-size: 0.85rem !important;
  color: var(--mid) !important;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
#site-header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--primary); }

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark2);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2044 0%, #1a3a6e 40%, #2a5298 70%, #1e3a5f 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s var(--ease) both;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s 0.15s var(--ease) both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fade-up 0.8s 0.3s var(--ease) both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.45s var(--ease) both;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fade-up 0.8s 0.6s var(--ease) both;
  cursor: pointer;
}
.scroll-arrow {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-arrow svg { width: 12px; height: 12px; fill: rgba(255,255,255,0.5); }

/* =========================================
   ABOUT SECTION
   ========================================= */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 140px;
}
.about-badge .num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1;
}
.about-badge .label { font-size: 0.75rem; opacity: 0.85; margin-top: 0.25rem; }
.about-features { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--light);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.about-feature:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 22px; height: 22px; fill: var(--white); }
.about-feature-text h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.about-feature-text p { font-size: 0.875rem; color: var(--text); }

/* =========================================
   STATS / COUNTERS
   ========================================= */
#stats {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 2rem 1rem; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number .stat-suffix { color: var(--primary); }
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 1rem 0;
}

/* =========================================
   SERVICES
   ========================================= */
#services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--border);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-icon svg { width: 30px; height: 30px; fill: var(--white); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--text); line-height: 1.7; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s var(--ease);
}
.service-card:hover .service-link { gap: 0.7rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
#testimonials {
  background: var(--white);
  overflow: hidden;
}
.testimonials-slider { position: relative; }
.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 2rem;
}
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--light);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
}
.testimonial-stars { margin-bottom: 1.5rem; display: flex; justify-content: center; gap: 0.25rem; }
.testimonial-stars svg { width: 18px; height: 18px; fill: #f59e0b; }
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 2rem;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 1rem; color: var(--dark); }
.testimonial-role { font-size: 0.8rem; color: var(--text); }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.slider-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.slider-btn:hover { border-color: var(--primary); background: var(--primary); }
.slider-btn:hover svg { fill: var(--white); }
.slider-btn svg { width: 14px; height: 14px; fill: var(--mid); transition: fill 0.3s; }

/* =========================================
   WHY CHOOSE US
   ========================================= */
#why-us { background: var(--light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.why-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 26px; height: 26px; fill: var(--white); }
.why-text h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.why-text p { font-size: 0.875rem; color: var(--text); line-height: 1.7; }

/* =========================================
   CONTACT
   ========================================= */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { padding-top: 1rem; }
.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(42,122,228,0.3);
}
.contact-icon svg { width: 22px; height: 22px; fill: var(--white); }
.contact-item-text h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.3rem; }
.contact-item-text p, .contact-item-text a { font-size: 1rem; color: var(--mid); font-weight: 500; }
.contact-item-text a:hover { color: var(--primary); }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form-wrap {
  background: var(--light);
  border-radius: 24px;
  padding: 3rem;
}
.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-wrap .subtitle { font-size: 0.9rem; color: var(--text); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--mid); margin-bottom: 0.4rem; letter-spacing: 0.05em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mid);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,122,228,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 1rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #16a34a;
}
.form-success svg { width: 48px; height: 48px; fill: #16a34a; margin: 0 auto 1rem; }

/* =========================================
   ACKNOWLEDGEMENT
   ========================================= */
#acknowledgement {
  background: linear-gradient(135deg, var(--dark2) 0%, #0f2044 100%);
  padding: 3rem 0;
  text-align: center;
}
.acknowledgement-inner {
  max-width: 760px;
  margin: 0 auto;
}
.acknowledgement-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.85;
}
.acknowledgement-inner p strong { color: rgba(255,255,255,0.9); }

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--dark);
  padding: 5rem 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }
.social-btn svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-block;
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* =========================================
   NDIS BADGE STRIP
   ========================================= */
.ndis-strip {
  background: var(--primary);
  padding: 1rem 0;
  text-align: center;
}
.ndis-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ndis-strip p {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-head);
}
.ndis-badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.4);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* =========================================
   ENQUIRY TABS
   ========================================= */
.enquiry-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.75rem;
  background: var(--light);
  padding: .4rem;
  border-radius: 12px;
  flex-wrap: wrap;
}
.enquiry-tab {
  flex: 1;
  padding: .65rem 1rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  text-align: center;
  border: none;
}
.enquiry-tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(42,122,228,.3);
}
.enquiry-tab:hover:not(.active) { background: var(--border); color: var(--dark); }
.tab-fields { animation: fade-up .3s var(--ease) both; }

/* =========================================
   ACKNOWLEDGEMENT FLAGS
   ========================================= */
.acknowledgement-flags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.ack-flag {
  height: 44px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* footer flags */
.footer-flags {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-flag {
  height: 28px;
  border-radius: 4px;
  opacity: .85;
  transition: opacity .3s;
}
.footer-flag:hover { opacity: 1; }
.footer-flags p {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
  margin: 0;
}

/* =========================================
   SINGLE POST
   ========================================= */
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
.single-post-content { min-width: 0; }
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--mid);
}
.post-body h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.post-body h3 { font-size: 1.3rem; margin: 1.75rem 0 .75rem; }
.post-body p  { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: .4rem; }
.post-body img { border-radius: 12px; margin: 1.5rem 0; }
.post-body a   { color: var(--primary); text-decoration: underline; }
.post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--mid);
}
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.post-tag {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--mid);
  padding: .3rem .9rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  transition: all .3s;
}
.post-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem 1.25rem;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.post-nav-item:hover { background: var(--primary); border-color: var(--primary); }
.post-nav-item:hover .post-nav-label,
.post-nav-item:hover .post-nav-title { color: var(--white); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: .75rem; font-weight: 700; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; transition: color .3s; }
.post-nav-title  { font-size: .9rem; font-weight: 600; color: var(--dark); line-height: 1.3; transition: color .3s; }

/* Sidebar */
.single-post-sidebar { display: flex; flex-direction: column; gap: 1.75rem; position: sticky; top: 100px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--dark2) 0%, #1a3a6e 100%);
  border-radius: 20px;
  padding: 2rem;
}
.sidebar-cta h4 { color: var(--white); font-size: 1.2rem; margin-bottom: .6rem; }
.sidebar-cta p  { color: rgba(255,255,255,.65); font-size: .875rem; margin-bottom: 1.25rem; line-height: 1.6; }
.sidebar-recent {
  background: var(--light);
  border-radius: 20px;
  padding: 1.75rem;
}
.sidebar-recent h4 { font-size: 1rem; margin-bottom: 1.25rem; color: var(--dark); }
.sidebar-recent-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .3s;
}
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-item:hover { opacity: .75; }
.sidebar-recent-item img,
.sidebar-recent-placeholder {
  width: 56px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}
.sidebar-recent-title { font-size: .875rem; font-weight: 600; color: var(--dark); line-height: 1.3; margin-bottom: .2rem; }
.sidebar-recent-item span { font-size: .75rem; color: var(--text); }
.sidebar-services {
  background: var(--light);
  border-radius: 20px;
  padding: 1.75rem;
}
.sidebar-services h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--dark); }
.sidebar-service-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 0;
  font-size: .9rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.sidebar-service-link:last-child { border-bottom: none; }
.sidebar-service-link:hover { color: var(--primary); gap: .75rem; }
.sidebar-service-link svg { width: 16px; height: 16px; fill: var(--primary); flex-shrink: 0; }

@media (max-width: 900px) {
  .single-post-grid { grid-template-columns: 1fr; }
  .single-post-sidebar { position: static; }
  .post-nav { grid-template-columns: 1fr; }
}

/* =========================================
   BLOG
   ========================================= */
#blog { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  background: var(--light);
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.06); }
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
}
.blog-card-placeholder svg { width: 64px; height: 64px; }
.blog-cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}
.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card-body h3 a { color: var(--dark); transition: color 0.3s; }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 0.875rem; line-height: 1.7; color: var(--text); flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-head);
  transition: gap 0.3s var(--ease);
}
.blog-card:hover .blog-read-more { gap: 0.6rem; }
.blog-read-more svg { width: 14px; height: 14px; fill: currentColor; }

/* =========================================
   GALLERY
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item { border-radius: 16px; overflow: hidden; }
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

/* =========================================
   FORM SUCCESS (icon fix)
   ========================================= */
.form-success svg { fill: #16a34a; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 520px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-badge { right: 0.5rem; bottom: -1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-overlay { opacity: 1; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .container { padding: 0 1.25rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
