/* ==========================================================================
   Solitude Baptist Church - Modern Styling (Church of the Highlands Theme)
   ========================================================================== */

:root {
  --bg-dark-navy: #0f172a;
  --bg-header-black: #1e293b;
  --bg-card-dark: #273549;
  --bg-card-light: #ffffff;
  --accent-red: #d93838;
  --accent-red-hover: #b82a2a;
  --accent-blue: #0b517a;
  --accent-cyan: #38bdf8;
  --text-white: #ffffff;
  --text-gray: #cbd5e1;
  --text-dark: #0f172a;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark-navy);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Typography Helpers */
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-red { color: var(--accent-red); }
.text-cyan { color: var(--accent-cyan); }
.text-muted { color: var(--text-gray); }

/* Header & Navigation (Church of the Highlands Glassmorphism) */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

.navbar-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-red);
}

.nav-sublink {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.nav-sublink:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-pill {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-red {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-red:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 45, 45, 0.4);
}

.btn-white {
  background: #ffffff;
  color: var(--bg-dark-navy);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Offcanvas Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-header-black);
  z-index: 2000;
  padding: 2.5rem 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer ul a {
  display: inline-block;
  width: 100%;
  padding: 0.5rem 0;
  color: var(--text-white);
  transition: color 0.2s ease;
}

.mobile-menu-drawer ul a:hover, .mobile-menu-drawer ul a:focus {
  color: var(--accent-red);
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section (Church of the Highlands Style) */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-section-video, .hero-video-bg {
  background-color: var(--bg-dark-navy) !important;
  background-image: none !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.65) 65%,
    var(--bg-dark-navy) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.5rem;
  margin-top: 40px;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.service-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(196, 45, 45, 0.25);
  border: 1px solid rgba(196, 45, 45, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff8080;
  margin-bottom: 1.5rem;
}

/* Highlands Overlapping Landing Cards Bar */
.landing-cards-container {
  max-width: 1300px;
  margin: -90px auto 4rem auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.landing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.landing-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196, 45, 45, 0.5);
}

.landing-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.landing-card-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1.8rem;
}

/* White Content Section (Light Theme Contrast) */
.section-white {
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 5rem 1.5rem;
}

.section-dark {
  background-color: var(--bg-dark-navy);
  color: var(--text-white);
  padding: 5rem 1.5rem;
}

.container-xl {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

/* Featured Video / Sunday Sermon Component */
.sermon-highlight-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  background: #000;
  aspect-ratio: 16 / 9;
}

.sermon-highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.sermon-highlight-card:hover img {
  transform: scale(1.03);
  opacity: 0.95;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(196, 45, 45, 0.5);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.sermon-highlight-card:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #e63939;
}

/* "For Your Family" Grid Cards (Centered 3-Column Symmetrical Grid) */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
}

.family-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.family-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
  border-color: rgba(196, 45, 45, 0.4);
}

.family-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(196, 45, 45, 0.25);
  transition: all 0.3s ease;
}

.family-card:hover .family-icon-box {
  transform: scale(1.1);
  background: var(--accent-red-hover);
}

.family-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.family-card-desc {
  font-size: 0.9rem;
  color: #64748b;
}

/* Feature Cards Grid (No Slider) */
.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  overflow: visible;
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .carousel-track {
    grid-template-columns: 1fr;
  }
}

.feature-slide-card {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.feature-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.4s ease;
}

.feature-slide-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(15, 23, 42, 0.72) 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.feature-slide-card:hover img {
  transform: scale(1.05);
}

.feature-slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Footer Section */
.site-footer {
  background-color: var(--bg-header-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 1.5rem 2rem 1.5rem;
  color: var(--text-gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.social-icons-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-circle:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* Responsive Rules & Mobile Optimization */
@media (max-width: 992px) {
  .nav-menu, .nav-sublink {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .landing-cards-container {
    margin-top: -40px;
  }
}

/* Mobile Viewport Styling */
@media (max-width: 768px) {
  .hero-video-bg {
    object-fit: cover !important;
  }
  .navbar {
    padding: 0.8rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 70px;
    min-height: 75vh;
  }
  .hero-title {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  .landing-cards-container {
    margin-top: -20px;
    padding: 0 1rem;
  }
  .landing-card {
    padding: 1.5rem;
  }
  .countdown-container {
    gap: 0.6rem !important;
  }
  .countdown-box {
    padding: 0.6rem 0.5rem !important;
    min-width: 65px !important;
  }
  .countdown-num {
    font-size: 1.6rem !important;
  }
  .countdown-label {
    font-size: 0.65rem !important;
  }
}

/* Countdown Timer & Live Stream Player Component */
.countdown-container {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin: 1.5rem 0 2rem 0;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  min-width: 85px;
  text-align: center;
}

.countdown-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gray);
  margin-top: 0.3rem;
  font-weight: 700;
}

.live-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.8);
  color: #ef4444;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.stream-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-embed-wrapper iframe, .stream-embed-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Video Modal Player */
.video-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-modal-close:hover {
  background: var(--accent-red);
  transform: scale(1.1);
}

/* ==========================================================================
   Interactive Floating Prayer & Support Chatbot Widget Styles
   ========================================================================== */
.chat-trigger-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2500;
  box-shadow: 0 8px 25px rgba(196, 45, 45, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.chat-trigger-btn:hover {
  transform: scale(1.08);
  background: var(--accent-red-hover);
}

.chat-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
}

.chat-label-tooltip {
  position: absolute;
  right: 72px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.chat-trigger-btn:hover .chat-label-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat Window Container */
.chat-window {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 370px;
  max-width: calc(100vw - 40px);
  height: 530px;
  max-height: calc(100vh - 120px);
  background: #0f172a;
  border-radius: 20px;
  z-index: 2500;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #c42d2d 0%, #8f1d1d 100%);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
}

.chat-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
}

.chat-header-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.chat-header-close:hover {
  opacity: 1;
}

/* Chat Messages Body */
.chat-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #0b132b;
  scrollbar-width: thin;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.bot-bubble {
  background: #1e293b;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-bubble {
  background: var(--accent-red);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Quick Action Chips */
.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.chat-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-chip:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: translateX(3px);
}

/* Chat Footer Input */
.chat-footer {
  padding: 0.9rem 1rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.chat-footer input {
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  outline: none;
}

.chat-footer input:focus {
  border-color: var(--accent-red);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.chat-send-btn:hover {
  background: var(--accent-red-hover);
}

/* ==========================================================================
   Navigation Dropdowns (About Us & Ministries Dropdowns)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem 0;
  min-width: 250px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item i {
  color: var(--accent-red);
  width: 18px;
  text-align: center;
}

.nav-dropdown-item:hover {
  background: rgba(196, 45, 45, 0.18);
  color: #ffffff;
  padding-left: 1.5rem;
}


