/* =====================================================
   ALL SAINTS ANGLICAN CHURCH, UMUAHIA
   World Bank Housing Estate, Umuahia, Abia State
   Main Stylesheet v1.0
   ===================================================== */

/* === 1. ROOT VARIABLES === */
:root {
  --primary: #0B3C5D;
  --primary-dark: #072b44;
  --primary-light: #1a5a87;
  --gold: #C9A227;
  --gold-dark: #a88420;
  --gold-light: #e6bf4a;
  --white: #ffffff;
  --light: #F8F9FA;
  --gray: #e9ecef;
  --dark-text: #1a1a2e;
  --muted: #6c757d;
  --danger: #dc3545;
  --success: #28a745;
  --shadow-sm: 0 2px 15px rgba(11, 60, 93, 0.08);
  --shadow: 0 8px 30px rgba(11, 60, 93, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 60, 93, 0.18);
  --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --nav-height: 80px;
  --section-padding: 100px 0;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --white: #0d1b2a;
  --light: #13202f;
  --gray: #1e2d3e;
  --dark-text: #e2eaf4;
  --muted: #8899aa;
  --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.35);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
}

/* === 2. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-text);
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}
.gold-text { color: var(--gold) !important; }
.primary-text { color: var(--primary) !important; }
.text-justify { text-align: justify; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}
.section-divider.left { margin-left: 0; }

/* === 4. LOADING SCREEN === */
#loadingScreen {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loadingScreen.hidden { opacity: 0; visibility: hidden; }
.loader-cross {
  font-size: 3rem;
  color: var(--gold);
  animation: pulse-cross 1.5s ease-in-out infinite;
  margin-bottom: 1rem;
}
.loader-text {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 1.5rem;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadingBar 2s ease forwards;
}
@keyframes pulse-cross { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } }
@keyframes loadingBar { from { width: 0; } to { width: 100%; } }

/* === 5. NAVIGATION === */
#mainNav {
  height: var(--nav-height);
  background: linear-gradient(180deg, var(--primary-dark) 0%, rgba(11, 60, 93, 0.97) 100%);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
  z-index: 1050;
}
#mainNav.scrolled {
  background: var(--white) !important;
  box-shadow: var(--shadow);
  height: 70px;
}
#mainNav.scrolled .nav-link { color: var(--dark-text) !important; }
#mainNav.scrolled .navbar-brand .brand-name { color: var(--primary) !important; }
#mainNav.scrolled .navbar-brand .brand-cross { color: var(--gold) !important; }
#mainNav.scrolled .navbar-toggler { color: var(--primary); border-color: var(--primary); }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-cross {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  transition: var(--transition);
}
.brand-name small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 400;
  opacity: 0.85;
  font-family: var(--font-body);
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.9) !important;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: var(--transition) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 80%; left: 10%; }
.nav-link:hover { color: var(--gold) !important; }
.nav-link.active { color: var(--gold) !important; }
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem;
  background: var(--white);
  min-width: 200px;
  animation: fadeInDown 0.2s ease;
}
.dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 1.5rem;
}
.btn-give-nav {
  background: var(--gold) !important;
  color: var(--primary) !important;
  border-radius: 50px !important;
  padding: 0.4rem 1.2rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}
.btn-give-nav:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}
.btn-give-nav::after { display: none !important; }
#darkModeToggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}
#mainNav.scrolled #darkModeToggle {
  border-color: var(--primary);
  color: var(--primary);
}
#darkModeToggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
}
.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.5) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.6rem !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
#mainNav.scrolled .navbar-toggler { border-color: var(--primary) !important; }
#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 60, 93, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* === 6. HERO SECTIONS === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 43, 68, 0.9) 0%,
    rgba(11, 60, 93, 0.75) 50%,
    rgba(26, 90, 135, 0.6) 100%
  );
}
.hero-overlay-gold {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(201, 162, 39, 0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-label::before, .hero-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 .highlight { color: var(--gold); }
.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-scripture {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  border-radius: 0 8px 8px 0;
  max-width: 500px;
}
.hero-scripture cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.4rem;
  font-weight: 600;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceDown 2s ease infinite;
}
.hero-scroll-hint i { display: block; font-size: 1.2rem; margin-top: 0.5rem; }
@keyframes bounceDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Page Hero (smaller, for inner pages) */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '✟';
  position: absolute;
  right: -2rem;
  top: -2rem;
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  font-family: var(--font-heading);
  line-height: 1;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1rem;
}
.page-hero-content .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero-content .breadcrumb-item a { color: var(--gold); font-size: 0.9rem; }
.page-hero-content .breadcrumb-item.active { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-hero-content .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* === 7. BUTTONS === */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(11, 60, 93, 0.3);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 60, 93, 0.4);
}
.btn-gold {
  background: var(--gold);
  color: var(--primary);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-2px);
}
.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-sm-custom {
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem;
}
.btn-lg-custom {
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
}

/* === 8. CARDS === */
.card-custom {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: none;
  overflow: hidden;
  transition: var(--transition);
}
.card-custom:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-custom .card-body { padding: 1.75rem; }
.card-custom .card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.card-icon-top {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.icon-primary { background: rgba(11, 60, 93, 0.1); color: var(--primary); }
.icon-gold { background: rgba(201, 162, 39, 0.15); color: var(--gold-dark); }
.icon-white { background: rgba(255, 255, 255, 0.15); color: white; }

/* Ministry Cards */
.ministry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ministry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ministry-card:hover img { transform: scale(1.08); }
.ministry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 43, 68, 0.92) 0%, transparent 60%);
  transition: var(--transition);
}
.ministry-card:hover .ministry-card-overlay {
  background: linear-gradient(to top, rgba(7, 43, 68, 0.97) 0%, rgba(7, 43, 68, 0.4) 100%);
}
.ministry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  color: white;
}
.ministry-card-content h4 { color: white; font-size: 1.3rem; margin-bottom: 0.5rem; }
.ministry-card-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.ministry-card:hover .ministry-card-content p { max-height: 80px; opacity: 1; }
.ministry-card-icon {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Leadership Cards */
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.leader-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.leader-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.leader-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-card-image .placeholder-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.3);
}
.leader-card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--primary);
  text-align: center;
  padding: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.leader-card-body { padding: 1.5rem; }
.leader-card-body h4 { font-size: 1.15rem; color: var(--primary); margin-bottom: 0.25rem; }
.leader-card-body .position { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 0.75rem; }
.leader-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* Service Cards */
.service-time-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.service-time-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.service-time-card .service-day {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.service-time-card h5 { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.35rem; }
.service-time-card .service-time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-text);
  font-family: var(--font-heading);
}
.service-time-card .service-desc { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* Sermon Cards */
.sermon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.sermon-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sermon-card-image { position: relative; height: 200px; overflow: hidden; }
.sermon-card-image img { width: 100%; height: 100%; object-fit: cover; }
.sermon-card-image .sermon-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 60, 93, 0.5);
  transition: var(--transition);
}
.sermon-card-image .sermon-play-btn i {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.sermon-card:hover .sermon-play-btn i { transform: scale(1.1); }
.sermon-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sermon-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.sermon-card-body h5 { color: var(--primary); font-size: 1.05rem; margin-bottom: 0.75rem; flex: 1; }
.sermon-card-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--muted); }
.sermon-card-meta i { color: var(--gold); }

/* Event Cards */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: stretch;
}
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.event-card-date {
  min-width: 80px;
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.event-card-date .day {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}
.event-card-date .month { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; }
.event-card-body { padding: 1.25rem; flex: 1; }
.event-card-body h5 { color: var(--primary); font-size: 1rem; margin-bottom: 0.4rem; }
.event-card-body .event-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.event-card-body .event-meta i { color: var(--gold); }
.event-type {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.event-type-worship { background: rgba(11, 60, 93, 0.1); color: var(--primary); }
.event-type-social { background: rgba(201, 162, 39, 0.15); color: var(--gold-dark); }
.event-type-youth { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.event-type-special { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

/* Gallery */
.gallery-grid { columns: 3; gap: 1rem; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 60, 93, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { font-size: 2rem; color: white; }

/* News Cards */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card-image { height: 200px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.news-card-body h5 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; flex: 1; }
.news-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.news-card-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray); }
.news-card-meta i { color: var(--gold); }

/* === 9. SECTIONS === */
section { padding: var(--section-padding); }
.section-bg-light { background: var(--light); }
.section-bg-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
}
.section-bg-primary .section-title { color: white; }
.section-bg-primary .section-subtitle { color: rgba(255,255,255,0.75); }
.section-bg-primary .section-label { color: var(--gold-light); }
.section-bg-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--primary);
}
.section-bg-pattern {
  background-color: var(--light);
  background-image: 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='%230B3C5D' fill-opacity='0.04'%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");
}

/* Statistics / Counter Section */
.stat-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.stat-card:last-child::after { display: none; }
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-text { font-style: italic; color: var(--dark-text); line-height: 1.8; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--muted);
  overflow: hidden;
}
.testimonial-author-info h6 { font-size: 1rem; color: var(--primary); margin: 0; }
.testimonial-author-info span { font-size: 0.82rem; color: var(--muted); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; }

/* === 10. FORMS === */
.form-custom {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-label-custom {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}
.form-control-custom {
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 60, 93, 0.1);
  outline: none;
}
.form-control-custom.is-invalid { border-color: var(--danger); }
textarea.form-control-custom { resize: vertical; min-height: 140px; }
select.form-control-custom { appearance: none; cursor: pointer; }

/* === 11. FOOTER === */
#footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #041929 100%);
  color: rgba(255,255,255,0.75);
  padding-top: 80px;
}
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand .brand-cross { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.footer-brand h3 { color: white; font-family: var(--font-heading); font-size: 1.5rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-top: 0.75rem; }
.footer-heading {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a i { color: var(--gold); font-size: 0.75rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.1rem;
  min-width: 18px;
}
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  transform: translateY(-3px);
}
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  color: white;
  font-size: 0.88rem;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form input:focus { outline: none; border-color: var(--gold); }
.footer-newsletter-form button {
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); }

/* === 12. UTILITIES === */
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.text-primary-custom { color: var(--primary) !important; }
.border-gold { border-color: var(--gold) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.rounded-custom { border-radius: var(--radius) !important; }
.rounded-lg-custom { border-radius: var(--radius-lg) !important; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.separator { width: 80px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1rem 0; }
.separator-center { margin: 1rem auto; }
.tag {
  display: inline-block;
  background: rgba(11, 60, 93, 0.08);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.tag-gold { background: rgba(201, 162, 39, 0.15); color: var(--gold-dark); }

/* Quote Block */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.75rem;
  background: rgba(201, 162, 39, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark-text);
  margin: 1.5rem 0;
}
.quote-block cite { display: block; margin-top: 0.75rem; font-style: normal; font-weight: 600; color: var(--primary); font-size: 0.9rem; }

/* Feature List */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--dark-text);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--primary));
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.timeline-item h5 { color: var(--primary); font-size: 1.05rem; margin-bottom: 0.5rem; }
.timeline-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* Give / Donation */
.give-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.give-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.give-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.give-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.75rem; }
.give-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.give-amount-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.give-amount-btn {
  flex: 1;
  min-width: 80px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--dark-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.give-amount-btn:hover, .give-amount-btn.active {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  color: var(--primary);
}
.bank-detail-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray);
}
.bank-detail-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--gray); font-size: 0.9rem; }
.bank-detail-item:last-child { border-bottom: none; }
.bank-detail-item .label { color: var(--muted); }
.bank-detail-item .value { font-weight: 700; color: var(--dark-text); }
.copy-btn { background: none; border: none; cursor: pointer; color: var(--gold); font-size: 0.85rem; transition: var(--transition); }
.copy-btn:hover { color: var(--gold-dark); }

/* Prayer */
.prayer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  margin-bottom: 1rem;
}
.prayer-card .prayer-requester { font-weight: 700; color: var(--primary); }
.prayer-card .prayer-time { font-size: 0.8rem; color: var(--muted); }
.prayer-card .prayer-text { color: var(--dark-text); font-style: italic; margin-top: 0.5rem; }
.prayer-category {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(11, 60, 93, 0.1);
  color: var(--primary);
  margin-top: 0.5rem;
}

/* === 13. BACK TO TOP === */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--gold); color: var(--primary); }

/* === 14. COOKIE NOTICE === */
#cookieNotice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 1040;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
#cookieNotice.visible { transform: translateY(0); }
#cookieNotice p { font-size: 0.88rem; margin: 0; flex: 1; }
#cookieNotice a { color: var(--gold); }
#cookieNotice .btn-cookie {
  background: var(--gold);
  color: var(--primary);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
#cookieNotice .btn-cookie:hover { background: var(--gold-light); }

/* === 15. LIGHTBOX === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  background: none;
  border: none;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  z-index: 9001;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--primary); border-color: var(--gold); }
.lightbox-caption {
  position: absolute;
  bottom: -2.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

/* === 16. SEARCH === */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 43, 68, 0.97);
  z-index: 9100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 100%;
  max-width: 700px;
  padding: 0 1rem;
}
.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 2rem;
  font-family: var(--font-heading);
  padding: 1rem 0;
  outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  background: none;
  border: none;
}
.search-close:hover { opacity: 1; }

/* === 17. ANIMATIONS === */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }

.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }

/* AOS overrides */
[data-aos] { opacity: 0; }
[data-aos].aos-animate { opacity: 1; }

/* Floating animation */
.float-animation { animation: floatUpDown 4s ease-in-out infinite; }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Glow animation */
.glow-gold { animation: glowGold 2s ease-in-out infinite; }
@keyframes glowGold { 0%, 100% { text-shadow: 0 0 10px rgba(201, 162, 39, 0.5); } 50% { text-shadow: 0 0 25px rgba(201, 162, 39, 0.9); } }

/* Swiper customizations */
.swiper-pagination-bullet { background: var(--gray); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; }

/* Accordion custom */
.accordion-custom .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--gold-dark);
  background: rgba(201, 162, 39, 0.05);
}
.accordion-custom .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B3C5D'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-custom .accordion-item { border: 1px solid var(--gray); border-radius: var(--radius) !important; margin-bottom: 0.5rem; overflow: hidden; }

/* Tabs custom */
.nav-tabs-custom { border-bottom: 2px solid var(--gray); margin-bottom: 2rem; gap: 0.25rem; }
.nav-tabs-custom .nav-link {
  color: var(--muted);
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: -2px;
  transition: var(--transition);
}
.nav-tabs-custom .nav-link:hover { color: var(--primary); }
.nav-tabs-custom .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--gold);
  background: transparent;
}

/* Filter buttons */
.filter-btn-group { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray);
  border-radius: 50px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.filter-btn.active-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-custom { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; }
.breadcrumb-custom a { color: var(--gold); }
.breadcrumb-custom span { color: rgba(255,255,255,0.5); }
.breadcrumb-custom .current { color: rgba(255,255,255,0.75); }

/* Progress bars */
.progress-item { margin-bottom: 1.5rem; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; }
.progress-bar-custom { height: 8px; background: var(--gray); border-radius: 4px; overflow: hidden; }
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--primary) 100%);
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* Notice / Alert */
.notice {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid;
  font-size: 0.9rem;
}
.notice-info { background: rgba(11, 60, 93, 0.07); border-color: var(--primary); color: var(--primary); }
.notice-gold { background: rgba(201, 162, 39, 0.1); border-color: var(--gold); color: var(--gold-dark); }
.notice-success { background: rgba(40, 167, 69, 0.08); border-color: #28a745; color: #28a745; }

/* 404 Page */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code {
  font-size: 8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray);
  line-height: 1;
  margin-bottom: 0;
}
.error-cross {
  font-size: 3rem;
  color: var(--gold);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === 18. RESPONSIVE === */
@media (max-width: 1199px) {
  :root { --section-padding: 80px 0; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 991px) {
  :root { --section-padding: 70px 0; }
  .navbar-collapse { background: var(--white); padding: 1rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); margin-top: 0.5rem; }
  .navbar-collapse .nav-link { color: var(--dark-text) !important; }
  .navbar-collapse .dropdown-menu { box-shadow: none; background: var(--light); }
  #mainNav { background: rgba(7, 43, 68, 0.97) !important; }
  .stat-card::after { display: none; }
  .hero-description { font-size: 1rem; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 767px) {
  :root { --section-padding: 60px 0; --nav-height: 70px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .section-title { font-size: 1.8rem; }
  .gallery-grid { columns: 1; }
  .event-card { flex-direction: column; }
  .event-card-date { flex-direction: row; padding: 0.75rem 1rem; gap: 0.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #cookieNotice { flex-direction: column; text-align: center; }
  .hero-bg { background-attachment: scroll; }
  .form-custom { padding: 1.5rem; }
  .leader-card-image { height: 200px; }
}

@media (max-width: 575px) {
  :root { --section-padding: 50px 0; }
  .btn { padding: 0.65rem 1.5rem; font-size: 0.85rem; }
  .hero-label { font-size: 0.72rem; letter-spacing: 2px; }
  .stat-number { font-size: 2.5rem; }
}

/* Print Styles */
@media print {
  #mainNav, #backToTop, #cookieNotice, .hero-scroll-hint, .btn { display: none !important; }
  body { font-size: 12pt; }
  h1, h2, h3 { page-break-after: avoid; }
}

/* Dark mode specific overrides */
[data-theme="dark"] .dropdown-menu { background: #162032; border: 1px solid rgba(255,255,255,0.1); }
[data-theme="dark"] .dropdown-item { color: var(--dark-text); }
[data-theme="dark"] .dropdown-item:hover { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .card-custom { background: var(--light); }
[data-theme="dark"] .service-time-card { background: var(--light); }
[data-theme="dark"] .leader-card { background: var(--light); }
[data-theme="dark"] .form-custom { background: var(--light); }
[data-theme="dark"] .form-control-custom { background: var(--white); border-color: rgba(255,255,255,0.1); color: var(--dark-text); }
[data-theme="dark"] .testimonial-card { background: var(--light); }
[data-theme="dark"] .news-card { background: var(--light); }
[data-theme="dark"] .sermon-card { background: var(--light); }
[data-theme="dark"] .event-card { background: var(--light); }
[data-theme="dark"] .give-card { background: var(--light); }
[data-theme="dark"] .accordion-custom .accordion-button { background: var(--light); }
[data-theme="dark"] .accordion-custom .accordion-item { border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .filter-btn { background: var(--light); border-color: rgba(255,255,255,0.15); color: var(--dark-text); }
[data-theme="dark"] .tag { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .bank-detail-card { background: var(--gray); border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .prayer-card { background: var(--light); }
[data-theme="dark"] .give-amount-btn { background: var(--gray); border-color: rgba(255,255,255,0.15); color: var(--dark-text); }

/* === 18. BREADCRUMB CUSTOM === */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.breadcrumb-custom a { color: var(--gold-light); transition: var(--transition); }
.breadcrumb-custom a:hover { color: var(--gold); }
.breadcrumb-custom span { color: rgba(255,255,255,0.45); }
.breadcrumb-custom .current { color: rgba(255,255,255,0.75); }

/* === 19. NOTICE BOXES === */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0.5rem 0;
  border-left: 4px solid;
}
.notice-info { background: rgba(11,60,93,0.08); border-color: var(--primary); color: var(--primary-light); }
.notice-success { background: rgba(40,167,69,0.08); border-color: #28a745; color: #1a7a34; }
.notice-gold { background: rgba(201,162,39,0.1); border-color: var(--gold); color: var(--gold-dark); }
.notice-danger { background: rgba(220,53,69,0.08); border-color: #dc3545; color: #b02030; }
[data-theme="dark"] .notice-info { color: #7ab3d6; }
[data-theme="dark"] .notice-success { color: #5cb85c; }
[data-theme="dark"] .notice-gold { color: var(--gold-light); }

/* === 20. FILTER BUTTONS === */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  padding: 0.45rem 1.2rem;
  border: 2px solid var(--gray);
  border-radius: 50px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(11,60,93,0.25);
}

/* === 21. PROGRESS BARS (Give page) === */
.progress-item { margin-bottom: 2rem; }
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-text);
}
.progress-bar-custom {
  width: 100%;
  height: 12px;
  background: var(--gray);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 6px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === 22. ACCORDION CUSTOM === */
.accordion-custom .accordion-item {
  border: 1px solid var(--gray);
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-custom .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--white);
  box-shadow: none;
  padding: 1.25rem 1.5rem;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(11,60,93,0.04);
  box-shadow: none;
}
.accordion-custom .accordion-button::after {
  filter: hue-rotate(180deg);
}
.accordion-custom .accordion-body {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--gray);
}

/* === 23. NAVBAR HEIGHT ALIAS (for legal pages) === */
:root { --navbar-height: var(--nav-height); }

/* === 24. GALLERY FILTER === */
.gallery-filter-item { transition: opacity 0.35s ease, transform 0.35s ease; }
.gallery-filter-item.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; height: 0; overflow: hidden; margin: 0; padding: 0; }

/* === 25. FW-600 UTILITY === */
.fw-600 { font-weight: 600 !important; }

/* === 26. TOAST NOTIFICATIONS === */
.toast-container-custom {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast-custom {
  background: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  animation: fadeInRight 0.4s ease, fadeOut 0.4s ease 3.6s forwards;
}
.toast-custom.toast-success { background: #28a745; }
.toast-custom.toast-error { background: #dc3545; }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }
