/* =============================================
   ADVOCATES IN ACTION — Shared Stylesheet
   Patriotic | Professional | Civic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --navy:       #002868;
  --navy-light: #003a8c;
  --navy-dark:  #001a45;
  --red:        #BF0A30;
  --red-light:  #d40f36;
  --gold:       #C9A84C;
  --gold-light: #e2c06a;
  --white:      #FFFFFF;
  --off-white:  #F7F7F9;
  --light-gray: #E8E9ED;
  --mid-gray:   #6B7280;
  --dark:       #111827;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.13);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1.05rem; color: #374151; }

/* ── Utility Classes ───────────────────────── */
.container     { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center   { text-align: center; }
.text-navy     { color: var(--navy); }
.text-red      { color: var(--red); }
.text-gold     { color: var(--gold); }
.text-white    { color: var(--white); }
.bg-navy       { background: var(--navy); }
.bg-off-white  { background: var(--off-white); }
.mt-sm         { margin-top: 16px; }
.mt-md         { margin-top: 32px; }
.mt-lg         { margin-top: 56px; }
.section       { padding: 80px 0; }
.section-sm    { padding: 48px 0; }

/* ── Section Labels ────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Divider Star ──────────────────────────── */
.star-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px auto 32px;
  max-width: 280px;
}
.star-divider::before,
.star-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.star-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.star-divider span { color: var(--gold); font-size: 1.1rem; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Navigation ────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 40, 104, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--gold);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--red-light) !important;
}
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  background-image: url('images/Hero-imagegroup2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 100px 24px 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(123, 13, 30, 0.82) 0%,
    rgba(0, 26, 69, 0.75) 60%,
    rgba(0, 10, 40, 0.85) 100%
  );
  z-index: 0;
}
.hero-accent,
.hero-inner,
.hero-scroll {
  position: relative;
  z-index: 1;
}
.hero-accent {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(191,10,48,0.12));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ── Page Hero (inner pages) ───────────────── */
.page-hero {
  background: linear-gradient(135deg, #7B0D1E, #9B1A2F);
  color: var(--white);
  padding: 70px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-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.025'%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");
}
.page-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); }

/* ── Breadcrumb ────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── Flag Stripe ───────────────────────────── */
.flag-stripe {
  height: 6px;
  background: linear-gradient(to right,
    var(--navy) 0%, var(--navy) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--red) 66%, var(--red) 100%
  );
}

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(0,40,104,0.15);
}
.card-body { padding: 28px; }

/* ── Platform Cards ────────────────────────── */
.platform-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.platform-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.platform-card-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--light-gray);
}
.platform-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.platform-card-body {
  padding: 20px 28px;
  flex: 1;
}
.platform-card-footer {
  padding: 16px 28px 24px;
}
.platform-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: #374151;
  border-bottom: 1px solid var(--light-gray);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Pillar Grid ───────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.pillar h3 { color: var(--navy); margin-bottom: 10px; }

/* ── Stats Bar ─────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 48px 24px;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.stat-number {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ── CTA Banner ────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #001233 0%, #002868 60%, #001a45 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::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");
}
.cta-banner-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Quote Block ───────────────────────────── */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.quote-block p {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 8px;
}
.quote-block cite {
  font-size: 0.85rem;
  color: var(--mid-gray);
  font-style: normal;
  font-weight: 600;
}

/* ── Accordion / FAQ ───────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 20px 0;
}
.faq-question {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  margin-top: 12px;
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Form ──────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition);
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: var(--red); color: var(--white); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 680px;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ── Platform Color Themes ─────────────────── */
.theme-riseup   { --platform-color: #BF0A30; --platform-bg: #fff1f3; }
.theme-church   { --platform-color: #7c3aed; --platform-bg: #f5f3ff; }
.theme-precinct { --platform-color: #002868; --platform-bg: #eff6ff; }
.theme-vbm      { --platform-color: #047857; --platform-bg: #ecfdf5; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 70px 24px 60px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px;
    gap: 4px;
    border-bottom: 3px solid var(--red);
  }
  .pillars { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
