/* ============================================
   Church Website - Main Stylesheet
   Production-grade, responsive, accessible
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #1a365d;
  --primary-light: #2b4c7e;
  --primary-dark: #0f2440;
  --secondary: #c9952d;
  --secondary-light: #e6b84d;
  --accent: #e8ecf1;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #0f2440;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { color: var(--text-light); }

/* ---- Utilities ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: white; }
.section-dark p, .section-dark h2, .section-dark h3 { color: white; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--text-muted); font-size: 1.1rem; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition); border: none; text-align: center;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-light); color: white; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--accent); color: var(--primary); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ---- Navigation ---- */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
#main-nav.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
}
.nav-logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.8rem; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary); background: var(--accent);
}
.nav-btn-donate {
  background: var(--secondary) !important; color: white !important;
  border-radius: var(--radius) !important; font-weight: 600 !important;
}
.nav-btn-donate:hover { background: var(--secondary-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: var(--transition);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.25rem; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem;
  min-width: 200px; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.55rem 1rem; border-radius: 6px;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--accent); }

/* ---- Hero Sections ---- */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; text-align: center; overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom/cover;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; }
.hero h1 { color: white; margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative; min-height: 92vh;
  overflow: hidden; padding-top: var(--nav-height);
  background: var(--primary-dark);
}
#slider-slides {
  position: absolute; inset: 0;
}
.hero-slider .slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 1s ease;
  z-index: 0; overflow: hidden;
}
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.hero-slider .slide.active .slide-bg {
  animation: kenBurns 12s ease forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-slider .slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-slider .slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,36,64,0.35) 0%,
    rgba(15,36,64,0.55) 50%,
    rgba(15,36,64,0.8) 100%);
}
.hero-slider .slide-content {
  position: relative; z-index: 2;
  text-align: left; color: white; max-width: 800px;
  padding: 2rem 4rem;
  width: 100%;
}
.hero-slider .slide-content .slide-label {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-slider .slide-content h1 {
  color: white; font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  font-weight: 800;
  line-height: 1.15;
}
.hero-slider .slide-content p {
  color: rgba(255,255,255,0.9); font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem; max-width: 550px;
  line-height: 1.7;
}
.hero-slider .slide-content .btn {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.slider-dots {
  position: absolute; bottom: 2.5rem; left: 4rem;
  z-index: 3;
  display: flex; gap: 0.5rem;
}
.slider-dots .dot {
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all var(--transition); padding: 0;
}
.slider-dots .dot.active {
  background: white; width: 60px;
}
.slider-arrows {
  position: absolute; bottom: 2.5rem; right: 4rem; z-index: 3;
  display: flex; gap: 0.75rem;
  width: auto; padding: 0;
  transform: none; top: auto;
  pointer-events: all;
  justify-content: flex-end;
}
.slider-arrows button {
  pointer-events: all;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: white; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.slider-arrows button:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}
/* Slider progress bar */
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; z-index: 3;
  background: rgba(255,255,255,0.15);
}
.slider-progress-bar {
  height: 100%; background: var(--secondary);
  width: 0; transition: width 0.3s linear;
}
.slider-progress-bar.animate {
  animation: sliderProgress 6s linear forwards;
}
@keyframes sliderProgress {
  from { width: 0; }
  to { width: 100%; }
}
@media (max-width: 768px) {
  .hero-slider { min-height: 75vh; }
  .hero-slider .slide-content {
    text-align: center; padding: 2rem 1.5rem;
  }
  .hero-slider .slide-content p { margin-left: auto; margin-right: auto; }
  .slider-dots { left: 50%; transform: translateX(-50%); bottom: 2rem; }
  .slider-arrows {
    right: 50%; transform: translateX(50%);
    bottom: 5rem;
  }
}

.page-hero {
  position: relative; padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.page-hero .breadcrumb { margin-top: 1rem; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---- Content Cards ---- */
.content-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { position: relative; padding-top: 60%; overflow: hidden; }
.card-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.content-card:hover .card-image img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--secondary); color: white;
  padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
}
.card-body { padding: 1.25rem; }
.card-date { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.card-title { margin: 0.5rem 0; font-size: 1.1rem; }
.card-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; }
.card-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.card-link:hover { color: var(--secondary); }

/* ---- Event Cards ---- */
.event-card {
  display: flex; flex-direction: column;
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: all var(--transition);
  overflow: hidden; text-decoration: none; color: inherit;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.event-card-image {
  position: relative; width: 100%; height: 200px; overflow: hidden;
}
.event-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-card-image img { transform: scale(1.05); }
.event-date-badge {
  position: absolute; top: 1rem; left: 1rem;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.event-day { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.event-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.event-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.event-card-title { font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.3; }
.event-card-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; margin: 0; }
.event-card-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.25rem; }
.event-meta-tag { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.event-meta-tag svg { color: var(--secondary); flex-shrink: 0; }
.event-card-btn {
  display: inline-block; margin-top: auto; padding-top: 0.75rem;
  font-size: 0.9rem; font-weight: 700; color: var(--primary);
  transition: color var(--transition);
}
.event-card:hover .event-card-btn { color: var(--secondary); }
.events-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ---- Media Cards ---- */
.media-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.media-thumb {
  position: relative; padding-top: 56.25%; cursor: pointer; overflow: hidden;
}
.media-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.media-card:hover .media-thumb img { transform: scale(1.05); }
.media-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); transition: background var(--transition);
}
.media-card:hover .media-play-overlay { background: rgba(0,0,0,0.5); }
.media-info { padding: 1rem; }
.media-info h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.media-info p { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Media Modal ---- */
.media-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.media-modal.show { opacity: 1; }
.media-modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.media-modal-content {
  position: relative; z-index: 1;
  background: #111; border-radius: var(--radius-lg);
  padding: 1.5rem; max-width: 900px; width: 95%;
  color: white;
}
.media-modal-content h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.media-modal-close {
  position: absolute; top: 0.5rem; right: 1rem;
  background: none; border: none; color: white;
  font-size: 2rem; cursor: pointer; line-height: 1;
}
.media-player iframe, .media-player video {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
}
.media-player audio { width: 100%; margin-top: 1rem; }

/* ---- Gallery ---- */
.gallery-grid {
  columns: 3; column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; margin-bottom: 0.4rem;
  font-weight: 600; font-size: 0.9rem; color: var(--text);
}
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--transition);
  background: white;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Leadership / Team ---- */
.team-card {
  text-align: center; padding: 2rem 1.5rem;
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1rem;
  border: 4px solid var(--accent);
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card .team-role { color: var(--secondary); font-weight: 600; font-size: 0.9rem; }
.team-card p { font-size: 0.85rem; margin-top: 0.5rem; }

/* ---- Donation / CTA Sections ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary), #d4a84b);
  padding: 4rem 0; text-align: center; color: white;
}
.cta-banner h2, .cta-banner p { color: white; }
.cta-banner p { margin: 0.75rem auto 1.5rem; max-width: 600px; font-size: 1.1rem; }

/* ---- Stats/Counter ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem; text-align: center; padding: 3rem 0;
}
.stat-item h3 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.25rem; }
.stat-item p { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }

/* ---- Spinner ---- */
.spinner { display: flex; justify-content: center; padding: 3rem; }
.spinner-ring {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Empty State ---- */
.empty-state {
  text-align: center; padding: 4rem 2rem; color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1rem; }
.empty-state p { font-size: 1.1rem; }

/* ---- Pagination ---- */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; padding: 2rem 0;
}
.pagination-btn {
  padding: 0.6rem 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius); background: white;
  font-weight: 600; cursor: pointer; font-size: 0.9rem;
  transition: all var(--transition);
}
.pagination-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-info { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 10001;
  padding: 1rem 1.5rem; border-radius: var(--radius);
  background: var(--text); color: white; font-weight: 500;
  transform: translateY(100px); opacity: 0;
  transition: all var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: #38a169; }
.toast-error { background: #e53e3e; }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white; border: none;
  font-size: 1.2rem; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ---- Footer ---- */
#main-footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-grid h3 { color: white; font-size: 1.3rem; margin-bottom: 1rem; }
.footer-grid h4 { color: white; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--secondary); }
.footer-about { font-size: 0.9rem; margin-bottom: 1rem; color: rgba(255,255,255,0.7); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--secondary); color: white; }
.footer-cta {
  display: inline-block; padding: 0.6rem 1.25rem;
  background: var(--secondary); color: white;
  border-radius: var(--radius); font-weight: 600;
  font-size: 0.9rem; margin-top: 1rem;
}
.footer-cta:hover { background: var(--secondary-light); color: white; }
.footer-bottom {
  max-width: var(--max-width); margin: 3rem auto 0;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ---- Animation ---- */
[data-aos] { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
[data-aos].revealed { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: white; flex-direction: column; padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform var(--transition);
  }
  .nav-links.show { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; width: 100%; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    max-height: 0; overflow: hidden; padding: 0;
    transition: max-height var(--transition);
  }
  .dropdown.open .dropdown-menu { max-height: 500px; padding: 0.5rem 0 0.5rem 1rem; }
  .hero { min-height: 70vh; }
  .section { padding: 3rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .event-card-image { height: 160px; }
  .events-list { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ---- Donation Page Specific ---- */
.donate-options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.donate-option {
  padding: 1.5rem; border: 2px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
  cursor: pointer; transition: all var(--transition);
}
.donate-option:hover, .donate-option.selected {
  border-color: var(--primary); background: var(--accent);
}
.donate-option h3 { margin-bottom: 0.5rem; }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.tab-btn {
  padding: 0.6rem 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius); background: white;
  font-weight: 600; cursor: pointer; font-size: 0.9rem;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--accent); }

/* ---- Prayer Wall ---- */
.prayer-card {
  padding: 1.5rem; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}
.prayer-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.prayer-card p { font-size: 0.9rem; }
.prayer-card .prayer-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ---- Testimony Cards ---- */
.testimony-card {
  padding: 1.5rem; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  position: relative;
}
.testimony-card::before {
  content: '\201C'; position: absolute; top: 0.5rem; left: 1rem;
  font-size: 3rem; color: var(--accent); font-family: serif; line-height: 1;
}
.testimony-card .testimony-content { padding-left: 1.5rem; font-style: italic; }
.testimony-card .testimony-author { margin-top: 1rem; font-weight: 600; color: var(--primary); }

/* ---- Livestream Banner ---- */
.livestream-banner {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  color: white; padding: 1rem; text-align: center;
  font-weight: 600; display: none;
}
.livestream-banner.active { display: block; }
.livestream-dot {
  display: inline-block; width: 8px; height: 8px;
  background: white; border-radius: 50%;
  margin-right: 0.5rem; animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---- Devotional Specific ---- */
.devotional-card {
  padding: 2rem; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.devotional-card .devotional-date {
  font-size: 0.85rem; color: var(--secondary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem;
}
.devotional-card h3 { margin-bottom: 0.75rem; }
.devotional-card .devotional-content { font-size: 0.95rem; line-height: 1.8; }
