/* =====================
   QALID FOUNDATION
   style.css
   ===================== */

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

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- COLORS ---------- */
:root {
  --navy: #1a2744;
  --navy-dark: #111827;
  --navy-mid: #243058;
  --gold: #f5c842;
  --gold-dark: #c9a227;
  --blue-muted: #6b7fa3;
  --bg-light: #f4f6fb;
}

/* ---------- NAV ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: var(--navy);
  border-bottom: 0.5px solid var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: #a0aec0;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px;
  overflow: hidden;
}

.hero-video,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 39, 68, 0.92) 45%,
    rgba(26, 39, 68, 0.55)
  );
  z-index: 1;
}

.hero-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 16vw, 200px);
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  pointer-events: none;
  user-select: none;
  padding-top: 16px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 200, 66, 0.15);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 0.5px solid rgba(245, 200, 66, 0.35);
}

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 68px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.btn-gold:hover { opacity: 0.88; }

.btn-ghost {
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- STATS BAR ---------- */
.stats-bar {
  display: flex;
  background: var(--navy);
}

.stat-item {
  padding: 28px 48px;
  border-right: 0.5px solid var(--navy-mid);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--blue-muted);
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 48px; background: var(--bg-light); }
.section-white { padding: 80px 48px; background: #fff; }
.section-dark { padding: 80px 48px; background: var(--navy); }

.pill {
  display: inline-block;
  background: #e8ecf7;
  color: #3d5a9e;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pill-gold {
  display: inline-block;
  background: rgba(245, 200, 66, 0.15);
  color: var(--gold-dark);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 0.5px solid rgba(245, 200, 66, 0.3);
}

.section-heading {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: #111;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-heading-white {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 14px;
  color: #777;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 48px;
}

.section-sub-white {
  font-size: 14px;
  color: var(--blue-muted);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 48px;
}

/* ---------- ABOUT BLURB ---------- */
.about-blurb {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 21px);
  color: var(--navy);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ---------- IMAGE STRIP ---------- */
.img-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.75fr;
  gap: 12px;
  margin-top: 48px;
}

.img-tile {
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
}

.img-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-tile:hover img { transform: scale(1.04); }

/* ---------- HOW IT WORKS GRID ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.how-card {
  background: #fff;
  padding: 36px 32px;
  transition: background 0.2s;
}

.how-card:hover { background: #fafbff; }

.how-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--gold);
  background: var(--navy);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.how-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.how-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ---------- VALUES GRID ---------- */
.vals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.val-card {
  background: #f8f9ff;
  padding: 36px 32px;
}

.val-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 10px;
}

.val-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 48px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.78);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4.5vw, 50px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 620px;
  margin-top: 14px;
}

/* ---------- DONATE PAGE ---------- */
.donate-wrap {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.donate-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
}

.donate-amounts {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.amt {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--navy);
  transition: all 0.15s;
}

.amt:hover { border-color: var(--navy); }

.amt.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.donate-input {
  width: 100%;
  border: 0.5px solid #ddd;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #111;
  background: #fafafa;
  outline: none;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.donate-input:focus { border-color: var(--gold); }

.donate-btn {
  width: 100%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.donate-btn:hover { opacity: 0.88; }

.donate-note {
  font-size: 12px;
  color: #aaa;
  margin-top: 14px;
  line-height: 1.6;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 3px;
}

.contact-info-val {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

/* ---------- FORM ---------- */
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 0.5px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #111;
  background: #fafafa;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.form-submit:hover { opacity: 0.88; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--gold);
  padding: 64px 48px;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.btn-navy {
  background: var(--navy);
  color: var(--gold);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.btn-navy:hover { opacity: 0.88; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-dark);
  border-top: 0.5px solid var(--navy-mid);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo { height: 44px; width: auto; object-fit: contain; }
.footer-copy { font-size: 12px; color: #4a5568; }
.footer-email { font-size: 12px; color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }

  .hero, .page-hero { padding: 40px 20px; }
  .section, .section-white, .section-dark, .cta-strip { padding: 56px 20px; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { padding: 20px 24px; border-right: none; border-bottom: 0.5px solid var(--navy-mid); }

  .img-strip { grid-template-columns: 1fr 1fr; }
  .img-strip .img-tile:last-child { display: none; }

  .how-grid, .vals-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}