/* ============================================================
   MUEL EMPOWERMENT FOUNDATION — Brand Stylesheet
   Navy #2D4A7A · Gold/Brown #8B6E52
   ============================================================ */

:root {
  --navy: #2D4A7A;
  --navy-dark: #213a61;
  --navy-light: #3d5d92;
  --gold: #8B6E52;
  --gold-light: #a08465;
  --gold-pale: #f3ede5;
  --cream: #faf8f5;
  --ink: #1f2733;
  --gray: #5a6472;
  --gray-light: #8b94a3;
  --line: #e8e2da;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(45, 74, 122, 0.08);
  --shadow-lg: 0 12px 40px rgba(45, 74, 122, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy); }

a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gold-pale); color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.1; }
.nav-logo-text span { display: block; font-size: 10px; color: var(--gold); font-family: var(--font-body); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: var(--gold);
  opacity: 0.10;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(139,110,82,0.25);
  color: #e8d9c6;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 52px; line-height: 1.1; margin-bottom: 22px; }
.hero p { font-size: 19px; color: rgba(255,255,255,0.85); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── STATS BAR ── */
.stats-bar { background: var(--gold); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat { text-align: center; padding: 34px 16px; color: #fff; }
.stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.9; margin-top: 8px; letter-spacing: 0.3px; }

/* ── SECTIONS ── */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 40px; margin-bottom: 16px; }
.section-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--gray); font-size: 17px; }
.section-navy .section-head p { color: rgba(255,255,255,0.8); }

/* ── PROGRAM CARDS ── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all .25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-icon {
  width: 58px; height: 58px;
  background: var(--gold-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.program-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.program-card h3 { font-size: 21px; margin-bottom: 10px; }
.program-card p { color: var(--gray); font-size: 15px; }

/* ── CAUSE CARDS ── */
.causes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cause-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cause-img { height: 200px; object-fit: cover; width: 100%; background: var(--gold-pale); }
.cause-body { padding: 24px; }
.cause-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.badge-active { background: #e4f3ea; color: #1d7a45; }
.badge-funded { background: #e3edf9; color: var(--navy); }
.badge-closed { background: #f0f0f0; color: #888; }
.cause-body h3 { font-size: 20px; margin-bottom: 8px; }
.cause-body p { color: var(--gray); font-size: 14px; margin-bottom: 18px; }

.progress { background: #eee; height: 9px; border-radius: 100px; overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 100px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 18px; }
.progress-meta strong { color: var(--navy); }

/* ── MISSION / SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 440px; object-fit: cover; }
.split h2 { font-size: 38px; margin-bottom: 20px; }
.split p { color: var(--gray); margin-bottom: 16px; font-size: 16px; }
.value-list { list-style: none; margin-top: 24px; }
.value-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.value-list svg { width: 22px; height: 22px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; background: var(--gold);
  opacity: 0.12; border-radius: 50%;
}
.cta-strip-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.cta-strip h2 { color: #fff; font-size: 38px; margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 30px; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.form-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body);
  transition: border-color .2s; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ALERTS ── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #e4f3ea; color: #1d7a45; border: 1px solid #b8e0c8; }
.alert-error { background: #fce8e8; color: #c0392b; border: 1px solid #f5c6c6; }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 30%; height: 100%;
  background: var(--gold); opacity: 0.1; clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.page-header h1 { color: #fff; font-size: 44px; position: relative; z-index: 2; }
.page-header p { color: rgba(255,255,255,0.82); margin-top: 12px; position: relative; z-index: 2; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 14px; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255,255,255,0.9); }

/* ── FOOTER ── */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer ul a:hover { color: var(--gold-light); }
.footer-brand p { font-size: 14px; margin: 16px 0; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-logo img { height: 44px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .hero h1 { font-size: 38px; }
  .programs-grid, .causes-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-img img { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 80px; }
}
