/* ==========================================================================
   LIVING FAITH IM NORTHAMPTON - REFINED STYLESHEET
   Clean, Modern, Uncluttered, 100% Responsive
   ========================================================================== */

:root {
  --primary-navy: #0d2346;
  --primary-navy-light: #163668;
  --primary-blue: #1e5ba3;
  --accent-gold: #c69214;
  --accent-gold-light: #dfaa2c;
  --accent-gold-soft: #fbf5e6;
  --gradient-cta: linear-gradient(135deg, #ff6b8b 0%, #a060f6 50%, #4f7df9 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  --gradient-navy: linear-gradient(135deg, #0d2346 0%, #1a3f7a 100%);
  --gradient-subtle: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0a192f;
  
  --border-light: #e2e8f0;
  --border-gold: rgba(198, 146, 20, 0.35);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(13, 35, 70, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--border-gold);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-navy);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(13, 35, 70, 0.25);
}

.btn-primary:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 35, 70, 0.35);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(198, 146, 20, 0.3);
}

.btn-gold:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 146, 20, 0.45);
}

.btn-gradient {
  background: var(--gradient-cta);
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(160, 96, 246, 0.35);
}

.btn-gradient:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(160, 96, 246, 0.45);
}

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

.btn-outline:hover {
  background: var(--primary-navy);
  color: var(--text-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary-navy);
}

/* ==========================================================================
   TOP BAR & CLEAN NAVBAR
   ========================================================================== */
.top-bar {
  background: var(--primary-navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info svg {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transition: var(--transition);
}

.top-socials a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

/* Clean Uncluttered Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Pure Client Logo (No redundant text squeeze) */
.nav-brand {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
}

.brand-logo-img {
  height: 62px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Streamlined, elegant menu links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-give {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--primary-navy);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07152b 0%, #0d284f 55%, #163668 100%);
  color: white;
  padding: 85px 0 100px 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(79, 125, 249, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fceea7;
  margin-bottom: 22px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .highlight-gold {
  color: #f7cb67;
  display: inline-block;
}

.hero-tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-quick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 580px;
}

.hero-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}

.quick-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fceea7;
  flex-shrink: 0;
}

.quick-card-text strong {
  display: block;
  font-size: 0.95rem;
  color: white;
}

.quick-card-text span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(198, 146, 20, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(13, 35, 70, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  color: white;
}

.hero-floating-badge h4 {
  font-size: 1.15rem;
  color: #f7cb67;
  margin-bottom: 4px;
}

.hero-floating-badge p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ==========================================================================
   STATEMENT OF FAITH & MANDATE
   ========================================================================== */
.mandate-section {
  padding: 90px 0;
  background: white;
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mandate-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mandate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.mandate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
  background: white;
}

.mandate-card:hover::before {
  opacity: 1;
}

.mandate-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: var(--transition);
}

.mandate-card:hover .mandate-icon-box {
  background: var(--accent-gold);
  color: white;
  transform: scale(1.1);
}

.mandate-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.mandate-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   SERVICE TIMES & LOCATION
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.services-container-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.services-content-col {
  padding: 50px 45px;
}

.service-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.service-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-body);
  border-left: 5px solid var(--accent-gold);
  transition: var(--transition);
}

.service-schedule-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.service-time-badge {
  background: var(--primary-navy);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  min-width: 82px;
}

.service-time-badge span {
  display: block;
  font-size: 1.15rem;
  color: #fceea7;
}

.service-info h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location-box {
  background: #f8fafc;
  border: 1px dashed var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 25px;
}

.location-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.location-title svg {
  color: #e11d48;
}

.location-address {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.accessibility-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fef3c7;
  border-radius: var(--radius-sm);
  color: #92400e;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
}

.services-map-col {
  position: relative;
  min-height: 400px;
  background: #e2e8f0;
}

.services-map-col iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-card-floating {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 300px;
}

.map-card-floating h5 {
  color: var(--primary-navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.map-card-floating p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LEADERSHIP SECTION (UNCROPPED, NATURAL PORTRAITS)
   ========================================================================== */
.leadership-section {
  padding: 95px 0;
  background: white;
}

.senior-pastors-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  background: linear-gradient(135deg, #0d2346 0%, #163668 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 45px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.pastors-image-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-md);
  border: 3px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pastors-details h3 {
  font-size: 2.2rem;
  color: white;
  font-weight: 800;
  margin-bottom: 8px;
}

.pastors-role-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pastors-details p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pastor-quote {
  padding: 16px 20px;
  border-left: 4px solid var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 0.98rem;
  color: #fceea7;
  margin-bottom: 26px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.leader-card {
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

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

/* Generous frame so head/face is never cut off */
.leader-img-box {
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #e2e8f0;
}

.leader-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Always keeps faces visible */
  transition: transform 0.5s ease;
}

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

.leader-content {
  padding: 20px 16px;
}

.leader-content h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
  font-weight: 700;
}

.leader-content span {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
}

/* ==========================================================================
   MINISTRIES SECTION (FIXED IMAGE CROPPING)
   ========================================================================== */
.ministries-section {
  padding: 90px 0;
  background: #f8fafc;
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.ministry-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ministry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

/* Taller thumbnail with object-position top/center for full head & body context */
.ministry-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0d2346;
}

.ministry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Prevents heads from being chopped! */
  transition: transform 0.5s ease;
}

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

.ministry-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 35, 70, 0.88);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.ministry-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ministry-body h3 {
  font-size: 1.22rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.ministry-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.ministry-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

.ministry-link:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* ==========================================================================
   ONLINE GIVING WIDGET & BANK PAYMENT
   ========================================================================== */
.giving-section {
  padding: 95px 0;
  background: linear-gradient(135deg, #091a36 0%, #0d284f 60%, #173b75 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.giving-info-col h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.giving-info-col p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}

.giving-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.giving-benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  color: #fceea7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Bank Details Card */
.bank-details-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.bank-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.bank-header h4 {
  font-size: 1.25rem;
  color: #fceea7;
}

.bank-info-table {
  width: 100%;
  margin-bottom: 16px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.bank-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.16);
  border: none;
  color: #fceea7;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent-gold);
  color: white;
}

.bank-reference-notice {
  background: rgba(212, 175, 55, 0.15);
  border-left: 3px solid var(--accent-gold);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #fdf3c6;
  line-height: 1.45;
}

/* Giving Widget Card - Faithfully mirrors Hostinger reference screenshot */
.giving-widget-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 28px;
  padding: 38px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.giving-widget-header {
  text-align: center;
  margin-bottom: 24px;
}

.giving-widget-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 12px auto;
  object-fit: contain;
}

.giving-widget-header h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.giving-widget-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Frequency Segmented Control */
.frequency-toggle-wrapper {
  background: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 5px;
  display: flex;
  margin-bottom: 22px;
}

.freq-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.freq-btn.active {
  background: white;
  color: var(--primary-navy);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Amount Pills Grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.amount-pill {
  padding: 16px 8px;
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  background: white;
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.amount-pill:hover {
  border-color: #a060f6;
  transform: translateY(-2px);
}

.amount-pill.active {
  background: var(--gradient-cta);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(160, 96, 246, 0.35);
}

.custom-amount-box {
  margin-bottom: 22px;
  display: none;
}

.custom-amount-box.active {
  display: block;
}

.custom-amount-box label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.custom-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-currency-symbol {
  position: absolute;
  left: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

.custom-input-field {
  width: 100%;
  padding: 12px 14px 12px 34px;
  border-radius: var(--radius-md);
  border: 2px solid #cbd5e1;
  font-size: 1.15rem;
  font-weight: 700;
  outline: none;
  transition: var(--transition);
}

.custom-input-field:focus {
  border-color: #a060f6;
  box-shadow: 0 0 0 3px rgba(160, 96, 246, 0.2);
}

/* Giving Big Submit Button */
.btn-give-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  background: var(--gradient-cta);
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(160, 96, 246, 0.4);
  transition: var(--transition);
  margin-bottom: 22px;
}

.btn-give-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(160, 96, 246, 0.5);
}

.giving-note-box {
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.giving-note-box strong {
  color: var(--primary-navy);
}

.payment-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.payment-badge-pill {
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary-navy);
}

/* ==========================================================================
   SERMONS & MEDIA
   ========================================================================= */
.sermons-section {
  padding: 90px 0;
  background: white;
}

.sermons-featured-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-light);
  margin-bottom: 45px;
  align-items: center;
}

.sermon-video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  background: #000;
}

.sermon-video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sermon-info-text h3 {
  font-size: 1.8rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 12px;
}

.sermon-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.sermon-info-text p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.sermon-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.platform-icon.yt {
  background: #ff0000;
}

.platform-icon.tt {
  background: #000000;
}

.platform-icon.pod {
  background: #8b5cf6;
}

.platform-details strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-navy);
}

.platform-details span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  background: #f8fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 35, 70, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

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

/* ==========================================================================
   FORMS: PLAN A VISIT & PRAYER REQUEST
   ========================================================================== */
.forms-section {
  padding: 90px 0;
  background: white;
}

.forms-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-card-container {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-card-header {
  margin-bottom: 26px;
}

.form-card-header h3 {
  font-size: 1.8rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 91, 163, 0.15);
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
}

/* ==========================================================================
   UPCOMING EVENTS
   ========================================================================== */
.events-section {
  padding: 90px 0;
  background: #f8fafc;
}

.events-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.event-item-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.event-date-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

.event-item-card h3 {
  font-size: 1.28rem;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 10px;
}

.event-item-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.event-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.event-meta-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FOOTER (CRYSTAL CLEAR LOGO CARD)
   ========================================================================== */
.footer {
  background: #08162b;
  color: white;
  padding: 75px 0 30px 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Clean White Badge so Logo is 100% Crisp on Dark Footer */
.footer-logo-badge {
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
}

.footer-logo-badge img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #fceea7;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-contact-list svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.newsletter-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
  font-size: 0.9rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-submit {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--accent-gold);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-submit:hover {
  background: var(--accent-gold-light);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   MODAL DIALOGS (BANK PAYMENT & EVENT REGISTRATION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.92);
  transition: var(--transition);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

/* Bank Payment Modal Special Styles */
.bank-modal-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 14px 0 20px 0;
  box-shadow: 0 6px 20px rgba(160, 96, 246, 0.35);
}

.bank-modal-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 22px;
}

.bank-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.bank-modal-row:last-child {
  border-bottom: none;
}

.bank-modal-row .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bank-modal-row .value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-sm {
  background: var(--primary-navy);
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
}

.btn-copy-sm:hover {
  background: var(--primary-blue);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: white;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-navy);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
  border: 1px solid var(--accent-gold);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Quick Dial Floating Button */
.floating-dial-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(160, 96, 246, 0.5);
  cursor: pointer;
  z-index: 900;
  transition: var(--transition);
}

.floating-dial-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE, TABLET, DESKTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-frame img {
    height: 420px;
  }
  .mandate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-layout {
    grid-template-columns: 1fr;
  }
  .services-map-col {
    min-height: 350px;
  }
  .senior-pastors-card {
    grid-template-columns: 1fr;
    padding: 35px;
  }
  .leadership-grid, .ministries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .giving-grid {
    grid-template-columns: 1fr;
  }
  .sermons-featured-box {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .forms-split-grid {
    grid-template-columns: 1fr;
  }
  .events-list-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 26px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-quick-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .leadership-grid, .ministries-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .giving-widget-card {
    padding: 26px 18px;
  }
}
