/* =========================================
   CUTTING EDGE UI OVERRIDES
   ========================================= */

:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  --neon-glow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 8px 40px rgba(255, 255, 255, 0.15);
  --gradient-text: linear-gradient(135deg, #ffffff, #ffffff);
}

/* Animations */
@keyframes aurora-bg {
  0% { background-position: 50% 50%, 50% 50%; }
  100% { background-position: 350% 50%, 350% 50%; }
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes gradient-text-anim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Aurora Hero Background Removed for direct image mapping */
body #home.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: transparent; /* Dark background */
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

body #home.hero .hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    linear-gradient(90deg, #0f0529 0%, #0f0529 35%, rgba(15, 5, 41, 0.8) 50%, transparent 100%),
    url('../images/church-interior.png') no-repeat right center;
  background-size: cover;
  opacity: 1;
  z-index: -2;
  filter: none;
  animation: none;
}

/* Yellow Accent Text Override */
body #home.hero h1 .accent-yellow {
  color: #facc15;
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-style: normal;
}
body #home.hero h1 .accent-yellow::after {
  display: none;
}

/* Floating Badges */
body #home.hero .badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  animation: float-badge 6s ease-in-out infinite;
}

body #home.hero .badge-belong { animation-delay: 0s; }
body #home.hero .badge-loved { animation-delay: 3s; }

/* Glowing Buttons */
body #home.hero .btn-solid-white {
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body #home.hero .btn-solid-white:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255,255,255,0.4);
}

body #home.hero .btn-outline-white {
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body #home.hero .btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  box-shadow: var(--neon-glow);
  border-color: rgba(0, 51, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
}

/* Glass Quick Links */
body .ql-bar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  border-radius: 24px;
}

body .ql-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body .ql-item:hover {
  transform: translateY(-8px) scale(1.05);
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

body .ql-item:hover svg {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
  color: #ffffff;
}

/* Glass Cards (Highlights) */
.card-event, .card-sermon, .card-times {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
}

.card-event::before, .card-sermon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: inherit;
  z-index: -1;
  border-radius: inherit;
}

.card-event:hover, .card-sermon:hover, .card-times:hover {
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--neon-glow);
  transform: translateY(-10px);
}

/* Ministry Cards */
.min-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.min-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Testimonials Glass */
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

/* Images Masking & Hover */
.nh-image img {
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.5s ease;
}
.nh-image:hover img {
  transform: scale(1.02);
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
}
.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  background: linear-gradient(to top, rgba(5,2,22,0.9), transparent);
}

/* =========================================
   SITEWIDE CLEAN & PRECISE STYLES
   ========================================= */

/* Page Headers */
.page-header {
  position: relative;
  background-color: transparent;
  background-image: none;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: 
    repeating-linear-gradient(100deg, transparent, transparent 10%, rgba(138, 43, 226, 0.05) 10%, rgba(138, 43, 226, 0.05) 20%);
  z-index: 0;
  animation: aurora-bg 60s linear infinite;
  opacity: 0.3;
}

.page-header h1 {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  position: relative;
  z-index: 2;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

/* Form Elements Glassmorphism */
.form-input, .form-textarea, .form-select {
  background: var(--glass-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255,255,255,0.5) !important;
}

/* Content Sections Cleanup */
.content-section {
  position: relative;
  z-index: 1;
}

/* Inner Page Specific Cards */
.sermon-list-item, .event-list-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.sermon-list-item:hover, .event-list-item:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: var(--glass-shadow), var(--neon-glow);
}

/* =========================================
   CUTTING EDGE DOM EFFECTS
   ========================================= */
/* Custom Cursor Glow */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, rgba(244, 114, 182, 0.04) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: screen;
}
#cursor-glow.active {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, rgba(138, 43, 226, 0.08) 40%, transparent 70%);
}
@media (max-width: 768px) {
  #cursor-glow { display: none; }
}

/* DOM Particles */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  will-change: transform, opacity;
}

/* 3D Parallax Elements */
.parallax-el {
  will-change: transform;
}

/* Magnetic Elements */
.magnetic {
  will-change: transform;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Staggered Text Reveal */
.split-text-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-text-char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.split-text-char.revealed {
  transform: translateY(0);
  opacity: 1;
}

/* Final homepage hero guardrails. This file loads after style.css, so keep these
   focused on preventing the old experimental hero overrides from winning. */
/* =========================================================
   PERFECT HERO SECTION MATCH WITH STAGE LIGHTING & CROSS
   ========================================================= */

/* =========================================================
   PREMIUM HEADER — CUTTING-EDGE GLASSMORPHIC CAPSULE
   ========================================================= */

/* Animated glow border keyframes */
@keyframes header-border-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes header-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes icon-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.35); }
  70%  { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Main Header Capsule */
.header {
  position: fixed !important;
  top: 18px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  width: 94% !important;
  max-width: 1260px !important;
  z-index: 1000 !important;
  background: rgba(8, 4, 24, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 60px !important;
  height: 68px !important;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.55),
    0 0 0 0.5px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Subtle animated gradient glow line under header */
.header::after {
  content: '' !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 40px !important;
  right: 40px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 20%, rgba(236, 72, 153, 0.6) 50%, rgba(168, 85, 247, 0.5) 80%, transparent 100%) !important;
  background-size: 200% 100% !important;
  animation: header-border-glow 4s ease infinite !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  border-radius: 2px !important;
}

/* Show glow line on scroll */
.header.scrolled::after {
  opacity: 0.85 !important;
}

/* Scrolled state — compact, jewel-like */
.header.scrolled {
  top: 10px !important;
  height: 58px !important;
  width: 88% !important;
  max-width: 1120px !important;
  background: rgba(6, 3, 18, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 16px 56px rgba(0, 0, 0, 0.7),
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px rgba(168, 85, 247, 0.08) !important;
  border-radius: 50px !important;
}

/* Header container alignment */
.header .container {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  gap: 8px !important;
  padding: 0 28px !important;
}

/* ── LOGO AREA ── */
.header .logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.header .logo-link:hover {
  transform: scale(1.03) !important;
}

.header .logo-img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.25)) !important;
}

.header.scrolled .logo-img {
  width: 36px !important;
  height: 36px !important;
}

.header .logo-text {
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  transition: font-size 0.4s ease !important;
}

.header.scrolled .logo-text {
  font-size: 11px !important;
}

/* ── NAVIGATION ── */
.header .nav-main {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 auto !important;
}

.header .nav-main > a,
.header .nav-main > .nav-dropdown > a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  white-space: nowrap !important;
  padding: 8px 14px !important;
  position: relative !important;
  transition: color 0.3s ease, background 0.3s ease !important;
  letter-spacing: 0.3px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
}

.header .nav-main > a:hover,
.header .nav-main > .nav-dropdown:hover > a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Active nav link indicator — refined small dot */
.header .nav-main > a.active,
.header .nav-main > .nav-dropdown.active > a {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.header .nav-main > a.active::after,
.header .nav-main > .nav-dropdown.active > a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 2px !important;
  left: 50% !important;
  width: 5px !important;
  height: 5px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6) !important;
}

/* Hover underline sweep for non-active links */
.header .nav-main > a:not(.active):not(.has-dropdown)::after {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 14px !important;
  right: 14px !important;
  height: 1.5px !important;
  background: linear-gradient(90deg, #a855f7, #ec4899) !important;
  border-radius: 1px !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.header .nav-main > a:not(.active):not(.has-dropdown):hover::after {
  transform: scaleX(1) !important;
  transform-origin: left center !important;
}

/* Dropdown chevron */
.header .has-dropdown svg {
  width: 10px !important;
  height: 10px !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  opacity: 0.6 !important;
}

.header .nav-dropdown:hover .has-dropdown svg {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* ── DROPDOWN MENU ── */
.header .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  background: rgba(12, 6, 32, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  padding: 10px 6px !important;
  min-width: 230px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(168, 85, 247, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
}

/* Dropdown caret arrow */
.header .dropdown-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(45deg) !important;
  width: 12px !important;
  height: 12px !important;
  background: rgba(12, 6, 32, 0.92) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px 0 0 0 !important;
}

.header .nav-dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.header .dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 450 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border-radius: 12px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  margin: 2px 0 !important;
}

.header .dropdown-menu a:hover {
  background: rgba(168, 85, 247, 0.12) !important;
  color: #ffffff !important;
  padding-left: 22px !important;
}

/* ── HEADER RIGHT SECTION ── */
.header .header-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Icon Buttons — premium glass circles */
.header-right .icon-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* Radial glow on hover */
.header-right .icon-btn::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.25), transparent 70%) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
  border-radius: 50% !important;
}

.header-right .icon-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px) scale(1.08) !important;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.2) !important;
}

.header-right .icon-btn:hover::before {
  opacity: 1 !important;
}

.header-right .icon-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  position: relative !important;
  z-index: 1 !important;
  transition: stroke 0.3s ease !important;
}

.header-right .icon-btn:hover svg {
  stroke: #ffffff !important;
}

/* ── CTA BUTTON — PLAN YOUR VISIT ── */
.header .btn-header-cta {
  background: #ffffff !important;
  color: #0a0028 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  letter-spacing: 0.3px !important;
  box-shadow:
    0 4px 16px rgba(255, 255, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Shimmer sweep effect */
.header .btn-header-cta::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.12), transparent) !important;
  transition: none !important;
  animation: header-shimmer 3s ease-in-out infinite !important;
}

.header .btn-header-cta:hover {
  background: #f8f9ff !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow:
    0 8px 28px rgba(255, 255, 255, 0.25),
    0 0 20px rgba(168, 85, 247, 0.12) !important;
}

.header .btn-header-cta svg {
  width: 14px !important;
  height: 14px !important;
  color: #0a0028 !important;
  stroke: #0a0028 !important;
  transition: transform 0.3s ease !important;
}

.header .btn-header-cta:hover svg {
  transform: scale(1.1) !important;
}

/* ── SEARCH OVERLAY — Premium Glass Panel ── */
.header .search-overlay {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 5% !important;
  right: 5% !important;
  background: rgba(8, 4, 24, 0.92) !important;
  padding: 20px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.header .search-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.header .search-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  color: #fff !important;
  font-family: inherit !important;
  transition: all 0.3s ease !important;
}

.header .search-input:focus {
  border-color: rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

/* ── MOBILE TOGGLE ── */
.header .mobile-toggle {
  display: none !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.header .mobile-toggle svg {
  width: 20px !important;
  height: 20px !important;
}

.header .mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

/* ── RESPONSIVE: Tablet & Below ── */
@media (max-width: 1024px) {
  .header {
    width: 96% !important;
    border-radius: 50px !important;
  }

  .header .nav-main > a,
  .header .nav-main > .nav-dropdown > a {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .header .nav-main {
    gap: 2px !important;
  }
}

@media (max-width: 768px) {
  .header {
    height: 60px !important;
    border-radius: 18px !important;
    top: 10px !important;
    width: 94% !important;
  }

  .header .container {
    padding: 0 16px !important;
  }

  .header .mobile-toggle {
    display: inline-flex !important;
  }

  .header .nav-main {
    display: none !important;
  }

  .header .btn-header-cta {
    display: none !important;
  }

  .header-right .icon-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .header.scrolled {
    width: 92% !important;
    border-radius: 16px !important;
    height: 54px !important;
  }
}

/* =========================================================
   DIAGONAL LEFT HERO CONTAINER — COMPLETE OVERRIDE
   ========================================================= */

/* Main Hero Section — overrides ALL style.css hero rules */
body #home.hero {
  position: relative !important;
  isolation: isolate !important;
  min-height: 700px !important;
  background: transparent !important;
  margin-top: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  border-bottom: none !important;
}

/* Kill ALL pseudo-elements from style.css hero (gradient mesh, noise, bottom fade) */
body #home.hero::before {
  display: none !important;
  content: none !important;
}

body #home.hero::after {
  display: none !important;
  content: none !important;
}

/* Kill particles */
body #home.hero #heroParticles {
  display: none !important;
}

/* Stage & Cross Background Image — right side only */
body #home.hero .hero-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background:
    linear-gradient(180deg, rgba(10, 0, 40, 0.25) 0%, transparent 25%, rgba(10, 0, 40, 0.5) 100%),
    url('../images/church-interior.png') right center / cover no-repeat !important;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
}

/* Diagonal Dark Slash Container on Left */
body #home.hero .hero-left-slash {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 54% !important;
  background: rgba(0, 0, 0, 0.15) !important;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%) !important;
  z-index: 1 !important;
}

/* Glowing Neon Purple/Pink Line along Diagonal Edge */
body #home.hero .hero-left-slash::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(180deg, #a855f7 0%, #ec4899 40%, #f472b6 60%, #a855f7 100%) !important;
  clip-path: polygon(99.3% 0, 100% 0, 80% 100%, 79.3% 100%) !important;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.8)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.4)) !important;
}

/* Pastor Portrait — absolute left, aligned to bottom */
body #home.hero .hero-portrait-wrapper {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  right: auto !important;
  width: clamp(260px, 28vw, 420px) !important;
  height: 92% !important;
  max-height: 640px !important;
  z-index: 3 !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body #home.hero .hero-portrait-wrapper::before {
  display: none !important;
  content: none !important;
}

body #home.hero .hero-portrait-wrapper .hero-portrait {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: left bottom !important;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 78%, rgba(0,0,0,0) 100%) !important;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 78%, rgba(0,0,0,0) 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.5)) !important;
}

/* Hero Content — override grid layout from style.css with flex */
body #home.hero .hero-container {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 120px 0 100px 0 !important;
  grid-template-columns: unset !important;
}

body #home.hero .hero-content {
  margin-left: clamp(230px, 23vw, 360px) !important;
  max-width: 560px !important;
  width: auto !important;
  text-align: left !important;
  transform: none !important;
  padding: 0 20px 0 0 !important;
  grid-column: unset !important;
}

/* Headline */
body #home.hero h1#hero-headline {
  font-family: 'Playfair Display', 'Outfit', serif !important;
  font-size: clamp(34px, 4.2vw, 50px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 16px !important;
  font-style: italic !important;
}

body #home.hero h1 .accent-yellow {
  color: #facc15 !important;
  font-weight: 700 !important;
  font-style: italic !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  display: inline !important;
}

/* Remove underline from accent */
body #home.hero h1 .accent-yellow::after {
  display: none !important;
}

/* Description */
body #home.hero .hero-desc {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
  max-width: 400px !important;
  font-style: normal !important;
}

/* Signature */
body #home.hero .hero-signature {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin-bottom: 28px !important;
}

body #home.hero .hero-signature .sig-with {
  font-family: 'Dancing Script', cursive !important;
  font-size: 24px !important;
  font-style: italic !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

body #home.hero .hero-signature .sig-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* Action Buttons */
body #home.hero .hero-btns {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  justify-content: flex-start !important;
}

body #home.hero .btn-solid-white {
  background: #ffffff !important;
  color: #09031c !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 11px 22px !important;
  border-radius: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 18px rgba(255,255,255,0.18) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

body #home.hero .btn-solid-white:hover {
  background: #f8fafc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255,255,255,0.3) !important;
}

body #home.hero .btn-outline-white {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 11px 20px !important;
  border-radius: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

body #home.hero .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Floating Badges */
body #home.hero .badge {
  position: absolute !important;
  z-index: 6 !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 14px 18px !important;
  border-radius: 16px !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  pointer-events: none !important;
  transform: none !important;
  animation: none !important;
  min-width: 110px !important;
  max-width: 150px !important;
}

body #home.hero .badge::before {
  display: none !important;
}

body #home.hero .badge-belong {
  top: 40% !important;
  right: clamp(160px, 16vw, 300px) !important;
  left: auto !important;
  bottom: auto !important;
}

body #home.hero .badge-loved {
  top: 58% !important;
  right: clamp(22px, 4vw, 80px) !important;
  left: auto !important;
  bottom: auto !important;
}

/* Quick Links Bar Styling */
.quick-links-wrapper {
  position: relative !important;
  z-index: 20 !important;
  margin-top: -45px !important;
}

.ql-bar {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 22px 32px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}

.ql-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.ql-item svg {
  width: 28px !important;
  height: 28px !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

.ql-item h4 {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.ql-item p {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.ql-divider {
  width: 1px !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Our Ministries Section Styling */
.ministries-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  margin-bottom: 40px !important;
}

.section-tag-yellow {
  color: #facc15 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.section-heading-white {
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.view-all-link {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: color 0.3s ease !important;
}

.view-all-link:hover {
  color: #facc15 !important;
}

.min-grid-6 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 992px) {
  body #home.hero {
    min-height: auto !important;
    padding: 60px 0 80px 0 !important;
  }
  body #home.hero .hero-portrait-wrapper {
    display: none !important;
  }
  body #home.hero .hero-content {
    margin-left: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  body #home.hero .hero-btns {
    justify-content: center !important;
  }
  body #home.hero .badge {
    display: none !important;
  }
  .min-grid-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ql-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ql-divider {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .min-grid-6 {
    grid-template-columns: 1fr !important;
  }
  .ql-bar {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   JPGM AI ASSISTANT FLOATING WIDGET STYLES (DEEP BLUE & RED THEME)
   ========================================================================== */
.ai-assistant-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: inherit;
}

.ai-assistant-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #e11d48 100%);
  background-size: 200% 200%;
  animation: aiGradientShift 6s ease infinite, aiFloat 4s ease-in-out infinite;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.ai-pulse-aura {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 35px;
  border: 1.5px solid rgba(239, 68, 68, 0.6);
  animation: aiPulseRing 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.ai-assistant-toggle:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(225, 29, 72, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #be123c 100%);
}

.ai-assistant-toggle:active {
  transform: translateY(1px) scale(0.96);
}

.ai-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-assistant-toggle:hover .ai-toggle-icon {
  transform: rotate(10deg) scale(1.06);
  background: rgba(255, 255, 255, 0.35);
}

.ai-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke-width: 2.2px;
}

.ai-toggle-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-assistant-toggle:hover .ai-toggle-text {
  max-width: 150px;
  opacity: 1;
  margin-left: 8px;
  padding-right: 8px;
}

.ai-toggle-label {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.ai-toggle-sub {
  font-size: 0.60rem;
  font-weight: 700;
  color: #fca5a5;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
  animation: aiBlink 1.8s ease-in-out infinite;
}

@keyframes aiPulseRing {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.4; }
  100% { transform: scale(1.22); opacity: 0; }
}

@keyframes aiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes aiGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes aiBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.ai-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(220, 38, 38, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.4) 0%, rgba(220, 38, 38, 0.3) 100%);
  border-bottom: 1px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #dc2626 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
  overflow: hidden;
}

.ai-toggle-img,
.ai-header-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
  display: block;
}
.ai-avatar svg {
  width: 20px;
  height: 20px;
}

.ai-header-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.ai-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.ai-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ai-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.ai-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.ai-message {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.ai-message.assistant {
  align-self: flex-start;
}

.ai-message.user {
  align-self: flex-end;
}

.ai-message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  word-wrap: break-word;
}

.ai-message.assistant .ai-message-bubble {
  background: rgba(24, 32, 56, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #e2e8f0;
  border-top-left-radius: 4px;
}

.ai-message.user .ai-message-bubble {
  background: linear-gradient(135deg, #1d4ed8 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 600;
  border-top-right-radius: 4px;
}

.ai-message-bubble a {
  color: #f87171;
  text-decoration: underline;
  font-weight: 600;
}
.ai-message.user .ai-message-bubble a {
  color: #ffffff;
}

.ai-suggestions {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: thin;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-suggestions::-webkit-scrollbar {
  height: 4px;
}

.ai-chip {
  white-space: nowrap;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-chip:hover {
  background: rgba(220, 38, 38, 0.3);
  color: #ffffff;
  border-color: #ef4444;
}

.ai-chat-input-form {
  padding: 12px 16px;
  background: rgba(10, 15, 30, 0.95);
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 20px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.ai-chat-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.ai-send-btn {
  background: #dc2626;
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.ai-send-btn:hover {
  background: #ef4444;
  transform: scale(1.05);
}

.ai-send-btn svg {
  width: 16px;
  height: 16px;
}

.ai-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: aiTyping 1.4s infinite ease-in-out both;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes aiTyping {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .ai-chat-window {
    right: -8px;
    width: calc(100vw - 32px);
    height: 480px;
  }
}

/* WhatsApp Float Button (Connected to Prophetess Regina Line 2: +254 716 267 970) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: aiFloat 5s ease-in-out infinite 1s;
}

.whatsapp-float-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #107c6f 0%, #20b858 100%);
  color: #ffffff;
}

.whatsapp-float-btn:active {
  transform: translateY(1px) scale(0.96);
}

.whatsapp-float-btn svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float-btn:hover svg {
  transform: rotate(10deg) scale(1.1);
}

.whatsapp-badge {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover .whatsapp-badge {
  max-width: 120px;
  opacity: 1;
  margin-left: 8px;
  padding-right: 8px;
}

@media (max-width: 520px) {
  .whatsapp-float-btn {
    bottom: 85px;
    right: 20px;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   CUTTING-EDGE HOMEPAGE ULTIMATE OVERRIDES & MICRO-INTERACTIONS
   ========================================================================== */

/* 1. HERO HEADLINE ACCENT POLISH */
#hero-headline .accent-yellow {
  color: #facc15 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

/* 2. QUICK LINKS BAR GLASS & HOVER UPGRADES */
.ql-bar {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

.ql-item {
  position: relative;
  padding: 12px 16px !important;
  border-radius: 14px;
  transition: transform 0.3s ease, background 0.3s ease !important;
}

.ql-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px) !important;
}

.ql-item svg {
  transition: transform 0.3s ease, color 0.3s ease !important;
}

.ql-item:hover svg {
  transform: scale(1.1) translateY(-2px) !important;
  color: #facc15 !important;
}

.ql-item h4 {
  transition: color 0.3s ease !important;
}

.ql-item:hover h4 {
  color: #facc15 !important;
}

/* 3. MINISTRIES CARDS HIGH-TECH GLOW & ROTATING BORDER EFFECT */
.min-grid-6 .min-card {
  position: relative;
  background: linear-gradient(145deg, rgba(25, 15, 55, 0.9), rgba(15, 8, 35, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: 35px 30px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

/* Subtle corner glow */
.min-grid-6 .min-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.min-grid-6 .min-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(138, 43, 226, 0.5) !important;
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(145deg, rgba(30, 18, 65, 0.95), rgba(18, 10, 42, 0.98)) !important;
}

.min-grid-6 .min-card:hover::after {
  transform: scale(2.5) translate(-10px, 10px);
  opacity: 0.8;
}

.min-grid-6 .min-card .min-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.15), rgba(138, 43, 226, 0.15)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.min-grid-6 .min-card .min-icon svg {
  width: 28px !important;
  height: 28px !important;
  transition: transform 0.4s ease !important;
}

.min-grid-6 .min-card:hover .min-icon {
  transform: scale(1.1) rotate(5deg) !important;
  background: linear-gradient(135deg, #ff3366, #8A2BE2) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3) !important;
}

.min-grid-6 .min-card:hover .min-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.min-grid-6 .min-card h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.min-grid-6 .min-card:hover h3 {
  color: #facc15 !important;
}

.min-grid-6 .min-card p {
  font-size: 14.5px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  flex-grow: 1;
}

.min-grid-6 .min-card .lm {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease !important;
  margin-top: auto;
}

.min-grid-6 .min-card .lm svg {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.min-grid-6 .min-card:hover .lm {
  color: #facc15 !important;
}

.min-grid-6 .min-card:hover .lm svg {
  transform: translateX(6px) !important;
}

/* 4. NEW HERE SECTION GLASS CONTAINER & HOVER ANIMATION */
.nh-box {
  background: rgba(18, 10, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
  border-radius: 26px !important;
}

.nh-step-num {
  transition: transform 0.3s ease !important;
}

.nh-step:hover .nh-step-num {
  transform: scale(1.1);
}

/* 5. GALLERY HOVER EFFECT */
.gallery-item {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.35s ease, border-color 0.35s ease !important;
}

.gallery-item:hover {
  border-color: rgba(255, 51, 102, 0.4) !important;
}

.gallery-overlay span {
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.5px;
  font-weight: 700 !important;
}

/* 6. TESTIMONIAL CARDS */
.testimonial-card {
  background: rgba(20, 10, 45, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  transition: transform 0.35s ease, border-color 0.35s ease !important;
}

.testimonial-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(250, 204, 21, 0.4) !important;
}

.testimonial-stars {
  animation: starPulse 3s ease-in-out infinite alternate;
}

@keyframes starPulse {
  0% { filter: drop-shadow(0 0 2px rgba(250, 204, 21, 0.4)); }
  100% { filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.9)); }
}

/* 7. SECTION DIVIDERS & FLUID SMOOTHNESS */
.section-divider-curve {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.section-divider-curve svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}



