/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #00284b;
  --navy-soft: #00345f;
  --orange: #ff7a00;
  --orange-soft: #ff8f26;
  --cream: #f7f5f1;
  --text-main: #0b1220;
  --text-muted: #4b5563;
  --radius-lg: 1.75rem;
  --radius-md: 1.25rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 12px 26px rgba(15, 23, 42, 0.16);
  --transition-fast: 180ms ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: #ffffff;
}

body {
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & nav */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-tagline {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* Nav */
.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.24);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #0f172a;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.5);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
  background: #f9fafb;
}

.btn-small {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-footer-donate {
  margin-top: 0.6rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #021833 45%, var(--navy-soft) 100%);
  color: #fff;
  padding: 2.75rem 0 2.6rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #bfdbfe;
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.hero-text {
  font-size: 0.97rem;
  color: #e5e7eb;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: #cbd5f5;
}

.hero-highlights li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--orange);
}

.hero-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-card);
}

.hero-card-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--orange);
  margin: 0 0 0.4rem;
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.3rem;
}

.hero-stats {
  display: flex;
  gap: 1rem;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 2.4rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.1rem;
}

.card-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem;
  box-shadow: var(--shadow-card);
  color: #111827;
}

.card h3,
.card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin-top: 0;
  font-size: 0.9rem;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.card-list li {
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.1rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111827;
}

.card-orange {
  background: var(--orange);
  color: #111827;
}

.card-orange .card-list li::before {
  color: #111827;
}

.card-navy {
  background: #0f172a;
  color: #e5e7eb;
}

.card-navy .card-list li::before {
  color: var(--orange-soft);
}

.program-card {
  min-height: 260px;
}

.program-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-emoji {
  font-size: 1.4rem;
}

.program-tagline {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  font-weight: 500;
}

/* Impact grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.impact-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.1rem;
  box-shadow: var(--shadow-card);
}

.impact-emoji {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 0.4rem;
}

/* Community strip */
.community-strip {
  background: linear-gradient(90deg, var(--orange) 0%, #ffaf4d 100%);
  color: #111827;
  padding: 1.25rem 0;
}

.community-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.community-text {
  margin: 0;
  font-weight: 500;
}

/* About page layout */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.about-story p {
  margin-top: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.bullet-check {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.bullet-check li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.3rem;
}

.bullet-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-size: 0.8rem;
}

.about-highlight {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
}

.about-vision-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0.9rem;
  font-size: 0.9rem;
}

.about-vision-list li {
  margin-bottom: 0.25rem;
}

/* Pill grid */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pill-card {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pill-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
}

.pill-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pill-emoji {
  font-size: 1.4rem;
}

/* Banner */
.banner {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-card);
}

.banner h2 {
  margin: 0 0 0.35rem;
}

.banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.banner-btn {
  flex-shrink: 0;
}

/* Page hero generic */
.page-hero {
  background: var(--cream);
  padding: 2.1rem 0 1.9rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.page-hero-text {
  margin: 0;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0.9rem;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding: 1.8rem 0 0.4rem;
  margin-top: 2.4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2.2rem;
  align-items: flex-start;
}

.footer-org h2 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.footer-text {
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

.footer-columns {
  display: flex;
  gap: 2.5rem;
}

.footer-columns h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.footer-columns p {
  margin: 0 0 0.15rem;
  font-size: 0.83rem;
  color: #d1d5db;
}

.footer-columns a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-columns a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  color: #9ca3af;
}

.mono {
  font-family: "Menlo", "SF Mono", ui-monospace, monospace;
}

/* Utilities */
.section + .section {
  border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
    margin-bottom: 1.3rem;
  }

  .card-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-grid,
  .pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-columns {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.4rem;
    background: var(--navy-soft);
    border-radius: 0.9rem;
    padding: 0.6rem 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 190px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 2rem 0;
  }

  .card-grid-wide,
  .impact-grid,
  .pill-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner {
    padding: 1.2rem 1.1rem;
  }
}
