/* ============================================================
   CHURCH PUBLIC WEBSITE – PREMIUM CSS
   Color Palette: Deep Purple, Lavender, Rose Gold, Soft White
   ============================================================ */

/* ── CSS Variables ── */
:root {
  /* Core palette */
  --purple-900: #1e0a4e;
  --purple-800: #2d1472;
  --purple-700: #4c1d95;
  --purple-600: #5b21b6;
  --purple-500: #7c3aed;
  --purple-400: #8b5cf6;
  --purple-300: #a78bfa;
  --purple-200: #c4b5fd;
  --purple-100: #ede9fe;
  --purple-50:  #f5f3ff;

  /* Lavender */
  --lavender-dark:  #9d7ec9;
  --lavender:       #b8a6e0;
  --lavender-light: #d8cff5;
  --lavender-pale:  #ede8fa;

  /* Rose gold */
  --rose-dark:  #b5646e;
  --rose:       #d4a5a5;
  --rose-light: #e8cece;
  --rose-pale:  #fdf4f4;

  /* Neutrals */
  --white:     #ffffff;
  --off-white: #fafafa;
  --soft-bg:   #f8f5ff;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-600:  #6b7280;
  --gray-800:  #1f2937;
  --dark:      #0f0a1e;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 50%, var(--lavender-dark) 100%);
      --gradient-hero: linear-gradient(180deg, rgb(30 10 78) 0%, rgb(30 10 78) 0%, rgb(157 126 201 / 0%) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
  --gradient-service: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 60%, var(--lavender-dark) 100%);
  --gradient-leaders: linear-gradient(160deg, #1a0840 0%, var(--purple-700) 100%);
  --gradient-rose: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);

  /* Glass effect */
  --glass-bg:     rgba(255,255,255,.1);
  --glass-border: rgba(255,255,255,.2);
  --glass-shadow: 0 8px 32px rgba(76,29,149,.15);
  --glass-dark-bg:     rgba(255,255,255,.06);
  --glass-dark-border: rgba(255,255,255,.14);

  /* Spacing & radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px  rgba(76,29,149,.08);
  --shadow-md:  0 8px 24px rgba(76,29,149,.12);
  --shadow-lg:  0 16px 48px rgba(76,29,149,.18);
  --shadow-xl:  0 24px 64px rgba(76,29,149,.24);

  /* Transitions */
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--purple-100); }
::-webkit-scrollbar-thumb { background: var(--purple-400); border-radius: var(--radius-full); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Glass Card Components ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}
.glass-card-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius-md);
}

/* ── Section Base ── */
.section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.2rem;
  background: var(--lavender-pale);
  color: var(--purple-600);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag.light {
  background: rgba(255,255,255,.15);
  color: var(--lavender-light);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--purple-800);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.section-title.light { color: var(--white); }
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.section-divider span {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}
.section-divider i {
  color: var(--purple-400);
  font-size: .9rem;
}
.section-divider.light span { background: rgba(255,255,255,.4); }
.section-divider.light i { color: var(--lavender-light); }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-400);
}
.empty-state i {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: .4;
}
.empty-state p { font-size: 1.1rem; }

/* ─────────────────────────────────────────
   LANDING PAGE
───────────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  background: var(--gradient-service);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.landing-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,.1)"/></svg>') repeat;
  opacity: .3;
}
.landing-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(30,10,78,.6) 100%);
}
.landing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 540px;
  animation: fadeInUp .9s ease both;
}
.landing-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white);
  backdrop-filter: blur(10px);
}
.landing-content h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: .8rem;
}
.landing-content p {
  color: var(--lavender-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.landing-form { display: flex; flex-direction: column; gap: 1rem; }
.landing-input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.landing-input-wrap i {
  position: absolute; left: 1.2rem;
  color: var(--purple-300); font-size: 1rem;
  pointer-events: none;
}
.landing-input-wrap input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.landing-input-wrap input::placeholder { color: rgba(255,255,255,.5); }
.landing-input-wrap input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
}
.btn-landing {
  padding: 1rem;
  background: var(--gradient-rose);
  color: var(--white);
  border: none; border-radius: var(--radius-md);
  font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  letter-spacing: .04em;
  font-family: var(--font-sans);
}
.btn-landing:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.landing-error {
  margin-top: 1rem;
  color: #fca5a5;
  font-size: .9rem;
  display: flex; align-items: center; gap: .4rem; justify-content: center;
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-slow);
}
.navbar.scrolled {
    background: rgb(43 23 103 / 92%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: .45rem .85rem;
  color: rgba(255,255,255,.8);
  font-size: .88rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gradient-rose);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-link:hover::after, .nav-link.active::after {
  left: .85rem; right: .85rem;
}
.nav-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.btn-nav-admin { display: none !important; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-toggle.open { opacity: 0; pointer-events: none; }

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--purple-900);
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 7rem 2rem 12rem;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none; z-index: 2;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.35), transparent 70%);
  top: -100px; left: -80px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,165,165,.3), transparent 70%);
  bottom: 80px; right: -60px;
  animation: orbFloat2 10s ease-in-out infinite;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(167,139,250,.25), transparent 70%);
  top: 40%; left: 50%; transform: translate(-50%,-50%);
  animation: orbFloat3 12s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px, 40px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-25px,-30px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%      { transform: translate(-50%,-55%) scale(1.15); }
}
.hero-particles {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.2rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-full);
  color: var(--lavender-light);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(124,58,237,.25), inset 0 1px 0 rgba(255,255,255,.15);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.8);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 8px rgba(74,222,128,.8); transform: scale(1); }
  50%      { box-shadow: 0 0 14px rgba(74,222,128,1); transform: scale(1.3); }
}
.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.2rem;
    flex-wrap: nowrap;
}
.diocese-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.diocese-hero-img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.45);
  box-shadow:
    0 0 0 6px rgba(124,58,237,.25),
    0 0 30px rgba(167,139,250,.55),
    0 0 60px rgba(124,58,237,.35);
  animation: diocesePulse 4s ease-in-out infinite;
  display: block;
}
.diocese-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(167,139,250,.3);
  animation: dioceseRing 3s ease-in-out infinite;
}
@keyframes diocesePulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(124,58,237,.25), 0 0 30px rgba(167,139,250,.55), 0 0 60px rgba(124,58,237,.35); }
  50%      { box-shadow: 0 0 0 8px rgba(124,58,237,.35), 0 0 45px rgba(167,139,250,.8),  0 0 90px rgba(124,58,237,.5); }
}
@keyframes dioceseRing {
  0%,100% { transform: scale(1);    opacity: .6; }
  50%      { transform: scale(1.08); opacity: 1;  }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0;
  background-clip: text;
  letter-spacing: -.01em;
}
.hero-subtitle {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  letter-spacing: .02em;
}
.hero-subtitle i { color: var(--rose); }
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(124,58,237,.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: .95rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-3px);
}
.hero-scroll-indicator {
  position: absolute; bottom: 7rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .08em;
  animation: bounce 2s infinite;
}
.scroll-arrow i { font-size: .85rem; }

.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 4;
  display: flex; align-items: stretch;
  background: rgba(15,10,30,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,.06); }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 700;
  color: var(--white);
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--lavender-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: .3rem;
}

/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.about-section { background: var(--soft-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-xl);
}
.about-img-placeholder {
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(255,255,255,.3);
}
.about-img-badge {
  position: absolute; bottom: -1.5rem; right: 2rem;
  background: var(--gradient-rose);
  color: var(--white);
  padding: .7rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-md);
}
.about-subtitle {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 600;
  color: var(--purple-800);
  margin-bottom: 1rem; line-height: 1.3;
}
.about-text {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-size: .98rem;
}
.about-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.about-detail-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.detail-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--lavender-pale);
  color: var(--purple-500);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.detail-label {
  display: block; font-size: .75rem; font-weight: 600;
  color: var(--purple-400); letter-spacing: .06em; text-transform: uppercase;
}
.detail-value { display: block; font-size: .93rem; color: var(--gray-700, #374151); margin-top: .1rem; }
.about-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.about-stat-card {
  text-align: center; padding: 1rem .5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(180,153,234,.1));
  border: 1px solid var(--lavender-pale);
  transition: var(--transition);
}
.about-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.asc-number {
  display: block; font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 700;
  color: var(--purple-600); line-height: 1;
}
.asc-label { font-size: .72rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; }

/* ─────────────────────────────────────────
   SERVICE TIMES SECTION
───────────────────────────────────────── */
.service-section {
  background: var(--gradient-service);
  position: relative; overflow: hidden;
}
.service-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 3rem;
}
.service-card {
  padding: 2.5rem 2rem; text-align: center;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); }
.service-card.featured {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-8px);
}
.service-card.featured:hover { transform: translateY(-12px); }
.service-icon {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--lavender-light);
  border: 1.5px solid rgba(255,255,255,.2);
}
.featured-icon {
  background: var(--gradient-rose);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.service-featured-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gradient-rose);
  color: var(--white); font-size: .72rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: var(--radius-full);
  letter-spacing: .05em;
}
.service-card h3 {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--white); margin-bottom: .5rem;
}
.service-time {
  font-size: 1.4rem; font-weight: 700;
  color: var(--lavender-light); margin-bottom: .6rem;
}
.service-desc { font-size: .88rem; color: rgba(255,255,255,.6); }
.sunday-feature {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  backdrop-filter: blur(10px);
}
.sunday-label {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .9rem;
  background: #ff000033;
  border: 1px solid rgba(255,80,80,.3);
  border-radius: var(--radius-full);
  color: #ff9999; font-size: .78rem; font-weight: 600;
  margin-bottom: 1rem;
}
.sunday-title {
  font-family: var(--font-serif); font-size: 1.6rem;
  color: var(--white); margin-bottom: .8rem;
}
.sunday-desc { color: rgba(255,255,255,.65); margin-bottom: 1.5rem; line-height: 1.7; }
.btn-watch {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.8rem;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: var(--white); border-radius: var(--radius-full);
  font-weight: 600; font-size: .9rem; transition: var(--transition);
}
.btn-watch:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,0,0,.3); }

/* ─────────────────────────────────────────
   EVENTS SECTION
───────────────────────────────────────── */
.events-section { background: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-200);
}
.event-card.past-event { opacity: .7; }
.event-img-wrap { position: relative; overflow: hidden; height: 200px; }
.event-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.event-card:hover .event-img { transform: scale(1.06); }
.event-img-placeholder {
  width: 100%; height: 100%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
}
.event-badge {
  position: absolute; top: .8rem; left: .8rem;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-open  { background: rgba(74,222,128,.9);  color: #065f46; }
.badge-closed { background: rgba(148,163,184,.9); color: #1e293b; }
.event-body { padding: 1.5rem; }
.event-date {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .8rem;
}
.event-date-block {
  display: flex; flex-direction: column; align-items: center;
  background: var(--lavender-pale);
  border-radius: var(--radius-sm);
  padding: .3rem .6rem; min-width: 44px;
}
.ed-day {
  font-family: var(--font-serif); font-size: 1.3rem;
  font-weight: 700; color: var(--purple-600); line-height: 1;
}
.ed-month { font-size: .65rem; font-weight: 600; color: var(--purple-400); text-transform: uppercase; }
.ed-sep { color: var(--gray-400); font-size: .8rem; align-self: center; }
.event-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
  color: var(--purple-800); margin-bottom: .4rem; line-height: 1.4;
}
.event-time {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--purple-500);
  margin-bottom: .6rem; font-weight: 500;
}
.event-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* ─────────────────────────────────────────
   ANNOUNCEMENTS SECTION
───────────────────────────────────────── */
.announcements-section { background: var(--soft-bg); }
.announcements-list {
  display: flex; flex-direction: column; gap: 1.2rem;
  max-width: 800px; margin: 0 auto;
}
.ann-card {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ann-card:hover {
  transform: translateX(6px);
  border-color: var(--purple-200);
  box-shadow: var(--shadow-md);
}
.ann-img-wrap { flex-shrink: 0; }
.ann-img {
  width: 90px; height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.ann-body { flex: 1; min-width: 0; }
.ann-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .4rem;
}
.ann-icon { color: var(--rose-dark); font-size: .85rem; }
.ann-date { font-size: .78rem; color: var(--gray-400); font-weight: 500; }
.ann-title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--purple-800); margin-bottom: .4rem; line-height: 1.4;
}
.ann-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* ─────────────────────────────────────────
   GALLERY SECTION
───────────────────────────────────────── */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(76,29,149,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 80px rgba(0,0,0,.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ─────────────────────────────────────────
   LEADERS SECTION
───────────────────────────────────────── */
.leaders-section {
  background: var(--gradient-leaders);
  position: relative; overflow: hidden;
}
.leaders-bg-pattern {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,.3) 0%, transparent 70%);
  pointer-events: none;
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.leader-card {
  text-align: center; padding: 2rem 1.2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
  min-width: 0;
  overflow: hidden;
}
.leader-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); }
.leader-avatar-wrap {
  position: relative; width: 130px; height: 130px;
  margin: 0 auto 1.2rem;
}
.leader-avatar {
  width: 130px; height: 130px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.2);
}
.leader-avatar-placeholder {
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 3px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.4);
}
.leader-halo {
  position: absolute; inset: -7px;
  border-radius: 50%;
  background: conic-gradient(var(--purple-400), var(--rose), var(--lavender), var(--purple-400));
  z-index: -1; opacity: 0;
  transition: opacity var(--transition);
  animation: spin 6s linear infinite;
}
.leader-card:hover .leader-halo { opacity: .5; }
.leader-name {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: .3rem;
}
.leader-designation {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--lavender-light); letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .8rem;
}
.leader-phone {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: rgba(255,255,255,.65);
  padding: .3rem .8rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.leader-phone:hover { color: var(--white); background: rgba(255,255,255,.15); }

/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.contact-section { background: var(--soft-bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 4rem; align-items: start;
}
.contact-subtitle {
  font-family: var(--font-serif); font-size: 1.5rem;
  color: var(--purple-800); margin-bottom: .8rem;
}
.contact-intro {
  color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem;
  font-size: .95rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--white);
}
.ci-label {
  display: block; font-size: .72rem; font-weight: 600;
  color: var(--purple-400); letter-spacing: .06em; text-transform: uppercase;
}
.ci-value { display: block; font-size: .92rem; color: var(--gray-700,#374151); margin-top: .1rem; }
.ci-link { color: var(--purple-600); transition: var(--transition); }
.ci-link:hover { color: var(--purple-400); }
.map-wrapper {
  width: 100%; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  height: 380px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.btn-directions {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .65rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--white); border-radius: var(--radius-full);
  font-weight: 600; font-size: .88rem; transition: var(--transition);
}
.btn-directions:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-map-placeholder {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder-inner {
  text-align: center; color: rgba(255,255,255,.8);
}
.map-placeholder-inner i { font-size: 4rem; margin-bottom: 1rem; opacity: .6; }
.map-placeholder-inner p {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--white); margin-bottom: .4rem;
}
.map-placeholder-inner span { font-size: .9rem; opacity: .7; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 5rem 0 0;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: var(--gradient-primary);
  box-shadow: 0 0 80px 20px rgba(124,58,237,.2);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
  color: var(--white); margin-bottom: 1rem;
}
.footer-logo i {
  width: 36px; height: 36px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.footer-tagline { color: rgba(255,255,255,.45); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .7rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .85rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--purple-600);
  border-color: var(--purple-400);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col-title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.45); font-size: .88rem;
  transition: var(--transition);
}
.footer-links a i { font-size: .65rem; color: var(--purple-400); }
.footer-links a:hover { color: var(--lavender-light); padding-left: .3rem; }
.footer-contact-col p {
  display: flex; align-items: flex-start; gap: .7rem;
  color: rgba(255,255,255,.45); font-size: .88rem; margin-bottom: .8rem; line-height: 1.5;
}
.footer-contact-col p i { color: var(--purple-400); margin-top: .18rem; flex-shrink: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .82rem; color: rgba(255,255,255,.25);
}
.footer-powered strong { color: var(--lavender-light); }

/* ─────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   RESPONSIVE – TABLET (≤ 1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(5) { grid-column: span 1; aspect-ratio: 1; }
  .leaders-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ─────────────────────────────────────────
   RESPONSIVE – MOBILE (≤ 768px)
───────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 400px;
    background: rgba(10,6,22,.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem 3rem;
    gap: .4rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1001;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link {
    padding: .9rem 2rem;
    width: auto;
    font-size: 1.05rem;
    text-align: center;
  }
  .nav-toggle { display: flex; z-index: 1002; }
  .btn-nav-admin { display: none; }

  .hero { padding: 6rem 1.5rem 10rem; background-attachment: scroll; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero-title-row { gap: 1rem; }
  .diocese-hero-img { width: 80px; height: 80px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-badge { display: none; }

  .service-cards { grid-template-columns: 1fr; }
  .service-card.featured { transform: none; }
  .service-card.featured:hover { transform: translateY(-6px); }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: 2/1; }

  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-card { padding: 1.5rem 1rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ─────────────────────────────────────────
   RESPONSIVE – SMALL MOBILE (≤ 480px)
───────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-subtitle {
  display: flex; align-items: center; justify-content: start; gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  letter-spacing: .02em;
}
  .container { padding: 0 1.2rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-title-row { gap: .8rem; }
  .diocese-hero-img { width: 52px; height: 52px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero-stat { flex: 1 1 50%; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .leaders-grid { grid-template-columns: 1fr 1fr; }
  .leader-name { font-size: .9rem; }
  .leader-role { font-size: .72rem; }
  .leader-avatar-wrap { width: 100px; height: 120px; }
  .ann-card { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2.5rem; }
  .hero { padding: 6rem 1.2rem 9rem; }
  .hero-stats-bar { position: relative; }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: .7rem; }
}

@media (max-width: 380px) {
  .leaders-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .hero-stat { flex: 1 1 50%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}
.nav-close-btn {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(124,58,237,.25);
  border: 1px solid rgba(124,58,237,.5);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1002;
}
.nav-close-btn:hover { background: rgba(124,58,237,.5); transform: scale(1.08); }
@media (min-width: 769px) { .nav-close-btn { display: none; } }

.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 46px; height: 46px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,.5);
}

.gallery-view-all {
  text-align: center;
  margin-top: 2.5rem;
}
.btn-view-all {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2.2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600; font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124,58,237,.25);
}
.btn-view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124,58,237,.4);
}

.gallery-demo-item {
  cursor: default;
}
.gallery-demo-item .gallery-overlay { cursor: default; }

/* ─────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────── */
.contact-form-wrap {
  margin-top: 2rem;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
  color: var(--purple-800); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.form-title i { color: var(--purple-500); }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: .78rem; font-weight: 600;
  color: var(--purple-700); letter-spacing: .04em;
}
.form-group .req { color: var(--rose-dark); }
.form-group input,
.form-group textarea {
  padding: .7rem 1rem;
  background: var(--soft-bg);
  border: 1.5px solid var(--lavender-pale);
  border-radius: var(--radius-sm);
  font-size: .9rem; font-family: var(--font-sans);
  color: var(--gray-800); outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  background: #fff5f5;
}
.btn-send-msg {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none; border-radius: var(--radius-full);
  font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-sans);
  margin-top: .5rem;
}
.btn-send-msg:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-send-msg:disabled { opacity: .7; pointer-events: none; }
.cf-feedback {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500;
  display: none;
}
.cf-feedback.success {
  display: block;
  background: #f0fdf4; border: 1px solid #86efac; color: #15803d;
}
.cf-feedback.error {
  display: block;
  background: #fff5f5; border: 1px solid #fca5a5; color: #b91c1c;
}

/* ─────────────────────────────────────────
   GALLERY PAGE (gallery.php)
───────────────────────────────────────── */
.gallery-page-hero {
  min-height: 45vh;
  background: var(--gradient-service);
  display: flex; align-items: center; justify-content: center;
  padding: 7rem 2rem 3rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.gallery-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.gallery-page-hero-content {
  position: relative; z-index: 2;
}
.gallery-page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem,5vw,3.5rem);
  color: var(--white); font-weight: 700; margin-bottom: .8rem;
}
.gallery-page-hero p {
  color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 1.5rem;
}
.gallery-back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--lavender-light); font-size: .9rem; font-weight: 500;
  padding: .4rem .9rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--transition);
}
.gallery-back-link:hover { background: rgba(255,255,255,.2); color: var(--white); }
.gallery-page-section { padding: 4rem 0; background: var(--white); }
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.gallery-count-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem;
  background: var(--lavender-pale);
  color: var(--purple-600);
  border-radius: var(--radius-full);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 2rem;
}
@media (max-width: 1024px) {
  .gallery-full-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}

/* ═══════════════════════════════════════════════════════════
   CELEBRATIONS SECTION – PREMIUM WHITE + LAVENDER THEME
═══════════════════════════════════════════════════════════ */

.celebrations-section {
  background: #ffffff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Lavender gradient wave background top */
.celebrations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 420px;
  background: linear-gradient(180deg, #f8f4ff 0%, #f0eaff 40%, #ffffff 100%);
  pointer-events: none;
  z-index: 0;
}

/* Smooth curved abstract shapes at top */
.cel-bg-shape-top {
  position: absolute;
  top: -80px;
  left: -10%;
  width: 120%;
  height: 300px;
  background: radial-gradient(ellipse 60% 100% at 30% 0%, rgba(168,85,247,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 50% 80% at 70% 0%, rgba(192,132,252,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Smooth curved abstract shape at bottom */
.cel-bg-shape-bottom {
  position: absolute;
  bottom: -60px;
  left: -5%;
  width: 110%;
  height: 200px;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(168,85,247,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Floating confetti dots/shapes */
.cel-confetti {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  font-size: 0;
}

.cel-confetti-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: confettiFloat 6s ease-in-out infinite;
}

.cel-confetti-dot:nth-child(1) {
  width: 8px; height: 8px;
  background: #c084fc;
  top: 10%; left: 5%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.cel-confetti-dot:nth-child(2) {
  width: 12px; height: 12px;
  background: #f9a8d4;
  top: 15%; left: 15%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.cel-confetti-dot:nth-child(3) {
  width: 6px; height: 6px;
  background: #a78bfa;
  top: 5%; right: 25%;
  animation-delay: 0.5s;
  animation-duration: 6s;
}

.cel-confetti-dot:nth-child(4) {
  width: 10px; height: 10px;
  background: #f472b6;
  top: 20%; right: 10%;
  animation-delay: 2s;
  animation-duration: 9s;
}

.cel-confetti-dot:nth-child(5) {
  width: 7px; height: 7px;
  background: #c084fc;
  bottom: 15%; left: 8%;
  animation-delay: 1.5s;
  animation-duration: 7.5s;
}

.cel-confetti-dot:nth-child(6) {
  width: 11px; height: 11px;
  background: #f9a8d4;
  bottom: 10%; right: 5%;
  animation-delay: 0.8s;
  animation-duration: 8.5s;
}

.cel-confetti-dot:nth-child(7) {
  width: 5px; height: 5px;
  background: #e9d5ff;
  top: 35%; left: 3%;
  animation-delay: 2.5s;
  animation-duration: 5.5s;
}

.cel-confetti-dot:nth-child(8) {
  width: 9px; height: 9px;
  background: #fbcfe8;
  bottom: 25%; right: 15%;
  animation-delay: 1.2s;
  animation-duration: 6.5s;
}

.cel-confetti-dot:nth-child(9) {
  width: 6px; height: 6px;
  background: #d8b4fe;
  top: 45%; right: 3%;
  animation-delay: 0.3s;
  animation-duration: 7.2s;
}

.cel-confetti-dot:nth-child(10) {
  width: 10px; height: 10px;
  background: #fda4af;
  bottom: 5%; left: 20%;
  animation-delay: 1.8s;
  animation-duration: 8.8s;
}

@keyframes confettiFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
  25% { transform: translateY(-12px) rotate(90deg) scale(1.2); opacity: 0.5; }
  50% { transform: translateY(-6px) rotate(180deg) scale(0.9); opacity: 0.2; }
  75% { transform: translateY(-18px) rotate(270deg) scale(1.1); opacity: 0.4; }
}

/* Corner decorations – light balloons/leaf illustrations */
.cel-corner-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  font-size: 0;
}

.cel-corner-deco-left {
  top: 60px;
  left: 20px;
}

.cel-corner-deco-right {
  bottom: 60px;
  right: 20px;
  transform: scaleX(-1);
}

.cel-corner-deco-svg {
  width: 120px;
  height: auto;
  fill: #a855f7;
}

/* Section header */
.cel-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cel-header-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.cel-header-icons .fa-birthday-cake {
  font-size: 1.5rem;
  color: #a855f7;
  filter: drop-shadow(0 2px 4px rgba(168,85,247,0.2));
}

.cel-header-icons .fa-heart {
  font-size: 1.2rem;
  color: #f472b6;
  filter: drop-shadow(0 2px 4px rgba(244,114,182,0.2));
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
}

.cel-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #5b21b6;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.cel-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Row wrapper */
.cel-row-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.cel-row-wrap:last-of-type {
  margin-bottom: 0;
}

/* Section label */
.cel-row-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0.8rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bday-row-label {
  color: #9333ea;
}

.anni-row-label {
  color: #e11d48;
}

.cel-row-label i {
  font-size: 0.85rem;
}

/* Horizontal scroll container */
.cel-scroll-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.cel-scroll-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  padding: 0.5rem 0;
}

.cel-scroll-left {
  animation: celScrollLeft 35s linear infinite;
}

.cel-scroll-right {
  animation: celScrollRight 35s linear infinite;
}

.cel-scroll-wrap:hover .cel-scroll-track {
  animation-play-state: paused;
}

@keyframes celScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes celScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Card (Glassmorphism) ── */
.cel-card {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.2rem 1rem 1rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #eadcff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(168,85,247,0.08);
  text-align: center;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  white-space: normal;
}

.cel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(168,85,247,0.14), 0 0 0 1px rgba(168,85,247,0.08);
  border-color: #d8b4fe;
}

/* ── Profile Circle ── */
.cel-avatar-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.cel-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 14px rgba(168,85,247,0.12);
  position: relative;
  z-index: 1;
}

.cel-avatar-placeholder {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.85);
  border: 3px solid rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}

.bday-avatar-bg {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  box-shadow: 0 0 20px rgba(168,85,247,0.25);
}

.anni-avatar-bg {
  background: linear-gradient(135deg, #f9a8d4, #f472b6);
  box-shadow: 0 0 20px rgba(244,114,182,0.25);
}

/* Subtle glow ring around avatar */
.cel-avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  animation: avatarGlow 3s ease-in-out infinite;
}

.bday-avatar-glow {
  background: radial-gradient(circle, rgba(168,85,247,0.3) 0%, transparent 70%);
}

.anni-avatar-glow {
  background: radial-gradient(circle, rgba(244,114,182,0.3) 0%, transparent 70%);
}

@keyframes avatarGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.06); opacity: 0.8; }
}

/* Badge icon overlapping bottom-right */
.cel-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 2;
}

.bday-avatar-badge {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.anni-avatar-badge {
  background: linear-gradient(135deg, #f472b6, #e11d48);
}

/* ── Card Info ── */
.cel-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.cel-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4b2b7a;
  line-height: 1.3;
  word-break: break-word;
  font-family: 'Inter', system-ui, sans-serif;
}

.cel-date {
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 500;
}

.cel-date i {
  margin-right: 0.25rem;
  color: #c4b5fd;
}

/* Badge pill */
.cel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  margin-top: 0.1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.bday-pill {
  background: #f3e8ff;
  color: #9333ea;
}

.anni-pill {
  background: #ffe4ef;
  color: #e11d48;
}

/* ── Bottom tagline ── */
.cel-bottom-tagline {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.cel-bottom-tagline p {
  font-size: 0.92rem;
  color: #a78bfa;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.cel-bottom-tagline i {
  color: #f472b6;
  margin: 0 0.3rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .celebrations-section {
    padding: 3rem 0 3.5rem;
  }

  .cel-card {
    flex: 0 0 170px;
    padding: 1rem 0.8rem 0.9rem;
    gap: 0.5rem;
  }

  .cel-avatar-wrap,
  .cel-avatar,
  .cel-avatar-placeholder {
    width: 68px;
    height: 68px;
  }

  .cel-avatar-placeholder {
    font-size: 1.5rem;
  }

  .cel-avatar-badge {
    width: 22px;
    height: 22px;
    font-size: 0.55rem;
  }

  .cel-name {
    font-size: 0.8rem;
  }

  .cel-scroll-track {
    gap: 0.9rem;
  }

  .cel-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .cel-corner-deco-svg {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .celebrations-section {
    padding: 2.5rem 0 3rem;
  }

  .cel-card {
    flex: 0 0 155px;
    padding: 0.9rem 0.7rem 0.8rem;
    border-radius: 16px;
  }

  .cel-avatar-wrap,
  .cel-avatar,
  .cel-avatar-placeholder {
    width: 60px;
    height: 60px;
  }

  .cel-avatar-placeholder {
    font-size: 1.3rem;
  }

  .cel-avatar-badge {
    width: 20px;
    height: 20px;
    font-size: 0.5rem;
  }

  .cel-name {
    font-size: 0.75rem;
  }

  .cel-date {
    font-size: 0.68rem;
  }

  .cel-pill {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .cel-scroll-track {
    gap: 0.7rem;
  }

  .cel-title {
    font-size: 1.6rem;
  }

  .cel-subtitle {
    font-size: 0.7rem;
  }

  .cel-header-icons .fa-birthday-cake {
    font-size: 1.2rem;
  }

  .cel-header-icons .fa-heart {
    font-size: 1rem;
  }

  .cel-corner-deco-svg {
    width: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   DAILY BIBLE VERSE STRIP
═══════════════════════════════════════════════════════════ */
.bible-verse-strip {
  background: linear-gradient(135deg, #1a0a3d 0%, #2d1472 50%, #1a0a3d 100%);
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
}
.bible-verse-strip::before {
  content: '\f6d5';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 12rem;
  color: rgba(255,255,255,.03);
  pointer-events: none;
}
.bv-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: 860px; margin: 0 auto;
}
.bv-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #7c3aed, #d4a5a5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  box-shadow: 0 8px 30px rgba(124,58,237,.4);
}
.bv-content { flex: 1; text-align: center; }
.bv-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #a78bfa;
  margin-bottom: .5rem;
}
.bv-text {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin: 0 0 .5rem;
  position: relative;
  padding: 0 2rem;
}
.bv-text::before { content: '\201C'; position: absolute; left: 0; top: -.2rem; font-size: 2.5rem; color: rgba(167,139,250,.5); line-height: 1; }
.bv-text::after  { content: '\201D'; position: absolute; right: 0; bottom: -.5rem; font-size: 2.5rem; color: rgba(167,139,250,.5); line-height: 1; }
.bv-ref {
  font-size: .82rem; font-weight: 600;
  color: #d4a5a5; letter-spacing: .04em;
}
@media (max-width: 600px) {
  .bv-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .bv-text { font-size: 1rem; padding: 0 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════
   MINISTRIES SECTION
═══════════════════════════════════════════════════════════ */
.ministries-section { background: var(--white); }
.section-subtitle {
  color: var(--gray-500);
  font-size: .95rem;
  max-width: 560px; margin: .6rem auto 0;
  text-align: center;
}
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}
.ministry-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s;
  cursor: pointer;
}
.ministry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(124,58,237,.15);
  border-color: transparent;
}
.ministry-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s;
  border-radius: inherit;
}
.ministry-card:hover .ministry-card-glow {
  opacity: .06;
}
.ministry-icon-wrap {
  width: 70px; height: 70px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--white);
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: transform .35s, box-shadow .35s;
}
.ministry-card:hover .ministry-icon-wrap {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.ministry-name {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600;
  color: var(--purple-900);
  margin-bottom: .6rem;
}
.ministry-desc {
  color: var(--gray-500);
  font-size: .87rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.ministry-join {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600;
  color: var(--purple-500);
  transition: gap .25s;
}
.ministry-card:hover .ministry-join { gap: .7rem; }
@media (max-width: 900px) {
  .ministries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ministries-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   SCHEDULE & CALENDAR SECTION
═══════════════════════════════════════════════════════════ */
.schedule-section {
  background: var(--purple-900);
  position: relative;
  overflow: hidden;
}
.schedule-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(124,58,237,.25) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(212,165,165,.15) 0%, transparent 60%);
  pointer-events: none;
}
.schedule-tabs {
  display: flex; gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.sched-tab {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1.6rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  border-radius: var(--radius-full);
  font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.sched-tab.active,
.sched-tab:hover {
  background: var(--gradient-primary);
  border-color: #936bd3;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
}
.sched-panel { display: none; }
.sched-panel.active { display: block; }

.schedule-doc-card {
  max-width: 700px; margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sdc-header {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.5rem 2rem;
  background: rgba(124,58,237,.25);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sdc-header i { font-size: 2rem; color: #a78bfa; }
.sdc-header h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .15rem; }
.sdc-header p { color: rgba(255,255,255,.55); font-size: .85rem; }
.sdc-preview { padding: 1.5rem; text-align: center; }
.sdc-img { max-width: 100%; border-radius: var(--radius-md); }
.sdc-pdf-link {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg,#dc2626,#ef4444);
  color: var(--white); border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem;
  transition: var(--transition);
}
.sdc-pdf-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,.35); }

.schedule-placeholder { padding: 1rem; }
.schp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.schp-month {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .8rem .4rem;
  text-align: center;
  position: relative;
}
.schp-active {
  background: rgba(124,58,237,.35);
  border-color: rgba(124,58,237,.6);
}
.schp-mon-name { display: block; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); }
.schp-badge {
  display: block;
  font-size: .6rem; font-weight: 700;
  color: #fcd34d; text-transform: uppercase;
  margin-top: .2rem; letter-spacing: .06em;
}
.schp-note {
  text-align: center; font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-top: .5rem;
}
.calendar-demo-grid {
  max-width: 560px; margin: 0 auto 1.5rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.cdg-header {
  display: grid; grid-template-columns: repeat(7,1fr);
  background: rgba(124,58,237,.3);
}
.cdg-day-name {
  padding: .6rem .2rem; text-align: center;
  font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .04em;
}
.cdg-body {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 1px; background: rgba(255,255,255,.05);
}
.cdg-cell {
  background: rgba(255,255,255,.03);
  padding: .55rem .2rem; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.6);
  transition: background .2s;
  cursor: default;
}
.cdg-cell span { display: block; }
.cdg-cell:hover { background: rgba(124,58,237,.2); }
.cdg-cell.empty { background: transparent; pointer-events: none; }
.cdg-today {
  background: rgba(124,58,237,.5) !important;
  border-radius: 4px;
  color: var(--white) !important; font-weight: 700;
}
.yearly-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.yearly-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.yearly-card:hover { border-color: rgba(124,58,237,.5); transform: translateY(-4px); }
.yc-month {
  padding: .6rem;
  text-align: center;
  font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(124,58,237,.2);
}
.yc-img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.yc-pdf {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 1.5rem;
  color: #a78bfa; font-size: .85rem; font-weight: 600;
}
@media (max-width: 900px) {
  .schp-grid { grid-template-columns: repeat(4,1fr); }
  .yearly-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
  .schp-grid { grid-template-columns: repeat(3,1fr); }
  .yearly-grid { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════
   LEADERSHIP TABS & COMMITTEE LIST
═══════════════════════════════════════════════════════════ */
.leader-tabs {
  display: flex; gap: .8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.leader-tab {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.65);
  border-radius: var(--radius-full);
  font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.leader-tab.active, .leader-tab:hover {
  background: var(--gradient-primary);
  border-color: #936bd3;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
}
.leader-tab-panel { display: none; }
.leader-tab-panel.active { display: block; }
.leader-role {
  display: block;
  font-size: .78rem; font-weight: 600;
  color: var(--rose);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .6rem;
}
.committee-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.committee-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.committee-card:hover {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.35);
  transform: translateX(4px);
}
.cc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(124,58,237,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #a78bfa;
  flex-shrink: 0; overflow: hidden;
}
.cc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc-info { flex: 1; min-width: 0; }
.cc-name { display: block; font-weight: 600; color: var(--white); font-size: .92rem; }
.cc-role { display: block; font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .25rem; }
.cc-phone { font-size: .78rem; color: #a78bfa; display: flex; align-items: center; gap: .3rem; }
.cc-phone:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   PLYR SUNDAY SERVICE PLAYER
═══════════════════════════════════════════════════════════ */
:root {
  --plyr-color-main: #7c3aed;
  --plyr-video-background: #1e1b4b;
  --plyr-control-radius: 8px;
}
.sunday-player-wrap {
  width: 100%; max-width: 820px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.sunday-player-wrap .plyr__video-embed {
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
}
.btn-watch-dl {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}
.btn-watch-dl:hover {
  background: rgba(255,255,255,.2) !important;
}
.sunday-actions {
  margin-top: 1.2rem;
  display: flex; justify-content: center;
}
.btn-view-all-ss {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 99px;
  background: rgba(124,58,237,.18);
  border: 1px solid rgba(167,139,250,.35);
  color: #c4b5fd;
  font-size: .88rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-view-all-ss:hover {
  background: rgba(124,58,237,.35);
  border-color: rgba(167,139,250,.6);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   EVENTS CARD ENHANCED
═══════════════════════════════════════════════════════════ */
.event-card {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease;
}
.event-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 24px 60px rgba(124,58,237,.18);
  border-color: var(--purple-300, #c4b5fd);
}
.event-title {
  font-family: var(--font-serif); font-size: 1.18rem; font-weight: 700;
  color: var(--purple-800); margin-bottom: .4rem; line-height: 1.35;
  letter-spacing: -.01em;
}
.event-img-clickable { cursor: zoom-in; }
.event-img-zoom-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,10,60,.35);
  color: var(--white); font-size: 1.6rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.event-img-clickable:hover .event-img-zoom-hint { opacity: 1; }
.event-img-clickable:hover .event-img { transform: scale(1.08); }

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENTS GRID + HOVER EXPAND
═══════════════════════════════════════════════════════════ */
.announcements-list { display: none; }
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.ann-card {
  display: flex; flex-direction: column;
  padding: 0;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: default;
}
.ann-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(124,58,237,.15);
  border-color: var(--purple-300, #c4b5fd);
}
.ann-img-wrap {
  flex-shrink: 0; width: 100%;
  position: relative; overflow: hidden;
  background: #f5f0ff;
}
.ann-img {
  width: 100%; height: auto;
  max-height: 380px;
  display: block; object-fit: cover;
  transition: transform .4s ease;
}
.ann-card:hover .ann-img { transform: scale(1.06); }
.ann-img-clickable { cursor: zoom-in; }
.ann-img-zoom {
  position: absolute; inset: 0;
  background: rgba(30,10,60,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  opacity: 0; transition: opacity .25s ease;
}
.ann-img-clickable:hover .ann-img-zoom { opacity: 1; }
.ann-body {
  flex: 1; padding: 1.3rem 1.4rem 1.2rem;
}
.ann-title {
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 700;
  color: var(--purple-800); margin-bottom: .5rem; line-height: 1.4;
  position: relative; display: inline-block;
}
.ann-title::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary, linear-gradient(135deg,#7c3aed,#a855f7));
  transition: width .35s ease;
}
.ann-card:hover .ann-title::after { width: 100%; }
.ann-desc-wrap {
  max-height: 4.8em;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.ann-card:hover .ann-desc-wrap { max-height: 40em; }
.ann-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   SCHEDULE / CALENDAR LIGHTBOX
═══════════════════════════════════════════════════════════ */
.schedule-lightbox-img {
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
  border-radius: var(--radius-md, .75rem);
  display: block;
}
.schedule-lightbox-img:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.yc-img.schedule-lightbox-img { cursor: zoom-in; }

/* ═══════════════════════════════════════════════════════════
   CONTACT RIGHT COLUMN
═══════════════════════════════════════════════════════════ */
.contact-right {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-right .map-wrapper {
  height: 260px; flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-right .map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-right .btn-directions { align-self: flex-start; }
.contact-map-placeholder-sm {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .5rem;
  text-align: center; color: rgba(255,255,255,.85);
  flex-shrink: 0;
}
.contact-map-placeholder-sm i { font-size: 2.2rem; opacity: .7; }
.contact-map-placeholder-sm p { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; }
.contact-map-placeholder-sm span { font-size: .85rem; opacity: .75; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--lavender-pale);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   MEDIA DETAIL MODAL
═══════════════════════════════════════════════════════════ */
.media-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: visibility 0s .3s, opacity .3s ease;
}
.media-modal.open {
  visibility: visible; opacity: 1;
  transition-delay: 0s;
}
.media-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(10,5,30,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.media-modal-box {
  position: relative; z-index: 1;
  background: var(--white, #fff);
  border-radius: var(--radius-xl, 1.5rem);
  max-width: 860px; width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  transform: scale(.92) translateY(20px);
  transition: transform .3s cubic-bezier(.34,1.3,.64,1);
  scrollbar-width: thin;
}
.media-modal.open .media-modal-box {
  transform: scale(1) translateY(0);
}
.media-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.08);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gray-600);
  transition: background .2s, color .2s;
}
.media-modal-close:hover { background: var(--purple-600); color: var(--white); }
.media-modal-body {
  display: flex; flex-direction: column;
}
.media-modal-img-wrap {
  width: 100%; background: #0a0515;
  border-radius: var(--radius-xl, 1.5rem) var(--radius-xl, 1.5rem) 0 0;
  overflow: hidden; max-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.media-modal-img-wrap img {
  width: 100%; max-height: 420px; object-fit: contain; display: block;
}
.media-modal-details {
  padding: 1.8rem 2rem 2rem;
}
.mmd-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--purple-800); margin-bottom: .5rem; line-height: 1.3;
}
.mmd-date {
  font-size: .82rem; color: var(--purple-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1rem;
}
.mmd-date:empty { display: none; }
.mmd-desc {
  font-size: .95rem; color: var(--gray-600); line-height: 1.75;
}
.mmd-desc:empty { display: none; }

@media (max-width: 768px) {
  .announcements-grid { grid-template-columns: 1fr; }
  .contact-right .map-wrapper { height: 200px; }
  .media-modal-img-wrap { max-height: 280px; }
  .media-modal-img-wrap img { max-height: 280px; }
  .media-modal-details { padding: 1.2rem 1.2rem 1.5rem; }
  .mmd-title { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .media-modal-box { width: 96%; border-radius: var(--radius-lg, 1rem); }
  .media-modal-close { top: .6rem; right: .6rem; }
}


/* Desktop View */
@media (min-width: 992px){

    #tab-monthly,
    #tab-yearly{
        display: block !important;
        width: calc(50% - 10px);
    }

    .schedule-section .container{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .schedule-section .section-header,
    .schedule-section .schedule-tabs{
        width: 100%;
    }

    #tab-monthly{
        order: 1;
    }

    #tab-yearly{
        order: 2;
    }
}

/* Mobile View */
@media (max-width: 991px){

    .sched-panel{
        display: none;
        width: 100%;
    }

    .sched-panel.active{
        display: block;
    }
}

/* Floating church representative WhatsApp contact */
.whatsapp-float { position: fixed; right: 24px; bottom: 88px; z-index: 1000; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #25d366; color: #fff; font-size: 31px; box-shadow: 0 6px 18px rgba(0,0,0,.22); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 9px 24px rgba(0,0,0,.28); }
@media (max-width: 600px) { .whatsapp-float { right: 16px; bottom: 72px; width: 52px; height: 52px; font-size: 28px; } }