/* =========================================================
   LIFE REIGN — brand stylesheet
   Palette: White #FFFFFF · Black #141414 · Teal #159C93 · Purple #4B2C6F
   Fonts:   Poppins (headings) / Inter (body)
   Built for a coded HTML/CSS site deployed on Netlify.
   ========================================================= */

:root {
  --white: #FFFFFF;
  --black: #141414;
  --teal: #159C93;
  --teal-dark: #0E756E;
  --teal-tint: #E7F5F4;
  --purple: #4B2C6F;
  --purple-dark: #372153;
  --purple-tint: #F1ECF6;
  --gray: #5B5B5B;
  --gray-light: #E8E8E8;
  --radius: 14px;
  --max-width: 1160px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  color: var(--black);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em 0; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 8px 20px rgba(21,156,147,0.35); }
.btn-secondary { background: var(--purple); color: var(--white); }
.btn-secondary:hover { background: var(--purple-dark); box-shadow: 0 8px 20px rgba(75,44,111,0.35); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
}
.brand .brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--black);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-links a.active { color: var(--teal-dark); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--black);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--gray-light);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--gray-light); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.55;
}
.hero::before {
  content: "";
  position: absolute;
  left: -100px; bottom: -160px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.45;
}
.hero .container { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--teal); }
.hero h1 { color: var(--white); }
.hero p.lede { font-size: 1.15rem; color: #D8D8D8; max-width: 620px; }
.hero .hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.page-hero {
  background: var(--purple);
  color: var(--white);
  padding: 60px 0 70px;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--teal-tint); }
.page-hero p { color: #ECE6F2; max-width: 640px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tint-teal { background: var(--teal-tint); }
section.tint-purple { background: var(--purple-tint); }
section.dark { background: var(--black); color: var(--white); }
section.dark h2, section.dark h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-badge img { width: 26px; height: 26px; }
.icon-badge.teal { background: var(--teal-tint); }
.icon-badge.purple { background: var(--purple-tint); }
.icon-badge.dark { background: var(--black); }

/* ---------- Placeholders (unlabeled assets not yet provided) ---------- */
.placeholder {
  border: 2px dashed #B9B9B9;
  border-radius: var(--radius);
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  min-height: 220px;
  color: var(--gray);
}
.placeholder img { width: 34px; height: 34px; opacity: 0.55; margin-bottom: 14px; }
.placeholder .placeholder-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 6px;
}
.placeholder .placeholder-caption {
  font-style: italic;
  font-size: 0.85rem;
  max-width: 260px;
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row .stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--teal);
}
.stat-row .stat-label { font-size: 0.9rem; color: var(--gray); }

/* ---------- Timeline / list items ---------- */
.info-row {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-light);
}
.info-row:last-child { border-bottom: none; }
.info-row .info-tag {
  flex: 0 0 130px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--purple);
  font-size: 0.9rem;
}
.info-row .info-body h4 { margin-bottom: 4px; }
.info-row .info-body p { margin-bottom: 0; color: var(--gray); }

/* ---------- Forms ---------- */
.form-note {
  background: var(--purple-tint);
  border: 1px dashed var(--purple);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--purple-dark);
  margin-bottom: 30px;
}
form.stub {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
form.stub label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 6px;
}
form.stub input,
form.stub select,
form.stub textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #CFCFCF;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}
form.stub textarea { resize: vertical; min-height: 110px; }

/* ---------- Badges / pillar tags ---------- */
.pillar-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.pillar-tag.youth { background: var(--teal-tint); color: var(--teal-dark); }
.pillar-tag.women { background: var(--purple-tint); color: var(--purple-dark); }
.pillar-tag.justice { background: var(--gray-light); color: var(--black); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple), var(--teal-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 44px;
  text-align: center;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #C9C9C9;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #C9C9C9; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid #2C2C2C;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #8A8A8A;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note {
  font-size: 0.85rem;
  color: var(--gray);
}
