/* ============================================================
   WESTON CHRISTIAN FELLOWSHIP CHURCH — Main Stylesheet
   Design: Premium NPO — Navy + Gold palette
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  --primary:        #1B3A5C;
  --primary-light:  #2A5A8C;
  --primary-dark:   #0F2439;
  --secondary:      #C8A96E;
  --secondary-dark: #A8893E;
  --accent:         #E8D5B0;
  --bg-light:       #F9F6F0;
  --bg-dark:        #0F2439;
  --text-primary:   #1A1A1A;
  --text-secondary: #555555;
  --text-on-dark:   #E8E0D4;
  --white:          #FFFFFF;
  --success:        #2E7D4F;
  --border:         #D4C5A9;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-pill:50px;

  --header-height: 80px;
  --container-max: 1200px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-light);
  padding-top: var(--header-height);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--primary);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-on-dark, .text-on-dark h1, .text-on-dark h2,
.text-on-dark h3, .text-on-dark h4 {
  color: var(--text-on-dark);
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-lg {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  margin: 16px auto;
  border-radius: 2px;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.split-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 40fr 60fr;
}

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ============================================================
   5. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--secondary);
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* Pillar / Feature Cards */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.pillar-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  color: var(--secondary);
  box-shadow: 0 4px 16px rgba(27,58,92,0.25);
}

.pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Value Cards */
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

/* Event Cards */
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-left: 4px solid var(--secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.event-info { flex: 1; }

.event-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.event-meta {
  font-size: 0.875rem;
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   8. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo + Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: 2px;
}

.nav-list li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  transform: scaleX(1);
}

.nav-list li a.active {
  color: var(--secondary);
  background: rgba(200,169,110,0.12);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}

/* Footer Column 1 */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(232,224,212,0.75);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Footer Column 2 */
.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(232,224,212,0.8);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--secondary);
}

/* Footer Column 3 - Contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(232,224,212,0.82);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(232,224,212,0.82);
  transition: color var(--transition-fast);
  word-break: break-word;
}

.footer-contact-item a:hover {
  color: var(--secondary);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(200,169,110,0.2);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(232,224,212,0.6);
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-meta-links a {
  font-size: 0.8rem;
  color: rgba(232,224,212,0.6);
  transition: color var(--transition-fast);
}

.footer-meta-links a:hover {
  color: var(--secondary);
}

.footer-cra {
  font-size: 0.8rem;
  color: rgba(232,224,212,0.5);
}

/* ============================================================
   10. HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: heroZoom 8s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,36,57,0.88) 0%,
    rgba(27,58,92,0.70) 50%,
    rgba(15,36,57,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-tag {
  display: inline-block;
  background: rgba(200,169,110,0.2);
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(232,224,212,0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page Hero Banner (inner pages) */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,36,57,0.88), rgba(27,58,92,0.72));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.7s ease both;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(232,224,212,0.85);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(232,224,212,0.7);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--secondary);
  transition: opacity var(--transition-fast);
}

.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb i { font-size: 0.7rem; }

/* ============================================================
   11. HOME PAGE — MISSION SECTION
   ============================================================ */
.mission-section {
  background-color: var(--accent);
  text-align: center;
  padding: 80px 0;
}

.mission-section h2 {
  margin-bottom: 16px;
}

.mission-text {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-primary);
}

/* ============================================================
   12. HOME PAGE — GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,36,57,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 24px;
  transition: gap var(--transition-fast);
}

.gallery-link:hover { gap: 12px; }

/* ============================================================
   13. HOME PAGE — WELCOME SPLIT
   ============================================================ */
.welcome-section {
  background: var(--white);
  padding: 96px 0;
}

.welcome-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.welcome-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.welcome-img-wrap:hover img {
  transform: scale(1.04);
}

.welcome-text h2 {
  margin-bottom: 24px;
}

.welcome-text .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* ============================================================
   14. STAT COUNTERS
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 16px; }

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(232,224,212,0.85);
  letter-spacing: 0.5px;
}

/* ============================================================
   15. ACCORDION (Faith Page)
   ============================================================ */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition-fast);
  user-select: none;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-header.open {
  background: var(--primary);
  color: var(--white);
}

.accordion-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
}

.accordion-header.open .accordion-title {
  color: var(--white);
}

.accordion-title i {
  color: var(--secondary);
  font-size: 1.1rem;
  width: 24px;
}

.accordion-icon {
  font-size: 0.9rem;
  color: var(--secondary);
  transition: transform var(--transition-base);
}

.accordion-header.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 600px;
  padding: 24px;
}

.accordion-body p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   16. CONTACT PAGE
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--secondary);
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.contact-card p, .contact-card a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  word-break: break-word;
}

.contact-card a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label .required {
  color: #e74c3c;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
}

.form-control.error {
  border-color: #e74c3c;
}

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

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

.form-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  display: none;
}

/* Maps & Hours */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.hours-box {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid var(--secondary);
  margin-top: 32px;
}

.hours-box h3 { margin-bottom: 16px; }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,197,169,0.5);
  font-size: 0.95rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-day { font-weight: 600; color: var(--primary); }
.hours-time { color: var(--text-secondary); }

/* ============================================================
   17. EVENTS PAGE
   ============================================================ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table th {
  background: var(--primary);
  color: var(--secondary);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
}

.schedule-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tr:nth-child(even) td {
  background: var(--bg-light);
}

/* Announcement box */
.announcement-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--white);
  border-left: 6px solid var(--secondary);
}

.announcement-box h3 {
  color: var(--secondary);
  margin-bottom: 12px;
}

.announcement-box p {
  color: rgba(232,224,212,0.9);
  line-height: 1.8;
}

/* Volunteer Opportunities */
.volunteer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.volunteer-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition-base);
}

.volunteer-item:hover { transform: translateY(-3px); }

.volunteer-item i {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   18. OUTREACH PAGE
   ============================================================ */
.outreach-program {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.outreach-program:last-child { border-bottom: none; }

.outreach-program.reverse { direction: rtl; }
.outreach-program.reverse > * { direction: ltr; }

.outreach-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.outreach-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.outreach-img:hover img {
  transform: scale(1.04);
}

.outreach-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* Testimonial */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--secondary);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.25;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ============================================================
   19. CTA SECTIONS
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(232,224,212,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-cream {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}

/* ============================================================
   20. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   21. PRIVACY POLICY
   ============================================================ */
.privacy-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}

.privacy-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.privacy-content h2:first-child { margin-top: 0; }

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ============================================================
   22. RESPONSIVE — TABLET (max 991px)
   ============================================================ */
@media (max-width: 991px) {
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: span 2; }
  .contact-form-section { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .split-layout,
  .split-layout.reverse { grid-template-columns: 1fr; }
  .welcome-img-wrap img { height: 360px; }
  .outreach-program,
  .outreach-program.reverse { grid-template-columns: 1fr; direction: ltr; }
  .volunteer-list { grid-template-columns: 1fr; }
}

/* ============================================================
   23. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-height: 70px; }

  /* Mobile Nav */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-list li a {
    font-size: 1.2rem;
    padding: 12px 32px;
  }

  .nav-toggle { display: flex; z-index: 1001; }

  .brand-name { font-size: 0.85rem; }
  .brand-tag  { display: none; }
  .header-logo { height: 40px; width: 40px; }

  /* Grid collapses */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:last-child { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-meta-links { flex-wrap: wrap; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero { background-attachment: scroll; min-height: 90vh; }
  .hero-bg { background-attachment: scroll; }
  .hero-btns { flex-direction: column; }
  .page-hero { height: 280px; }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr; }

  /* Events */
  .schedule-table { font-size: 0.85rem; }
  .schedule-table th, .schedule-table td { padding: 10px 12px; }

  /* Privacy */
  .privacy-content { padding: 28px 20px; }

  /* Section padding */
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
