:root {
  --bg: #f9fafb;
  --bg-alt: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --primary: #b91c1c;
  --primary-soft: #fee2e2;
  --border: #e5e7eb;
  --radius-lg: 1.25rem;
  --radius: 0.75rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fee2e2 0, #f9fafb 40%);
  color: var(--text);
}

/* Utilities */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Nav links */

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.18s ease-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 56px;
    right: 1.25rem;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Hero */

.hero {
  padding: 5.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4.5rem;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, border-color 0.16s ease, transform 0.08s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.25);
}

.btn-primary:hover {
  background: #991b1b;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  border-color: #fecaca;
}

.full-width {
  width: 100%;
}

/* Hero card */

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.9rem;
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero-card h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.hero-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.hero-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary);
}

/* About / stats */

.section-text p {
  color: var(--muted);
  line-height: 1.7;
}

.stats-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.9rem;
  box-shadow: var(--shadow-soft);
}

.stats-card h3 {
  margin-top: 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.pill {
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.pill span {
  font-size: 1.1rem;
}

/* Pillars cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.03);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  margin-bottom: 1.1rem;
}

.steps h4 {
  margin: 0 0 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Join card */

.join-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.9rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-soft);
}

.join-card h3 {
  margin-top: 0;
}

.join-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.2rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  margin: 0 0.75rem;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.5rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.14);
}

.small-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Resources */

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.resource-column h3 {
  margin-top: 0;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-list li {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--border);
}

.resource-list h4 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
}

.resource-list p {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.resource-list a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary);
}

.center-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact section */

/* Center the single contact card */
.contact-centered {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.principles-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.principles-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.principles-box ul {
  list-style: disc;
  padding-left: 1.4rem;
}

.principles-box li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 380px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.contact-email {
  color: #c0392b;
  font-size: 1.1rem;
  text-decoration: none;
}



/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scholar-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.scholar-entry {
  background: #ffffff;
  padding: 1.6rem 1.8rem;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.scholar-entry h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.scholar-entry p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}
