/* =========================================
   Medina Bible Mission — Styles
   ========================================= */

:root {
  /* Blue (primary) / amber (accent) / slate (neutrals) — matches React theme */
  --forest: #1e3a8a;          /* blue-900 — primary dark */
  --forest-light: #1e40af;    /* blue-800 */
  --primary-br: #2563eb;      /* blue-600 — hero gradient end */
  --primary-pale: #eff6ff;    /* blue-50 */
  --gold: #fbbf24;            /* amber-400 — accent */
  --gold-light: #fcd34d;      /* amber-300 */
  --gold-pale: #fef3c7;       /* amber-100 */
  --cream: #f8fafc;           /* slate-50 */
  --warm-white: #ffffff;
  --charcoal: #0f172a;        /* slate-900 */
  --text: #334155;            /* slate-700 */
  --text-light: #64748b;      /* slate-500 */
  --border: #e2e8f0;          /* slate-200 */
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 10px 25px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.15);
}

/* ── Base ── */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--charcoal); }
a { transition: all 0.25s ease; }
::selection { background: var(--gold-light); color: var(--charcoal); }

/* ── Shared ── */
.section-tag {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 12px;
}

.btn-section-cta {
  background: var(--forest);
  color: var(--warm-white);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
}
.btn-section-cta:hover { background: var(--forest-light); color: var(--warm-white); }

/* ── Navbar ── */
.navbar { padding: 16px 0; transition: all 0.35s ease; background: transparent; }
.navbar.scrolled {
  background: rgba(255,254,250,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--warm-white) !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar.scrolled .navbar-brand { color: var(--forest) !important; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}
.brand-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.navbar.scrolled .brand-subtitle { color: var(--text-light); }

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--warm-white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

.nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85) !important;
  padding: 8px 14px !important;
}
.nav-link:hover { color: var(--gold-light) !important; }
.navbar.scrolled .nav-link { color: var(--text) !important; }
.navbar.scrolled .nav-link:hover { color: var(--gold) !important; }

.btn-nav-donate {
  background: var(--gold) !important;
  color: var(--warm-white) !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  font-weight: 700 !important;
}
.btn-nav-donate:hover { background: var(--gold-light) !important; color: var(--charcoal) !important; }

.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(60,60,60,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero ── */
.hero-section {
  position: relative;
  background: var(--forest);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(251,191,36,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.55) 0%, transparent 50%),
    linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

.hero-row { min-height: 100vh; }

.hero-left { position: relative; z-index: 2; padding: 120px 0 80px; }

.hero-tag {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-section h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--warm-white);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.btn-hero-primary {
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(251,191,36,0.35);
}
.btn-hero-primary:hover {
  background: var(--gold-light);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(251,191,36,0.45);
}

.btn-hero-secondary {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--warm-white);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1rem;
}
.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--warm-white);
  background: rgba(255,255,255,0.08);
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-item { text-align: center; }
.trust-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}
.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* Hero right — card stack */
.hero-right { padding: 80px 0; }

.hero-feature-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
}
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.feature-icon { font-size: 1.6rem; }
.feature-badge {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  background: rgba(251,191,36,0.15);
  padding: 4px 12px;
  border-radius: 50px;
}
.hero-feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 10px;
}
.hero-feature-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.mini-icon { font-size: 1.4rem; display: block; margin-bottom: 8px; }
.mini-card strong {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 4px;
}
.mini-card p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.4;
}

.hero-scripture-accent {
  margin-top: 14px;
  padding: 16px 20px;
  background: rgba(251,191,36,0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.hero-scripture-accent p {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.hero-scripture-accent span {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── About ── */
.section-about { padding: 100px 0; background: var(--warm-white); }

.about-image-frame {
  background: var(--cream);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border);
}
.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: var(--warm-white);
  text-align: center;
}
.placeholder-icon { font-size: 3rem; margin-bottom: 12px; }
.about-image-placeholder p { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }

/* ── Impact ── */
.section-impact { padding: 100px 0; background: var(--cream); }

.impact-card {
  position: relative;
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.impact-card-accent { height: 5px; background: linear-gradient(90deg, var(--forest), var(--gold)); }
.impact-card-body { padding: 32px 28px; }
.impact-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.impact-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.impact-card p { font-size: 0.95rem; line-height: 1.8; color: var(--text-light); margin: 0; }

/* ── Scripture ── */
.section-scripture { background: var(--charcoal); padding: 80px 0; }
.scripture-inner { position: relative; padding: 20px 0; }
.scripture-deco {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: -20px;
}
.scripture-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 20px;
}
.scripture-inner cite {
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Journey Steps ── */
.section-journey { padding: 100px 0; background: var(--warm-white); }

.step-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--warm-white);
  border-radius: 50%;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.step-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; line-height: 1.75; color: var(--text-light); margin: 0; }

/* ── Founders ── */
.section-founders { padding: 100px 0; background: var(--cream); }

.founder-photo-frame {
  background: var(--warm-white);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border);
}
.founder-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: var(--cream);
  text-align: center;
}
.founder-photo-placeholder p { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }

.founder-verse {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.founder-verse p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.founder-verse span {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* ── CTA Band ── */
.section-cta {
  padding: 72px 0;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--charcoal);
}
.section-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--charcoal);
  margin-bottom: 12px;
}
.section-cta p {
  font-size: 1.1rem;
  color: rgba(15,23,42,0.8);
  max-width: 620px;
  margin: 0 auto 28px;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.btn-cta-primary {
  background: var(--charcoal);
  color: var(--warm-white);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
}
.btn-cta-primary:hover { background: #1e293b; color: var(--warm-white); }

.btn-cta-secondary {
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 50px;
  background: transparent;
}
.btn-cta-secondary:hover { border-color: var(--charcoal); color: var(--charcoal); background: rgba(15,23,42,0.06); }

/* ── Connect / Contact ── */
.section-connect { padding: 100px 0; background: var(--warm-white); }

.connect-details { margin-top: 32px; }
.connect-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.connect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.connect-detail-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--charcoal); }
.connect-detail-item p { font-size: 0.9rem; color: var(--text-light); margin: 2px 0 0; }

.connect-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.connect-form-wrap h3 { font-size: 1.3rem; margin-bottom: 24px; }

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  background: var(--warm-white);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

.form-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.btn-form-submit {
  background: var(--forest);
  color: var(--warm-white);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-form-submit:hover { background: var(--forest-light); color: var(--warm-white); transform: translateY(-1px); }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--warm-white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-brand .brand-icon { width: 30px; height: 30px; font-size: 0.85rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0 20px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: 0; }

/* ── Stats Bar ── */
.section-stats {
  padding: 48px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.stat-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.stat-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin: 0 0 8px;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

/* ── Why It Matters ── */
.section-why {
  padding: 100px 0;
  background: var(--primary-pale);
}
.section-why .why-intro { max-width: 720px; }
.section-why .section-heading { color: var(--charcoal); }
.section-why .section-body { color: var(--text-light); }
.why-card {
  background: var(--warm-white);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-card p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--warm-white);
    border-radius: 0 0 12px 12px;
    padding: 12px 20px 16px;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
  }
  .navbar-collapse .nav-link {
    color: var(--text) !important;
    padding: 8px 0 !important;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
  }
  .navbar-collapse .nav-item:last-child .nav-link { border-bottom: none; }
  .navbar-collapse .nav-link:hover { color: var(--gold) !important; }
  .navbar-collapse .btn-nav-donate {
    display: block;
    margin-top: 10px;
    text-align: center;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    width: 100%;
  }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .hero-section { min-height: auto; }
  .hero-row { min-height: auto; }
  .hero-left { padding: 90px 16px 50px; }
  .hero-section h1 { font-size: 1.9rem; line-height: 1.15; margin-bottom: 14px; }
  .hero-tag { font-size: 0.72rem; margin-bottom: 14px; }
  .hero-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .hero-actions .btn { text-align: center; width: 100%; }
  .hero-trust { gap: 16px; padding-top: 24px; }
  .trust-number { font-size: 1.15rem; }
  .trust-label { font-size: 0.65rem; }

  .section-about,
  .section-impact,
  .section-journey,
  .section-founders,
  .section-connect,
  .section-why { padding: 60px 0; }
  .section-stats { padding: 36px 0; }
  .brand-title { font-size: 0.92rem; }
  .brand-subtitle { font-size: 0.66rem; }

  .section-heading { font-size: 1.5rem; }
  .impact-card-body { padding: 24px 20px; }
  .section-cta { padding: 50px 0; }
  .section-cta h2 { font-size: 1.4rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; }
  .scripture-deco { font-size: 4rem; }
  .section-scripture { padding: 50px 0; }
  .connect-form-wrap { padding: 28px 20px; }
  .footer-links { justify-content: center; }
  .footer-brand { justify-content: center; }
  .footer-tagline { text-align: center; }
}
