@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 400; }

:root {
  --brand:      #2a7a5a;
  --brand-dark: #1e5c42;
  --accent:     #e8a135;
  --light-bg:   #f6f4ef;
  --alt-bg:     #edf4f0;
  --text:       #1e1e1e;
  --muted:      #555;
  --white:      #ffffff;
  --radius:     10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

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

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ── Page hero (used on non-home pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Home hero ── */
.hero {
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.hero-image-col {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-text-col {
  flex: 1;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.hero-box {
  background: #245f48;
  border-radius: 0;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 100%;
  color: var(--white);
}

.hero-box h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-box p {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-image-col { flex: 0 0 260px; width: 100%; }
  .hero-text-col { padding: 2rem 1.25rem; }
  .hero-box { padding: 2rem 1.5rem; }
  .btn-outline { margin-left: 0; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 400;
  font-size: 1rem;
  padding: .8rem 2.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover { background: #c9871e; }

.btn-outline {
  background: var(--white);
  border: 2px solid var(--white);
  color: #000;
  display: inline-block;
  font-weight: 400;
  font-size: 1rem;
  padding: .8rem 2.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn-outline:hover { background: #e8e8e8; border-color: #e8e8e8; }

/* ── What We Do split layout ── */
.what-we-do-section {
  display: flex;
  align-items: stretch;
  min-height: 480px;
}

.what-we-do-box {
  flex: 0 0 58%;
  background: var(--alt-bg);
  padding: 4rem 3rem 4rem 4rem;
}

.what-we-do-box h2 {
  margin-bottom: 1rem;
}

.what-we-do-box .section-sub {
  margin-bottom: 2rem;
}

.what-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.what-card {
  background: var(--light-bg);
  padding: 1.1rem 1.4rem;
}

.what-card h3 {
  color: var(--brand-dark);
  margin-bottom: .3rem;
  font-size: 1.05rem;
}

.what-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

.what-we-do-image {
  flex: 1;
  overflow: hidden;
}

.what-we-do-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .what-we-do-section { flex-direction: column; }
  .what-we-do-box { flex: none; padding: 2.5rem 1.5rem; border-right: none; border-bottom: 4px solid var(--brand); }
  .what-we-do-image { height: 260px; }
}

/* ── Sections ── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--alt-bg); }
.section-light { background: var(--light-bg); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 3rem;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--alt-bg);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
}

.card-icon { font-size: 2.2rem; margin-bottom: .75rem; }

.card h3 {
  font-size: 1.15rem;
  color: var(--brand-dark);
  margin-bottom: .5rem;
}

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

/* ── Regions ── */
.regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.region {
  border-left: 4px solid var(--brand);
  padding: 1.5rem 1.75rem;
  background: var(--alt-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.region h3 {
  font-size: 1.2rem;
  color: var(--brand-dark);
  margin-bottom: .6rem;
}

.region p { color: var(--muted); font-size: .95rem; }

.region-more { border-left-color: var(--accent); }

/* ── Mission page hero ── */
.mission-hero {
  height: 280px;
  display: flex;
  overflow: hidden;
}

.mission-hero-image {
  flex: 0 0 45%;
  overflow: hidden;
}

.mission-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mission-hero-text {
  flex: 1;
  background: var(--brand-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem;
  color: var(--white);
}

.mission-hero-text h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: .75rem;
}

.mission-hero-text p {
  font-size: 1rem;
  opacity: .85;
  max-width: 480px;
}

@media (max-width: 768px) {
  .mission-hero { flex-direction: column; height: auto; }
  .mission-hero-image { flex: 0 0 200px; width: 100%; }
  .mission-hero-text { padding: 2rem 1.5rem; }
}

/* ── Prose section (headers + paragraphs) ── */
.mission-flex {
  display: flex;
  justify-content: center;
}

.mission-content {
  width: 560px;
  max-width: 100%;
  margin-left: 100px;
}

.prose-section {
  margin-top: 2rem;
}

.prose-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.prose-section h3:first-child {
  margin-top: 0;
}

.prose-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── About page hero ── */
.about-hero {
  height: 280px;
  display: flex;
  overflow: hidden;
}

.about-hero-image {
  flex: 0 0 55%;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-hero-text {
  flex: 1;
  background: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  text-align: center;
}

.about-hero-text h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

@media (max-width: 768px) {
  .about-hero { flex-direction: column; height: auto; }
  .about-hero-image { flex: 0 0 260px; width: 100%; }
  .about-hero-text { padding: 2rem 1.25rem; }
}

/* ── Impact page country split ── */
.impact-split {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  background: var(--white);
}

.impact-text {
  flex: none;
  width: 380px;
  max-width: 55%;
  margin-left: 25%;
  padding: 2.5rem 2rem;
}

.impact-text h2 { margin-bottom: 1rem; }
.impact-text .section-sub { margin-bottom: 0; }

.impact-image {
  position: absolute;
  left: 62%;
  top: 50%;
  transform: translateY(-50%);
}

.impact-image img {
  max-height: 220px;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .impact-split { flex-direction: column; }
  .impact-text { flex: none; padding: 2.5rem 1.5rem; }
  .impact-image { height: 240px; }
}

/* ── About page layout ── */
.story-section {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.story-section h2 {
  margin-bottom: 1.25rem;
}

.story-section p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.directors-section {
  text-align: center;
  margin-top: 3.5rem;
}

.directors-section h3 {
  font-size: 1.4rem;
  color: var(--brand-dark);
  margin-bottom: 2rem;
}

.directors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 560px;
  margin: 0 auto;
}

.director-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.director-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-card strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-dark);
}

@media (max-width: 480px) { .directors-grid { grid-template-columns: 1fr; } }

.founder-info span { font-size: .88rem; color: var(--muted); }

.values { margin-top: 3rem; }

.values h3 {
  font-size: 1.3rem;
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.value-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.value-item .vi-icon { font-size: 1.4rem; flex-shrink: 0; }

.value-item strong { display: block; font-weight: 700; color: var(--brand-dark); font-size: .95rem; }
.value-item p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ── Stats banner ── */
.stats-banner {
  background: var(--brand-dark);
  color: var(--white);
  padding: 3rem 2rem;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label { font-size: .95rem; opacity: .8; }

/* ── Steps (mission page) ── */
.steps { margin-top: 2.5rem; }

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body strong {
  display: block;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

.step-body p { color: var(--muted); font-size: .95rem; }

/* ── Contact form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

@media (max-width: 720px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-detail .ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-weight: 700; font-size: .95rem; color: var(--brand-dark); }
.contact-detail p { color: var(--muted); font-size: .9rem; margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.contact-form textarea { resize: vertical; }

.form-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #d4edda;
  border-radius: var(--radius);
  color: #1d6837;
  font-weight: 600;
}

/* ── Involved page ── */
.involved-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.involved-card {
  background: var(--alt-bg);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.involved-card .btn {
  margin-top: auto;
}

.involved-card .ic-icon { font-size: 2.4rem; margin-bottom: .75rem; }

.involved-card h3 {
  font-size: 1.15rem;
  color: var(--brand-dark);
  margin-bottom: .5rem;
}

.involved-card p { color: var(--muted); font-size: .95rem; }

.cta-box {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  margin-top: 3rem;
}

.cta-box h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.cta-box p { opacity: .85; margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  background: #111;
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .9rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.footer-copy { margin-top: .75rem; opacity: .5; font-size: .8rem; }

/* ── Mobile nav ── */
@media (max-width: 640px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .82rem; }
  .btn-outline { margin-left: 0; margin-top: .75rem; }
}
