/* ==========================================================================
   IPC GILGAL CHURCH BOMMASANDRA - MODERN DESIGN SYSTEM
   Modern, elegant, warm church styling with responsive cards, glassmorphism,
   and refined typography.
   ========================================================================== */

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

:root {
  --primary-900: #090e17;
  --primary-800: #0f172a;
  --primary-700: #1e293b;
  --primary-600: #334155;
  
  --accent-gold: #c59b27;
  --accent-gold-light: #eab308;
  --accent-gold-dark: #a17812;
  --accent-gold-bg: rgba(197, 155, 39, 0.12);
  --accent-gold-glow: rgba(234, 179, 8, 0.35);

  --accent-blue: #2563eb;
  --accent-blue-light: #eff6ff;

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

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 6px 14px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.14), 0 10px 20px -6px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
}

/* Global resets & typography */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  transition: all 0.25s ease;
}

a:hover, a:focus {
  text-decoration: none;
}

/* ==========================================================================
   TOP INFO BAR
   ========================================================================== */
.modern-topbar {
  background: var(--primary-900);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.topbar-item i {
  color: var(--accent-gold);
}

.topbar-item a {
  color: #e2e8f0;
}

.topbar-item a:hover {
  color: var(--accent-gold-light);
}

.topbar-badge {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(217, 119, 6, 0.2));
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fef08a;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   MODERN NAVBAR
   ========================================================================== */
.navbar.modern-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
  padding: 10px 0;
  height: auto !important;
  min-height: 70px !important;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.navbar.modern-nav.navbar-fixed-top {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand.modern-brand {
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: auto;
}

.modern-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-900);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modern-nav .nav > li > a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--primary-700);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.modern-nav .nav > li > a:hover,
.modern-nav .nav > li > a:focus {
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-gold-dark);
}

.modern-nav .nav > li.active > a,
.modern-nav .nav > li.active > a:hover {
  background: transparent;
  color: var(--accent-gold-dark);
  font-weight: 700;
}

.modern-nav .nav > li.active > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  margin-top: 5px;
  margin-left: 10px;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  font-weight: 700 !important;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
  color: #ffffff !important;
}

/* Mobile Toggle button */
.navbar-toggle {
  border-color: var(--border-light);
  margin-top: 10px;
}

.navbar-toggle .icon-bar {
  background-color: var(--primary-700);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.header {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--primary-900);
  padding: 80px 0 100px;
  overflow: hidden !important;
}

.backstretch {
  overflow: hidden !important;
  max-width: 100% !important;
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 50% 35%, rgba(217, 119, 6, 0.16) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(9, 14, 23, 0.94) 100%),
    linear-gradient(180deg, rgba(9, 14, 23, 0.70) 0%, rgba(15, 23, 42, 0.55) 40%, rgba(9, 14, 23, 0.90) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 30px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef08a;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(245, 158, 11, 0.12);
  transition: all 0.3s ease;
}

.hero-pill-badge:hover {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.25), inset 0 0 16px rgba(245, 158, 11, 0.22);
}

.pill-sparkle {
  color: #fbbf24;
  font-size: 13px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 auto 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  max-width: 920px;
}

.hero-title-line {
  display: block;
}

.hero-title-line.highlight-gold {
  color: #fbbf24;
  background: linear-gradient(135deg, #fff9db 0%, #fcd34d 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(217, 119, 6, 0.4));
}

.hero-rotating-text {
  display: inline-block;
  font-size: 23px;
  color: #f1f5f9;
  font-family: var(--font-main);
  font-weight: 400;
  margin: 0 auto 12px;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.4px;
}

.hero-rotating-text .quote-mark {
  color: #f59e0b;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  opacity: 0.85;
}

.hero-subtext {
  font-size: 14.5px;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 auto 26px;
  max-width: 660px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.flipper {
  position: static !important;
  height: auto !important;
  top: auto !important;
  width: 100% !important;
  margin: 6px auto 16px !important;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary .btn-arrow {
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(217, 119, 6, 0.6);
  color: #ffffff !important;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background: rgba(15, 23, 42, 0.55);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px) scale(1.02);
  color: #ffffff !important;
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary i.fa-heart {
  color: #fb7185;
}

/* Hero Quick Timings Bar */
.hero-timings-ribbon {
  position: relative;
  z-index: 10;
  margin-top: -55px;
  margin-bottom: 45px;
}

.timings-ribbon-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 22px 32px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.16), 0 8px 20px -6px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
  border-top: 3.5px solid var(--accent-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: all 0.3s ease;
}

.timings-ribbon-card:hover {
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.22);
  transform: translateY(-2px);
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 250px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.ribbon-item:hover {
  background: rgba(248, 250, 252, 0.85);
}

.ribbon-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
  transition: all 0.25s ease;
}

.ribbon-item:hover .ribbon-icon {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
}

.ribbon-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.ribbon-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-gold-dark);
  border: 1px solid rgba(217, 119, 6, 0.25);
  margin-bottom: 2px;
  white-space: nowrap;
}

.ribbon-details h5 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-main);
  white-space: nowrap;
}

.ribbon-details p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ribbon-details p i {
  color: var(--accent-gold);
  font-size: 12px;
}

.ribbon-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent 0%, #e2e8f0 30%, #e2e8f0 70%, transparent 100%);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.modern-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
}

.section-pretitle {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  background: var(--accent-gold-bg);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-gold);
  margin: 12px auto 0;
  border-radius: 3px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
section.about {
  padding: 85px 0;
  background: #ffffff;
}

.about-card-modern {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.about-feature-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.about-feature-item:last-child {
  margin-bottom: 0;
}

.about-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.15);
}

.about-feature-text h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
}

.about-feature-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

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

.about-img-wrap:hover img {
  transform: scale(1.03);
}

.about-badge-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
}

.about-badge-text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SCRIPTURE QUOTE BANNER
   ========================================================================== */
section.ddpSection,
.modern-scripture-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%) !important;
  padding: 55px 20px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: auto !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ddpSection .container,
.modern-scripture-banner .container {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  text-align: center !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.ddpSection p,
.ddpSection p.scripture-quote,
.modern-scripture-banner p,
.modern-scripture-banner .scripture-quote {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-style: italic !important;
  color: #ffffff !important;
  max-width: 850px !important;
  margin: 0 auto 12px !important;
  line-height: 1.6 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

.scripture-ref,
.modern-scripture-banner .scripture-ref {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--accent-gold-light) !important;
  position: static !important;
  margin: 8px auto 0 !important;
  z-index: 2 !important;
  text-align: center !important;
}

/* ==========================================================================
   SERVICES & SCHEDULE SECTION
   ========================================================================== */
section#services {
  padding: 90px 0;
  background: var(--bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(217, 119, 6, 0.3);
}

.service-card.highlight-card {
  border-top: 4px solid var(--accent-gold);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.service-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
}

.service-card.highlight-card .service-badge {
  background: #fef3c7;
  color: #92400e;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 10px;
}

.service-timing-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}

.service-timing-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.4;
}

.timing-lang-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.timing-lang-tag.kannada {
  background: #fef08a;
  color: #854d0e;
}

.timing-lang-tag.english {
  background: #e0f2fe;
  color: #0369a1;
}

.timing-lang-tag.malayalam {
  background: #f3e8ff;
  color: #6b21a8;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

/* ==========================================================================
   PASTORAL TEAM SECTION
   ========================================================================== */
section.team {
  padding: 90px 0;
  background: #ffffff;
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.modern-team-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  width: 530px;
  max-width: 100%;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.modern-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(217, 119, 6, 0.35);
}

.team-photo-frame {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.team-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.modern-team-card:hover .team-photo-frame img {
  transform: scale(1.02);
}

.team-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fef08a;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-info {
  padding: 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 6px;
}

.team-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold-dark);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.team-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.team-action-btn:hover {
  background: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   EVENTS SECTION
   ========================================================================== */
section#portfolio {
  padding: 90px 0;
  background: var(--bg-page);
}

.events-announcement-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf9 100%);
  border-radius: var(--radius-xl);
  padding: 50px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  border-top: 3.5px solid var(--accent-gold);
  max-width: 780px;
  margin: 35px auto 0;
  text-align: center;
}

.events-announcement-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.18);
}

.events-announcement-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  background: var(--accent-gold-bg);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.events-announcement-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 16px;
  line-height: 1.3;
}

.events-announcement-text {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 20px;
}

.events-announcement-subtext {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 28px;
  padding: 12px 18px;
  background: rgba(241, 245, 249, 0.7);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
  text-align: left;
}

.events-announcement-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-events-action {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-events-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.5);
  color: #ffffff !important;
}

.btn-events-secondary {
  background: #ffffff;
  color: var(--primary-800) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
}

.btn-events-secondary:hover {
  background: var(--bg-alt);
  color: var(--primary-900) !important;
  border-color: rgba(217, 119, 6, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   GIVING & TITHES (WORSHIP THROUGH GIVING)
   ========================================================================== */
.donation-section {
  padding: 95px 0;
  background: #ffffff;
}

.giving-card-wrapper {
  background: linear-gradient(180deg, #fdfcf9 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  margin: 35px auto 0;
  max-width: 960px;
  text-align: center;
  float: none !important;
}

.giving-header-content {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center !important;
  float: none !important;
}

.giving-verse {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-style: italic;
  color: #1e293b;
  line-height: 1.65;
  margin: 0 auto 12px;
  text-align: center !important;
  display: block;
}

.giving-verse-ref {
  display: block;
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  text-align: center !important;
  margin: 0 auto 18px;
}

.giving-message {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  text-align: center !important;
  margin: 0 auto;
  max-width: 700px;
}

.giving-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.giving-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 380px;
  max-width: 100%;
  transition: all 0.3s ease;
}

.giving-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 119, 6, 0.3);
}

.giving-box img {
  max-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.giving-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 8px;
}

.giving-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
section.testimonials {
  padding: 85px 0 70px !important;
  background: var(--primary-900) !important;
  background-image: none !important;
  color: #ffffff !important;
  position: relative !important;
  height: auto !important;
  min-height: auto !important;
}

.testimonialsOverlay {
  background: transparent !important;
  position: static !important;
  height: auto !important;
  width: auto !important;
  padding: 0 0 35px !important;
  text-align: center !important;
}

.testimonialsOverlay h3 {
  font-family: var(--font-heading) !important;
  color: #ffffff !important;
  font-size: 32px !important;
  letter-spacing: 1px !important;
  padding-top: 0 !important;
  margin: 0 0 20px !important;
  position: static !important;
  line-height: 1.25 !important;
}

#carousel-example-generic {
  height: auto !important;
  min-height: 220px !important;
  width: 100% !important;
  position: relative !important;
}

#carousel-example-generic .carousel-inner {
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
}

#carousel-example-generic .carousel-inner .item {
  height: auto !important;
  min-height: 180px !important;
  padding: 0 20px 30px !important;
  text-align: center !important;
}

#carousel-example-generic .carousel-indicators {
  position: relative !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 20px auto 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

#carousel-example-generic .carousel-indicators li {
  float: none !important;
  display: inline-block !important;
  margin: 0 4px !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
}

#carousel-example-generic .carousel-indicators li.active {
  background-color: var(--accent-gold-light) !important;
  border-color: var(--accent-gold-light) !important;
  width: 24px !important;
  border-radius: 6px !important;
}

.testimonial-modern-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 20px 20px;
  position: relative;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 5px;
}

.testimonial-quote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #f1f5f9;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-gold-light);
  text-transform: uppercase;
}

.testimonial-author span {
  color: #94a3b8;
  font-weight: 400;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
section.contact {
  padding: 90px 0;
  background: var(--bg-page);
}

.contact-card-modern {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gold-bg);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text h5 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-900);
}

.contact-info-text p,
.contact-info-text a {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

.contact-info-text a:hover {
  color: var(--accent-gold-dark);
}

.form-control,
.modern-form .form-control {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: none;
  transition: all 0.2s ease;
}

.modern-form textarea.form-control {
  height: auto;
  border-radius: var(--radius-sm);
  resize: vertical;
}

.modern-form .form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-bg);
}

.btn-modern-send {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modern-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
footer.modern-footer {
  background: var(--primary-900);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(3px);
}

.footer-social-list {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.footer-social-list a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.footer-social-list a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   BLOG & DEVOTIONAL SECTION
   ========================================================================== */
.blog-header-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.15) 0%, transparent 70%),
              linear-gradient(180deg, #09121f 0%, #0f1e36 100%);
  padding: 135px 0 65px;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid rgba(217, 119, 6, 0.25);
}

.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.blog-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: var(--accent-gold);
}

.blog-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.blog-header-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.blog-header-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.blog-header-title span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-header-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-main-section {
  padding: 75px 0 95px;
  background: var(--bg-page);
}

.blog-article-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-gold);
  padding: 42px 38px;
  margin-bottom: 45px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-article-card:hover {
  box-shadow: var(--shadow-xl);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.blog-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  background: var(--accent-gold-bg);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.blog-scripture-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-800);
}

.blog-article-title {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 20px;
  line-height: 1.35;
}

.blog-quote-box {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.45) 0%, rgba(253, 230, 138, 0.15) 100%);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 22px 0 26px;
}

.blog-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  color: var(--primary-900);
  line-height: 1.75;
  margin: 0 0 8px;
}

.blog-quote-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-article-body {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.85;
}

.blog-article-body p {
  margin-bottom: 18px;
}

.blog-reflection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0 28px;
}

.reflection-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.reflection-card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.reflection-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}

.reflection-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-900);
  margin: 0;
}

.blog-milestone-list {
  margin: 26px 0;
}

.milestone-item {
  background: #fdfcf9;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  transition: all 0.2s ease;
}

.milestone-item:hover {
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.milestone-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.milestone-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 6px;
}

.milestone-content p {
  font-size: 14.5px;
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

.blog-takeaway-banner {
  background: linear-gradient(135deg, #09121f 0%, #0f1e36 100%);
  color: #ffffff;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  margin-top: 28px;
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.blog-takeaway-banner h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-takeaway-banner p {
  font-size: 14.5px;
  color: #e2e8f0;
  line-height: 1.75;
  margin: 0;
}

/* Sidebar Widgets */
.blog-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 26px;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-gold-bg);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.sidebar-widget-title i {
  color: var(--accent-gold);
}

.sidebar-timing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13.5px;
}

.sidebar-timing-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-timing-item strong {
  color: var(--primary-900);
}

.sidebar-timing-item span {
  color: var(--accent-gold-dark);
  font-weight: 700;
}

.sidebar-verse-box {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  background: #f8fafc;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
  margin: 0 0 10px;
}

.sidebar-verse-ref {
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
}

.sidebar-contact-card {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.3) 0%, rgba(253, 230, 138, 0.1) 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.sidebar-contact-card i {
  font-size: 28px;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: inline-block;
}

.sidebar-contact-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 6px;
}

.sidebar-contact-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.5;
}

.btn-sidebar-contact {
  background: var(--primary-800);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-sidebar-contact:hover {
  background: var(--accent-gold);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-main-section {
  padding: 60px 0 95px;
  background: var(--bg-page);
  min-height: 550px;
}

/* Category Filter Tabs */
.gallery-filter-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: #ffffff;
  color: var(--primary-900);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
  background: var(--accent-gold-bg);
  border-color: rgba(217, 119, 6, 0.4);
  color: var(--accent-gold-dark);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.gallery-filter-btn .cat-count {
  background: rgba(0, 0, 0, 0.07);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.gallery-filter-btn.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Photo Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 18, 31, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

@media (hover: none) {
  .gallery-card-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 70%, rgba(9, 18, 31, 0.65) 100%);
    padding: 12px;
  }
}

.gallery-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-card-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.gallery-card:hover .gallery-card-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Loading & Empty States */
.gallery-status-state {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 40px auto 0;
}

.gallery-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(217, 119, 6, 0.2);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.gallery-status-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 8px;
}

.gallery-status-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Modern Lightbox Modal */
.gallery-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(9, 18, 31, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.gallery-lightbox-modal.active {
  display: flex;
}

.gallery-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.gallery-lightbox-caption {
  margin-top: 14px;
  color: #e2e8f0;
  font-size: 14.5px;
  text-align: center;
  max-width: 600px;
}

.gallery-lightbox-caption .caption-cat {
  color: var(--accent-gold-light);
  font-weight: 700;
  margin-right: 8px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
  }
  .hero-rotating-text {
    font-size: 20px;
  }
  .timings-ribbon-card {
    flex-direction: column;
    align-items: stretch;
  }
  .ribbon-divider {
    width: 100%;
    height: 1px;
  }
  .about-img-wrap {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .modern-topbar {
    display: none;
  }
  .navbar-header:before,
  .navbar-header:after {
    display: none !important;
    content: none !important;
  }
  .navbar-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    float: none !important;
    padding: 0 10px !important;
    margin: 0 !important;
  }
  .navbar-toggle {
    margin: 0 !important;
    float: none !important;
    display: block !important;
    border: 1px solid rgba(217, 119, 6, 0.4) !important;
    background: rgba(245, 158, 11, 0.08) !important;
    padding: 8px 10px !important;
    border-radius: var(--radius-sm) !important;
    order: 2 !important;
  }
  .navbar-toggle .icon-bar {
    background-color: var(--primary-900) !important;
  }
  .modern-brand {
    padding: 4px 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    order: 1 !important;
    float: none !important;
  }
  .modern-brand img {
    height: 38px !important;
  }
  .brand-title {
    font-size: 14.5px !important;
  }
  .brand-subtitle {
    font-size: 9.5px !important;
    letter-spacing: 1px !important;
  }
  .navbar-nav {
    margin: 10px 0 15px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-md);
  }
  .navbar-nav > li > a {
    text-align: left;
    padding: 10px 16px;
  }
  .nav-cta-btn {
    margin: 8px 0 0 !important;
    text-align: center;
    display: block;
  }

  .header {
    min-height: auto;
    padding: 45px 0 65px;
  }
  .hero-content {
    padding: 20px 15px;
  }
  .hero-pill-badge {
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    margin-bottom: 16px;
    white-space: normal;
    text-align: center;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 24px;
    letter-spacing: 0.8px;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero-rotating-text {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 8px;
  }
  .hero-subtext {
    font-size: 12.5px;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-timings-ribbon {
    margin-top: -30px;
    margin-bottom: 30px;
  }
  .timings-ribbon-card {
    padding: 18px 16px;
    gap: 14px;
  }
  .ribbon-item {
    min-width: 0;
    padding: 4px 0;
    gap: 12px;
  }
  .ribbon-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .ribbon-details h5 {
    font-size: 13.5px;
    white-space: normal;
  }
  .ribbon-details p {
    font-size: 12px;
    white-space: normal;
  }

  .section-title {
    font-size: 26px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-container {
    flex-direction: column;
    align-items: center;
  }
  .modern-team-card {
    width: 100%;
    max-width: 520px;
  }
  .team-photo-frame {
    height: auto;
  }
  .events-announcement-card {
    padding: 32px 20px;
    margin-top: 24px;
  }
  .events-announcement-title {
    font-size: 21px;
  }
  .events-announcement-text {
    font-size: 14.5px;
  }
  .events-announcement-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-events-action,
  .btn-events-secondary {
    width: 100%;
    justify-content: center;
  }
  .giving-card-wrapper {
    padding: 24px 16px;
  }
  .giving-verse {
    font-size: 17px;
  }
  .giving-box {
    width: 100%;
  }
  .contact-card-modern {
    padding: 24px 16px;
  }

  .blog-header-section {
    padding: 105px 0 50px;
  }
  .blog-header-title {
    font-size: 24px;
    word-break: break-word;
  }
  .blog-header-subtitle {
    font-size: 14px;
  }
  .blog-article-card {
    padding: 24px 16px;
    margin-bottom: 28px;
  }
  .blog-article-title {
    font-size: 20px;
  }
  .blog-reflection-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-quote-box {
    padding: 16px 18px;
  }
  .blog-quote-text {
    font-size: 15px;
  }
  .milestone-item {
    padding: 16px;
    gap: 12px;
  }
  .blog-sidebar {
    position: static;
    margin-top: 35px;
  }

  /* Gallery Mobile Adjustments */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .gallery-filter-wrap {
    gap: 8px;
    margin-bottom: 28px;
  }
  .gallery-filter-btn {
    padding: 7px 16px;
    font-size: 12.5px;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close-btn {
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
