/* =======================================================
   GEREJA GMIT / CHURCH PORTAL - MODERN THEME REDESIGN
   Color Scheme: Royal Navy (#0f1d38) + Celestial Gold (#c5a059) + Wine (#722f37)
   Fonts: Plus Jakarta Sans / Inter + Playfair Display
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── COLOR PALETTE & DESIGN TOKENS ─── */
:root {
  --primary: #0f1d38;
  --primary-light: #1c325e;
  --primary-lighter: #28447d;
  --primary-dark: #091224;
  --primary-rgb: 15, 29, 56;

  --gold: #c5a059;
  --gold-light: #dfbe78;
  --gold-lighter: #f5e6c4;
  --gold-dark: #9e7d38;
  --gold-rgb: 197, 160, 89;

  --accent: #722f37;
  --accent-light: #8e3b45;
  --accent-dark: #501e24;

  --bg-page: #f8fafc;
  --bg-light: #f1f5f9;
  --bg-warm: #faf8f5;
  --bg-cream: #fcfbf8;
  --bg-white: #ffffff;

  --text: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-gold: rgba(197, 160, 89, 0.35);

  --shadow-xs: 0 1px 2px 0 rgba(15, 29, 56, 0.05);
  --shadow-sm: 0 2px 8px -1px rgba(15, 29, 56, 0.08), 0 1px 3px -1px rgba(15, 29, 56, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 29, 56, 0.08), 0 4px 8px -2px rgba(15, 29, 56, 0.03);
  --shadow-lg: 0 16px 36px -6px rgba(15, 29, 56, 0.12), 0 8px 16px -4px rgba(15, 29, 56, 0.04);
  --shadow-xl: 0 24px 50px -10px rgba(15, 29, 56, 0.16);
  --shadow-gold: 0 8px 24px -4px rgba(197, 160, 89, 0.3);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE STYLES ─── */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-heading,
.section-title h2 {
  font-family: var(--font-heading) !important;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

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

a:hover {
  color: var(--gold-dark);
  text-decoration: none;
}

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

::selection {
  background: var(--gold);
  color: var(--primary-dark);
}

/* ─── ACCESSIBILITY FOCUS STATES ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 3px !important;
}

/* ─── PRELOADER WITH CENTER LOGO ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #16284e 0%, #091224 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
}

.preloader.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.preloader-spinner-container {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader .loader,
.loader {
  position: absolute;
  inset: 0;
  width: 84px;
  height: 84px;
  border: 3px solid rgba(197, 160, 89, 0.18);
  border-top: 3px solid var(--gold, #c5a059);
  border-right: 3px solid rgba(197, 160, 89, 0.5);
  border-radius: 50%;
  animation: spin 0.9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  box-shadow: 0 0 24px rgba(197, 160, 89, 0.22);
}

.preloader-center-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  z-index: 2;
  border-radius: 50%;
  padding: 4px;
  background: rgba(15, 29, 56, 0.6);
  backdrop-filter: blur(4px);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  animation: logoPulse 2s ease-in-out infinite;
}

.preloader-brand-title {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

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

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.5));
  }
}

/* ─── TOPBAR ─── */
#topbar {
  background: linear-gradient(90deg, #091224 0%, #0f1d38 50%, #16284e 100%) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding: 7px 0 !important;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1010;
}

#topbar .container {
  max-width: 1240px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
}

.topbar-badge i {
  color: var(--gold-light);
}

.topbar-clock {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  font-weight: 600;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-social a:hover {
  background: var(--gold);
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* ─── MAIN HEADER & NAVBAR ─── */
#header {
  background: var(--primary) !important;
  min-height: 72px;
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(9, 18, 36, 0.15);
  border-bottom: 2px solid rgba(197, 160, 89, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1000;
}

#header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 64px;
  background: rgba(15, 29, 56, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--gold);
  animation: slideDown 0.35s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

#header .container {
  max-width: 1240px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.header-brand-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.2;
}

.header-brand-sub {
  font-family: var(--font-body);
  font-size: 0.725rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── DESKTOP NAVBAR LINKS ─── */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.navbar li {
  position: relative;
}

.navbar > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar > ul > li > a i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.navbar > ul > li > a:hover,
.navbar > ul > li.active > a {
  color: #ffffff !important;
  background: rgba(197, 160, 89, 0.18);
}

.navbar > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar > ul > li:hover > a::after,
.navbar > ul > li.active > a::after {
  transform: scaleX(1);
}

/* ─── DROPDOWN MENUS ─── */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 15px);
  margin: 0;
  padding: 8px 0;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  min-width: 220px;
  transition: var(--transition);
  transform: translateY(10px);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  top: 100%;
  transform: translateY(0);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--primary) !important;
  background: var(--bg-warm);
  padding-left: 22px;
}

.navbar .dropdown ul a i {
  font-size: 0.75rem;
  color: var(--gold);
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% + 10px);
  visibility: hidden;
  transform: translateX(10px);
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  left: 100%;
  transform: translateX(0);
}

/* ─── HEADER ACTIONS & SEARCH BUTTON ─── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header-search {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-search:hover {
  background: var(--gold);
  color: var(--primary-dark) !important;
  border-color: var(--gold);
  transform: scale(1.05);
}

.mobile-nav-toggle {
  color: var(--gold-light) !important;
  font-size: 28px;
  cursor: pointer;
  line-height: 0;
  display: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* ─── MOBILE DRAWER NAVIGATION ─── */
@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar ul {
    display: none;
  }

  .navbar-mobile {
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 36, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    transition: var(--transition);
    overflow: hidden;
  }

  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    z-index: 10001;
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    padding: 70px 16px 30px;
    overflow-y: auto;
    border-left: 3px solid var(--gold);
    animation: drawerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes drawerSlide {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .navbar-mobile li {
    display: block;
    margin-bottom: 4px;
  }

  .navbar-mobile a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary) !important;
    border-radius: var(--radius-sm);
    background: transparent;
  }

  .navbar-mobile a:hover,
  .navbar-mobile li.active > a {
    background: var(--bg-warm);
    color: var(--gold-dark) !important;
  }

  .navbar-mobile .dropdown ul {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold);
    margin: 4px 0 8px 12px;
    padding: 6px 0;
    transform: none;
  }

  .navbar-mobile .dropdown ul a {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .navbar-mobile .dropdown > .dropdown-active {
    display: block !important;
  }
}

/* ─── CARDS & SURFACES ─── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-hover-lift {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  font-weight: 700;
}

.card-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
}

/* ─── SECTION TITLE & DIVIDERS ─── */
.section-title {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
}

.divider-gold {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  margin: 12px auto 16px;
  border-radius: var(--radius-full);
}

.section-cross {
  position: relative;
  padding-bottom: 16px;
}

.section-cross::after {
  content: '✦';
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--gold);
  margin-top: 6px;
  letter-spacing: 6px;
}

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, #c5a059 0%, #dfbe78 100%) !important;
  color: #091224 !important;
  border-color: #c5a059 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #9e7d38 0%, #c5a059 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-primary {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 14px rgba(15, 29, 56, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 29, 56, 0.35);
}

.btn-outline-gold {
  background: transparent !important;
  color: var(--gold-dark) !important;
  border: 2px solid var(--gold) !important;
}

.btn-outline-gold:hover {
  background: var(--gold) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--primary-dark) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebc59 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* ─── FORM CONTROLS & MODERN INPUTS ─── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label, label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.45rem;
  display: inline-block;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-height: 46px;
  line-height: 1.5;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.18);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-light);
  font-size: 0.875rem;
}

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

.form-control-file {
  padding: 8px 12px;
  background: var(--bg-light);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ─── MODERN RADIO & CHECKBOX OPTIONS (FOR SURVEYS & FORMS) ─── */
.custom-radio-card {
  display: block;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin-bottom: 8px;
}

.custom-radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio-card .card-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-dark);
}

.custom-radio-card:hover .card-option {
  border-color: var(--gold);
  background: var(--bg-warm);
}

.custom-radio-card input:checked ~ .card-option {
  border-color: var(--gold-dark);
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.18);
}

.custom-radio-card .radio-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.custom-radio-card input:checked ~ .card-option .radio-indicator {
  border-color: var(--gold-dark);
  background: var(--gold);
}

.custom-radio-card input:checked ~ .card-option .radio-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* ─── BADGES & PILLS ─── */
.badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-gold {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.badge-primary {
  background: var(--primary);
  color: #ffffff;
}

.badge-navy {
  background: rgba(15, 29, 56, 0.1);
  color: var(--primary);
  border: 1px solid rgba(15, 29, 56, 0.2);
}

/* ─── BREADCRUMBS ─── */
.breadcrumb {
  background: transparent !important;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›" !important;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
}

.breadcrumb-item a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: var(--gold-dark);
}

.breadcrumb-item.active {
  color: var(--text-muted);
  font-weight: 400;
}

/* ─── HERO CAROUSEL ─── */
.hero-church-section {
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-slide-item {
  height: 72vh;
  min-height: 480px;
  max-height: 640px;
  position: relative;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.carousel-item.active .hero-slide-img {
  transform: scale(1.08);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 36, 0.45) 0%, rgba(9, 18, 36, 0.8) 75%, rgba(9, 18, 36, 0.95) 100%),
              radial-gradient(ellipse at center, rgba(15, 29, 56, 0.3) 0%, rgba(9, 18, 36, 0.8) 100%);
  z-index: 2;
}

.hero-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 900px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  line-height: 1.15;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  z-index: 4;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-control-btn:hover {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.hero-control-btn.prev { left: 24px; }
.hero-control-btn.next { right: 24px; }

/* ─── ANNOUNCEMENT TICKER ─── */
.ticker-container {
  background: linear-gradient(90deg, #c5a059 0%, #dfbe78 50%, #c5a059 100%);
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ticker-badge {
  background: var(--primary);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ─── LAYANAN CARDS ─── */
.service-church-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-decoration: none !important;
}

.service-church-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.3) 100%);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-church-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.service-church-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.35;
}

/* ─── STATISTIK COUNTERS ─── */
.stat-church-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* ─── VERSE OF THE DAY CARD ─── */
.verse-banner-card {
  background: linear-gradient(135deg, #0f1d38 0%, #1c325e 50%, #28447d 100%);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(197, 160, 89, 0.3);
  text-align: center;
}

.verse-banner-card::before {
  content: '“';
  position: absolute;
  top: -20px;
  right: 24px;
  font-size: 160px;
  font-family: var(--font-heading);
  color: rgba(197, 160, 89, 0.1);
  line-height: 1;
  pointer-events: none;
}

.verse-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #ffffff;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.verse-ref {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

/* ─── INFOGRAPHIC SCROLL CONTAINER ─── */
.infographic-section-bg {
  background: linear-gradient(135deg, #091224 0%, #0f1d38 60%, #16284e 100%);
  padding: 60px 0;
}

.infographic-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  background: #091224;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(197, 160, 89, 0.2);
  transition: var(--transition);
}

.infographic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  border-color: var(--gold);
}

.infographic-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #091224;
  transition: transform 0.4s ease;
}

.infographic-card:hover img {
  transform: scale(1.04);
}

/* ─── TABLES & DATATABLES ─── */
.table {
  color: var(--text);
  margin-bottom: 0;
}

.table thead th {
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  padding: 14px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.table-hover tbody tr:hover {
  background-color: var(--bg-warm);
}

.dataTables_wrapper .dataTables_filter input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-left: 8px;
  outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--gold);
}

/* ─── PAGINATION ─── */
.pagination {
  gap: 6px;
}

.page-item .page-link {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  transition: var(--transition);
}

.page-item.active .page-link {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.page-item .page-link:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--primary-dark) !important;
}

/* ─── FOOTER ─── */
.footer-church {
  background: linear-gradient(180deg, #0f1d38 0%, #091224 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
  border-top: 3px solid var(--gold);
}

.footer-church h5 {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-church h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-church p,
.footer-church span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.7;
}

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

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold-light) !important;
  padding-left: 6px;
}

.footer-bottom-bar {
  background: #050b16;
  padding: 20px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ─── BACK TO TOP BUTTON ─── */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

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

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ─── RESPONSIVE REFINEMENTS ─── */
@media (max-width: 768px) {
  .hero-slide-item {
    height: 60vh;
    min-height: 400px;
  }
  .hero-control-btn {
    display: none !important;
  }
  .verse-banner-card {
    padding: 28px 18px;
  }
  .table-responsive {
    border-radius: var(--radius-sm);
  }
  .footer-church h5::after {
    left: 0;
  }
}
