/* Staff Council Charity Fund — offline-safe, local assets */
:root {
  --blue: #1a4373;
  --blue-dark: #123055;
  --green: #76b843;
  --green-dark: #5f9a35;
  --gold: #f9b233;
  --white: #fff;
  --black: #0a0a0a;
  --text: #333;
  --text-muted: #5c6b7a;
  --bg: #fff;
  --bg-soft: #f4f7fb;
  --border: #dde4ee;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --max: 1140px;
  --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: #1a2433;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link img { height: 68px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--blue);
  background: var(--bg-soft);
}

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  margin-left: 0.35rem;
}

.nav-cta:hover { background: var(--green-dark) !important; color: #fff !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,67,115,.18);
}

.hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--border);
}

.btn-outline:hover { border-color: var(--blue); }

/* Sections */
section { padding: 4rem 0; }
.bg-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

/* Stats */
.stats {
  background: var(--blue);
  color: #fff;
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
}

.stats-grid span { font-size: 0.9rem; opacity: 0.92; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.card-body { padding: 1.25rem; }

.card h3 { font-size: 1.15rem; }

.read-more {
  font-weight: 700;
  text-decoration: none;
  color: var(--green-dark);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img { border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.75rem; position: relative; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.info-table th, .info-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.info-table th {
  width: 36%;
  background: var(--bg-soft);
  font-weight: 600;
  color: #1a2433;
}

.status-pill {
  display: inline-block;
  background: #e5f4d9;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.breadcrumb { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.breadcrumb a { text-decoration: none; }

/* Contact / map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
}

.contact-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.map-box {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-box iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article-hero img { border-radius: 10px; margin-bottom: 1.5rem; width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1.5rem; }

/* CTA */
.cta-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 12px;
}

.cta-band h2 { color: #fff; }
.cta-band p { opacity: 0.92; max-width: 500px; margin: 0 auto 1.25rem; }
.cta-band .btn-primary { background: var(--gold); color: #1a2433; }
.cta-band .btn-primary:hover { background: #e5a020; color: #1a2433; }

/* ========== FOOTER (reference style) ========== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.82);
  margin-top: 2rem;
  font-size: 0.92rem;
}

.footer-accent {
  height: 4px;
  background: var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2.5rem;
}

.footer-logo { height: 72px; width: auto; margin-bottom: 0.75rem; }

.footer-org-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.footer-mission {
  line-height: 1.55;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.75);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.footer-contact-list li { margin-bottom: 0.5rem; line-height: 1.5; }
.footer-contact-list strong { color: #fff; }
.footer-contact-list a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-contact-list a:hover { color: var(--gold); }

.fi { margin-right: 0.35rem; opacity: 0.9; }

.footer-social { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
}

.social-btn:hover { background: var(--blue); color: #fff; }

.footer-heading {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 700;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 0.45rem; }

.footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}

.footer-links a:hover { color: var(--gold); }

.footer-verify-text { margin: 0 0 0.65rem; color: rgba(255,255,255,.75); }

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
  margin: 1rem 0 0;
  line-height: 1.4;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.1rem 0;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
}
