:root {
  --blue:#0073e6;
  --navy:#003366;
}

* { box-sizing: border-box; }

body {
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:#333;
  background:#f9f9f9;
  line-height: 1.5;
}

/* Header / Nav (RESTORED + tight spacing) */
header {
  background:#fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* top row */
.topbar {
  padding:12px 16px;          /* tighter than before */
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.topbar img {
  max-width:160px;
  height:auto;
}

.topbar h1 {
  margin:0;
  color:var(--navy);
  font-size:1.8rem;
}

/* nav row */
nav {
  padding:6px 0 12px;         /* brings buttons up */
  text-align:center;
}

nav a {
  display:inline-block;
  margin:0 8px;
  padding:8px 14px;
  font-size:0.95rem;
  border-radius:6px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

nav a:hover { filter: brightness(.95); }

nav a[aria-current="page"]{
  background: var(--navy);
}

/* Desktop: put logo/title left, nav right on same line */
@media (min-width: 700px) {
  header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 20px;
  }

  .topbar {
    padding:0;
    justify-content:flex-start;
  }

  nav {
    padding:0;
    text-align:right;
  }

  nav a {
    margin-left:8px;
    margin-right:0;
  }
}


/* Hero */
.hero {
  position:relative;
  min-height:56vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(rgba(0,51,102,.25), rgba(0,51,102,.25)),
    url('images/kid-hero.webp') center/cover no-repeat;
}

.hero-inner {
  text-align:center;
  color:#fff;
  padding:40px;
  max-width: 720px;
}

.hero-inner h2 {
  font-size:2.3rem;
  letter-spacing: 0.2px;
  margin:0 0 12px;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 18px;
  opacity: 0.95;
}

.button {
  display:inline-block;
  background:var(--blue);
  padding:14px 28px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 8px 18px rgba(0,115,230,0.35);
  transition: transform .12s ease, filter .12s ease;
}

.button:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

@media (max-width:600px) {
  .hero { min-height:46vh; }
  .hero-inner h2 { font-size:1.5rem; }
}

/* Main */
main {
  padding:36px 20px;
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

main p, .impact p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #444;
}

/* Impact section */
.impact {
  max-width:1000px;
  margin:0 auto 40px;
  text-align:left;

  background: white;
  padding: 28px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.impact h2 {
  color:var(--navy);
  margin-bottom:12px;
}

/* Impact stats grid (fix funky layout) */
.impact-stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}

.impact-stats > div{
  background:#f3f7ff;
  border-radius:12px;
  padding:14px 12px;
  text-align:center;
}

.impact-stats strong{
  display:block;
  font-size:1.6rem;
  color:var(--navy);
  letter-spacing: .2px;
  margin-bottom:4px;
}

.impact-stats span{
  display:block;
  font-size:.95rem;
  color:#444;
  line-height:1.4;
}

/* Photo grid */
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}

.photo { margin:0; }

.grid img {
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
  border-radius:10px;
}

/* Links (non-nav) */
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Footer */
footer, .site-footer {
  color:#666;
  text-align:center;
  margin:30px 0 50px;
  font-size:.9rem;
}

/* ---------- Shared page styles (donate/contact) ---------- */
.page {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.page-left { text-align: left; }

.page-title {
  color: var(--navy);
  margin: 10px 0 6px;
  font-size: 1.8rem;
}

.lead {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.note {
  font-size: .95rem;
  color: #333;
  margin-top: 12px;
}

.small {
  font-size: .85rem;
  color: #666;
}

.check-block {
  margin-top: 28px;
  text-align: left;
}

