/* ─── SSSF Brand Colors ─────────────────────────────────────────── */
:root {
  --navy:    #0B2A4A;
  --blue:    #1A4E78;
  --steel:   #6795AF;
  --gold:    #F0B842;
  --light:   #E8F0FA;
  --white:   #FFFFFF;
  --gray:    #444444;
  --lgray:   #F5F7FA;
  --border:  #D0DCE8;
}

/* ─── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Georgia', 'Times New Roman', serif; color: var(--gray); background: var(--white); line-height: 1.7; }
img  { max-width: 100%; display: block; }
a    { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }

/* ─── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Georgia', serif; color: var(--navy); line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { margin-bottom: 1rem; }
.subtitle { font-size: 1.1rem; color: var(--steel); font-style: italic; }

/* ─── Layout ────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--lgray); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }

/* ─── Navigation ────────────────────────────────────────────────── */
.nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; height: 70px;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand img { height: 44px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-text .org  { color: var(--white); font-size: 1rem; font-weight: bold; letter-spacing: 0.04em; }
.nav-brand-text .tag  { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.88rem; padding: 0.5rem 0.85rem;
  border-radius: 4px; transition: all 0.2s; letter-spacing: 0.03em;
  font-family: 'Arial', sans-serif;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-links .btn-nav {
  background: var(--gold); color: var(--navy) !important; font-weight: bold;
  padding: 0.5rem 1.1rem; border-radius: 4px;
}
.nav-links .btn-nav:hover { background: #e0a830; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: 0.3s; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1e5a8a 100%);
  color: white; padding: 6rem 0 5rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-logo { width: 110px; height: auto; margin: 0 auto 1.5rem; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4)); }
.hero h1 { color: white; font-size: clamp(2rem, 5vw, 3.2rem); text-shadow: 0 2px 8px rgba(0,0,0,0.3); margin-bottom: 0.5rem; }
.hero-tagline { font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--gold); letter-spacing: 0.05em; margin-bottom: 1.2rem; font-style: italic; }
.hero p { font-size: 1.05rem; max-width: 640px; margin: 0 auto 2rem; color: rgba(255,255,255,0.88); }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 4px; font-size: 0.95rem;
  font-family: 'Arial', sans-serif; font-weight: bold; letter-spacing: 0.04em; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
}
.btn-gold  { background: var(--gold); color: var(--navy); }
.btn-gold:hover  { background: #e0a830; color: var(--navy); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: white; color: white; }
.btn-outline:hover { background: white; color: var(--navy); }
.btn-navy { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover { background: var(--blue); border-color: var(--blue); }

/* ─── Gold divider ──────────────────────────────────────────────── */
.gold-bar { width: 60px; height: 4px; background: var(--gold); margin: 1rem auto 1.5rem; border-radius: 2px; }
.gold-bar-left { margin-left: 0; }

/* ─── Section Headers ───────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .overline {
  font-family: 'Arial', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--steel); font-weight: bold; margin-bottom: 0.5rem;
}

/* ─── Cards ─────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card {
  background: white; border-radius: 8px; padding: 2rem;
  box-shadow: 0 2px 16px rgba(11,42,74,0.08); border-top: 4px solid var(--steel);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(11,42,74,0.14); }
.card-gold { border-top-color: var(--gold); }
.card-navy { border-top-color: var(--navy); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: #666; margin-bottom: 0; }

/* ─── Mission Strip ─────────────────────────────────────────────── */
.mission-strip {
  background: var(--gold); padding: 3rem 0; text-align: center;
}
.mission-strip h2 { color: var(--navy); font-size: clamp(1.3rem, 3vw, 2rem); }
.mission-strip p { color: var(--navy); max-width: 700px; margin: 0.75rem auto 0; opacity: 0.85; }

/* ─── Stats ─────────────────────────────────────────────────────── */
.stats { display: flex; gap: 0; flex-wrap: wrap; }
.stat { flex: 1; min-width: 160px; text-align: center; padding: 2.5rem 1rem; border-right: 1px solid rgba(255,255,255,0.15); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 2.8rem; font-weight: bold; color: var(--gold); line-height: 1; display: block; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.4rem; font-family: Arial, sans-serif; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── Pillar Table ──────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pillar {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem;
  background: white; border-radius: 6px; border-left: 4px solid var(--steel);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.pillar-num { font-size: 1.5rem; font-weight: bold; color: var(--gold); min-width: 2rem; line-height: 1; }
.pillar-text h4 { color: var(--navy); font-size: 0.95rem; margin-bottom: 0.2rem; }
.pillar-text p  { font-size: 0.85rem; color: #777; margin: 0; }

/* ─── Team ──────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; background: var(--light);
  margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; border: 3px solid var(--steel);
}
.team-card h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.team-card p  { font-size: 0.8rem; color: var(--steel); margin: 0; font-family: Arial, sans-serif; }

/* ─── Program Cards ─────────────────────────────────────────────── */
.program-card {
  display: flex; gap: 1.5rem; padding: 2rem; background: white; border-radius: 8px;
  box-shadow: 0 2px 16px rgba(11,42,74,0.08); margin-bottom: 1.5rem; align-items: flex-start;
}
.program-icon { font-size: 2.5rem; min-width: 3rem; }
.program-badge {
  display: inline-block; background: var(--light); color: var(--navy);
  font-size: 0.75rem; font-family: Arial, sans-serif; font-weight: bold;
  letter-spacing: 0.08em; padding: 0.2rem 0.7rem; border-radius: 3px; margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* ─── Contact Form ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: bold; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.9rem; font-family: Arial, sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 4px;
  font-size: 1rem; font-family: Georgia, serif; color: var(--gray);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(103,149,175,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ─── Members Portal ────────────────────────────────────────────── */
.portal-gate { max-width: 440px; margin: 0 auto; text-align: center; padding: 3rem 2rem; }
.portal-gate .shield { font-size: 4rem; margin-bottom: 1rem; }
.portal-content { display: none; }
.portal-content.unlocked { display: block; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.resource-item {
  padding: 1.2rem; background: var(--light); border-radius: 6px; border-left: 4px solid var(--steel);
  display: flex; align-items: center; gap: 0.75rem; transition: background 0.2s;
}
.resource-item:hover { background: var(--border); }
.resource-icon { font-size: 1.4rem; }
.resource-item span { font-size: 0.9rem; font-weight: bold; color: var(--navy); }

/* ─── Alert banner ──────────────────────────────────────────────── */
.alert {
  padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem;
  font-size: 0.9rem; font-family: Arial, sans-serif;
}
.alert-error { background: #fef0f0; border: 1px solid #f5c6c6; color: #c0392b; }
.alert-success { background: #f0fef4; border: 1px solid #a3d9a5; color: #196f27; }

/* ─── Page Banner ───────────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 3.5rem 0 3rem; text-align: center; color: white;
}
.page-banner h1 { color: white; }
.page-banner p  { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0.75rem auto 0; }

/* ─── Footer ────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; font-family: Arial, sans-serif; }
.footer p, .footer li { font-size: 0.88rem; line-height: 1.8; }
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { height: 48px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand strong { color: white; font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { margin: 0; }

/* ─── Utility ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.badge {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.78rem; font-family: Arial, sans-serif; font-weight: bold; letter-spacing: 0.05em;
}
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-navy { background: var(--navy); color: white; }
.badge-steel { background: var(--light); color: var(--navy); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.check-list { list-style: none; }
.check-list li { padding: 0.35rem 0; font-size: 0.95rem; }
.check-list li::before { content: '✓ '; color: var(--gold); font-weight: bold; }
.highlight-box {
  background: var(--light); border-left: 4px solid var(--gold); padding: 1.5rem;
  border-radius: 0 6px 6px 0; margin: 1.5rem 0;
}
.highlight-box p { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-btns { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .program-card { flex-direction: column; }
  .pillars { grid-template-columns: 1fr; }
}
