:root {
  --color-primary: #1a4d2e;
  --color-primary-dark: #133a23;
  --color-secondary: #4f772d;
  --color-accent: #90a955;
  --color-sage: #ecf3e1;
  --color-cream: #faf9f6;
  --color-warm-white: #ffffff;
  --color-text: #1f2937;
  --color-text-muted: #4b5563;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --color-card-bg: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 200ms ease;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --loader-duration: 5.55s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  touch-action: pan-y;
}

body.loader-active,
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--color-primary);
  color: white;
}

.btn-text {
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  border: none;
  font-weight: 600;
}

.btn-text:hover,
.btn-text:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  animation: loaderExit 0.55s ease var(--loader-duration) forwards;
}

.loader-inner {
  position: relative;
  width: 260px;
  height: 260px;
}

.loader-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.loader-logo img {
  width: 152px;
  height: auto;
  opacity: 0;
  transform: translateY(-40px);
  animation: logoIn 1.5s ease 0.15s forwards;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(-14px) rotate(-90deg);
  animation: ringIn 0.7s ease 0.55s forwards;
}

.loader-ring-track {
  stroke: var(--color-border);
}

.loader-ring-bar {
  stroke: var(--color-primary);
  stroke-dasharray: 471.239;
  stroke-dashoffset: 471.239;
  animation: ringFill var(--loader-duration) ease-in-out 0.85s forwards;
}

@keyframes logoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ringIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(-90deg);
  }
}

@keyframes ringFill {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Page transition overlay: white fade only, no loader */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.page-transition.is-arriving {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Visual logo accents */
.logo-accent {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-accent img {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.92;
}

.logo-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.logo-watermark img {
  width: 70%;
  max-width: 520px;
  height: auto;
}

.about-with-logo {
  position: relative;
  background-color: var(--color-warm-white);
  overflow: hidden;
}

.about-with-logo .about-grid {
  position: relative;
  z-index: 1;
}

.contact-with-logo {
  position: relative;
  overflow: hidden;
}

.contact-with-logo .contact-grid {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  position: relative;
  transition: background-color 200ms ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform 200ms ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero */
/* Page banner (used on inner pages) */
.page-banner {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 77, 46, 0.88) 0%, rgba(79, 119, 45, 0.82) 50%, rgba(26, 77, 46, 0.86) 100%),
    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='%2390a955' fill-opacity='0.08'%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");
  background-size: cover, 120px 120px;
}

.page-banner .hero-inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-banner .hero-content {
  max-width: 760px;
}

.page-banner .tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 77, 46, 0.85) 0%, rgba(79, 119, 45, 0.78) 50%, rgba(26, 77, 46, 0.82) 100%),
    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='%2390a955' fill-opacity='0.08'%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");
  background-size: cover, 120px 120px;
  z-index: -3;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.55;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 77, 46, 0.72) 0%,
    rgba(19, 58, 35, 0.62) 50%,
    rgba(26, 77, 46, 0.68) 100%
  );
  z-index: 1;
}

@keyframes heroGradient {
  0% {
    background-position: center, 0 0;
    filter: hue-rotate(0deg);
  }
  100% {
    background-position: center, 30px 30px;
    filter: hue-rotate(8deg);
  }
}

.hero-blobs {
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: blobMove 22s ease-in-out infinite alternate;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  top: -10%;
  left: -15%;
  background: var(--color-accent);
  animation-duration: 24s;
}

.blob-2 {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  right: -10%;
  background: #6b9c3e;
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

.blob-3 {
  width: 30vw;
  height: 30vw;
  top: 40%;
  left: 35%;
  background: rgba(144, 169, 85, 0.6);
  animation-duration: 26s;
}

@keyframes blobMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(6%, 4%, 0) scale(1.08);
  }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.08);
  animation: floatLeaf 16s ease-in-out infinite;
}

.leaf {
  width: 72px;
  height: 72px;
}

.leaf-1 {
  top: 18%;
  right: 12%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.leaf-2 {
  bottom: 22%;
  right: 22%;
  width: 48px;
  height: 48px;
  animation-delay: -8s;
  animation-duration: 20s;
}

.leaf-3 {
  top: 55%;
  right: 6%;
  width: 36px;
  height: 36px;
  animation-delay: -12s;
  animation-duration: 22s;
}

@keyframes floatLeaf {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -20px, 0) rotate(12deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-content {
  max-width: 680px;
  color: white;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.hero-actions .btn-outline:hover,
.hero-actions .btn-outline:focus {
  background-color: white;
  border-color: white;
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: translateY(0);
  animation: heroContentIn 0.7s ease 0.35s both;
}

body.loader-active .hero .reveal {
  animation-delay: 5.4s;
}

@keyframes heroContentIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About */
.about {
  background-color: var(--color-warm-white);
}

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

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-sage);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Values grid (About page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.mission-vision {
  background-color: var(--color-cream);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mission-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--color-text-muted);
}

/* Services */
.services {
  background-color: var(--color-cream);
}

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

.service-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-sage);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.services-footer {
  margin-top: 3rem;
  text-align: center;
}

/* Audience section (Services page) */
.audience {
  background-color: var(--color-cream);
}

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

.audience-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* EAP */
.eap {
  background-color: var(--color-warm-white);
}

.eap-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
}

.eap-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.eap-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* EAP steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.eap-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.eap-support-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.eap-support-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.eap-support-card p {
  color: var(--color-text-muted);
}

.eap-visual {
  display: flex;
  justify-content: center;
}

.eap-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-cream) 100%);
  border-radius: 50%;
  border: 2px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0 1.5rem;
}

/* FAQ */
.faq {
  background-color: var(--color-cream);
}

.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
}

/* Closing CTA */
.closing-cta {
  background-color: var(--color-warm-white);
  padding: 4rem 0 6rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.cta-actions .btn-outline:hover,
.cta-actions .btn-outline:focus {
  background-color: white;
  border-color: white;
  color: var(--color-primary);
}

.cta-actions .btn-primary {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
}

.cta-actions .btn-primary:hover,
.cta-actions .btn-primary:focus {
  background-color: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-primary-dark);
}

/* CTA with photo background */
.cta-box.has-bg-image {
  position: relative;
  background: none;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-box.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/group-students.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.cta-box.has-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 77, 46, 0.88) 0%,
    rgba(79, 119, 45, 0.82) 50%,
    rgba(26, 77, 46, 0.86) 100%
  );
  z-index: -1;
}

/* Page banner with photo background */
.page-banner.has-bg-image {
  background:
    linear-gradient(
      135deg,
      rgba(26, 77, 46, 0.88) 0%,
      rgba(79, 119, 45, 0.82) 50%,
      rgba(26, 77, 46, 0.86) 100%
    ),
    var(--banner-image, url('../images/generations-hero.webp')) center / cover no-repeat;
}

.page-banner.about-banner {
  --banner-image: url('../images/generations-hero.webp');
}

.page-banner.services-banner {
  --banner-image: url('../images/generations-hero.webp');
}

.page-banner.contact-banner {
  --banner-image: url('../images/generations-hero.webp');
}

/* Split image + text sections */
.image-text-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-badge {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* Contact */
.contact {
  background-color: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  font-style: normal;
  margin-bottom: 2rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: baseline;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.contact-value {
  color: var(--color-text);
}

.contact-value a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-value a:hover {
  color: var(--color-primary-dark);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-warm-white);
  transition: all var(--transition);
}

.social-link:hover,
.social-link:focus {
  background-color: var(--color-sage);
  border-color: var(--color-sage);
}

/* Contact form */
.contact-form-wrapper {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-row {
  margin-bottom: 1.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(144, 169, 85, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-col a:hover,
.footer-col a:focus {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile navigation */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-shapes .leaf {
    opacity: 0.05;
  }
}

@media (max-width: 992px) {
  .about-grid,
  .eap-grid,
  .contact-grid,
  .mission-vision-grid,
  .eap-support-grid,
  .audience-grid,
  .image-text-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid,
  .values-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .image-frame {
    order: -1;
    max-height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .page-banner {
    min-height: 45vh;
  }

  .logo-accent img {
    max-width: 240px;
  }

  .logo-watermark img {
    width: 80%;
    max-width: 340px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .hero-content {
    max-width: 100%;
  }

  .brand-text {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .about-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .blob {
    filter: blur(60px);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-loader {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .loader-logo img,
  .loader-ring,
  .loader-ring-bar,
  .hero-bg,
  .blob,
  .shape,
  .hero .reveal,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
