/* ============================================
   1. BASE RESET & BODY
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--charcoal);
  line-height: var(--line-height-relaxed);
  background-color: var(--warm-cream);
  overflow-x: hidden;
}

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

a {
  color: var(--royal-blue);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--amber-gold);
}

/* Sacred Warmth - Background Utility Classes */
.bg-warm-cream {
  background-color: var(--warm-cream) !important;
}

.bg-soft-ivory {
  background-color: var(--soft-ivory) !important;
}

/* Override Bootstrap bg-light with warm cream */
.bg-light {
  background-color: var(--soft-ivory) !important;
}

/* Text colors using Sacred Warmth palette */
.text-slate {
  color: var(--slate) !important;
}

.text-royal-blue {
  color: var(--royal-blue) !important;
}

.text-honey-gold {
  color: var(--honey-gold) !important;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-blue);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
}

h5 {
  font-size: var(--font-size-xl);
  line-height: 1.4;
}

h6 {
  font-size: var(--font-size-lg);
  line-height: 1.4;
}

p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1rem;
}
li {
  font-family: var(--font-body);
}

.scripture-quote {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  font-size: var(--font-size-xl);
  line-height: 1.5;
}

/* ============================================
   3. GLOBAL UTILITIES
   ============================================ */

.section-padding {
  padding: var(--space-5) 0;
}

.section-title {
  font-family: var(--font-heading);
  text-align: left;
  margin-bottom: 0.5rem;
  position: relative;
}

/* Remove any auto-generated underlines from section-title */
.section-title::after {
  display: none;
}

/* ============================================
   UNIFIED HEADING UNDERLINE SYSTEM
   Standard: Left-aligned bar with single dot on right
   ============================================ */

/* Base accent line - left aligned by default */
.heading-accent,
.gold-underline,
.gold-underline-left,
.section-accent-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--amber-gold);
  border-radius: 2px;
  margin: 0.5rem 0 0 0;
  position: relative;
}

/* Single dot on right side only */
.heading-accent::after,
.gold-underline::after,
.gold-underline-left::after,
.section-accent-line::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--amber-gold);
  border-radius: 50%;
}

/* Centered variant (for centered sections) */
.heading-accent--center,
.gold-underline.mx-auto,
.section-accent-line.mx-auto {
  margin: 0.5rem auto 0;
}

/* Remove any ::before pseudo-elements */
.heading-accent::before,
.gold-underline::before,
.gold-underline-left::before,
.section-accent-line::before {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 10000;
  border-radius: 0 0 var(--radius) 0;
  font-weight: var(--font-weight-semibold);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

.overlay-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.text-gold {
  color: var(--color-accent);
}

.text-navy {
  color: var(--color-primary);
}

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

.bg-light-blue {
  background-color: var(--soft-ivory);
}

/* ============================================
   4. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  letter-spacing: 0.03em;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 79, 114, 0.3);
}

.btn i {
  font-size: 1em;
}

.btn-primary {
  background-color: #C8850E;
  color: #FFFFFF;
  border-color: #C8850E;
}

.btn-primary:hover {
  background-color: #A66D0A;
  border-color: #A66D0A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #C8850E;
  border-color: #C8850E;
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #A66D0A;
  border-color: #A66D0A;
  color: #FFFFFF;
}

.btn-cta {
  background-color: #C8850E;
  color: #FFFFFF;
  border-color: #C8850E;
}

.btn-cta:hover {
  background-color: #A66D0A;
  border-color: #A66D0A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: #C8850E;
  color: #FFFFFF;
  border-color: #C8850E;
}

.btn-accent:hover {
  background-color: #A66D0A;
  border-color: #A66D0A;
  color: #FFFFFF;
}

.btn-light {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border, #DEE2E6);
}

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

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

.btn-dark:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
}

.btn-block {
  width: 100%;
}

/* ============================================
   5. CARDS
   ============================================ */

.card-cprn {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: none;
}

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

.card-icon {
  font-size: 64px;
  color: var(--color-primary);
  transition: var(--transition);
}

.card-cprn:hover .card-icon {
  color: var(--color-accent);
}

/* Card (Bootstrap-compatible) */
.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

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

.card-body {
  padding: var(--space-4);
}

.card-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.card-text {
  font-family: var(--font-body);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.card-meta {
  color: var(--color-gray);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.card-meta i {
  margin-right: 4px;
  color: var(--color-accent);
}

.card-img-wrapper {
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--color-accent);
}

.card-link i {
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(4px);
}

.card-icon .card-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: var(--space-4) auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-blue);
  border-radius: 50%;
  transition: var(--transition);
}

.card-icon .card-icon-wrapper i {
  font-size: 32px;
  color: var(--color-primary);
  transition: var(--transition);
}

.card-icon:hover .card-icon-wrapper {
  background: var(--color-primary);
}

.card-icon:hover .card-icon-wrapper i {
  color: var(--color-white);
}

.card-team .card-img-circle {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-light-blue);
  margin: var(--space-4) auto 0;
  display: block;
}

.card-subtitle {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-3);
}

.card-social {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.card-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 50%;
  transition: var(--transition);
}

.card-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   6. FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  color: var(--color-dark);
}

.required {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 114, 0.1);
}

.form-control::placeholder {
  color: var(--color-gray);
}

.form-control.is-valid {
  border-color: var(--color-success);
}

.form-control.is-invalid {
  border-color: var(--color-error);
}

.form-error {
  display: none;
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-1);
}

.form-control.is-invalid + .form-error {
  display: block;
}

.form-hint {
  color: var(--color-gray);
  font-size: var(--font-size-sm);
  margin-top: var(--space-1);
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-check-input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-check-label {
  color: var(--color-dark);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

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

/* ============================================
   7. BADGES & TAGS
   ============================================ */

.badge-online {
  background: var(--color-info);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  display: inline-block;
}

.badge-in-person {
  background: var(--color-success);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  display: inline-block;
}

.badge-hybrid {
  background: var(--color-cta);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  display: inline-block;
}

.badge-date {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  display: inline-block;
}

/* ============================================
   8. SECTION BACKGROUNDS
   ============================================ */

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.parallax-overlay {
  position: relative;
}

.parallax-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.parallax-overlay > * {
  position: relative;
  z-index: 2;
}

.stats-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-7) 0;
}

.stats-section h2,
.stats-section h3,
.stats-section h4 {
  color: var(--color-white);
}

.prayer-cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-7) 0;
}

/* ============================================
   9. ANIMATIONS & KEYFRAMES
   ============================================ */

@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   10. BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* ============================================
   11. LOADER / PRELOADER
   ============================================ */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 200px;
  height: auto;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-light-blue);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--space-3) auto 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: var(--color-white);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header.scrolled .navbar-brand img {
  height: 50px;
}

.navbar {
  padding: 16px 0;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img,
.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.footer-logo .logo-img {
  height: 80px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle.show {
  color: var(--amber-gold) !important;
  text-decoration: none;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
}

.dropdown-item {
  font-family: var(--font-heading);
  padding: 10px 20px;
  color: var(--color-dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: #f5f5f5;
  color: #07324B;
}

.btn-search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search:hover {
  color: var(--color-accent);
}

/* Get Involved CTA Button */
.btn-cta-maroon {
  background-color: var(--amber-gold) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.btn-cta-maroon:hover {
  background-color: #7A5208 !important;
  color: #FFFFFF !important;
}

/* Nested Dropdown Submenu Styles */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -8px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a::after {
  content: '›';
  float: right;
  margin-left: 10px;
  font-size: 1.2em;
}

@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    left: 0;
    margin-left: 1rem;
    box-shadow: none;
    border-left: 2px solid #8B1538;
  }

  .dropdown-submenu > a::after {
    transform: rotate(90deg);
  }
}

@media (max-width: 991px) {
  .logo-img {
    height: 50px;
  }
}

@media (max-width: 575px) {
  .logo-img {
    height: 45px;
  }
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-fixed) - 1);
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.alert i {
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-success { background: #D4EDDA; color: #155724; }
.alert-error   { background: #F8D7DA; color: #721C24; }
.alert-warning { background: #FFF3CD; color: #856404; }
.alert-info    { background: #D1ECF1; color: #0C5460; }

/* ============================================
   FOOTER
   ============================================ */

.footer,
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.95rem;
  line-height: var(--line-height-relaxed);
}

.footer a,
footer a {
  color: var(--color-gold);
}

.footer a:hover,
footer a:hover {
  color: var(--color-white);
}

.footer h3,
.footer h4,
footer h3,
footer h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
}

.footer-newsletter {
  background-color: var(--color-light-blue);
  padding: var(--space-5) 0;
}

.footer-newsletter h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.footer-newsletter p {
  color: var(--color-dark);
  margin-bottom: 0;
}

.footer-newsletter .form-control {
  border-color: var(--border-color);
}

.footer-main {
  padding: var(--space-5) 0;
}

.footer-bar {
  padding: var(--space-4) 0;
}

.footer-brand img {
  height: 120px;
  margin-bottom: var(--space-3);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  max-width: 480px;
}

.footer-heading {
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Mobile nav "Follow us" social icons — shown on white background */
.d-lg-none .footer-social a {
  background: rgba(30, 75, 155, 0.1);
  color: var(--color-primary);
}

.d-lg-none .footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-sm);
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  background: var(--color-primary-dark);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

/* ============================================
   HERO (base structure — content filled Phase 2)
   ============================================ */

.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-align: center;
}

.hero-content h1 {
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ============================================
   NAVBAR COMPONENT CLASSES
   ============================================ */

.navbar-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav-hamburger-icon {
  font-size: 22px;
  color: var(--color-primary);
}

.nav-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  padding: 0;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.nav-close-icon {
  font-size: 20px;
}

/* ============================================
   SHARED PAGE UTILITY CLASSES
   ============================================ */

/* Welcome / team images */
.img-rounded-shadow {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* Section label (gold accent text above headings) */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-gold);
  background: linear-gradient(135deg, rgba(200, 133, 14, 0.1), rgba(218, 165, 32, 0.08));
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* Section tag - simpler inline label */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-gold);
  margin-bottom: 0.5rem;
}

/* Gold underline-left is now defined in the unified heading system above */

/* Scripture white variant (on dark backgrounds) */
.scripture-quote-white {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-white);
  letter-spacing: 0.05em;
  font-size: 1.75rem;
  line-height: 1.5;
}

.scripture-ref {
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  margin-top: var(--space-3);
}

/* Prayer CTA section typography */
.cta-section-icon {
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

.cta-section-heading {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  max-width: 580px;
  margin: 0 auto var(--space-5);
}

/* Pulse animation for CTA buttons */
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse {
    animation: pulse 2s ease-in-out infinite;
  }
}

/* Testimony card */
.testimony-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  text-align: center;
}

.testimony-quote {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-dark);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

.testimony-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-light-blue);
  margin: var(--space-4) auto var(--space-2);
  display: block;
}

.testimony-name {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.testimony-since {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

/* Statistics counter numbers */
.stat-number {
  font-family: var(--font-hero);
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0;
}

.stat-label {
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* Sermon rows */
.sermon-thumb-link {
  display: block;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.sermon-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sermon-thumb-link:hover img {
  transform: scale(1.05);
}

.sermon-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 79, 114, 0.45);
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sermon-thumb-link:hover .sermon-play-overlay {
  opacity: 1;
}

.sermon-title {
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.sermon-meta {
  color: var(--color-gray);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

/* Footer brand text placeholder */
.footer-brand-text {
  font-family: var(--font-hero);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: 0.05em;
  display: block;
}

/* Event card image */
.event-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-img-wrap img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  text-align: center;
}

/* Hero swiper */
.hero-swiper {
  width: 100%;
  height: 65vh;
  min-height: 560px;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 1rem 6rem;
}

.hero-slide-content h1 {
  font-family: var(--font-hero);
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-xl);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: rgba(255, 255, 255, 0.8);
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* Testimonies swiper */
.testimonies-swiper .swiper-pagination {
  position: static;
  margin-top: 1.5rem;
}

.testimonies-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* Branch cards (contact.html) */
.branch-card {
  border-top: 4px solid var(--color-accent);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: var(--space-4);
  transition: var(--transition);
  height: 100%;
}

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

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
}

.branch-name {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-dark);
}

.branch-detail i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.branch-detail a {
  color: var(--color-dark);
}

.branch-detail a:hover {
  color: var(--color-primary);
}

/* Service times table */
.service-times-table {
  width: 100%;
  border-collapse: collapse;
}

.service-times-table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: var(--font-weight-semibold);
}

.service-times-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

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

.service-times-table tr:nth-child(even) td {
  background: var(--color-light);
}

/* Page hero (inner pages) */
/* Account for fixed header on all pages */
main[role="main"] {
  padding-top: 92px;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-align: center;
  width: 100%;
  padding: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero-content h1 {
  font-family: var(--font-hero);
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero-subtitle {
  display: none !important;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 1rem auto 0;
}

.page-hero--sm  { min-height: 187px; }
.page-hero--md  { min-height: 253px; }
.page-hero--lg  { min-height: 320px; }

/* Breadcrumbs inside hero sections */
.breadcrumb-hero,
.page-hero-content .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb-hero .breadcrumb-item,
.breadcrumb-hero .breadcrumb-item a,
.page-hero-content .breadcrumb .breadcrumb-item,
.page-hero-content .breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-decoration: none;
}

.breadcrumb-hero .breadcrumb-item a:hover,
.page-hero-content .breadcrumb .breadcrumb-item a:hover {
  color: var(--color-accent);
}

.breadcrumb-hero .breadcrumb-item.active,
.page-hero-content .breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

.breadcrumb-hero .breadcrumb-item + .breadcrumb-item::before,
.page-hero-content .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Override Bootstrap's default dark breadcrumb link colour in heroes */
.page-hero-content .breadcrumb-item a,
.page-hero-content .breadcrumb-item.active,
.page-hero-content .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.75) !important;
}

.page-hero-content .breadcrumb-item.active {
  color: #fff !important;
}

/* Vision / Mission cards */
.vision-card {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  height: 100%;
}

.mission-card {
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  height: 100%;
}

/* Values card */
.value-card {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

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

.value-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: block;
  transition: var(--transition);
}

.value-card:hover i {
  color: var(--color-accent);
}

/* Payment / giving cards */
.payment-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  height: 100%;
  transition: var(--transition);
}

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

.payment-card-logo {
  height: 60px;
  width: auto;
  margin: 0 auto var(--space-3);
  display: block;
  object-fit: contain;
}

/* Leadership team card */
.leader-card {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

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

.leader-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-light-blue);
  display: block;
  margin: 0 auto var(--space-3);
  transition: var(--transition);
}

.leader-name {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25rem;
}

.leader-title {
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.leader-social {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.leader-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
  transition: var(--transition);
}

.leader-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Devotional blockquote */
/* Address element reset */
.footer-address {
  font-style: normal;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-contact-link:hover {
  color: var(--color-accent);
}

.devotional-quote {
  font-family: var(--font-accent);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-5);
  background: var(--color-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: var(--font-size-lg);
  color: var(--color-dark);
}

/* @media for hero swiper height */
@media (max-width: 767px) {
  .hero-swiper {
    height: 70vh;
    min-height: 480px;
  }
}

.live-embed-wrapper {
  aspect-ratio: 16 / 9;
  background: #07324B;
}

/* ============================================
   EVENT CARDS (NEW DESIGN)
   ============================================ */

.event-card-new {
  border: 1px solid #e9ecef;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 75, 155, 0.12) !important;
}

.event-date-block {
  background: #07324B;
  min-width: 80px;
  flex-shrink: 0;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C8850E;
}

.event-day {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.event-year {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

.event-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #28a745; }
.dot-gold  { background: #C8850E; }
.dot-red   { background: #e85a4f; }
.dot-navy  { background: #07324B; }

.event-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #07324B;
  line-height: 1.3;
}

.event-meta {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

.text-accent { color: #C8850E !important; }

.event-details-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #07324B;
  text-decoration: none;
}

.event-details-link:hover {
  text-decoration: underline;
  color: #C8850E;
}

/* ============================================
   VISION & MISSION CARDS
   ============================================ */

.vm-card {
  border: none;
}

.vm-card-vision {
  background: linear-gradient(135deg, #07324B 0%, #07324B 100%);
  color: #fff;
}

.vm-card-mission {
  background: linear-gradient(135deg, #C8850E 0%, #E0C870 100%);
  color: #07324B;
}

.vm-circle-accent {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.15;
}

.vm-card-vision .vm-circle-accent {
  background: #C8850E;
}

.vm-card-mission .vm-circle-accent {
  background: #A66D0A;
}

.vm-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.vm-card-vision .vm-icon-wrap {
  background: rgba(201,162,39,0.2);
  color: #C8850E;
}

.vm-card-mission .vm-icon-wrap {
  background: rgba(30,75,155,0.15);
  color: #07324B;
}

.vm-card-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.vm-card-vision .vm-card-heading { color: #fff; }
.vm-card-mission .vm-card-heading { color: #07324B; }

.vm-card-text { line-height: 1.7; font-size: 0.95rem; }
.vm-card-vision .vm-card-text { color: rgba(255,255,255,0.9); }
.vm-card-mission .vm-card-text { color: #07324B; }

/* ============================================
   BRANCH CARDS (new layout overrides)
   ============================================ */

.branch-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(30,75,155,0.08);
  color: #07324B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.branch-meta {
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ============================================
   SERMON CARDS (NEW DESIGN)
   ============================================ */

.sermon-card-new {
  border: 1px solid #e9ecef;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sermon-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,75,155,0.12) !important;
}

.sermon-icon-area {
  background: #07324B;
  min-width: 72px;
  flex-shrink: 0;
}

.sermon-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C8850E;
  border: none;
  color: #07324B;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding-left: 3px;
}

.sermon-play-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.sermon-category-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
}

.badge-prayer   { border-color: #2d7a3a; color: #2d7a3a; }
.badge-featured { border-color: #A66D0A; color: #A66D0A; }
.badge-faith    { border-color: #07324B; color: #07324B; }
.badge-identity { border-color: #6c3483; color: #6c3483; }
.badge-kingdom  { border-color: #1a6a9a; color: #1a6a9a; }

.sermon-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.sermon-filter-pill {
  padding: 6px 18px;
  border-radius: 999px;
  border: 2px solid #07324B;
  background: transparent;
  color: #07324B;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sermon-filter-pill:hover,
.sermon-filter-pill.active {
  background: #07324B;
  color: #fff;
}

/* ============================================
   LIVE STREAM PAGE
   ============================================ */

.live-badge {
  background: #e85a4f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s infinite;
}

@keyframes pulse-dot {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}

.live-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #C8850E;
  border: none;
  color: #07324B;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-left: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.live-play-btn:hover {
  transform: scale(1.1);
  background: #E0A030;
}

/* ============================================
   FOOTER NEW COMPONENTS
   ============================================ */

.footer-arrow {
  color: #C8850E;
  margin-right: 0.35rem;
  font-size: 1.1em;
}

.footer-email-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 6px;
}

.footer-email-input::placeholder { color: rgba(255,255,255,0.5); }
.footer-email-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: #C8850E;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(201,162,39,0.25);
}

.btn-footer-subscribe {
  background: #C8850E;
  color: #07324B;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  transition: background 0.2s ease;
}

.btn-footer-subscribe:hover {
  background: #E0A030;
  color: #07324B;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-contact-list a:hover { color: #C8850E; }

.footer-contact-icon {
  color: #C8850E;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-legal { list-style: none; }

/* =========================================================
   Utility classes — replaces inline styles across pages
   ========================================================= */

/* Layout / spacing */
.section-hero-404 {
  padding-top: 140px;
  padding-bottom: 100px;
}

/* Section backgrounds */
.bg-light-section {
  background: var(--warm-cream);
}

.bg-primary-section {
  background: var(--color-primary);
}

/* Event / live-stream date badge */
.date-badge {
  min-width: 56px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

.date-badge__month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date-badge__day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

/* Events page — past event badge */
.badge-past {
  background: #6c757d;
}

/* Empty-state container (hidden by default, shown via JS class toggle) */
.empty-state-hidden {
  display: none;
}

/* =========================================================
   Page-specific styles (extracted from HTML <style> blocks)
   ========================================================= */

/* --- Page Heroes --- */
.page-hero-about         { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-announcements { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-biblical      { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-blog          { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-branches      { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-calendar      { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-connect       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-contact       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-courses       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-departments   { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-edu-resources { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-education     { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-events        { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-explore       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-gallery       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-give          { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-partner       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-leadership    { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-live-stream   { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-ministries    { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-ministry      { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-new-here      { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-resources     { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-sermons       { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-service-times { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-small-groups  { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-vision        { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-volunteer     { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-community     { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-estore        { background-image: url('/assets/images/hero/page_top_default.jpg'); }
.page-hero-quote         { background-image: url('/assets/images/hero/page_top_default.jpg'); }

/* --- 404 --- */
.error-404-number {
  font-family: var(--font-hero);
  letter-spacing: 0.05em;
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
@media (max-width: 576px) { .error-404-number { font-size: 5rem; } }

/* --- About / Explore — Timeline --- */
.timeline-item {
  position: relative;
  padding-left: var(--space-6);
  padding-bottom: var(--space-5);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}
.timeline-year {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}
.timeline-title {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

/* --- About / Explore — Value Card sub-elements --- */
.value-card-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.value-card-title {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

/* --- About / Explore — Story image --- */
.story-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* --- Announcements --- */
.announcement-card {
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.announcement-card:hover { box-shadow: var(--shadow-md); }
.announcement-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.tag-urgent { background: #fdecea; color: #c0392b; }
.tag-info   { background: #e8f0fe; color: #07324B; }
.tag-event  { background: #fef9e7; color: #A66D0A; }

/* --- Blog --- */
.blog-card {
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

/* --- Branches / Connect — Region filter --- */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition);
  margin: 0.25rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.region-filter-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.region-filter-btn.active,
.region-filter-btn:hover { background: var(--color-primary); color: #fff; }

/* --- Calendar — Event list item --- */
.event-date-badge-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-date-badge-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.event-list-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.event-list-item:hover { box-shadow: var(--shadow-md); }

/* --- Connect / Ministries — Ministry icon card --- */
.ministry-icon-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ministry-icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ministry-icon-card i { font-size: 3rem; color: var(--color-primary); margin-bottom: 0.75rem; }
.ministry-icon-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.ministry-icon-card p { font-size: 0.85rem; color: var(--color-muted); margin: 0; }

/* --- Connect / Volunteer — Volunteer card --- */
.volunteer-card {
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* --- Contact --- */
.contact-alt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-light);
  text-align: center;
  transition: var(--transition);
}
.contact-alt-item:hover { background: var(--color-light-blue); }
.contact-alt-item i {
  font-size: 2rem;
  color: var(--color-primary);
}
.contact-alt-item span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
}
/* .map-frame already defined above — contact page uses the existing rule */

/* --- Departments --- */
.dept-card {
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.dept-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dept-card i { font-size: 2rem; color: var(--color-primary); margin-bottom: 0.75rem; }

/* --- Education — School card --- */
.school-card {
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.school-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.school-card-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* --- Education / Biblical Studies / School of Ministry — Faculty image --- */
.faculty-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

/* --- Education — Section bg utilities (page-scoped aliases) --- */
.section-bg-light    { background-color: var(--color-light); }
.section-bg-primary  { background-color: var(--color-primary); }

/* --- Events --- */
.event-card {
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.event-card-img-wrap { overflow: hidden; position: relative; }
.event-card-img-wrap img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.event-card:hover .event-card-img-wrap img { transform: scale(1.05); }
.event-filter-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.event-filter-btn.active,
.event-filter-btn:hover { background: var(--color-primary); color: #fff; }
/* .badge-online / .badge-in-person / .badge-hybrid already defined in section 7 above */
.past-event-card { opacity: 0.7; }

/* --- Explore / Vision — Parallax section --- */
.parallax-vision {
  background-image: url('https://picsum.photos/seed/visionbg/1920/600');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

/* --- Gallery --- */
.gallery-filter-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover { background: var(--color-primary); color: #fff; }
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; display: block; }
.gallery-item:hover img { transform: scale(1.08); }

/* --- Give --- */
.giving-tabs .nav-link {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
}
.giving-tabs .nav-link.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.giving-amount-btn { min-width: 90px; }
.transparency-bar {
  background: var(--color-bg-light);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
}
.partner-card {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.partner-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.partner-card-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.partner-card-title {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.partner-card-gold { border-color: #C8850E; }
.progress-thin { height: var(--space-2); }
.giving-progress {
  display: block;
  width: 100%;
  height: var(--space-2);
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  accent-color: var(--color-primary);
}
.giving-progress--primary { accent-color: var(--color-primary); }
.giving-progress--accent  { accent-color: var(--color-accent); }
.giving-progress--success { accent-color: #198754; }
.giving-progress--muted   { accent-color: #6c757d; }

/* --- Home — Parallax scripture --- */
.parallax-scripture {
  background-image: url('https://picsum.photos/seed/scripture/1920/700');
  padding: 100px 0;
}

/* --- Leadership / Explore — Leader cards --- */
.leader-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
  margin: 0 auto var(--space-3);
  display: block;
}
.leader-role {
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

/* --- Live Stream / Resources --- */
.live-embed-placeholder {
  background: #000;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.yt-red { color: #ff0000; }
.live-date-badge {
  min-width: 56px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}
.live-date-badge-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.live-date-badge-day   { font-size: 1.8rem; font-weight: 700; line-height: 1; }

/* --- Resources --- */
.sermon-card {
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.sermon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sermon-thumb-wrap { position: relative; overflow: hidden; }
.sermon-thumb-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.4s; }
.sermon-card:hover .sermon-thumb-wrap img { transform: scale(1.05); }
/* .sermon-play-overlay already defined in the Sermons section above (opacity-reveal variant);
   the extracted HTML variant is compatible — no duplicate needed */
.format-badge { font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 50px; font-weight: 600; margin-right: 3px; }
.format-badge-video { background: #07324B; color: #fff; }
.format-badge-audio { background: #A66D0A; color: #fff; }
.format-badge-notes { background: #6c757d; color: #fff; }
.sermon-filter-btn {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.sermon-filter-btn.active,
.sermon-filter-btn:hover { background: var(--color-primary); color: #fff; }
.sermon-series-label { letter-spacing: 0.05em; font-size: 0.72rem; }
.resources-quick-nav { background: var(--color-primary); padding: 1rem 0; }
.resources-quick-nav a {
  color: #fff;
  font-size: 0.9rem;
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.88;
}
.resources-quick-nav a:hover { opacity: 1; }

/* --- Explore — Service table --- */
.service-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}
.service-table td { vertical-align: middle; }
.service-table tbody tr:hover { background-color: var(--color-bg-light); }

/* ============================================================
   ESTORE — Product Cards & Category Layout
   ============================================================ */

.estore-category-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 0.5rem;
  margin-top: 1rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-light);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img {
  transform: scale(1.04);
}

/* Overlay tint for digital items */
.product-img-wrap--digital::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 75, 155, 0.12);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}
.product-badge--new {
  background: var(--color-primary);
  color: var(--color-white);
}

.product-digital-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(30, 75, 155, 0.85);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Filter buttons reuse .filter-btn from filters.js styles */

.event-card-img {
  height: 200px;
  object-fit: cover;
  background-color: var(--color-bg-light, #f0f0f0);
}

/* Square Event Card Images */
.event-card-img-square {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
  background-color: var(--color-bg-light, #f0f0f0);
}
.event-card-img-square img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .event-card-img-square img {
  transform: scale(1.05);
}

/* Minimal Scripture Quote Section */
.scripture-section-minimal {
  background: #07324B;
}
.scripture-card-minimal {
  padding: 2rem;
}
.scripture-text-minimal {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}
.scripture-cite-minimal {
  display: block;
  font-size: 0.9rem;
  color: #C8850E;
  font-weight: 600;
  font-style: normal;
  margin-top: 0.5rem;
}

/* What We Do Section Spacing */
.what-we-do-inline {
  font-size: 0.9rem;
}
.what-we-do-item {
  font-size: 0.875rem;
}

/* Media Section: Match audio card height to video cards */
.featured-media-section .col-lg-6 > .row {
  height: 100%;
}
.featured-media-section .media-card--audio {
  display: flex;
  flex-direction: row;
  min-height: 280px;
  padding: 1.5rem;
}
@media (min-width: 992px) {
  .featured-media-section .col-lg-6 {
    display: flex;
    flex-direction: column;
  }
  .featured-media-section .col-lg-6 > .row {
    flex: 1;
  }
  .featured-media-section .media-card--audio {
    height: 100%;
    min-height: auto;
  }
}
@media (min-width: 768px) {
  .scripture-text-minimal {
    font-size: 1.5rem;
  }
}

/* Event Details Page */
.event-details-flyer {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.event-details-info {
  padding-left: 0;
}
@media (min-width: 992px) {
  .event-details-info {
    padding-left: 2rem;
  }
}

/* ============================================
   CPRN BRAND UTILITIES
   Navy #07324B · Sky Blue #00A0F0 · Amber Gold #C8850E
   ============================================ */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hero-title,
.banner-title {
  font-family: var(--font-hero);
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  letter-spacing: 0.05em;
  color: var(--white);
}

.lead,
.intro-text {
  font-size: 1.25rem;
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-normal);
  color: var(--gray-text);
}

.scripture,
.scripture-quote-white,
.quote,
blockquote {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  line-height: var(--line-height-relaxed);
  color: var(--navy-blue);
  border-left: 4px solid var(--amber-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.testimonial {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  font-style: italic;
  line-height: var(--line-height-relaxed);
  color: var(--navy-blue);
}

.highlight-section {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
}

.btn-outline,
.btn-outline-primary {
  background-color: transparent !important;
  color: var(--navy-blue) !important;
  border: 2px solid var(--navy-blue) !important;
}

.btn-outline:hover,
.btn-outline-primary:hover {
  background-color: var(--navy-blue) !important;
  color: var(--white) !important;
}

/* ============================================
   MICRO-INTERACTIONS (Phase 5)
   ============================================ */

/* Button hover with subtle lift and scale */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Card hover with glow effect */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(200, 133, 14, 0.12);
}

/* Ministry/Value cards hover */
.ministry-icon-card:hover,
.value-card:hover,
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(7, 50, 75, 0.15);
}

/* Form input focus animation */
.form-control:focus,
.form-select:focus {
  border-color: var(--amber-gold);
  box-shadow: 0 0 0 3px rgba(200, 133, 14, 0.2);
  transition: all 0.3s ease;
}

/* Link underline animation */
.footer-link,
.nav-link {
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber-gold);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* Image hover zoom effect */
.gallery-item img,
.sermon-thumb-link img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.sermon-thumb-link:hover img {
  transform: scale(1.05);
}

/* Event card date badge pulse */
@keyframes gentle-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.event-type-badge .status-dot {
  animation: gentle-pulse 2s infinite;
}

/* Smooth scroll for all anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid var(--amber-gold);
  outline-offset: 2px;
}

/* Skip link transition */
.skip-link:focus {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* ============================================
   WHAT WE DO - INLINE LAYOUT
   ============================================ */
.what-we-do-inline {
  padding: 1rem 0;
}

.what-we-do-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
}

.what-we-do-divider {
  color: var(--amber-gold);
  font-weight: bold;
}

@media (max-width: 767.98px) {
  .what-we-do-inline {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
}

/* ============================================
   SCRIPTURE SECTION - REDESIGNED
   ============================================ */
.scripture-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--royal-blue) 100%);
}

.scripture-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.scripture-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.scripture-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--amber-gold), var(--honey-gold));
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(200, 133, 14, 0.3);
}

.scripture-icon {
  font-size: 2rem;
  color: var(--white);
}

.scripture-decorative-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber-gold), transparent);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.scripture-blockquote {
  margin: 0;
}

.scripture-text {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 0;
}

.scripture-citation {
  display: block;
  margin-top: 1rem;
  font-style: normal;
}

.scripture-book {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amber-gold);
  letter-spacing: 0.05em;
}

.scripture-version {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

@media (max-width: 767.98px) {
  .scripture-section {
    padding: 3rem 0;
  }
  
  .scripture-card {
    padding: 2rem 1.5rem;
  }
  
  .scripture-text {
    font-size: 1.25rem;
  }
  
  .scripture-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .scripture-icon {
    font-size: 1.5rem;
  }
}

/* ============================================
   FEATURED MEDIA SECTION
   ============================================ */
.featured-media-section {
  background: var(--soft-ivory);
}

.featured-media-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7, 50, 75, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(7, 50, 75, 0.15);
}

.featured-media-thumbnail {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.featured-media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-media-card:hover .featured-media-thumbnail img {
  transform: scale(1.05);
}

.featured-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 50, 75, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-media-card:hover .featured-media-overlay {
  opacity: 1;
}

.play-btn-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--amber-gold);
  border-radius: 50%;
  color: var(--white);
  font-size: 2rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 30px rgba(200, 133, 14, 0.4);
}

.play-btn-large:hover {
  transform: scale(1.1);
  background: var(--honey-gold);
  color: var(--white);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--amber-gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-type-badge {
  display: inline-block;
  background: var(--soft-ivory);
  color: var(--royal-blue);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-media-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--navy-blue);
  font-weight: 700;
}

.featured-media-meta {
  color: var(--slate);
  font-size: 0.9rem;
}

.featured-media-desc {
  color: var(--charcoal);
  line-height: 1.7;
}

/* Audio Player Styles */
.audio-player-container {
  background: var(--soft-ivory);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(7, 50, 75, 0.1);
}

.audio-label {
  font-weight: 600;
  color: var(--navy-blue);
  font-size: 0.9rem;
}

.custom-audio-player {
  border-radius: 8px;
}

audio::-webkit-media-controls-panel {
  background: var(--warm-cream);
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
  filter: invert(20%) sepia(50%) saturate(1000%) hue-rotate(180deg);
}

@media (max-width: 991.98px) {
  .featured-media-thumbnail {
    min-height: 250px;
  }
  
  .featured-media-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .featured-media-card .row {
    flex-direction: column;
  }
  
  .featured-media-thumbnail {
    min-height: 200px;
  }
  
  .featured-media-content {
    padding: 1.5rem !important;
  }
}

/* ============================================
   MEDIA CARDS - 3-CARD LAYOUT
   ============================================ */
.media-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(7, 50, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(7, 50, 75, 0.12);
}

.media-card--video {
  display: flex;
  flex-direction: column;
}

.media-card-thumbnail {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.media-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .media-card-thumbnail img {
  transform: scale(1.05);
}

.media-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 50, 75, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-card:hover .media-card-overlay {
  opacity: 1;
}

.play-btn-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--amber-gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 25px rgba(200, 133, 14, 0.4);
}

.play-btn-circle:hover {
  transform: scale(1.1);
  background: var(--honey-gold);
  color: var(--white);
}

.media-type-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy-blue);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.media-type-label--inline {
  position: static;
  display: inline-block;
  margin-bottom: 0.5rem;
  background: var(--soft-ivory);
  color: var(--royal-blue);
}

.media-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.media-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.media-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.media-card-meta span {
  display: inline-flex;
  align-items: center;
}

.media-card-meta i {
  color: var(--amber-gold);
}

.media-card-desc {
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Audio Card Styles */
.media-card--audio {
  display: flex;
  align-items: stretch;
}

.media-card-audio-icon {
  min-width: 80px;
  background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
}

.audio-player-mini {
  margin-top: auto;
}

.audio-player-mini audio {
  height: 36px;
  border-radius: 8px;
}

/* ============================================
   FOUNDER SECTION - ABOUT PAGE
   ============================================ */
.our-story-content p {
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.founder-quote {
  background: linear-gradient(135deg, var(--soft-ivory), var(--warm-cream));
  border-left: 4px solid var(--amber-gold);
}

.founder-quote blockquote p {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--navy-blue);
}

.founder-quote .blockquote-footer {
  color: var(--slate);
  font-size: 0.9rem;
}

.founder-photo-wrapper {
  text-align: center;
}

.founder-photo-frame {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: linear-gradient(135deg, var(--amber-gold), var(--honey-gold));
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(200, 133, 14, 0.2);
}

.founder-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  display: block;
}

.founder-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-blue);
}

.founder-title {
  font-size: 0.95rem;
}

/* ============================================
   DROPDOWN SUBMENU STYLES
   ============================================ */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > .dropdown-item::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  float: right;
  margin-top: 4px;
}

@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    left: 0;
    margin-left: 1rem;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .media-card--audio {
    flex-direction: column;
  }
  
  .media-card-audio-icon {
    min-height: 60px;
    min-width: 100%;
  }
  
  .founder-photo-frame {
    max-width: 300px;
  }
}

/* ============================================
   MODERN TIMELINE - ABOUT PAGE
   ============================================ */
.timeline-modern {
  position: relative;
  padding-left: 40px;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber-gold), var(--royal-blue));
  border-radius: 3px;
}

.timeline-modern .timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-modern .timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-modern .timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--amber-gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(200, 133, 14, 0.3);
}

.timeline-modern .timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(7, 50, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-modern .timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 40px rgba(7, 50, 75, 0.12);
}

.timeline-modern .timeline-year {
  display: inline-block;
  background: var(--navy-blue);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-modern .timeline-content h4 {
  font-family: var(--font-heading);
  color: var(--navy-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-modern .timeline-content p {
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .timeline-modern {
    padding-left: 30px;
  }
  
  .timeline-modern::before {
    left: 8px;
  }
  
  .timeline-modern .timeline-marker {
    left: -30px;
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   QUOTE CALENDAR - 30 DAY GRID
   ============================================ */
.quote-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  max-width: 900px;
}

.quote-day-cell {
  aspect-ratio: 1;
  background: var(--white);
  border: 2px solid var(--soft-ivory);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(7, 50, 75, 0.05);
}

.quote-day-cell:hover {
  border-color: var(--amber-gold);
  background: linear-gradient(135deg, var(--soft-ivory), var(--warm-cream));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 133, 14, 0.15);
}

.quote-day-cell:focus {
  outline: 3px solid var(--amber-gold);
  outline-offset: 2px;
}

.quote-day-number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-blue);
  text-align: center;
}

.quote-day-cell:hover .quote-day-number {
  color: var(--amber-gold);
}

/* Quote Modal */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 50, 75, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.quote-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quote-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.quote-modal-overlay.active .quote-modal {
  transform: scale(1) translateY(0);
}

.quote-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--soft-ivory);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.quote-modal-close:hover {
  background: var(--amber-gold);
  color: var(--white);
}

.quote-modal-content {
  text-align: center;
}

.quote-modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--amber-gold), var(--honey-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: 0 8px 25px rgba(200, 133, 14, 0.3);
}

.quote-modal-day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.quote-modal-divider {
  width: 50px;
  height: 3px;
  background: var(--amber-gold);
  margin: 1rem auto;
  border-radius: 2px;
}

.quote-modal-text {
  margin: 0;
  padding: 0;
}

.quote-modal-text p {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

.quote-modal-citation {
  display: block;
  margin-top: 1rem;
  font-style: normal;
}

.quote-modal-book {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-blue);
  font-size: 1rem;
}

.quote-modal-version {
  color: var(--slate);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.quote-modal-reflection {
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Responsive - Quote Calendar */
@media (max-width: 767.98px) {
  .quote-calendar-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  
  .quote-day-number {
    font-size: 0.8rem;
  }
  
  .quote-modal {
    padding: 1.5rem;
  }
  
  .quote-modal-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .quote-calendar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
