/* ============================================================
   OUR SMALL WORLD — Main Stylesheet
   Brand: Green #2D6A4F | Gold #F4A823 | Cream #FDF6EC
          Brown #3E1C00 | Coral #E84C3D
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --green:      #1E4D3B;
  --dk-green:   #132F25;
  --gold:       #D4A017;
  --soft-gold:  #E6C566;
  --cream:      #F7F2E6;
  --brown:      #5A3A1F;
  --navy:       #142B4D;
  --coral:      #142B4D;
  --grey:       #555555;
  --lt-grey:    #f5f5f5;
  --white:      #ffffff;
  --nav-h:      72px;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--brown);
  letter-spacing: 0.5px;
}

/* ── SWAP LOGO: replace .nav-logo-mark with your logo image ── */
/* .nav-logo-mark img { width:44px; height:44px; border-radius:50%; object-fit:cover; } */

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-links .btn-nav {
  background: var(--gold);
  color: var(--brown);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-links .btn-nav:hover { background: var(--soft-gold); color: var(--brown); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-gold  { background: var(--gold);  color: var(--brown); }
.btn-gold:hover  { background: var(--soft-gold); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--dk-green); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--brown); }

/* ── SECTION HELPERS ──────────────────────────────────────── */
.section        { padding: 90px 40px; }
.section-narrow { padding: 90px 40px; max-width: 860px; margin: 0 auto; }
.container      { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  color: var(--brown);
}
.section-title.light { color: var(--white); }
.section-title.gold  { color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--grey);
  max-width: 640px;
  margin-bottom: 48px;
}
.section-sub.light { color: rgba(255,255,255,0.8); }

.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 20px 0 36px;
}
.divider.center { margin: 20px auto 36px; }

/* ── PHOTO / VIDEO PLACEHOLDERS ───────────────────────────── */
.photo-placeholder {
  background: linear-gradient(135deg, var(--green) 0%, var(--dk-green) 100%);
  border: 2px dashed rgba(244,168,35,0.5);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
  position: relative;
}
.photo-placeholder:hover { border-color: var(--gold); }
.photo-placeholder .ph-icon { font-size: 32px; opacity: 0.5; }
.photo-placeholder .ph-label { opacity: 0.7; }

/* To swap a photo placeholder: replace the div with:
   <img src="your-photo.jpg" alt="description" class="photo-img"> */
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.video-placeholder {
  background: var(--brown);
  border: 2px dashed rgba(244,168,35,0.4);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.video-placeholder .play-icon {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(244,168,35,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0.6;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--green);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: var(--gold);
}
.hero-content { max-width: 680px; }
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 38px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (shorter) */
.page-hero {
  background: var(--green);
  padding: 70px 40px;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gold);
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
}

/* ── FOUR C'S CARDS ───────────────────────────────────────── */
.four-cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.c-card {
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-card .c-icon  { font-size: 28px; }
.c-card .c-name  {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.c-card .c-desc  { font-size: 14px; line-height: 1.7; opacity: 0.85; }
.c-card-1 { background: var(--green);  color: var(--white); }
.c-card-2 { background: var(--brown);  color: var(--cream); }
.c-card-3 { background: var(--gold);   color: var(--white); }
.c-card-4 { background: var(--navy);   color: var(--cream); }

/* ── PROGRAM CARDS ────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--white);
  border: 1px solid #e8e0d5;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.program-card-top {
  height: 8px;
}
.program-card-body {
  padding: 28px;
}
.program-card-pillars {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}
.program-card h3 {
  font-size: 17px;
  color: var(--brown);
  margin-bottom: 12px;
}
.program-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}
.color-gold   { background: var(--gold); }
.color-green  { background: var(--green); }
.color-coral  { background: var(--navy); }
.color-brown  { background: var(--brown); }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 60px 40px;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ── OUR STORY ────────────────────────────────────────────── */
.story-section { background: var(--brown); }
.story-section .section-title { color: var(--cream); }
.story-section .story-text { color: rgba(255,255,255,0.85); }
.story-text {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 48px;
}
.story-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-photos .photo-placeholder { height: 260px; }

/* ── FOUNDERS ─────────────────────────────────────────────── */
.founders-section { background: var(--cream); }
.founder-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid #e0d8cc;
}
.founder-card:last-child { border-bottom: none; }
.founder-card.reverse { direction: rtl; }
.founder-card.reverse > * { direction: ltr; }
.founder-photo { height: 400px; border-radius: 10px; }
.founder-info {}
.founder-name {
  font-size: 30px;
  color: var(--brown);
  margin-bottom: 6px;
}
.founder-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.founder-bio {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.9;
}

/* ── CURRICULUM OPTIONS ───────────────────────────────────── */
.curriculum-section { background: var(--lt-grey); }
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.curriculum-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.curriculum-card-top {
  padding: 28px 28px 20px;
  color: var(--white);
}
.curriculum-card-top h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.curriculum-card-top .wk-label {
  font-size: 13px;
  opacity: 0.8;
}
.curriculum-card-body {
  padding: 24px 28px 28px;
}
.curriculum-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.curriculum-card-body li {
  font-size: 14px;
  color: var(--grey);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.curriculum-card-body li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.curriculum-total {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--brown);
  border-top: 1px solid #eee;
  padding-top: 16px;
}
.curriculum-total span { color: var(--green); font-size: 18px; }

/* ── GIVING LEVELS ────────────────────────────────────────── */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.giving-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px;
  border: 1px solid #e8e0d5;
  border-left: 6px solid var(--gold);
  transition: box-shadow 0.2s;
}
.giving-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.giving-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--green);
  margin-bottom: 6px;
}
.giving-level-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}
.giving-impact {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
}

/* ── DONATE CTA ───────────────────────────────────────────── */
.donate-cta {
  background: var(--green);
  padding: 80px 40px;
  text-align: center;
}
.donate-cta h2 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 16px;
}
.donate-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.donate-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--soft-gold);
  font-style: italic;
}

/* ── BANNER CTA (homepage) ────────────────────────────────── */
.banner-cta {
  background: var(--brown);
  padding: 70px 40px;
  text-align: center;
}
.banner-cta h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 12px;
}
.banner-cta p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.banner-cta .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── WHAT'S INCLUDED (donate page) ───────────────────────── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.included-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
}
.included-icon { font-size: 36px; margin-bottom: 14px; }
.included-card h4 {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 10px;
}
.included-card p { font-size: 14px; color: var(--grey); line-height: 1.7; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dk-green);
  padding: 60px 40px 32px;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto 48px;
}
.footer-brand .f-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .f-logo span { color: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-brand .f-sgf {
  font-size: 12px;
  color: var(--soft-gold);
  font-style: italic;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--gold); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: var(--soft-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  max-width: 1120px;
  margin: 0 auto;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .four-cs-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .founder-card       { grid-template-columns: 1fr; gap: 32px; }
  .founder-card.reverse { direction: ltr; }
  .founder-photo      { height: 300px; }
  .curriculum-grid    { grid-template-columns: 1fr; }
  .giving-grid        { grid-template-columns: 1fr; }
  .included-grid      { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .story-photos       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0; background: var(--dk-green);
    padding: 24px 20px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section, .hero, .page-hero { padding: 60px 20px; }
  .four-cs-grid    { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .programs-grid   { grid-template-columns: 1fr; }
  .included-grid   { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns       { flex-direction: column; }
  .banner-cta .btn-row { flex-direction: column; align-items: center; }
  .story-photos    { grid-template-columns: 1fr; }
}
