/* ============================
   DOMINION CITY NNEWI — STYLES
   ============================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --badge-warning: #FF6B35;
  --cta: #0000FF;
  --tag-youth: #A855F7;
  --tag-worship: #22C55E;
  --tag-warning: #F59E0B;
  --tag-info: #06B6D4;
  --alert-danger: #EF4444;
  --background: #272731;
  --panel-background: #111118;
  --panel-background-alt: #1e1e43;
  --card-background: #1d1d42;
  --border: rgba(255,255,255,0.08);
  --text-primary: #E8E8F0;
  --text-muted: #8888A8;
  --foreground: #FFFFFF;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--background);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* =================== CURSOR =================== */
.cursor {
  width: 12px; height: 12px;
  background: var(--cta);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-programs: none;
  z-index: 99999;
  transition: transform 0.1s, background 0.3s;
  transform: translate(-50%, -50%);
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

body:hover .cursor { opacity: 1; }

/* =================== LOADER =================== */
.loader {
  position: fixed; inset: 0;
  background: var(--background);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

.loader-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  color: var(--foreground);
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-sub {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--cta);
}
.loader-progress {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cta), var(--tag-youth));
  width: 0%;
  transition: width 0.1s;
  border-radius: 10px;
}

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.logo-img {
  height: 48px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--foreground);
}
.logo-text em { color: var(--cta); font-style: normal; }
.logo-cross { color: var(--cta); font-size: 1.2em; }
.nav-links { display: flex; gap: 36px; }
.nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--cta);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--foreground); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--cta);
  color: var(--foreground);
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #ff5520; transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 8px; cursor: none;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 32px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mobile-logo-img {
  height: 40px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.mobile-menu-header span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--foreground);
}
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu button {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--cta);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 4px;
  cursor: none;
  margin-top: 8px;
}

/* =================== PAGES =================== */
.page { display: none; animation: fadeIn 0.5s ease; }
.page.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =================== HERO =================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(135deg, rgba(10,10,15,0.65) 0%, rgba(10,10,15,0.5) 50%, rgba(10,10,15,0.65) 100%),
    url('images/Davd.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: rgba(255,107,53,0.15); top: -100px; left: -100px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: rgba(168,85,247,0.12); top: 30%; right: -80px; animation-delay: 3s; }
.orb3 { width: 350px; height: 350px; background: rgba(34,197,94,0.08); bottom: -50px; left: 40%; animation-delay: 5s; }

.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--cta);
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: slideUp 0.6s ease 0.5s both;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--foreground);
  margin-bottom: 28px;
}
.hero-title .line { display: block; animation: slideUp 0.7s ease both; }
.hero-title .line:nth-child(1) { animation-delay: 0.6s; }
.hero-title .line:nth-child(2) { animation-delay: 0.75s; }
.hero-title .line:nth-child(3) { animation-delay: 0.9s; }
.hero-title .accent { color: var(--cta); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: slideUp 0.7s ease 1s both;
}

.hero-btns {
  display: flex; gap: 16px;
  margin-bottom: 64px;
  animation: slideUp 0.7s ease 1.1s both;
}

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  animation: slideUp 0.7s ease 1.2s both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--cta);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.1em;
}
.stat-div { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 40px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  animation: slideUp 0.7s ease 1.4s both;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(var(--cta), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* =================== BUTTONS =================== */
.btn-primary {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--cta);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-ghost {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
  padding: 14px 32px;
  border-radius: 4px;
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cta); color: var(--cta); }
.btn-ghost.disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: transparent;
  color: var(--cta);
  border: 1.5px solid var(--cta);
  padding: 14px 32px;
  border-radius: 4px;
  cursor: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--cta); color: white; }

.btn-white {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: white;
  color: var(--background);
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* =================== TICKER =================== */
.ticker {
  background: var(--cta);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 60px;
  animation: ticker 25s linear infinite;
}
.ticker-inner span {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: white;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =================== SECTIONS =================== */
.section { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--cta);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-tag.light { color: rgba(255,255,255,0.7); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--foreground);
  line-height: 1;
}
.underline-accent {
  position: relative;
  color: var(--cta);
}

/* =================== WELCOME =================== */
.welcome-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.welcome-img-wrap { position: relative; }
.welcome-img-box {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 16px;
  background: var(--card-background);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,53,0.08), transparent 70%);
}
.img-icon { font-size: 4rem; }
.welcome-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.img-badge {
  position: absolute;
  bottom: -16px; right: 24px;
  background: var(--cta);
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  border-radius: 4px;
}
.welcome-text .section-tag { text-align: left; }
.welcome-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--foreground);
  margin-bottom: 20px;
  line-height: 1.05;
}
.welcome-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

/* =================== SERVICE CARDS =================== */
.services-section { padding-top: 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--service-accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--service-accent); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
}
.service-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.service-card .btn-outline { margin-top: auto; }
.livestream-hero .ph-content { max-width: 680px; }
.livestream-links-section .cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.livestream-links-section .service-card {
  min-height: 320px;
}
.livestream-links-section .service-card h3 { margin-bottom: 14px; }
.card-time {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--service-accent);
  background: rgba(255,255,255,0.04);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
}

/* =================== LIVESTREAM =================== */
.livestream-banner {
  background: linear-gradient(135deg, var(--panel-background-alt), #1a0a2e);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
}
.ls-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.ls-pulse {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: rgba(239,68,68,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ls-pulse span {
  width: 20px; height: 20px;
  background: var(--alert-danger);
  border-radius: 50%;
  display: block;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(239,68,68,0); } }
.ls-content h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.05em; color: white; }
.ls-content p { color: var(--text-muted); font-size: 0.9rem; }
.ls-content .btn-white { margin-left: auto; flex-shrink: 0; }

/* =================== programs PREVIEW =================== */
.programs-row { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.program-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  cursor: none;
  transition: transform 0.2s, border-color 0.2s;
}
.program-card:hover { transform: translateX(6px); border-color: rgba(255,107,53,0.3); }
.program-date {
  display: flex; flex-direction: column; align-items: center;
  min-width: 56px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  padding: 10px 8px;
}
.ed-day { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--cta); line-height: 1; }
.ed-mon { font-family: 'Syne', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); }
.program-info { flex: 1; }
.program-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.program-tag.fire { background: rgba(255,107,53,0.15); color: var(--cta); }
.program-tag.youth { background: rgba(168,85,247,0.15); color: var(--tag-youth); }
.program-tag.worship { background: rgba(34,197,94,0.15); color: var(--tag-worship); }
.program-info h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: white; margin-bottom: 4px; }
.program-info p { color: var(--text-muted); font-size: 0.85rem; }
.program-arrow { color: var(--text-muted); font-size: 1.2rem; transition: transform 0.2s; }
.program-card:hover .program-arrow { transform: translateX(4px); color: var(--cta); }
.center-btn { text-align: center; }

/* =================== NEWSLETTER =================== */
.newsletter-section { padding: 60px 48px; }
.nl-box {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.nl-icon { font-size: 3rem; margin-bottom: 16px; }
.nl-box h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 0.05em; color: white; margin-bottom: 10px; }
.nl-box p { color: var(--text-muted); margin-bottom: 28px; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-form input, .nl-form textarea { width: 100%; }
.nl-form button {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--cta);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: none;
  transition: background 0.2s;
}
.nl-form button:hover { background: #ff5520; }
.nl-small { font-size: 0.8rem; color: var(--tag-worship); margin-top: 8px; min-height: 20px; }

/* =================== INPUTS =================== */
input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
  cursor: none;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--cta); }
select option { background: var(--panel-background-alt); }

/* =================== PAGE HEROES =================== */
.page-hero {
  min-height: 50vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-height) + 60px) 48px 60px;
  position: relative;
  overflow: hidden;
}
.ph-content { position: relative; z-index: 1; max-width: 700px; }
.ph-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: 0.04em;
  color: white;
  line-height: 0.95;
  margin: 16px 0 20px;
}
.ph-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 500px; }

/* =================== ABOUT =================== */
.story-timeline { max-width: 800px; margin: 0 auto; position: relative; }
.story-timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}
.tl-left { flex-direction: row-reverse; text-align: right; }
.tl-right { text-align: left; }
.tl-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--cta);
  flex-shrink: 0;
  width: calc(50% - 20px - 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tl-right .tl-year { justify-content: flex-start; }
.tl-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: calc(50% - 20px - 40px);
  position: relative;
}
.timeline-item::after {
  content: '';
  position: absolute; left: 50%; top: 28px;
  width: 12px; height: 12px;
  background: var(--cta);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.2);
}
.tl-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; color: white; margin-bottom: 8px; }
.tl-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.beliefs-section { background: var(--panel-background); padding: 100px 48px; max-width: 100%; }
.beliefs-section .section-header { max-width: 1200px; margin: 0 auto 60px; }
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.belief-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s;
}
.belief-card:hover { transform: translateY(-6px); border-color: rgba(255,107,53,0.3); }
.bc-icon { font-size: 2rem; margin-bottom: 14px; }
.belief-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; color: white; margin-bottom: 8px; }
.belief-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.leadership-section { padding: 100px 48px; }
.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.leader-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s;
}
.leader-card:hover { transform: translateY(-6px); }
.leader-img {
  width: clamp(80px, 10vw, 100px); height: clamp(80px, 10vw, 100px);
  border-radius: 50%;
  background: var(--panel-background-alt);
  border: 3px solid var(--cta);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.leader-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.leader-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; color: white; margin-bottom: 4px; }
.leader-card span { color: var(--cta); font-size: 0.8rem; font-weight: 500; }
.leader-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-top: 12px; }

/* =================== programs PAGE =================== */
.filter-tabs {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 100px;
  cursor: none;
  transition: all 0.2s;
}
.filter-tab.active, .filter-tab:hover { background: var(--cta); border-color: var(--cta); color: white; }

.programs-big-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-big-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-big-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.program-big-card.hidden { display: none; }
.ebc-header {
  background: linear-gradient(135deg, rgba(var(--ec-rgb, 255,107,53),0.15), transparent);
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.ebc-date {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.ebc-body { padding: 24px 28px; }
.ebc-body h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 10px; }
.ebc-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.ebc-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.ebc-meta span { font-size: 0.8rem; color: var(--text-muted); }

/* =================== CONNECT =================== */
.branches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.branch-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.branch-card:hover { transform: translateY(-6px); }
.main-branch { border-color: rgba(255,107,53,0.3); background: linear-gradient(135deg, rgba(255,107,53,0.05), var(--card-background)); }
.coming-soon { opacity: 0.6; }
.branch-badge {
  position: absolute; top: -10px; left: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--cta);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
}
.branch-badge.soon { background: var(--text-muted); }
.branch-icon { font-size: 2.5rem; margin-bottom: 16px; }
.branch-card h3 { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 8px; }
.branch-card p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.6; margin-bottom: 16px; }
.branch-details { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.branch-details span { font-size: 0.78rem; color: var(--text-muted); }

.map-section { padding: 0 48px 80px; }
.map-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-placeholder {
  min-height: 400px;
  background: var(--panel-background-alt);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background-image:
    radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}
.map-placeholder .map-iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}
.map-overlay-text,
.map-secondary-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.map-overlay-text {
  bottom: 48px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}
.map-secondary-text {
  bottom: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.45);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.map-dot {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.map-ping {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cta);
  position: relative;
}
.map-ping::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--cta);
  animation: pingAnim 2s ease-out infinite;
}
.map-dot.main .map-ping { width: 28px; height: 28px; }
@keyframes pingAnim { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } }
.map-dot span {
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.ci-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.ci-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.ci-item strong { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: white; display: block; margin-bottom: 4px; }
.ci-item p { color: var(--text-muted); font-size: 0.88rem; }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-btn {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--cta); border-color: var(--cta); color: white; }
.contact-form-box {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.contact-form-box h3 { font-family: 'Syne', sans-serif; font-weight: 700; color: white; margin-bottom: 24px; }
.cf-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.cell-section {
  padding: 100px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--panel-background);
  max-width: 100%;
}
.cell-content .section-tag { text-align: left; }
.cell-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); color: white; margin-bottom: 16px; letter-spacing: 0.04em; }
.cell-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.cell-cards-wrap { display: flex; flex-direction: column; gap: 12px; }
.cell-mini-card {
  background: var(--card-background);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: none;
}
.cell-mini-card:hover { border-color: rgba(255,107,53,0.3); background: rgba(255,107,53,0.04); transform: translateX(6px); }

/* =================== FOOTER =================== */
.footer { background: #282853; border-top: 1px solid var(--border); padding: 60px 48px 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-top: 12px; max-width: 240px; }
.footer-links h5 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cta); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* =================== MODALS =================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  background: var(--panel-background-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  width: 90%;
  max-width: 480px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--cta); color: white; }
.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.modal h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.4rem; color: white; margin-bottom: 8px; }
.modal p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }

/* =================== TOAST =================== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card-background);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =================== ANIMATIONS =================== */
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-big-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: calc(var(--nav-height) + 20px) 24px 60px; }
  .section { padding: 60px 24px; }
  .give-section, .livestream-banner { padding: 60px 24px; }

  .welcome-section, .contact-grid, .cell-section { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid, .beliefs-grid, .leaders-grid { grid-template-columns: 1fr 1fr; }
  .livestream-links-section .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .livestream-links-section .service-card { min-height: auto; padding: 24px; }
  .branches-grid { grid-template-columns: 1fr; }
  .programs-big-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-wrap: wrap; }
  .ls-content { flex-wrap: wrap; }
  .ls-content .btn-white { margin-left: 0; }
  .story-timeline::before { left: 20px; }
  .timeline-item, .tl-left { flex-direction: column; text-align: left; }
  .tl-year, .tl-card { width: 100%; }
  .tl-right .tl-year, .tl-left .tl-year { justify-content: flex-start; }
  .timeline-item::after { left: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cf-row { grid-template-columns: 1fr; }
  .map-section { padding: 0 24px 60px; }
  .hero-scroll { display: none; }
  .modal { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .cards-grid, .beliefs-grid, .leaders-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  .give-amounts { flex-direction: column; }
  .give-amounts.mini { flex-direction: row; }
}

