:root {
  --ink: #10211c;
  --muted: #61716b;
  --green-900: #073e31;
  --green-800: #075b46;
  --green-700: #0b7659;
  --green-600: #0e8f6a;
  --mint: #dff6ed;
  --mint-soft: #f2fbf7;
  --gold: #e8b84d;
  --cream: #fffdf7;
  --white: #ffffff;
  --line: #dce8e2;
  --shadow: 0 24px 70px rgba(7, 62, 49, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 247, .88);
  border-bottom: 1px solid rgba(7, 62, 49, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.2rem; color: var(--green-900); }
.brand small { font-size: .72rem; letter-spacing: .04em; color: var(--muted); }

.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { text-decoration: none; font-size: .92rem; font-weight: 650; color: #31433d; }
.primary-nav a:hover { color: var(--green-700); }
.primary-nav .nav-cta {
  background: var(--green-800);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
}
.menu-toggle { display: none; border: 0; background: none; padding: 7px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 83% 15%, rgba(232,184,77,.22), transparent 27%),
    linear-gradient(145deg, #fffdf7 0%, #f4fbf7 58%, #e9f7f0 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding-block: 88px; }
.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--green-700);
}
.eyebrow span { width: 28px; height: 2px; background: var(--gold); }
.hero h1, .section h2, .newsletter h2 {
  margin: 18px 0 22px;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); max-width: 790px; }
.hero h1 em { color: var(--green-700); font-style: normal; }
.hero-copy > p { font-size: 1.15rem; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--green-800); color: var(--white); }
.button.primary:hover { background: var(--green-700); transform: translateY(-1px); }
.button.secondary { border-color: var(--green-800); color: var(--green-900); background: transparent; }
.button.secondary.dark { border-color: var(--ink); }
.button.white { background: var(--white); color: var(--green-900); }

.hero-meta { display: flex; gap: 34px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { color: var(--green-800); font-size: 1.06rem; }
.hero-meta span { color: var(--muted); font-size: .82rem; }

.hero-visual { min-height: 530px; position: relative; display: grid; place-items: center; }
.ai-card {
  width: min(100%, 470px);
  min-height: 480px;
  background: rgba(255,255,255,.83);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 28px;
  position: relative;
  z-index: 3;
}
.ai-card-top { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 7px rgba(14,143,106,.12); }
.brain-mark { height: 300px; position: relative; display: grid; place-items: center; }
.brain-mark svg { width: 90%; overflow: visible; }
.brain-mark path { fill: none; stroke: var(--green-700); stroke-width: 4; stroke-linecap: round; opacity: .85; }
.brain-node { position: absolute; width: 22px; height: 22px; background: var(--gold); border: 5px solid var(--white); border-radius: 50%; box-shadow: 0 4px 16px rgba(7,62,49,.22); z-index: 2; }
.n1{left:13%;top:24%}.n2{left:34%;top:14%}.n3{left:52%;top:25%}.n4{left:75%;top:16%}.n5{left:21%;top:57%}.n6{left:67%;top:59%}
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.principle-grid span { background: var(--mint-soft); border: 1px solid var(--line); padding: 11px 12px; border-radius: 12px; font-size: .82rem; text-align: center; color: var(--green-900); font-weight: 700; }
.floating-note { position: absolute; z-index: 4; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(7,62,49,.12); padding: 11px 15px; border-radius: 999px; font-size: .78rem; font-weight: 750; color: var(--green-800); }
.note-one { top: 8%; right: 0; }
.note-two { left: -4%; bottom: 24%; }
.note-three { right: -3%; bottom: 8%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .8; }
.hero-glow-one { width: 260px; height: 260px; background: rgba(14,143,106,.10); left: -100px; top: 22%; }
.hero-glow-two { width: 180px; height: 180px; background: rgba(232,184,77,.16); right: 12%; bottom: -80px; }

.trust-strip { background: var(--green-900); color: var(--white); }
.trust-grid { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; }
.trust-grid i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.section { padding: 110px 0; }
.section-soft { background: var(--mint-soft); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section h2 { font-size: clamp(2.3rem, 4vw, 4.1rem); max-width: 800px; }
.prose p { color: var(--muted); font-size: 1.08rem; margin-top: 0; }
.text-link { display: inline-flex; gap: 8px; text-decoration: none; color: var(--green-700); font-weight: 800; margin-top: 10px; }
.text-link:hover span { transform: translateX(4px); }
.section-heading { max-width: 790px; margin-bottom: 52px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered h2 { margin-inline: auto; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }

.card-grid { display: grid; gap: 20px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-height: 260px; }
.feature-card .icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--mint); color: var(--green-800); font-weight: 900; }
.feature-card h3 { margin: 28px 0 10px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); }

.projects-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.project-card.featured { grid-row: span 3; background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: var(--white); min-height: 630px; display: flex; align-items: end; }
.project-card.featured:before { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; top: -110px; right: -90px; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.project-label { position: absolute; top: 28px; left: 28px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 12px; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.project-content { position: relative; z-index: 2; }
.project-number { color: var(--green-600); font-weight: 900; }
.featured .project-number { color: var(--gold); }
.project-card h3 { font-size: 1.65rem; margin: 14px 0 14px; }
.project-card.featured h3 { font-size: 2.7rem; line-height: 1.1; }
.project-card p { color: var(--muted); }
.project-card.featured p, .project-card.featured li { color: rgba(255,255,255,.78); }
.project-card ul { padding-left: 20px; }
.project-card.featured .text-link { color: var(--white); }

.course-section { background: linear-gradient(135deg, var(--green-900), #0b6f55); color: var(--white); }
.course-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.section-tag.light { color: #aee9d4; }
.course-copy p { color: rgba(255,255,255,.76); font-size: 1.08rem; }
.course-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.course-highlights div { padding: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 15px; }
.course-highlights strong, .course-highlights span { display: block; }
.course-highlights span { color: rgba(255,255,255,.65); font-size: .78rem; }
.curriculum-card { background: var(--white); color: var(--ink); padding: 28px; border-radius: 28px; box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.curriculum-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.curriculum-head span { color: var(--muted); }
.curriculum-head strong { color: var(--green-700); }
.curriculum-card ol { list-style: none; margin: 0; padding: 0; }
.curriculum-card li { display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.curriculum-card li:last-child { border-bottom: 0; }
.curriculum-card li > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--green-700); font-weight: 850; font-size: .78rem; }
.curriculum-card li strong, .curriculum-card li small { display: block; }
.curriculum-card li small { color: var(--muted); margin-top: 2px; }

.event-card { display: grid; grid-template-columns: 270px 1fr; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.event-date { background: var(--gold); min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green-900); }
.event-date span { font-size: 8rem; line-height: .85; font-weight: 900; letter-spacing: -.08em; }
.event-date strong { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 22px; }
.event-date small { margin-top: 8px; font-size: 1rem; }
.event-info { padding: 58px; align-self: center; }
.event-info h2 { margin-top: 12px; }
.event-info p { color: var(--muted); max-width: 760px; }
.event-details { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.event-details span { background: var(--mint-soft); border: 1px solid var(--line); padding: 9px 12px; border-radius: 999px; font-size: .82rem; }
.event-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.impact-card { background: var(--white); border: 1px solid var(--line); padding: 28px; border-radius: 20px; min-height: 205px; }
.impact-card strong { display: block; font-size: 2.2rem; color: var(--green-700); margin-bottom: 30px; }
.impact-card span { color: var(--muted); }

.team-intro { margin-bottom: 48px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--white); }
.role-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--green-800); color: var(--white); display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; }
.role-card p { color: var(--muted); }

.donate-section { background: var(--green-900); color: var(--white); }
.donate-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.donate-card > div > p { color: rgba(255,255,255,.72); max-width: 650px; }
.donate-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 30px; }
.donate-box p, .donate-box small { color: rgba(255,255,255,.7); }
.donate-box small { display: block; margin-top: 18px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-copy p { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 32px; }
.contact-list > a, .contact-list > div { text-decoration: none; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 14px; border-radius: 15px; }
.contact-list > * > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--green-800); }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: var(--muted); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 20px 60px rgba(7,62,49,.08); }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid #cfded7;
  border-radius: 12px;
  background: #fbfdfc;
  padding: 13px 14px;
  margin-top: 7px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(14,143,106,.12); }
.form-note { color: var(--muted); font-size: .76rem; margin-bottom: 0; }

.newsletter { background: var(--gold); padding: 58px 0; }
.newsletter-wrap { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; }
.newsletter span { text-transform: uppercase; font-weight: 850; letter-spacing: .14em; font-size: .75rem; color: var(--green-900); }
.newsletter h2 { font-size: 2rem; margin: 8px 0 0; max-width: 690px; }
.newsletter form { display: flex; background: var(--white); border-radius: 999px; padding: 7px; box-shadow: 0 12px 30px rgba(75,57,10,.13); }
.newsletter input { border: 0; outline: 0; padding: 0 18px; flex: 1; min-width: 0; }
.newsletter button { border: 0; border-radius: 999px; background: var(--green-900); color: var(--white); padding: 13px 20px; font-weight: 800; }

.site-footer { background: #082d25; color: rgba(255,255,255,.72); padding: 75px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.light-brand strong, .light-brand small { color: var(--white); }
.footer-brand p { max-width: 360px; }
.footer-grid h3 { color: var(--white); font-size: .95rem; margin-top: 0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 54px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    left: 20px; right: 20px; top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 12px; }
  .primary-nav .nav-cta { text-align: center; }
  .hero-grid, .split, .course-grid, .donate-card, .contact-grid, .newsletter-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .card-grid.four, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { min-height: 520px; }
  .event-card { grid-template-columns: 200px 1fr; }
  .event-info { padding: 40px; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 3; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 26px, var(--container)); }
  .section { padding: 78px 0; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 58px; }
  .hero h1 { font-size: 2.85rem; }
  .hero-meta { gap: 16px; }
  .hero-meta span { font-size: .72rem; }
  .hero-visual { min-height: 460px; }
  .ai-card { min-height: 420px; padding: 20px; }
  .brain-mark { height: 250px; }
  .floating-note { display: none; }
  .trust-grid { flex-wrap: wrap; justify-content: center; padding: 22px 0; }
  .trust-grid i { display: none; }
  .trust-grid span { width: 46%; text-align: center; }
  .card-grid.four, .impact-grid { grid-template-columns: 1fr; }
  .project-card.featured { min-height: 460px; }
  .project-card.featured h3 { font-size: 2.1rem; }
  .course-highlights { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { min-height: 220px; }
  .event-date span { font-size: 6rem; }
  .event-info { padding: 30px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .newsletter form { border-radius: 18px; flex-direction: column; gap: 8px; }
  .newsletter input { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
