/* ============================================================
   Gospel Crusade Church — Stylesheet
   Warm, inviting design with editorial elegance
   ============================================================ */

/* ===== Design Tokens ===== */
:root {
  /* Primary — deep warm navy */
  --navy:       #1B2A4A;
  --navy-light: #2D4A7A;
  --navy-dark:  #0F1A30;

  /* Accent — warm amber/gold */
  --gold:       #D4A84B;
  --gold-light: #E8C876;
  --gold-dark:  #B8882A;

  /* Warm neutrals */
  --cream:      #FAF7F2;
  --linen:      #F3EDE4;
  --sand:       #E8DFD2;
  --stone:      #8C8377;
  --charcoal:   #2C2824;
  --white:      #FFFFFF;

  /* Semantic */
  --text-primary:   #2C2824;
  --text-secondary: #6B6560;
  --text-muted:     #9C9590;
  --success:        #2D8B55;
  --error:          #C04040;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(44,40,36,0.06);
  --shadow-md:  0 4px 12px rgba(44,40,36,0.08);
  --shadow-lg:  0 12px 32px rgba(44,40,36,0.10);
  --shadow-xl:  0 20px 48px rgba(44,40,36,0.14);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

/* ===== Loading Screen ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
}

.loader-cross {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  z-index: 1;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(212,168,75,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  z-index: 10001;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ===== FABs ===== */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration) var(--ease-out);
  border: 2px solid rgba(212,168,75,0.3);
}

.fab:hover {
  transform: translateY(-4px);
  background: var(--gold-dark);
  box-shadow: var(--shadow-xl);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(44,40,36,0.06);
  transition: all var(--duration) var(--ease-out);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(250,247,242,0.97);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.nav-brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: all var(--duration) var(--ease-out);
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(27,42,74,0.05);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Bilingual / Creole Text Styles ===== */
.hero-subtitle-creole {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
  animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
  opacity: 0;
}

.hero-verse-creole {
  color: var(--gold-light);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}

.section-title-creole {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.section-subtitle-creole {
  font-style: italic;
  color: var(--stone) !important;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.section-subtitle--light.section-subtitle-creole {
  color: var(--gold-light) !important;
  opacity: 0.8;
}

.creole-label {
  font-weight: 500;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 0.85em;
}

.creole-heading {
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.85em;
}

.card-creole {
  font-style: italic;
  color: var(--stone);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sand);
  line-height: 1.6;
}

.footer-creole {
  font-style: italic;
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.popup-subtitle-creole {
  color: var(--gold-dark) !important;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/test.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27,42,74,0.55) 0%,
    rgba(27,42,74,0.35) 50%,
    rgba(15,26,48,0.60) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
  animation: fadeDown 0.8s var(--ease-out) forwards;
  opacity: 0;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeUp 0.9s var(--ease-out) 0.15s forwards;
  opacity: 0;
}

.hero-verse {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  animation: fadeUp 0.9s var(--ease-out) 0.3s forwards;
  opacity: 0;
}

.verse-ref {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s var(--ease-out) 0.45s forwards;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--duration) var(--ease-out);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(212,168,75,0.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,168,75,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { top: -50%; }
  100% { top: 150%; }
}



/* ===== Shared Section Styles ===== */
.section {
  padding: var(--section-y) 2rem;
}

.section-dark {
  background: var(--navy-dark);
}

.section-warm {
  background: var(--linen);
}

.section-accent {
  background: var(--navy);
  position: relative;
}

.section-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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.02'%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");
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  position: relative;
  padding: 0 1rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-tag::before { right: 100%; }
.section-tag::after  { left: 100%;  }

.section-tag--light { color: var(--gold-light); }
.section-tag--light::before,
.section-tag--light::after { background: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle--light { color: rgba(255,255,255,0.75); }

/* ===== Mission Cards ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.mission-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(44,40,36,0.06);
  transition: all var(--duration) var(--ease-out);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.mission-icon {
  width: 56px;
  height: 56px;
  background: var(--linen);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Video Section ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--duration) var(--ease-out);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border-color: rgba(212,168,75,0.3);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: rgba(0,0,0,0.3);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.25rem 1.5rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #C04040;
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.video-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ===== Staff Section ===== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.staff-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease-out);
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.staff-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--sand);
}

.staff-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.staff-card:hover .staff-image-wrapper img {
  transform: scale(1.06);
}

.staff-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration) ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.staff-card:hover .staff-overlay {
  opacity: 1;
}

.staff-tag {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.staff-info {
  padding: 1.5rem;
  text-align: center;
}

.staff-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.staff-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Events Section ===== */
.events-grid {
  display: grid;
  gap: 1.25rem;
}
/* Initially hide events for potential animation or conditional display */
#events {
  display: none;
}


.event-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(44,40,36,0.06);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  transition: all var(--duration) var(--ease-out);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  transform: translateX(6px);
}

.event-date {
  width: 80px;
  height: 80px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-details h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.event-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.event-description-creole {
  font-style: italic;
  color: var(--stone);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.event-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--linen);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.event-action {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all var(--duration) var(--ease-out);
}

.event-action:hover {
  background: var(--gold-dark);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

/* ===== Prayer Section ===== */
.prayer-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prayer-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-primary);
  transition: all var(--duration) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,75,0.15);
  background: var(--white);
}

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

.form-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--duration) var(--ease-out);
}

.form-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  background: #fce4ec;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

/* ===== Footer ===== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
}

.footer-column p,
.footer-column li {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease-out);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Popup ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,26,48,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.popup-overlay.show {
  opacity: 1;
}

.popup-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform var(--duration) var(--ease-out);
  box-shadow: var(--shadow-xl);
}

.popup-overlay.show .popup-box {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease-out);
}

.popup-close:hover {
  background: var(--error);
  color: var(--white);
  transform: rotate(90deg);
}

.popup-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.popup-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.popup-subtitle {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

.popup-content {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.popup-info {
  margin-bottom: 0.75rem;
}

.popup-info:last-child { margin-bottom: 0; }

.popup-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.popup-info span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.popup-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--duration) var(--ease-out);
}

.popup-action:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0);     }
}

.anim-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.anim-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right var(--duration) var(--ease-out);
    gap: 0;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--sand);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0 !important;
    width: 100%;
    color: var(--text-primary) !important;
    font-size: 1rem;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .event-date {
    margin: 0 auto;
  }

  .event-action {
    width: 100%;
    text-align: center;
    display: block;
    padding: 0.75rem;
  }

  .fab-container {
    bottom: 1rem;
    right: 1rem;
  }

  .fab {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .prayer-form {
    padding: 1.75rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .nav-brand-sub {
    display: none;
  }

  .section {
    padding: 3rem 1rem;
  }

  .popup-box {
    padding: 1.75rem 1.25rem;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }
}
