/* ============================================================
   CROWN & CROSS CHARITY AND SCHOLARSHIP FOUNDATION
   styles.css — Primary Stylesheet
   Color palette derived from official seal imagery
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --burgundy:       #22538c;
  --burgundy-dark:  #1a3f6e;
  --burgundy-deep:  #0f2647;
  --gold:           #C9A84C;
  --gold-light:     #E8C96A;
  --gold-muted:     #A88830;
  --cream:          #F4F7FB;
  --parchment:      #EAF0F8;
  --parchment-dark: #D0DEF0;
  --off-white:      #F7F9FC;
  --text-dark:      #0D1B2E;
  --text-mid:       #1E3A5F;
  --text-muted:     #4A6580;
  --red-accent:     #C8232A;
  --divider:        rgba(201,168,76,0.35);
  --nav-h:          80px;
  --radius:         3px;
  --transition:     0.25s ease;
  --shadow-sm:      0 2px 12px rgba(15,38,71,0.08);
  --shadow-md:      0 6px 28px rgba(15,38,71,0.14);
  --shadow-lg:      0 16px 48px rgba(15,38,71,0.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ── Typography Helpers ── */
.cinzel { font-family: 'Cinzel', serif; }
.playfair { font-family: 'Playfair Display', Georgia, serif; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--burgundy-dark);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow var(--transition), background var(--transition);
}

nav.nav-scrolled {
  box-shadow: 0 4px 20px rgba(15,38,71,0.35);
  background: var(--burgundy-deep);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-logo:hover img { transform: scale(1.05); }

.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
  padding: 10px 13px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  display: block;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-links a.active-link { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-donate {
  background: var(--gold) !important;
  color: var(--burgundy-deep) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
  margin-left: 8px;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-donate:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 10;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   PAGE SECTIONS (SPA routing)
   ============================================================ */
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, var(--burgundy-dark) 55%, #1c4578 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}

.hero-rays {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  animation: heroEntrance 1s ease both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Seal wrapper — holds emblem + decorative rings */
.hero-seal-wrap {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-ring-1 {
  width: 510px; height: 510px;
  border-width: 1px;
  border-color: rgba(201,168,76,0.35);
  animation: ringRotate1 18s linear infinite;
}
.hero-ring-2 {
  width: 576px; height: 576px;
  border-width: 1px;
  border-color: rgba(201,168,76,0.15);
  border-style: dashed;
  animation: ringRotate2 30s linear infinite;
}
.hero-ring-3 {
  width: 456px; height: 456px;
  border-width: 1px;
  border-color: rgba(201,168,76,0.22);
  animation: ringRotate1 12s linear infinite reverse;
}

@keyframes ringRotate1 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ringRotate2 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Ring tick marks (the small notches on ring-1) */
.hero-ring-1::before, .hero-ring-1::after {
  content: '';
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}
.hero-ring-1::before { top: -2px; left: 50%; transform: translateX(-50%); }
.hero-ring-1::after  { bottom: -2px; left: 50%; transform: translateX(-50%); }

.hero-emblem {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(201,168,76,0.12), 0 0 40px rgba(201,168,76,0.25);
  animation: pulseGlow 3.5s ease-in-out infinite;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(201,168,76,0.12), 0 0 40px rgba(201,168,76,0.2); }
  50%       { box-shadow: 0 0 0 12px rgba(201,168,76,0.2), 0 0 60px rgba(201,168,76,0.35); }
}

/* ── Floating Particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatUp linear infinite;
}
.particle:nth-child(1)  { width:3px; height:3px; left:8%;  bottom:-10%; animation-duration:9s;  animation-delay:0s;   opacity-end:0.5; }
.particle:nth-child(2)  { width:2px; height:2px; left:15%; bottom:-10%; animation-duration:13s; animation-delay:2s;   }
.particle:nth-child(3)  { width:4px; height:4px; left:25%; bottom:-10%; animation-duration:11s; animation-delay:1s;   }
.particle:nth-child(4)  { width:2px; height:2px; left:35%; bottom:-10%; animation-duration:15s; animation-delay:4s;   }
.particle:nth-child(5)  { width:3px; height:3px; left:45%; bottom:-10%; animation-duration:10s; animation-delay:0.5s; }
.particle:nth-child(6)  { width:5px; height:5px; left:55%; bottom:-10%; animation-duration:14s; animation-delay:3s;   }
.particle:nth-child(7)  { width:2px; height:2px; left:65%; bottom:-10%; animation-duration:12s; animation-delay:1.5s; }
.particle:nth-child(8)  { width:3px; height:3px; left:72%; bottom:-10%; animation-duration:9s;  animation-delay:5s;   }
.particle:nth-child(9)  { width:4px; height:4px; left:80%; bottom:-10%; animation-duration:16s; animation-delay:2.5s; }
.particle:nth-child(10) { width:2px; height:2px; left:90%; bottom:-10%; animation-duration:11s; animation-delay:0.8s; }
.particle:nth-child(11) { width:3px; height:3px; left:20%; bottom:-10%; animation-duration:17s; animation-delay:6s;   }
.particle:nth-child(12) { width:2px; height:2px; left:60%; bottom:-10%; animation-duration:8s;  animation-delay:3.5s; }

@keyframes floatUp {
  0%   { transform: translateY(0)   translateX(0);   opacity: 0; }
  10%  { opacity: 0.45; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--burgundy-deep);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.12);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(201,168,76,0.05); }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px; height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease;
}
.stat-item:hover::after { transform: translateX(-50%) scaleX(1); }

.stat-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220,232,248,0.55);
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  animation: heroEntrance 1s 0.15s ease both;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  animation: heroEntrance 1s 0.25s ease both;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: heroEntrance 1s 0.35s ease both;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 32px;
  max-width: 380px;
  animation: heroEntrance 1s 0.45s ease both;
}
.hero-divider-line { flex: 1; height: 1px; background: var(--divider); }
.hero-divider-gem {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(220,232,248,0.88);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.8;
  animation: heroEntrance 1s 0.55s ease both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroEntrance 1s 0.65s ease both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(201,168,76,0.6);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  display: inline-block;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-deep);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.6);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--burgundy);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.4);
}
.btn-dark:hover {
  background: var(--burgundy-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 20px; font-size: 0.65rem; }

/* ============================================================
   SYMBOL STRIP
   ============================================================ */
.symbol-strip {
  background: var(--parchment);
  border-top: 1px solid var(--parchment-dark);
  border-bottom: 1px solid var(--parchment-dark);
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.symbol-card { text-align: center; padding: 0 24px; }

.symbol-icon {
  width: 68px; height: 68px;
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.symbol-card:hover .symbol-icon {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}
.symbol-icon svg { width: 34px; height: 34px; }

.symbol-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.symbol-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

.symbol-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.symbol-divider-line { width: 1px; height: 64px; background: var(--divider); }
.symbol-divider-cross {
  width: 30px; height: 30px;
  position: relative;
}
.symbol-divider-cross::before, .symbol-divider-cross::after {
  content: '';
  position: absolute;
  background: var(--gold-muted);
  border-radius: 2px;
}
.symbol-divider-cross::before { width: 3px; height: 100%; left: 50%; transform: translateX(-50%); }
.symbol-divider-cross::after  { width: 100%; height: 3px; top: 33%; left: 0; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 88px 5%; }
.content-section.alt { background: var(--parchment); }
.content-section.dark {
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy-dark) 100%);
  color: var(--cream);
}

.max-w { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 10px;
  display: block;
}
.dark .section-label { color: var(--gold); }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
  letter-spacing: 0.025em;
  margin-bottom: 6px;
}
.dark .section-title { color: var(--gold-light); }

.section-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px 0 36px;
  border-radius: 2px;
}
.section-rule.centered { margin-left: auto; margin-right: auto; }

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 700px;
}
.dark .section-lead { color: rgba(220,232,248,0.85); }

.text-center { text-align: center; }

hr.gold-rule {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 52px 0;
}

/* ============================================================
   WHAT WE DO — CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.program-card {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  border-top: 3px solid var(--gold);
  padding: 34px 28px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 50px; height: 50px;
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.program-card:hover .card-icon {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--burgundy);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition);
}
.program-card:hover .card-icon svg { stroke: var(--gold-light); }

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.card-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   GOVERNANCE SECTION (dark)
   ============================================================ */
.governance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.gov-statement {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin: 24px 0;
}
.gov-statement p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
}

.gov-list { list-style: none; margin-top: 24px; }
.gov-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--parchment);
  display: flex;
  align-items: center;
  gap: 14px;
}
.gov-list li::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   PAGE HERO HEADERS
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--burgundy-deep), var(--burgundy-dark));
  padding: calc(var(--nav-h) + 64px) 5% 64px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent, transparent 39px,
    rgba(201,168,76,0.04) 39px, rgba(201,168,76,0.04) 40px
  );
}
.page-hero-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  animation: heroEntrance 0.7s ease both;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  margin: 52px 0;
  background: var(--parchment-dark);
}
.pillar {
  background: var(--cream);
  padding: 38px 24px;
  text-align: center;
}
.pillar-num {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-muted);
  line-height: 1;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.pillar:hover .pillar-num { color: var(--burgundy); }
.pillar-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}

.belief-list { list-style: none; margin: 32px 0; }
.belief-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--parchment-dark);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-size: 1.05rem;
}
.belief-num {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: var(--gold-muted);
  font-weight: 700;
  min-width: 28px;
  padding-top: 4px;
}
.belief-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--burgundy);
  display: block;
  margin-bottom: 4px;
}
.belief-body { color: var(--text-muted); font-size: 0.95rem; }

blockquote.pull {
  border-left: 4px solid var(--gold);
  padding-left: 28px;
  margin: 36px 0;
}
blockquote.pull p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--burgundy);
  line-height: 1.6;
}

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 52px;
}

.program-block {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  padding: 44px 38px;
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.program-block-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-accent), #e04040);
  border-radius: var(--radius) var(--radius) 0 0;
}
.program-block-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.program-list { list-style: none; margin: 20px 0; }
.program-list li {
  padding: 9px 0;
  font-size: 1rem;
  color: var(--text-mid);
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--parchment-dark);
}
.program-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   SCHOLARSHIP PAGE
   ============================================================ */
.schol-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin: 52px 0;
  background: var(--parchment-dark);
}
.schol-step {
  background: var(--cream);
  padding: 38px 28px;
  transition: background var(--transition);
}
.schol-step:hover { background: var(--parchment); }
.step-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-muted);
  margin-bottom: 14px;
}
.step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.step-text { font-size: 0.95rem; color: var(--text-muted); }

.requirements-list { list-style: none; margin: 32px 0; }
.requirements-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--parchment-dark);
  font-size: 1.05rem;
  transition: background var(--transition);
}
.requirements-list li:hover { padding-left: 8px; }
.req-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  background: var(--burgundy);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.schol-notice {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  margin-top: 36px;
  border-radius: var(--radius);
}
.schol-notice-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 8px;
}

/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.officer-card {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  padding: 34px 28px;
  text-align: center;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.officer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.4);
}
.officer-card.featured {
  border-color: rgba(201,168,76,0.5);
  background: var(--parchment);
}
.officer-card.featured:hover { border-color: var(--gold); }

.officer-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(34,83,140,0.3);
}

.officer-role {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 6px;
}
.officer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--burgundy-dark);
}
.officer-bio-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
}

.resp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: rgba(201,168,76,0.2);
  margin-top: 48px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  overflow: hidden;
}
.resp-item {
  background: rgba(255,255,255,0.04);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--transition);
}
.resp-item:hover { background: rgba(201,168,76,0.08); }
.resp-icon { margin-bottom: 14px; font-size: 26px; }
.resp-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donation-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 48px 0;
}
.tier-card {
  background: var(--cream);
  border: 1.5px solid var(--parchment-dark);
  padding: 30px 20px;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.tier-card:hover {
  border-color: rgba(201,168,76,0.6);
  background: var(--parchment);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.tier-card.selected {
  border-color: var(--gold);
  background: var(--parchment);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.tier-amount {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.tier-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.tier-card.selected .tier-amount { color: var(--burgundy-dark); }
.tier-card.selected .tier-label  { color: var(--gold-muted); }

.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0;
}
.impact-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.impact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.impact-icon { font-size: 30px; margin-bottom: 14px; }
.impact-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.impact-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   FORMS
   ============================================================ */
.donate-form {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  padding: 44px;
  border-radius: var(--radius);
  max-width: 580px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--off-white);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--radius);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

textarea.form-input { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 0.82rem;
  color: var(--red-accent);
  margin-top: 5px;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  display: none;
}
.form-error.visible { display: block; }
.form-input.invalid { border-color: var(--red-accent); }

.form-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--burgundy);
  margin-bottom: 28px;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   GET INVOLVED PAGE
   ============================================================ */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.involve-card {
  border: 1px solid var(--parchment-dark);
  border-bottom: 3px solid var(--burgundy);
  padding: 38px 28px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-bottom-color var(--transition);
}
.involve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gold);
}
.involve-card-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-muted);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 16px;
}
.involve-title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 12px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,38,71,0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition);
  font-family: 'Cinzel', serif;
}
.modal-close:hover { color: var(--burgundy); }

.modal-icon {
  width: 64px; height: 64px;
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.modal-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  text-align: center;
  margin-bottom: 28px;
}

.modal-detail {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 16px 0 28px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: left;
}
.modal-detail strong {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--burgundy-deep);
  border-top: 2px solid var(--gold);
  padding: 64px 5% 40px;
  color: var(--parchment);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-brand-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.footer-brand-sub {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-weight: 400;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}
.footer-desc {
  font-size: 0.9rem;
  color: rgba(220,232,248,0.65);
  line-height: 1.75;
}

.footer-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(220,232,248,0.65);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--divider);
  transition: width var(--transition), background var(--transition);
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-links a:hover::before {
  width: 20px;
  background: var(--gold);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(220,232,248,0.45);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom-name {
  font-family: 'Cinzel', serif;
  color: var(--gold-muted);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  background: var(--burgundy);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--burgundy-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============================================================
   FOOTER CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 5%;
  background: var(--parchment);
}
.cta-section .section-title { text-align: center; }
.cta-section .section-lead  { text-align: center; margin: 0 auto 40px; }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .governance-grid  { grid-template-columns: 1fr; gap: 40px; }
  .programs-grid    { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(201,168,76,0.12); }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .hero-seal-wrap { width: 510px; height: 510px; }
  .hero-ring-1 { width: 435px; height: 435px; }
  .hero-ring-2 { width: 489px; height: 489px; }
  .hero-ring-3 { width: 384px; height: 384px; }
  .hero-emblem  { width: 378px; height: 378px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--burgundy-dark);
    border-bottom: 2px solid var(--gold);
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(15,38,71,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-donate { display: none !important; }

  .nav-links a { padding: 12px 24px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-links a:hover { border-left-color: var(--gold); }

  .symbol-strip    { grid-template-columns: 1fr; }
  .symbol-divider  { flex-direction: row; }
  .symbol-divider-line { width: 60px; height: 1px; }
  .symbol-divider-cross { transform: rotate(90deg); }

  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .impact-row   { grid-template-columns: 1fr; }

  .donate-form { padding: 28px 20px; }
  .modal { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .content-section { padding: 64px 5%; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; text-align: center; }
  .impact-row { grid-template-columns: 1fr; }
  .donation-tiers { grid-template-columns: repeat(3, 1fr); }
  .back-to-top { bottom: 20px; right: 20px; }
}
