@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Dancing+Script:wght@400;700&display=swap');

/* CSS @property for animated gradients */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-pos {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

button, .btn, a.btn-solid-white, a.btn-outline-white, a.btn-primary, a.btn-outline, a.cta-btn, .icon-btn, .tab-btn {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* Main gradient theme: Vibrant Glassmorphism */
  --bg-deep: transparent;
  --bg-primary: transparent;
  --gradient-brand: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-solid: rgba(255, 255, 255, 0.1);
  --purple-dark: #1f0b3b;
  --purple-mid: #6c1eac;
  --purple-light: #9d4edd;
  --purple-bright: #c77dff;
  --purple-glow: #e0aaff;
  --magenta: #ff0a54;
  --pink-hot: #ff477e;
  --red-glow: #ff5c8a;
  --coral: #ff7096;
  --orange: #ff6b35;
  --orange-bright: #ff9f1c;
  --blue-deep: #14213d;
  --blue-accent: #3a86ff;
  --accent-blue: #00b4d8;
  --accent-red: #e63946;
  --text-white: #ffffff;
  --text-light: #ffffff;
  --text-muted: rgba(255,255,255,0.85);
  --border-purple: rgba(255, 255, 255, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-gap: clamp(60px, 8vw, 100px);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-mid) var(--purple-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--purple-dark); }
::-webkit-scrollbar-thumb { background: var(--purple-mid); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-bright); }

/* Selection */
::selection {
  background: rgba(0, 51, 255, 0.35);
  color: #fff;
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: linear-gradient(to top right, #0000ff, #8a2be2, #ff0000);
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1, 'calt' 1;
  font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--text-white);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h6 { font-size: 1.1rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 16px; 
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 96%;
  max-width: 1200px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  height: 72px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.5s var(--ease-out-expo);
}

/* Animated gradient glow line under header */
.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.header.scrolled::after {
  opacity: 0.8;
}

.skip-to-content {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  transform: translateY(-150%);
  background: #fff;
  color: #050216;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: transform 0.2s ease;
}

.skip-to-content:focus {
  transform: translateY(0);
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

#main-content:focus {
  outline: none;
}

.header.scrolled {
  top: 10px;
  background: rgba(5, 2, 22, 0.65);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  height: 64px;
  border-color: rgba(255, 255, 255, 0.25);
  width: 90%;
  max-width: 1100px;
}

.header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-out-expo);
}

.header.scrolled .logo-img {
  width: 38px; height: 38px;
}

.logo-text {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  white-space: nowrap;
}

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: auto;
}

.nav-main a, .nav-main > .nav-dropdown > a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.nav-main a:hover, .nav-main a.active,
.nav-dropdown.active > a,
.nav-main > .nav-dropdown > a:hover {
  color: #fff;
}

.nav-main a.active::after,
.nav-dropdown.active > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: auto;
  width: 6px; height: 6px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 51, 255, 0.6);
}

.nav-main a:not(.active):not(.has-dropdown)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-bright), var(--magenta));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-main a:not(.active):not(.has-dropdown):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.has-dropdown {
  display: flex;
  align-items: center;
  gap: 3px;
}

.has-dropdown svg { width: 10px; height: 10px; transition: transform 0.4s var(--ease-spring); }

.nav-dropdown:hover .has-dropdown svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(12, 8, 40, 0.4);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 51, 255, 0.08);
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(12, 8, 40, 0.4);
  border-left: 1px solid var(--border-purple);
  border-top: 1px solid var(--border-purple);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-light);
  transition: all 0.25s var(--ease-out-expo);
}

.dropdown-menu a:hover {
  background: rgba(0, 51, 255, 0.1);
  color: #fff;
  padding-left: 26px;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 51, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 50%;
}

.icon-btn:hover {
  border-color: var(--purple-bright);
  color: #fff;
  transform: scale(1.08);
}

.icon-btn:hover::before { opacity: 1; }

.icon-btn svg { width: 15px; height: 15px; position: relative; z-index: 1; }

.btn-header-cta {
  background: linear-gradient(135deg, #ff5722, #ff3d00);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.25);
}

.btn-header-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 61, 0, 0.4);
}

.btn-header-cta:hover::before { left: 100%; }

.btn-header-cta svg { width: 14px; height: 14px; }

/* Search Overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(5, 2, 22, 0.4);
  padding: 24px 0;
  border-bottom: 1px solid var(--border-purple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease-out-expo);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.3s var(--ease-out-expo);
}

.search-input:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
}
.search-input::placeholder { color: var(--text-muted); }

.search-close {
  background: transparent;
  color: var(--text-muted);
  padding: 8px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.search-close svg { width: 20px; height: 20px; }
.search-close:hover { color: #fff; transform: rotate(90deg); }

/* Search Results Dropdown Box */
.search-results-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: calc(100% - 48px);
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  margin-top: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 50px rgba(138, 43, 226, 0.15);
  max-height: 480px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}

.search-results-wrapper.has-results {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.search-results-section {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-results-section:last-child {
  border-bottom: none;
}

.search-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple-bright);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 6px;
}

.search-result-item:last-child {
  margin-bottom: 0;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-desc {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-no-results {
  padding: 30px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 600px;
  margin-top: 72px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #08041e;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #040033 0%, rgba(4,0,51,0.95) 25%, rgba(5,2,22,0.8) 50%, transparent 100%),
              url('../images/church-interior.png') no-repeat right center;
  background-size: cover;
  opacity: 1;
  animation: heroBgShift 20s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* Animated gradient mesh – GPU-accelerated, no layout triggers */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 800px 600px at 30% 80%, rgba(138, 43, 226, 0.15), transparent),
    radial-gradient(ellipse 600px 400px at 70% 20%, rgba(217, 70, 239, 0.12), transparent),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(139, 92, 246, 0.1), transparent),
    radial-gradient(ellipse 500px 400px at 80% 80%, rgba(244, 114, 182, 0.08), transparent);
  z-index: 1;
  pointer-events: none;
  animation: advancedMeshFloat 24s ease-in-out infinite alternate;
  filter: blur(40px);
  will-change: transform, opacity;
  transform: translateZ(0);
}

@keyframes advancedMeshFloat {
  0%   { transform: translate(0,    0)    scale(1);   opacity: 0.6; }
  50%  { transform: translate(4%,   4%)   scale(1.08); opacity: 0.9; }
  100% { transform: translate(-4%, -4%)  scale(0.92); opacity: 0.7; }
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  z-index: 2;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 128px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(138, 43, 226, 0.6);
  border-radius: 50%;
  animation: particleFloat 6s infinite ease-in-out;
  will-change: transform, opacity;
  transform: translateZ(0);
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-100px) scale(1.5); }
}

.hero-portrait {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: 25%;
  object-fit: cover;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 5;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  animation: portraitReveal 1.2s var(--ease-out-expo) 0.3s both;
}

/* When inside the new wrapper layout, reset the old absolute positioning */
.hero-portrait-wrapper .hero-portrait {
  position: static !important;
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%) !important;
  mask-image: linear-gradient(to top, transparent 0%, black 15%) !important;
}

@keyframes portraitReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating badges */
.badge {
  position: absolute;
  z-index: 10;
  background: rgba(15, 10, 50, 0.55);
  border: 1px solid rgba(0, 51, 255, 0.25);
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  animation: badgeFloat 5s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.3), transparent 50%, rgba(217, 70, 239, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.badge:hover::before { opacity: 1; }

.badge-belong {
  top: 35%;
  right: 12%;
  left: auto;
}

.badge-loved {
  top: 55%;
  right: 5%;
  animation-delay: 1.5s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero content */
.hero .container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-bottom: 60px;
  min-height: 600px;
}

.hero-content {
  max-width: 520px;
  margin-left: 28%;
  padding-left: 0;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
  animation: clipRevealUp 1s var(--ease-out-expo) both;
  letter-spacing: -0.5px;
}

@keyframes clipRevealUp {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

.hero-content h1 .accent {
  background: linear-gradient(to right, #ffcc00, #ff0000, #d946ef, #ffcc00);
  background-size: 300% auto;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
  display: inline-block;
  position: relative;
  animation: textShimmer 6s linear infinite;
}

@keyframes textShimmer {
  to { background-position: 300% center; }
}

.hero-content h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffcc00, rgba(255, 204, 0, 0.2));
  border-radius: 2px;
}

.hero-content .hero-desc {
  font-size: clamp(14px, 1.2vw, 15.5px);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 400px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-signature .sig-with {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: #fff;
}

.hero-signature .sig-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--text-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-btns {
  display: flex;
  gap: 14px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.3s both;
}

.btn-outline {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  color: #fff;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255,255,255,0.04);
}

.btn-outline:hover::before { opacity: 1; }

.btn-outline:active { transform: translateY(0); }

.btn-outline svg { width: 15px; height: 15px; transition: transform 0.3s; }
.btn-outline:hover svg { transform: translateX(3px); }

.btn-ghost {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: #fff;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-ghost:active { transform: translateY(0); }

.btn-ghost svg { width: 15px; height: 15px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =============================================
   MINISTRIES SECTION
   ============================================= */
.ministries {
  padding: 70px 0;
  background: var(--bg-deep);
  position: relative;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.5));
  border-radius: 1px;
  transition: width 0.6s var(--ease-out-expo);
}

.section-tag:hover::after,
.sr.vis .section-tag::after {
  width: 100%;
}

.ministries-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.ministries-top h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.link-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.4s var(--ease-out-expo);
}

.link-arrow:hover { gap: 12px; color: #fff; }
.link-arrow svg { width: 16px; height: 16px; }

.ministries {
  position: relative;
  overflow: hidden;
}

.ministries::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.min-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}

.min-card {
  background: rgba(20, 20, 25, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.min-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.8), rgba(236, 72, 153, 0.8), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.min-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 51, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.min-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(30, 30, 40, 0.6);
  border-color: rgba(0, 51, 255, 0.3);
  box-shadow: 
    0 24px 48px -12px rgba(0, 51, 255, 0.25),
    0 0 24px rgba(0,0,0,0.4);
}

.min-card:hover::before, .min-card:hover::after { opacity: 1; }

.min-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 20px rgba(0, 51, 255, 0.1);
}

.min-card:hover .min-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.4), rgba(236, 72, 153, 0.4));
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 51, 255, 0.5), inset 0 0 20px rgba(236, 72, 153, 0.5);
  color: #fff;
}

.min-icon svg { 
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.min-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.min-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  transition: color 0.3s;
}

.min-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

.min-card .lm {
  font-size: 14px;
  font-weight: 700;
  color: #a78bfa;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.min-card .lm svg {
  width: 20px; height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.min-card:hover .lm {
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.6);
}

.min-card:hover .lm svg { 
  transform: translateX(8px); 
}

/* =============================================
   EVENTS / SERMON / TIMES
   ============================================= */
.triple {
  padding: 50px 0;
  background: var(--bg-deep);
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.triple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.card-event {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 26px;
  border: 1px solid var(--border-purple);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%), url('../images/sunday-worship.png') no-repeat center center;
  background-size: cover;
  transition: all 0.5s var(--ease-out-expo);
}

.card-event::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

.card-event:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 255, 0.4);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-event:hover::before { opacity: 1; }

.card-sermon {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 26px;
  border: 1px solid var(--border-purple);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%), url('../images/sermon-mountains.png') no-repeat center bottom;
  background-size: cover;
  transition: all 0.5s var(--ease-out-expo);
}

.card-sermon:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-times {
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  padding: 30px 26px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-out-expo);
}

.card-times:hover {
  border-color: rgba(0, 51, 255, 0.4);
}

/* Schedule Tabs and Sub-styles */
.schedule-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
}

.tab-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.tab-btn.active {
  color: var(--text-white);
  background: linear-gradient(135deg, var(--orange), var(--purple-bright));
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
}

.tab-content {
  position: relative;
  flex-grow: 1;
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tab-pane.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.time-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--orange);
  opacity: 0;
  transition: all 0.3s ease;
}

.time-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.time-row:hover::before {
  opacity: 1;
}

.time-left {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.time-left svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.6));
  transition: all 0.3s ease;
}

.time-row:hover .time-left svg {
  transform: scale(1.15) rotate(5deg);
  color: var(--text-white);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.service-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.service-subtitle {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2.5px;
  font-weight: 400;
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tag-orange { color: var(--orange); }
.tag-purple { color: var(--purple-bright); }

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-meta svg {
  width: 13px; height: 13px;
  color: var(--purple-glow);
}

.sermon-meta-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s var(--ease-spring);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 51, 255, 0.4);
  color: #fff;
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-orange {
  background: linear-gradient(135deg, #ff5722, #ff3d00);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 2;
  width: fit-content;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.2);
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-orange::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-orange:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 30px rgba(255, 61, 0, 0.35),
    0 0 60px rgba(255, 87, 34, 0.15);
}

.btn-orange:hover::before { left: 100%; }

.btn-orange:active { transform: translateY(-1px); }

.btn-orange svg { width: 14px; height: 14px; }

.browse-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease-out-expo);
}

.browse-link:hover { gap: 12px; color: #fff; }
.browse-link svg { width: 15px; height: 15px; }

/* Time items */
.time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 51, 255, 0.08);
  transition: all 0.3s;
}

.time-row:hover {
  padding-left: 6px;
  border-bottom-color: rgba(0, 51, 255, 0.2);
}

.time-row:last-of-type { border-bottom: none; }

.time-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-left svg {
  width: 18px; height: 18px;
  color: var(--purple-glow);
}

.time-left span {
  font-size: 13.5px;
  color: var(--text-light);
}

.time-right {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.btn-purple-outline {
  border: 1.5px solid var(--purple-bright);
  color: var(--purple-glow);
  background: transparent;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-purple-outline:hover {
  background: rgba(0, 51, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 51, 255, 0.15);
}

.btn-purple-outline svg { width: 14px; height: 14px; }

/* =============================================
   PASTOR'S WELCOME
   ============================================= */
.pastor-welcome {
  padding: 90px 0;
  background: transparent;
  position: relative;
}

.pw-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.pw-image {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
  }

.pw-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border-purple);
  transition: transform 0.6s var(--ease-out-expo);
}

.pw-image:hover img {
  transform: scale(1.03);
}

.pw-image-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50px;
  background: radial-gradient(ellipse, rgba(0, 51, 255, 0.3), transparent);
  filter: blur(20px);
}

.pw-content h2, .pw-content .pw-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.pw-content p, .pw-content .pw-desc {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.pw-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 51, 255, 0.15);
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.pw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.pw-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.pw-meta svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
}

/* ================= EVENT CARDS ================= */
.event-card {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 20px;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 51, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-date {
  background: rgba(0, 51, 255, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  border-right: 1px solid var(--border-purple);
}

.event-date .month {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-bright);
  text-transform: uppercase;
}

.event-date .day {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  margin-top: 5px;
}

.event-details {
  padding: 24px;
  flex: 1;
}

.event-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 12px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.event-meta svg {
  width: 16px;
  height: 16px;
  color: var(--purple-bright);
}

.event-details p {
  color: var(--text-light);
  font-size: 14.5px;
  line-height: 1.6;
}

.event-actions {
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 51, 255, 0.12);
}

.pw-sig-script {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: var(--purple-glow);
  margin-bottom: 6px;
}

.pw-sig-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.pw-sig-title {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 80px 0;
  background: var(--bg-deep);
  position: relative;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 30px;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  box-sizing: border-box;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  color: rgba(0, 51, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(0, 51, 255, 0.45);
  transform: translateY(-6px);
  box-shadow:
    0 16px 40px rgba(0, 51, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 51, 255, 0.3);
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.test-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.08);
  border: 1px solid var(--border-purple);
  color: var(--purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}

.test-btn:hover {
  background: rgba(0, 51, 255, 0.18);
  border-color: var(--purple-bright);
  transform: scale(1.1);
}

.test-btn svg { width: 18px; height: 18px; }

.test-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}
.test-dot::after {
  content: '';
  position: absolute;
  top: -16px; bottom: -16px; left: -16px; right: -16px;
}

.test-dot.active {
  background: var(--purple-bright);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 51, 255, 0.4);
}

/* =============================================
   PHOTO GALLERY
   ============================================= */
.gallery {
  padding: 80px 0;
  background: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-purple);
  transition: all 0.5s var(--ease-out-expo);
}

.gallery-item:hover {
  border-color: rgba(0, 51, 255, 0.4);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.65) saturate(1.2);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-large img {
  height: 100%;
  min-height: 456px;
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(5, 2, 22, 0.9));
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  font-size: 14px;
  font-weight: 600;
}

/* =============================================
   I'M NEW HERE
   ============================================= */
.new-here {
  padding: 80px 0;
  background: transparent;
}

.nh-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 55px;
  position: relative;
  overflow: hidden;
}

.nh-box::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.06), transparent);
  border-radius: 50%;
}

.nh-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.04), transparent);
  border-radius: 50%;
}

.nh-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.nh-content > p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.nh-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.nh-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-out-expo);
}

.nh-step:hover {
  transform: translateX(6px);
}

.nh-step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 51, 255, 0.3);
}

.nh-step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.nh-step p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.nh-image {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.nh-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.7s var(--ease-out-expo);
}

.nh-image:hover img {
  transform: scale(1.04);
}

/* =============================================
   PRAYER REQUEST
   ============================================= */
.prayer-section {
  padding: 80px 0;
  background: transparent;
}

.prayer-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.prayer-content {
  text-align: center;
}

.prayer-icon-large {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.08);
  border: 2px solid rgba(0, 51, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--purple-glow);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 51, 255, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(0, 51, 255, 0); }
}

.prayer-icon-large svg { width: 36px; height: 36px; }

.prayer-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}

.prayer-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prayer-input, .prayer-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.4s var(--ease-out-expo);
  resize: vertical;
}

.prayer-input:focus, .prayer-textarea:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
  background: rgba(255,255,255,0.05);
}

.prayer-input::placeholder, .prayer-textarea::placeholder {
  color: var(--text-muted);
}

.prayer-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.prayer-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.prayer-check input[type="checkbox"] {
  accent-color: var(--purple-bright);
  width: 16px; height: 16px;
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter {
  padding: 40px 0;
  background: var(--bg-deep);
}

.nl-box {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.nl-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
  opacity: 0.4;
}

.nl-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.1);
  border: 1.5px solid rgba(0, 51, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-glow);
}

.nl-icon svg { width: 24px; height: 24px; }

.nl-text { flex: 1; }

.nl-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.nl-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.nl-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.nl-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  color: #fff;
  width: 270px;
  font-family: inherit;
  outline: none;
  transition: all 0.4s var(--ease-out-expo);
}

.nl-form input::placeholder { color: var(--text-muted); }
.nl-form input:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
}

.btn-sub {
  background: linear-gradient(135deg, #ff5722, #ff3d00);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-sub::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 61, 0, 0.35);
}

.btn-sub:hover::before { left: 100%; }

.btn-sub svg { width: 14px; height: 14px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 60px 0 0;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.footer-silhouette {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  overflow: hidden;
}

.footer-silhouette::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40px;
  background:
    radial-gradient(ellipse 12px 30px at 5% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 10px 35px at 10% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 14px 28px at 16% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 11px 32px at 22% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 13px 25px at 28% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 10px 34px at 35% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 15px 30px at 42% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 11px 36px at 50% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 13px 28px at 58% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 10px 33px at 65% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 14px 27px at 72% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 11px 35px at 80% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 13px 30px at 88% 100%, var(--bg-deep) 60%, transparent 61%),
    radial-gradient(ellipse 10px 32px at 95% 100%, var(--bg-deep) 60%, transparent 61%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand .brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .brand-header .logo-img {
  width: 38px; height: 38px;
}

.footer-brand .brand-header .logo-text { font-size: 12px; }

.footer-brand p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.4s var(--ease-out-expo);
}

.socials a:hover {
  background: rgba(0, 51, 255, 0.15);
  border-color: var(--purple-bright);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 51, 255, 0.2);
}

.socials a svg { width: 14px; height: 14px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--purple-bright), transparent);
  border-radius: 1px;
}

.footer-col ul li { margin-bottom: 2px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  transition: all 0.3s var(--ease-out-expo);
  padding: 8px 0;
  display: inline-block;
}

.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--purple-glow);
  transition: width 0.3s var(--ease-out-expo);
}

.footer-col ul li a:hover { color: var(--purple-glow); transform: translateX(3px); display: inline-block; }
.footer-col ul li a:hover::after { width: 100%; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-row svg {
  width: 14px; height: 14px;
  color: var(--purple-glow);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-row span {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   FOOTER NEWSLETTER SIGNUP
   ============================================= */
.footer-newsletter {
  margin: 32px 0 0;
  padding: 32px 40px;
  background: rgba(138, 43, 226, 0.08);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 20px;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-newsletter-copy {
  flex: 1;
  min-width: 200px;
}

.footer-newsletter-form {
  flex: 1;
  min-width: 260px;
}

.footer-newsletter-fields {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-nl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-nl-input::placeholder { color: var(--text-muted) !important; }
.footer-nl-input:focus { border-color: var(--purple-bright) !important; }

.footer-nl-btn {
  padding: 12px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .footer-newsletter { padding: 24px 20px; }
  .footer-newsletter-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .footer-newsletter-fields { flex-direction: column; }
  .footer-nl-btn { width: 100%; justify-content: center; }
}

/* ---- footer bottom ---- */
.footer-bottom {
  border-top: 1px solid rgba(138, 43, 226, 0.1);
  padding: 20px 0;
  text-align: center;
  margin-top: 24px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 51, 255, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.5s var(--ease-spring);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 36px rgba(0, 51, 255, 0.5);
}

.back-to-top svg { width: 20px; height: 20px; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  transform: scale(0.85);
  transition: transform 0.5s var(--ease-spring);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  padding: 8px;
  transition: all 0.3s;
}

.lightbox-close:hover { color: var(--purple-bright); transform: rotate(90deg); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 51, 255, 0.12);
  border: 1px solid rgba(0, 51, 255, 0.25);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s var(--ease-out-expo);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(0, 51, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }

/* =============================================
   PAGE HEADER (for inner pages)
   ============================================= */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

/* Animated Mesh Gradient Background */
.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(0, 51, 255, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 60%, rgba(217, 70, 239, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 20%, rgba(255, 87, 34, 0.05) 0%, transparent 50%);
  animation: headerMeshSpin 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes headerMeshSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Noise overlay for texture */
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .section-tag { margin-bottom: 20px; }

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8), #fff);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShine 4s linear infinite, clipRevealUp 1s var(--ease-out-expo) both;
}

@keyframes textShine {
  to { background-position: 200% center; }
}

.page-header p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  line-height: 1.8;
  animation: fadeUp 1s var(--ease-out-expo) 0.2s both;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeUp 1s var(--ease-out-expo) 0.3s both;
}

.breadcrumb a { color: var(--purple-bright); transition: all 0.3s; }
.breadcrumb a:hover { color: #fff; transform: translateY(-1px); }

/* =============================================
   CONTENT SECTIONS (for inner pages)
   ============================================= */
.content-section {
  padding: 80px 0;
  background: transparent;
}

.content-section.alt {
  background: transparent;
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.content-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 255, 0.5);
  box-shadow: 0 16px 40px rgba(0, 51, 255, 0.12);
}

.content-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.content-card:hover img {
  transform: scale(1.05);
}

.content-card-body {
  padding: 26px;
}

.content-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Leadership Cards */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
}

.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 51, 255, 0.1);
}

.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 51, 255, 0.3);
}

.leader-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.leader-card .leader-role {
  font-size: 12px;
  color: var(--purple-glow);
  margin-bottom: 10px;
}

.leader-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Beliefs Section */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.belief-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 30px;
  transition: all 0.4s var(--ease-out-expo);
}

.belief-card:hover {
  border-color: rgba(0, 51, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.belief-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.belief-card h3 svg {
  width: 18px; height: 18px;
  color: var(--purple-glow);
}

.belief-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Sermon Cards */
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sermon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 51, 255, 0.12);
}

.sermon-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.sermon-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.sermon-card:hover .sermon-card-thumb img {
  transform: scale(1.08);
}

.sermon-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.sermon-card:hover .sermon-play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.sermon-play-btn svg { width: 20px; height: 20px; }

.sermon-card-body {
  padding: 22px;
}

.sermon-card-body .sermon-date {
  font-size: 11px;
  color: var(--purple-glow);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}

.sermon-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sermon-card-body .sermon-speaker {
  font-size: 13px;
  color: var(--text-muted);
}

/* Sermon & Events Filter */
.sermon-filter, .events-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  background: rgba(0, 51, 255, 0.05);
  padding: 8px;
  border-radius: 30px;
  border: 1px solid rgba(0, 51, 255, 0.1);
  width: fit-content;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-bright));
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 51, 255, 0.35);
}

/* Featured Sermon */
.featured-sermon {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 24px;
  overflow: hidden;
}

.featured-sermon-video {
  position: relative;
  min-height: 350px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-sermon-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.play-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4);
}

.play-circle:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(255, 87, 34, 0.5);
}

.play-circle svg { width: 30px; height: 30px; }

.featured-sermon-info {
  padding: 40px 30px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-sermon-info .sermon-series {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.featured-sermon-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.featured-sermon-info .sermon-speaker {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.featured-sermon-info .sermon-description {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Events Calendar */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 26px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.event-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(0, 51, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.event-item:hover {
  border-color: rgba(0, 51, 255, 0.45);
  transform: translateX(6px) translateY(-2px);
  box-shadow: 
    0 16px 40px rgba(0, 51, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.event-item:hover::after { opacity: 1; }

.event-item-featured {
  grid-template-columns: 180px 80px 1fr auto;
}

.event-feature-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.event-date-box {
  text-align: center;
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.15), rgba(217, 70, 239, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(0, 51, 255, 0.25);
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.02);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring);
}

.event-item:hover .event-date-box {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(0, 51, 255, 0.2), rgba(217, 70, 239, 0.1));
  border-color: rgba(0, 51, 255, 0.4);
}

.event-date-box .event-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date-box .event-day {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-top: 2px;
}

.event-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.event-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.event-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-meta svg {
  width: 12px; height: 12px;
  color: var(--purple-glow);
}

/* Giving Section */
.giving-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.giving-option {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.giving-option:hover, .giving-option.selected {
  border-color: var(--purple-bright);
  background: rgba(0, 51, 255, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 51, 255, 0.12);
}

.giving-option-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.08);
  border: 1.5px solid rgba(0, 51, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--purple-glow);
}

.giving-option-icon svg { width: 24px; height: 24px; }

.giving-option h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.giving-option p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Giving Form */
.giving-form-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 24px;
  padding: 44px;
}

.giving-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  background: rgba(0, 51, 255, 0.06);
  border: 1px solid rgba(0, 51, 255, 0.15);
  transition: all 0.4s var(--ease-out-expo);
  text-align: center;
}

.amount-btn:hover, .amount-btn.active {
  background: var(--purple-bright);
  color: #fff;
  border-color: var(--purple-bright);
  box-shadow: 0 4px 15px rgba(0, 51, 255, 0.3);
}

.giving-form-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 18px;
}

.giving-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.4s var(--ease-out-expo);
}

.giving-input:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
}
.giving-input::placeholder { color: var(--text-muted); }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.4s var(--ease-out-expo);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(0, 51, 255, 0.1);
  background: rgba(255,255,255,0.05);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  min-height: 20px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.form-status.success {
  color: #22c55e;
}

.form-status.error {
  color: #ff6b6b;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e75a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select option {
  background: var(--bg-card);
  color: #fff;
}

.contact-info-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  align-items: flex-start;
}

.footer {
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  padding: 100px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright), var(--magenta), transparent);
  opacity: 0.5;
}

.footer-silhouette {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(to top, rgba(0, 51, 255, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-brand .logo-img {
  height: 46px;
  filter: drop-shadow(0 0 10px rgba(0, 51, 255, 0.3));
}

.footer-brand .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 320px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.socials a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.socials a svg {
  width: 18px; height: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring);
}

.socials a:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 51, 255, 0.3);
}

.socials a:hover::before { opacity: 1; }
.socials a:hover svg { transform: scale(1.15); }

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.footer-col ul a::before {
  content: '';
  display: inline-block;
  width: 0; height: 1px;
  background: var(--purple-bright);
  margin-right: 0;
  transition: all 0.3s;
}

.footer-col ul a:hover {
  color: var(--purple-glow);
  transform: translateX(4px);
}

.footer-col ul a:hover::before {
  width: 12px;
  margin-right: 8px;
}

.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-row svg {
  width: 20px; height: 20px;
  color: var(--purple-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row span {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12.5px;
  color: var(--text-muted);
}

.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0, 51, 255, 0.08);
  border: 1px solid rgba(0, 51, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-glow);
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Map */
.map-container {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-purple);
  height: 300px;
  margin-top: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.2);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.faq-item.active {
  border-color: rgba(0, 51, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 51, 255, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  background: var(--bg-card);
  cursor: pointer;
  width: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: background 0.3s;
}

.faq-question:hover { background: rgba(0, 51, 255, 0.04); }

.faq-question svg {
  width: 16px; height: 16px;
  color: var(--purple-glow);
  transition: transform 0.4s var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  background: rgba(12, 8, 40, 0.5);
}

.faq-item.active .faq-answer {
  padding: 20px 26px;
  max-height: 300px;
}

.faq-answer p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Plan Your Visit */
.visit-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visit-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
}

.visit-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.visit-step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 51, 255, 0.3);
}

.visit-step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.visit-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Visit Form */
.visit-form-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 24px;
  padding: 44px;
}

.visit-form-box h2 {
  text-align: center;
  margin-bottom: 8px;
}

.visit-form-box > p {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Prayer Wall */
.prayer-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prayer-wall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.4s var(--ease-out-expo);
}

.prayer-wall-card:hover {
  border-color: rgba(0, 51, 255, 0.4);
  transform: translateY(-3px);
}

.prayer-wall-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.prayer-wall-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.pray-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 51, 255, 0.08);
  border: 1px solid rgba(0, 51, 255, 0.15);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--purple-glow);
  transition: all 0.4s var(--ease-out-expo);
}

.pray-btn:hover {
  background: rgba(0, 51, 255, 0.2);
  color: #fff;
  transform: scale(1.05);
}

/* Daily Devotional */
.devotional-box {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 24px;
  padding: 44px;
  max-width: 800px;
  margin: 0 auto;
}

.devotional-box .devotional-date {
  font-size: 12px;
  color: var(--purple-glow);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.devotional-box h2 {
  margin-bottom: 12px;
}

.devotional-verse {
  background: rgba(0, 51, 255, 0.05);
  border-left: 3px solid var(--purple-bright);
  padding: 18px 22px;
  border-radius: 0 14px 14px 0;
  margin-bottom: 22px;
}

.devotional-verse p {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
}

.devotional-verse cite {
  font-size: 12px;
  color: var(--purple-glow);
  font-style: normal;
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

.devotional-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Live Stream */
.live-player {
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 500px;
  border: 1px solid var(--border-purple);
  margin-bottom: 30px;
}

.live-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.live-badge {
  background: #ff3333;
  color: #fff;
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.4);
}

.live-badge::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
  animation: liveDot 1.5s infinite;
}

@keyframes liveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(255, 51, 51, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 30px rgba(255, 51, 51, 0.6); }
}

.countdown-display {
  text-align: center;
  margin-bottom: 30px;
}

.countdown-display h3 {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.countdown-units {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.countdown-unit {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 84px;
  text-align: center;
}

.countdown-unit .number {
  font-size: 34px;
  font-weight: 800;
  color: var(--purple-bright);
  display: block;
  font-variant-numeric: tabular-nums;
}

.countdown-unit .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stat Boxes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-box {
  text-align: center;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
}

.stat-box .stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--purple-bright);
  display: block;
}

.stat-box .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   SCROLL REVEAL — Multiple Variants
   ============================================= */
.sr {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.sr.vis {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.sr-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.sr-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.sr-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.sr-left.vis, .sr-right.vis, .sr-scale.vis {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* =============================================
   FOCUS STATES (Accessibility)
   ============================================= */
:focus-visible {
  outline: 2px solid var(--purple-glow);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.25);
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--purple-glow);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.25);
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--purple-glow);
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 10001;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-bright), var(--magenta), var(--orange));
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.6);
  border-radius: 0 2px 2px 0;
  will-change: width;
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.page-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Skeleton Loading Shimmer */
.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   WOMEN'S MINISTRY GALLERY & SPOTLIGHT
   ============================================= */
.women-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.women-gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.women-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.women-gallery-main:hover img {
  transform: scale(1.04);
}

.women-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5, 2, 22, 0.4) 0%, rgba(5, 2, 22, 0.4) 60%, rgba(5, 2, 22, 0) 100%);
  padding: 36px 28px 24px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.women-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
}

.wm-thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.65;
  background: rgba(0, 0, 0, 0.2);
}

.wm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wm-thumb:hover {
  opacity: 0.95;
  transform: translateY(-3px);
}

.wm-thumb:hover img {
  transform: scale(1.05);
}

.wm-thumb.active {
  border-color: #8b5cf6;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0, 51, 255, 0.4);
}

.wm-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.wm-highlight-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wm-highlight-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 51, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.wm-highlight-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 51, 255, 0.12);
  color: #a78bfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(0, 51, 255, 0.2);
  transition: all 0.4s ease;
}

.wm-highlight-card:hover .wm-highlight-icon {
  background: rgba(0, 51, 255, 0.2);
  transform: scale(1.08) rotate(5deg);
  color: #c084fc;
}

.wm-highlight-icon svg {
  width: 26px;
  height: 26px;
}

.wm-highlight-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 600;
}

.wm-highlight-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
   ============================================= */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-toggle .menu-close-icon,
.mobile-toggle.is-open .menu-open-icon {
  display: none;
}

.mobile-toggle.is-open .menu-close-icon {
  display: block;
}

@media (max-width: 1100px) {
  .min-grid { grid-template-columns: repeat(3, 1fr); }
  .triple-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .giving-options { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-large { grid-column: span 2; grid-row: span 1; }
  .gallery-large img { min-height: 220px; }
  .featured-sermon { grid-template-columns: 1fr; }
  .featured-sermon-info { padding: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { margin-top: 72px; }
  .nav-main { display: none; }
  .nav-main.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(5, 2, 22, 0.4);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 51, 255, 0.15);
    z-index: 100;
    animation: slideDown 0.4s var(--ease-out-expo);
  }

  .nav-main.mobile-open a {
    display: block;
    padding: 12px 8px;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-main.mobile-open .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-main.mobile-open .nav-dropdown .dropdown-menu::before { display: none; }
  .hero-content h1 { font-size: 34px; }
  .hero-portrait { width: 40%; }
  .badge { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-box { flex-direction: column; text-align: center; }
  .nl-form { flex-direction: column; width: 100%; }
  .nl-form input { width: 100%; }
  .mobile-toggle { display: inline-flex; }
  .pw-grid { grid-template-columns: 1fr; gap: 30px; }
  .nh-box { grid-template-columns: 1fr; padding: 30px; }
  .prayer-box { grid-template-columns: 1fr; }
  /* testimonial card sizing handled by JS */
  .contact-grid { grid-template-columns: 1fr; }
  .prayer-wall-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-steps-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .wm-highlights { grid-template-columns: repeat(2, 1fr); }
  .event-item,
  .event-item-featured {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .event-date-box {
    width: 80px;
  }
  .event-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .hero { min-height: 500px; }
  .hero .container { min-height: 500px; padding-bottom: 36px; }
  .min-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 28px; }
  .hero-portrait { width: 35%; }
  .ministries-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* testimonial card sizing handled by JS */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large { grid-column: span 1; }
  .gallery-large img { min-height: 220px; }
  .giving-options { grid-template-columns: 1fr; }
  .giving-amounts { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .sermon-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .prayer-wall-grid { grid-template-columns: 1fr; }
  .wm-highlights { grid-template-columns: 1fr; }
  .prayer-form-row { flex-direction: column; align-items: stretch; }
  .countdown-units { flex-wrap: wrap; }
  .page-header h1 { font-size: 32px; }
  .page-header { padding: 130px 0 50px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 18px; }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
  .header, .back-to-top, .lightbox, .search-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; margin-top: 0; }
}

/* =======================================================================
   MODERN WEB FEATURES (Preloader, Toasts, Cookie Banner, Back-to-Top)
========================================================================== */

/* Preloader */
.preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  animation: preloaderPulse 1.5s ease-in-out infinite, preloaderSpin 3s linear infinite;
  filter: drop-shadow(0 0 20px rgba(0, 51, 255, 0.4));
}
.spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(0, 51, 255, 0.15);
  border-left-color: var(--purple-bright);
  border-top-color: var(--magenta);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.preloader-text {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  animation: preloaderFade 1.5s ease-in-out infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes preloaderSpin {
  from { filter: drop-shadow(0 0 20px rgba(0, 51, 255, 0.4)) hue-rotate(0deg); }
  to { filter: drop-shadow(0 0 20px rgba(0, 51, 255, 0.4)) hue-rotate(360deg); }
}
@keyframes preloaderFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(18, 12, 45, 0.4);
  border-left: 4px solid #f7a222;
  color: white;
  padding: 15px 25px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
  transform: translateX(0);
}
.toast.success { border-color: #10b981; }
.toast.error { border-color: #ef4444; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: rgba(10, 6, 30, 0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 20px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 15px;
}
.cookie-content p {
  margin: 0; font-size: 0.9rem; color: #ccc;
}
.cookie-content a {
  color: #f7a222; text-decoration: underline;
}


/* Section Dividers */
.section-divider-wave {
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin: -40px 0;
  position: relative;
  z-index: 1;
}

.section-divider-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.section-divider-wave path {
  animation: wavePulse 4s ease-in-out infinite alternate;
}

@keyframes wavePulse {
  from { fill-opacity: 0.5; }
  to { fill-opacity: 1; }
}

.section-divider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: -10px 0 50px;
}

.section-divider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-glow);
  opacity: 0.5;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.section-divider-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.section-divider-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 10px var(--purple-bright); }
}


/* ================= NEW HERO STYLES (Mockup Match) ================= */
body #home.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: transparent;
  margin-top: 0;
  padding-top: 80px;
  overflow: hidden;
  z-index: 1;
}

body #home.hero .hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    url('../images/church-interior.png') no-repeat right center;
  background-size: cover;
  opacity: 0.2;
  z-index: -2;
  animation: none; /* remove old animation */
}

body #home.hero .hero-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-bottom: 120px;
}

body #home.hero .hero-portrait-wrapper {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 35%;
  max-width: 500px;
  z-index: 3;
}

body #home.hero .hero-portrait-wrapper .hero-portrait {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
  mask-image: linear-gradient(to top, transparent 0%, black 15%);
  animation: portraitReveal 1.2s var(--ease-out-expo) 0.3s both;
}

body #home.hero .hero-content {
  width: 55%;
  margin-left: 38%;
  padding-top: 40px;
}

@media (max-width: 992px) {
  body #home.hero .hero-portrait-wrapper { opacity: 0.3; left: -10%; }
  body #home.hero .hero-content { width: 100%; margin-left: 0; padding: 0 20px; text-align: center; }
  body #home.hero .hero-btns { justify-content: center; }
}

body #home.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

body #home.hero h1 .accent-yellow {
  color: #facc15;
  position: relative;
  display: inline-block;
}

body #home.hero h1 .accent-yellow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 4px;
  background: #facc15;
  border-radius: 2px;
}

body #home.hero .hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
  max-width: 450px;
}

body #home.hero .hero-signature {
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}

body #home.hero .sig-with {
  font-family: 'Dancing Script', cursive, 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  font-weight: normal;
}

body #home.hero .sig-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
}

body #home.hero .hero-btns {
  display: flex;
  gap: 15px;
}

body #home.hero .btn-solid-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #050216;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

body #home.hero .btn-solid-white:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

body #home.hero .btn-solid-white svg { width: 18px; height: 18px; }

body #home.hero .btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

body #home.hero .btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

body #home.hero .btn-outline-white svg { width: 18px; height: 18px; }

/* Quick Links Bar overlay */
.quick-links-wrapper {
  position: relative;
  width: 100%;
  z-index: 20;
  margin-top: -85px; /* Pull it up to overlay the bottom of the hero */
}

body .ql-bar {
  background: rgba(20, 10, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

body .ql-item {
  text-align: center;
  color: #fff;
  text-decoration: none;
  flex: 1;
  transition: transform 0.3s;
}

body .ql-item:hover { transform: translateY(-5px); }

body .ql-item svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #fff;
}

body .ql-item h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

body .ql-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

body .ql-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* Float Badges */
body #home.hero .badge-belong {
  position: absolute;
  top: 30%;
  left: 4%;
  background: rgba(10, 5, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 22px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  z-index: 15;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float-badge 6s ease-in-out infinite;
}

body #home.hero .badge-loved {
  position: absolute;
  top: 45%;
  right: 4%;
  background: rgba(10, 5, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 22px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  z-index: 15;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float-badge 7s ease-in-out infinite reverse;
}

@media (max-width: 992px) {
  .quick-links-wrapper { margin-top: 20px; }
  body .ql-bar { flex-wrap: wrap; gap: 20px; padding: 20px; }
  body .ql-item { min-width: 40%; }
  body .ql-divider { display: none; }
  body #home.hero .badge-belong, body #home.hero .badge-loved { display: none; }
}

/* ================= HOMEPAGE HERO COMPOSITION FIX ================= */
body #home.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100vh - 84px));
  margin-top: 0;
  padding: clamp(92px, 9vh, 124px) 0 clamp(92px, 11vh, 132px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body #home.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 22%, rgba(139, 92, 246, 0.38), transparent 34%),
    radial-gradient(circle at 14% 72%, rgba(0, 51, 255, 0.25), transparent 30%),
    linear-gradient(90deg, rgba(15, 5, 41, 0.96) 0%, rgba(15, 5, 41, 0.88) 31%, rgba(16, 8, 56, 0.72) 56%, rgba(12, 5, 34, 0.86) 100%),
    url('../images/hero-bg.png') center center / cover no-repeat;
  opacity: 1;
  filter: saturate(1.08) contrast(1.05);
  animation: none;
}

body #home.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 0, 22, 0.22) 0%, transparent 38%, rgba(5, 0, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 0, 22, 0.08) 0%, rgba(5, 0, 22, 0.58) 100%);
  animation: none;
}

body #home.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 0, 28, 0.7));
}

body #home.hero #heroParticles {
  z-index: 2 !important;
}

body #home.hero .hero-portrait-wrapper {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 6vw, 108px);
  bottom: 0;
  width: clamp(190px, 24vw, 330px);
  max-height: 78%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

body #home.hero .hero-portrait-wrapper::before {
  content: '';
  position: absolute;
  inset: 16% -18% 0 -18%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.28), transparent 68%);
  filter: blur(8px);
}

body #home.hero .hero-portrait-wrapper .hero-portrait {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(610px, 76vh);
  object-fit: contain;
  object-position: center bottom;
  transform: none !important;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 10%, black 100%);
  mask-image: linear-gradient(to top, transparent 0%, black 10%, black 100%);
}

body #home.hero .hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  padding-bottom: 0;
}

body #home.hero .hero-content {
  grid-column: 2;
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0 0 0 auto;
  padding: 0 clamp(12px, 2vw, 30px) 0 0;
  text-align: left;
  transform: none !important;
}

body #home.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

body #home.hero .hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #facc15);
}

body #home.hero h1 {
  max-width: 700px;
  margin: 0 0 22px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

body #home.hero h1 .accent-yellow {
  display: inline-block;
  color: #facc15;
  font-weight: 800;
}

body #home.hero h1 .accent-yellow::after {
  display: none;
}

body #home.hero .hero-desc {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.65;
}

body #home.hero .hero-signature {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
}

body #home.hero .sig-with {
  color: #fff;
  font-family: 'Dancing Script', cursive, 'Playfair Display', serif;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1;
}

body #home.hero .sig-name {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

body #home.hero .hero-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

body #home.hero .btn-solid-white,
body #home.hero .btn-outline-white {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  transform: none;
}

body #home.hero .btn-solid-white {
  color: #080316;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body #home.hero .btn-outline-white {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

body #home.hero .badge {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 132px;
  max-width: 180px;
  padding: 18px 22px;
  border-radius: 18px;
  color: #fff;
  background: rgba(28, 18, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  transform: none !important;
  animation: badgeFloat 6s ease-in-out infinite;
  pointer-events: none;
}

body #home.hero .badge-belong {
  top: clamp(112px, 18vh, 170px);
  left: clamp(220px, 27vw, 430px);
  right: auto;
}

body #home.hero .badge-loved {
  top: auto;
  right: clamp(28px, 4vw, 76px);
  bottom: clamp(150px, 22vh, 230px);
  animation-delay: 1.5s;
}

.quick-links-wrapper {
  z-index: 8;
  margin-top: clamp(-58px, -5vw, -28px);
}

@media (max-width: 1280px) {
  body #home.hero {
    min-height: 720px;
  }

  body #home.hero .hero-container {
    grid-template-columns: minmax(230px, 0.72fr) minmax(390px, 1fr);
  }

  body #home.hero .hero-portrait-wrapper {
    width: clamp(180px, 22vw, 285px);
    left: clamp(24px, 4.5vw, 70px);
  }

  body #home.hero .badge-belong {
    left: clamp(190px, 24vw, 320px);
  }
}

@media (max-width: 1024px) {
  body #home.hero {
    min-height: 690px;
    padding-top: 110px;
    padding-bottom: 86px;
  }

  body #home.hero .hero-container {
    grid-template-columns: 0.58fr 1fr;
  }

  body #home.hero .hero-content {
    width: min(100%, 590px);
    padding-right: 0;
  }

  body #home.hero .hero-portrait-wrapper {
    width: 210px;
    left: 24px;
  }

  body #home.hero .badge {
    min-width: 112px;
    padding: 14px 16px;
  }

  body #home.hero .badge-belong {
    top: 118px;
    left: 230px;
  }

  body #home.hero .badge-loved {
    right: 24px;
    bottom: 112px;
  }
}

@media (max-width: 768px) {
  body #home.hero {
    min-height: auto;
    padding: 104px 0 64px;
  }

  body #home.hero .hero-bg {
    background:
      radial-gradient(circle at 70% 18%, rgba(139, 92, 246, 0.3), transparent 34%),
      linear-gradient(180deg, rgba(15, 5, 41, 0.92) 0%, rgba(15, 5, 41, 0.86) 48%, rgba(9, 2, 28, 0.96) 100%),
      url('../images/hero-bg.png') center center / cover no-repeat;
  }

  body #home.hero .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  body #home.hero .hero-portrait-wrapper {
    position: relative;
    left: auto;
    bottom: auto;
    order: 1;
    width: clamp(150px, 38vw, 210px);
    max-height: none;
    opacity: 0.95;
  }

  body #home.hero .hero-content {
    order: 2;
    width: 100%;
    max-width: 620px;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  body #home.hero .hero-eyebrow,
  body #home.hero .hero-signature,
  body #home.hero .hero-btns {
    justify-content: center;
  }

  body #home.hero h1 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(40px, 8.5vw, 58px);
  }

  body #home.hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  body #home.hero .badge {
    display: none;
  }

  .quick-links-wrapper {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  body #home.hero {
    padding-top: 94px;
    padding-bottom: 50px;
  }

  body #home.hero h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.04;
  }

  body #home.hero .hero-desc {
    font-size: 16px;
    line-height: 1.6;
  }

  body #home.hero .sig-name {
    letter-spacing: 2px;
  }

  body #home.hero .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  body #home.hero .btn-solid-white,
  body #home.hero .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   FORM STATUS STYLES (AJAX RESPONSE)
   ========================================= */
.form-status {
  padding: 14px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}
.form-status.error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* ============================================================
   RESPONSIVE HEADER & FLOATING WIDGET FIXES
   ============================================================ */

/* Enforce strict sizes on header elements */
.header {
  height: 68px;
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
}

.logo-text {
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
}

.icon-btn svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.btn-header-cta {
  height: 40px;
  flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(138, 43, 226, 0.25);
  border-color: var(--purple-light);
}

.mobile-toggle svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

.mobile-toggle .menu-close-icon {
  display: none;
}

.mobile-toggle.is-open .menu-open-icon {
  display: none;
}

.mobile-toggle.is-open .menu-close-icon {
  display: block;
}

/* ─── FLOATING ACTION WIDGETS ─── */
.whatsapp-float-btn {
  position: fixed !important;
  bottom: 82px !important;
  right: 20px !important;
  z-index: 9997 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.whatsapp-float-btn svg {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

.whatsapp-badge {
  display: none !important;
}

#aiAssistantWidget {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9998 !important;
}

.ai-assistant-toggle {
  height: 48px !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.45) !important;
}

.ai-toggle-icon {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
}

.ai-toggle-icon svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* ─── MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .header {
    width: 94%;
    height: 62px;
    top: 12px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 11.5px;
    line-height: 1.2;
  }

  .logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: 80px;
    left: 5%;
    right: 5%;
    background: rgba(12, 6, 32, 0.96);
    border: 1px solid rgba(138, 43, 226, 0.35);
    border-radius: 24px;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(138, 43, 226, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
  }

  .nav-main.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-main a, .nav-main > .nav-dropdown > a {
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    color: #e2ddf4;
  }

  .nav-main a:hover, .nav-main a.active {
    background: rgba(138, 43, 226, 0.2);
    color: #ffffff;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    padding: 8px 12px;
    margin-top: 6px;
    border-radius: 12px;
    min-width: unset;
  }
}

@media (max-width: 640px) {
  .logo-text {
    display: none;
  }

  .btn-header-cta {
    padding: 8px 12px;
    font-size: 11.5px;
  }

  .header-right {
    gap: 6px;
  }

  .ai-toggle-text {
    display: none !important;
  }

  .ai-assistant-toggle {
    width: 48px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  .whatsapp-float-btn {
    bottom: 76px !important;
    right: 16px !important;
  }

  #aiAssistantWidget {
    bottom: 16px !important;
    right: 16px !important;
  }
}

