:root {
  --forest-900: #123524;
  --forest-700: #1e4d35;
  --forest-500: #2f7a4f;
  --leaf-400: #65a86e;
  --leaf-200: #b6d9b8;
  --soil-700: #5f4633;
  --cream-100: #f6f5ef;
  --white: #ffffff;
  --text-900: #1d2a22;
  --text-700: #3d5145;
  --shadow: 0 10px 24px rgba(18, 53, 36, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-900);
  background: var(--cream-100);
  line-height: 1.6;
}

a {
  color: inherit;
}

.status-banner {
  background: var(--forest-900);
  color: #d9f3df;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 53, 36, 0.08);
}

.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--forest-900);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #d7f2cf, #5e9f62);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-700);
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
}

.nav-links a.active,
.nav-links a:hover {
  background: #eaf5eb;
  color: var(--forest-700);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--forest-700);
  cursor: pointer;
}

.hero {
  min-height: 70vh;
  background:
    linear-gradient(to right, rgba(18, 53, 36, 0.82), rgba(18, 53, 36, 0.62)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  display: grid;
  align-items: center;
}

.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 1rem;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  background: rgba(194, 239, 199, 0.2);
  border: 1px solid rgba(194, 239, 199, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 14ch;
}

.hero p {
  max-width: 60ch;
  margin-bottom: 1.4rem;
  font-size: 1.07rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-block;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #95de98;
  color: #10311f;
  box-shadow: 0 8px 18px rgba(149, 222, 152, 0.3);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.button.secondary-dark {
  border: 1px solid var(--forest-700);
  color: var(--forest-700);
}

.button.soft {
  background: #e9f4ea;
  color: var(--forest-700);
}

main {
  display: block;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.section.tight {
  padding-top: 2.5rem;
}

.section-title {
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.page-header .section-title {
  margin-bottom: 0;
}

.page-corner-image {
  margin: 0;
  width: 100%;
  max-width: 340px;
  justify-self: end;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(18, 53, 36, 0.1);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

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

.section-title p {
  color: var(--text-700);
}

.quote {
  border-left: 4px solid var(--leaf-400);
  background: #eff7f0;
  padding: 1rem 1.2rem;
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 53, 36, 0.08);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--text-700);
  margin: 0;
}

.card p + p {
  margin-top: 0.6rem;
}

.feature-band {
  background: linear-gradient(120deg, #193f2d, #2d6246);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-band p {
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.image-panel {
  border-radius: var(--radius);
  min-height: 270px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.image-panel.one {
  background-image: url("https://images.unsplash.com/photo-1471193945509-9ad0617afabf?auto=format&fit=crop&w=1200&q=80");
}

.image-panel.two {
  background-image: url("https://images.unsplash.com/photo-1461354464878-ad92f492a5a0?auto=format&fit=crop&w=1200&q=80");
}

.image-panel.three {
  background-image: url("teaching.png");
  background-position: center 20%;
}

.checklist {
  padding-left: 1.2rem;
  margin: 0.7rem 0 0;
}

.checklist li {
  margin-bottom: 0.45rem;
}

.cta {
  background: #ecf5ed;
  border: 1px solid #cde2cf;
  border-radius: var(--radius);
  padding: 1.4rem;
}

a.sub-page-link {
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

a.sub-page-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 53, 36, 0.16);
}

a.sub-page-link h3 {
  margin-top: 0.5rem;
}

.footer {
  background: var(--forest-900);
  color: #d7ecd8;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.6rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.footer a {
  color: #d7ecd8;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-legal {
  flex-basis: 100%;
  font-size: 0.88rem;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--forest-700);
  background: #ddf0df;
}

.muted {
  color: var(--text-700);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.72rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #ccd8ce;
  background: var(--white);
  font: inherit;
  color: inherit;
}

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

.small-note {
  font-size: 0.9rem;
  color: var(--text-700);
}

/* ── Confirmation modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 53, 36, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(18, 53, 36, 0.25);
  padding: 2rem 2.2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s ease;
}

.modal-overlay.visible .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box h2 {
  color: var(--forest-700);
  margin-bottom: 0.8rem;
}

.modal-box p {
  color: var(--text-700);
  margin: 0 0 0.6rem;
  font-size: 0.97rem;
  line-height: 1.55;
}

.modal-contact-info {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.modal-contact-info li {
  font-size: 0.97rem;
}

.modal-contact-info a {
  color: var(--forest-500);
  text-decoration: underline;
}

.modal-close-btn {
  min-width: 140px;
}

@media (max-width: 980px) {
  .page-header {
    grid-template-columns: 1fr;
  }

  .page-corner-image {
    justify-self: start;
    max-width: 380px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 1rem;
    top: 4.1rem;
    background: var(--white);
    border: 1px solid rgba(18, 53, 36, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.4rem;
    width: min(88vw, 320px);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 60vh;
  }

  .section {
    padding: 3rem 1rem;
  }
}
