/* Churche Theme - Life Grace Ministries UI Layer */
@import url("https://fonts.googleapis.com/css2?family=New+Amsterdam&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --heading-font: "New Amsterdam", sans-serif;
  --body-font: "Open Sans", sans-serif;
  --main-h: 14;
  --main-s: 84%;
  --main-l: 56%;
  --main-600: hsl(14, 84%, 56%);
  --main-700: hsl(14, 84%, 46%);
  --heading-color: #0d1a26;
  --body-color: #666666;
  --footer-bg: #0e1a26;
  --heading-one: clamp(2.5rem, 1rem + 6vw, 5.5rem);
  --heading-two: clamp(2rem, 0.7rem + 4vw, 3.5rem);
  --heading-three: clamp(1.75rem, 0.5rem + 3vw, 2.75rem);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

section[id] {
  scroll-margin-top: 4.5rem;
}

body {
  font-family: var(--body-font);
  color: var(--body-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.site-logo, .heading-xl, .heading-gallery, .heading-services,
.heading-youth, .heading-gofundme, .heading-lordscity, .heading-counselling,
.hero-title, .footer-brand {
  font-family: var(--heading-font);
  color: var(--heading-color);
  letter-spacing: 0.02em;
}

/* ===== Animations ===== */
@keyframes borderanimate2 {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

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

@keyframes imgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

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

/* ===== Section Subtitle (Churche pill badge) ===== */
.section-subtitle,
.label-orange, .label-orange-wide, .label-red, .label-red-narrow,
.label-yellow, .label-cyan, .label-sky {
  position: relative;
  display: inline-block;
  border: 1px solid rgba(4, 27, 52, 0.1);
  border-radius: 30px;
  padding: 5px 25px 5px 36px;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--main-600) !important;
  background: transparent;
}

.section-subtitle .pulse-dot,
.section-subtitle .pulse-dot::before {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.section-subtitle .pulse-dot {
  width: 10px;
  height: 10px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background: var(--main-600);
}

.section-subtitle .pulse-dot::before {
  left: 50%;
  top: 50%;
  width: 70%;
  height: 70%;
  background: rgba(237, 90, 47, 0.47);
  animation: borderanimate2 2s linear infinite;
}

.section-subtitle.label-orange::before,
.section-subtitle.label-orange::after,
.section-subtitle.label-orange-wide::before,
.section-subtitle.label-orange-wide::after {
  display: none;
}

.label-orange:not(.section-subtitle)::before,
.label-orange-wide:not(.section-subtitle)::before,
.label-red:not(.section-subtitle)::before,
.label-red-narrow:not(.section-subtitle)::before,
.label-yellow:not(.section-subtitle)::before,
.label-cyan:not(.section-subtitle)::before,
.label-sky:not(.section-subtitle)::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background: var(--main-600);
  border-radius: 50%;
}

.label-orange:not(.section-subtitle)::after,
.label-orange-wide:not(.section-subtitle)::after,
.label-red:not(.section-subtitle)::after,
.label-red-narrow:not(.section-subtitle)::after,
.label-yellow:not(.section-subtitle)::after,
.label-cyan:not(.section-subtitle)::after,
.label-sky:not(.section-subtitle)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: rgba(237, 90, 47, 0.47);
  animation: borderanimate2 2s linear infinite;
  border-radius: 50%;
  pointer-events: none;
}

/* White subtitle on dark sections */
.hero-welcome.section-subtitle {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  font-weight: 700 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-welcome.section-subtitle::before,
.hero-welcome.section-subtitle::after {
  display: none;
}

/* ===== Churche Buttons ===== */
.tw-hover-btn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--body-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color 0.4s ease;
}

.tw-hover-btn-circle-dot {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  transition: all 0.6s ease-out;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background: var(--heading-color);
}

.tw-hover-btn:hover .tw-hover-btn-circle-dot {
  width: 520px;
  height: 520px;
}

.btn-churche-primary {
  background: var(--main-600);
  color: #fff;
  padding: 14px 32px;
  border-radius: 0;
}

.btn-churche-primary .tw-hover-btn-circle-dot {
  background: var(--heading-color);
}

.btn-churche-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 32px;
  border-radius: 0;
}

.btn-churche-dark {
  background: var(--heading-color);
  color: #fff;
  padding: 14px 32px;
  border-radius: 0;
}

.btn-churche-dark .tw-hover-btn-circle-dot {
  background: var(--main-600);
}

.btn-churche-white {
  background: #fff;
  color: var(--heading-color);
  padding: 14px 32px;
  border-radius: 0;
}

/* Override old rounded buttons */
.btn-donate-header, .btn-join, .btn-donate-hero, .btn-learn-more,
.btn-youth-join, .btn-youth-learn, .btn-join-service, .btn-donate-support,
.btn-visit-lordscity, .btn-request-counselling, .btn-send, .btn-proceed-donate {
  border-radius: 0 !important;
  font-family: var(--body-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn-donate-header, .btn-join, .btn-learn-more, .btn-youth-join,
.btn-send, .btn-proceed-donate, .btn-request-counselling {
  background: var(--main-600) !important;
  border: none !important;
}

.btn-donate-header:hover, .btn-join:hover, .btn-learn-more:hover,
.btn-youth-join:hover, .btn-send:hover, .btn-proceed-donate:hover {
  background: var(--main-700) !important;
  transform: none !important;
}

/* ===== Header (Churche transparent + sticky) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transition: all 0.35s ease;
}

.site-header.scrolled {
  background: var(--heading-color);
  backdrop-filter: blur(24px);
  animation: slideDown 0.35s ease-out;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
  border-bottom-color: var(--heading-color);
}

.site-logo {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.site-header.scrolled .site-logo {
  text-shadow: none;
}

.site-logo .logo-brand {
  text-transform: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.desktop-nav a {
  font-size: 0.95rem;
  text-transform: capitalize;
  font-weight: 500;
  position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--main-600) !important;
}

.desktop-nav a::after {
  background: var(--main-600);
}

.btn-donate-header {
  background: var(--main-600) !important;
  padding: 12px 28px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===== Hero / Banner (Churche layout: WE ARE / THE CHURCHE style) ===== */
.hero-section {
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0d1a26;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(13, 26, 38, 0.28) 0%,
    rgba(13, 26, 38, 0.42) 45%,
    rgba(13, 26, 38, 0.58) 100%
  ) !important;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(110px, 12vh, 160px);
  padding-bottom: clamp(40px, 6vh, 80px);
  box-sizing: border-box;
}

/* Upper block: Welcome + Life Grace | subtitle + buttons */
.hero-mid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: end;
  width: 100%;
  min-height: 0;
  padding-bottom: clamp(1rem, 3vh, 2.5rem);
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-height: clamp(200px, 32vh, 380px);
}

/* Desktop: show the bottom version, hide the inside-left-col version */
.hero-line-two-mobile { display: none; }
.hero-line-two-desktop { display: block; }

.hero-welcome {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  padding: 7px 29px 7px 35px;
  display: inline-block;
  font-size: 0.8rem !important;
  letter-spacing: 3px !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.35);
  position: relative;
  margin: 0;
  align-self: flex-start;
}

/* "WE ARE" style — above bottom title */
.hero-line-one {
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 9vw, 8.5rem);
  line-height: 0.95;
  text-transform: none;
  font-weight: 400;
  color: #fff;
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Right: text above buttons, both above "Ministries" */
.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.25rem;
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}

.hero-subtitle-wrap {
  width: 100%;
  min-height: 5.5em;
  max-height: 5.5em;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  margin: 0 !important;
  max-width: 100% !important;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.4s ease;
}

.hero-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: 0 !important;
}

/* "THE CHURCHE" style — huge bottom title */
.hero-line-two {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em;
  overflow: visible;
}

/* Legacy class aliases */
.hero-title-bottom,
.hero-title-line,
.hero-title-line-2 { display: none; }

.hero-text-wrap { text-align: center; width: 100%; }

.hero-title {
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-title-white,
.hero-title-gradient {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  display: block;
}

/* Header logo vertical center */
.site-logo {
  line-height: 1.2;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-inner {
  align-items: center;
}

/* Legacy hero classes - keep compatible */
.hero-text-wrap { text-align: center; width: 100%; }

.hero-title {
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-title-white,
.hero-title-gradient {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  display: block;
}

/* ===== Section Headings ===== */
.heading-xl {
  font-size: var(--heading-two);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
}

.heading-gallery, .heading-services, .heading-youth,
.heading-gofundme, .heading-lordscity, .heading-counselling {
  font-size: var(--heading-two);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
}

.text-orange { color: var(--main-600) !important; }

.text-body, .text-body-mt {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-color);
}

/* ===== Image Hover Effects (Churche style) ===== */
.img-hover-wrap {
  overflow: hidden;
  position: relative;
}

.img-hover-wrap img,
.leader-img-wrap img,
.rev-card img,
.worship-img-wrap img,
.service-hero-card img,
.gallery-slide-card img,
.youth-img,
.about-img-main,
.about-img-small {
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.img-hover-wrap:hover img,
.leader-img-wrap:hover img,
.worship-img-wrap:hover img,
.service-hero-card:hover img,
.gallery-slide-card:hover img,
.youth-img:hover,
.rev-card:hover img {
  transform: scale(1.08);
}

/* Team card hover like Churche */
.rev-card, .leader-img-wrap, .service-hero-card {
  overflow: hidden;
}

/* ===== Cards ===== */
.mission-card {
  background: var(--main-600) !important;
  border-radius: 0 !important;
}

.vision-card {
  border-left: 4px solid var(--main-600) !important;
  border-radius: 0 !important;
}

.stat-card, .contact-card, .service-card, .donate-card,
.counselling-left, .counselling-right, .contact-form-wrap,
.learn-more-content, .youth-expand, .gofundme-card {
  border-radius: 0 !important;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.learn-more-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.service-card:hover, .donate-card:hover, .contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 26, 38, 0.12);
}

.service-card {
  background: #f8f1e6 !important;
}

.service-title { color: var(--main-600) !important; }
.service-link { color: var(--main-600) !important; }

/* ===== Sections Background ===== */
.section-our-church { background: #fff; padding: 48px 0 64px; }

/* About — keep worship block aligned with main about grid */
.about-block-worship {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid #e5e7eb;
}

.about-block-worship .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-worship-title {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.about-worship-media {
  width: 100%;
  min-height: 320px;
}

.about-worship-media .worship-img,
.worship-img-wrap .worship-img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1.35;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .about-block-worship {
    align-items: flex-start !important;
  }

  .about-block-worship > [class*="col-"] {
    margin-top: 0;
  }

  .about-worship-media,
  .about-worship-media .worship-img {
    aspect-ratio: 1.4;
  }
}

.about-block-main > [class*="col-"]:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.about-block-worship p {
  margin-top: 0.875rem;
  margin-bottom: 0;
  line-height: 1.75;
}

.about-block-worship .about-worship-title {
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .about-block-main > [class*="col-"],
  .about-block-worship > [class*="col-"] {
    align-self: stretch;
  }
}

/* About section — always visible (aligned content must not fade out) */
.section-our-church .about-block,
.section-our-church .about-block .heading-xl,
.section-our-church .about-block .text-body,
.section-our-church .mission-card,
.section-our-church .vision-card,
.section-our-church .worship-img-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Tighten paragraph spacing in the about section text columns */
.section-our-church .about-block .text-body {
  margin-top: 0.875rem !important;
}
.section-our-church .about-block .text-body-mt {
  margin-top: 0.75rem !important;
}

.section-leadership { background: #f8f1e6; padding: 48px 0 56px; }

.section-leadership .section-heading-center {
  margin-bottom: 2.5rem;
}

.section-leadership .section-heading-center .text-body-mt {
  margin-top: 1rem !important;
}

.section-leadership .leadership-row-bishop {
  align-items: flex-start !important;
}

.section-leadership .leadership-bishop-copy {
  padding-top: 0.25rem;
}

.section-leadership .leadership-label {
  letter-spacing: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-leadership .leadership-name {
  font-size: 3rem;
  color: #111827;
  margin-bottom: 0;
}

.section-leadership .leadership-photo-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section-leadership .leadership-photo-card img,
.section-leadership .leadership-rev-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.7s ease;
}

.section-leadership .leadership-bishop-photo .leader-img-wrap img {
  height: 520px;
}

/* When learn-more content is visible, make the entire leadership row
   a single-column stack so the content uses the full width */
.section-leadership .leadership-row-rev.learn-more-open {
  display: flex !important;
  flex-direction: column !important;
}

.section-leadership .leadership-row-rev.learn-more-open .col-lg-6 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Photo card shrinks to a compact horizontal strip when content is expanded */
.section-leadership .leadership-row-rev.learn-more-open .order-lg-1 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem;
}

.section-leadership .leadership-row-rev.learn-more-open .rev-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.section-leadership .leadership-row-rev.learn-more-open .leadership-photo-wrap {
  flex-shrink: 0;
  width: 200px;
}

.section-leadership .leadership-row-rev.learn-more-open .leadership-rev-photo {
  height: 200px !important;
  width: 200px;
  object-fit: cover;
}

.section-leadership .leadership-row-rev.learn-more-open .rev-card-info {
  text-align: left !important;
  padding: 1rem 1.5rem;
  flex: 1;
}

.section-leadership .leadership-row-rev {
  align-items: stretch !important;
}

.section-leadership .leadership-row-rev > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.section-leadership .leadership-row-rev .rev-card.leadership-photo-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-leadership .leadership-row-rev .leadership-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section-leadership .leadership-row-rev .leadership-rev-photo {
  flex: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.section-leadership .leadership-row-rev .rev-card-info {
  padding: 1rem 0 0 0;
}

.section-leadership .rev-card-info h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.section-leadership .leadership-role {
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .section-leadership .leadership-name {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .section-leadership .leadership-photo-card img,
  .section-leadership .leadership-rev-photo {
    height: auto;
    min-height: 320px;
    max-height: 520px;
    object-position: center 20%;
  }
}
.section-gallery { background: #fff; padding: 40px 0 52px; }

.section-gallery .container-main > .text-center {
  margin-bottom: 1.5rem !important;
}

.section-gallery .heading-gallery {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-gallery .container-main > .text-center .text-body-mt {
  margin-top: 0.75rem !important;
}

.section-gallery .gallery-slide-card img {
  height: 300px;
  object-position: center top;
}
.section-services { background: var(--heading-color) !important; padding: 48px 0 64px; }
.section-events { background: #fff; padding: 48px 0 64px; }
.section-youth { padding: 48px 0 64px; }
.section-sunday, .section-thursday { padding: 48px 0 64px; }
.section-gofundme { background: var(--heading-color) !important; padding: 48px 0 64px; }
.section-lordscity { background: #f8f1e6; padding: 48px 0 64px; }
.section-counselling { background: #fff; padding: 48px 0 64px; }

.section-counselling .container-main > .row.align-items-center {
  align-items: stretch !important;
}

.section-counselling .container-main > .row.align-items-center > [class*="col-"] {
  display: flex;
}

.section-counselling .counselling-left,
.section-counselling .counselling-right {
  width: 100%;
  height: 100%;
}

.section-counselling .help-item {
  padding: 0.75rem;
  margin: 0 -0.75rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.section-counselling .help-item:hover {
  background: #fff7ed;
  transform: translateX(4px);
}

.section-counselling .stat-box {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.section-counselling .stat-box:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(120, 40, 10, 0.16);
}
.section-contact { background: #f8f1e6; padding: 48px 0 64px; }

/* ===== Global section intro spacing tightening ===== */
/* Reduce Bootstrap mb-5 inside sections so heading blocks don't add extra gap */
.section-our-church .mb-5,
.section-leadership .mb-5,
.section-gallery .text-center.mb-5,
.section-services .services-intro,
.section-events .events-intro,
.section-counselling .text-center.mb-5,
.section-contact .text-center.mb-5,
.section-lordscity .lordscity-intro,
.section-vacancies .text-center.mb-5 {
  margin-bottom: 2rem !important;
}

/* Tighten heading top margin inside section intros */
.section-heading-center,
.services-intro,
.events-intro,
.section-counselling .text-center,
.section-contact .text-center,
.section-vacancies .text-center {
  padding-top: 0 !important;
}

/* Fix label + heading side-by-side issue — force vertical stack in all section intros */
.section-counselling .text-center,
.section-contact .text-center,
.section-vacancies .text-center,
.section-gallery .text-center,
.section-heading-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.25rem;
}

.section-services .services-tagline {
  color: rgba(255, 255, 255, 0.78);
}

.section-services .service-schedule-card {
  border-radius: 0 !important;
}

/* Keep the ministry cards balanced while letting their content breathe. */
.services-ministry-row > [class*="col-"] {
  display: flex;
}

.services-ministry-row .service-card {
  width: 100%;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
}

.services-ministry-row .service-link {
  margin-top: auto;
}

.section-events .events-content-required {
  border-radius: 0 !important;
}

.section-lordscity .lordscity-official-copy .lordscity-lead {
  text-align: left;
  margin-top: 1.25rem;
}

.section-lordscity .lordscity-donate-line {
  text-align: center;
}

.section-lordscity .lordscity-info-card {
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-lordscity .lordscity-official-copy {
  max-width: 72rem;
}

.section-lordscity .lordscity-about-row {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  row-gap: 2.5rem !important;
}

.section-lordscity .lordscity-copy {
  max-width: 46rem;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-lordscity .location-card {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 3rem auto 0;
}

.section-contact > .container-main > .row.mb-5 > [class*="col-"] {
  display: flex;
}

.section-contact .contact-card {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-services .heading-services,
.section-gofundme .heading-gofundme {
  color: #fff;
}


/* ===== Gallery Swiper ===== */
.gallery-slide-card {
  border: none !important;
  border-radius: 0 !important;
}

.gallery-slide-card:hover {
  transform: translateY(-10px);
}

.swiper-button-next, .swiper-button-next::after,
.swiper-button-prev, .swiper-button-prev::after {
  color: var(--main-600) !important;
}

/* ===== Service Hero Cards ===== */
.service-hero-card { border-radius: 0 !important; }
.badge-float, .badge-red, .time-badge { border-radius: 0 !important; }
.badge-red, .time-badge { background: var(--main-600) !important; }

/* ===== GoFundMe ===== */
.section-gofundme {
  background: linear-gradient(135deg, #fdf6ec 0%, #fef3e2 50%, #fde8d0 100%) !important;
}

.gofundme-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.section-gofundme .label-cyan {
  color: #b45309 !important;
}

.section-gofundme .heading-gofundme {
  color: #1c1917 !important;
}

.section-gofundme .gofundme-desc {
  color: #57534e !important;
}

.donate-path-lords {
  background: linear-gradient(145deg, #1e3a5f 0%, #0f2744 100%) !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(15, 39, 68, 0.2) !important;
}

.donate-path-church {
  background: linear-gradient(145deg, #7c2d12 0%, #431407 100%) !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(124, 45, 18, 0.2) !important;
}

.donate-path-lords .donate-path-label {
  color: #7dd3fc !important;
}

.donate-path-church .donate-path-label {
  color: #fdba74 !important;
}

.donate-path-lords h3,
.donate-path-church h3 {
  color: #fff !important;
}

.donate-path-lords .donate-path-desc,
.donate-path-church .donate-path-desc {
  color: #e2e8f0 !important;
}

.btn-donate-unified {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0.9rem 1.5rem !important;
  background: linear-gradient(to right, #d97706, #b45309) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4) !important;
}

.btn-donate-unified:hover {
  background: linear-gradient(to right, #f59e0b, #d97706) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.55) !important;
  color: #fff !important;
}

.section-gofundme .btn-donate-support {
  background: linear-gradient(to right, #d97706, #b45309) !important;
  color: #fff !important;
  border: none !important;
}

.section-gofundme .btn-donate-support:hover {
  background: linear-gradient(to right, #f59e0b, #d97706) !important;
}

.donate-card h3 { font-family: var(--heading-font); }

/* ===== Lord's City ===== */
.lordscity-divider { background: var(--main-600) !important; height: 3px; }
.video-main-wrap { border-radius: 0 !important; }
.video-thumb.active { outline-color: var(--main-600) !important; }
.location-card { border-radius: 0 !important; }

.btn-visit-lordscity {
  background: var(--main-600) !important;
  border-radius: 0 !important;
  margin-top: auto !important;
}

/* Lord's City feature items grid */
.lordscity-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
  flex: 1;
}

.lordscity-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1rem;
}

.lordscity-feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.lordscity-feature-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.lordscity-feature-item p {
  margin: 0;
  font-size: 0.825rem;
  line-height: 1.55;
  color: #475569;
}

/* ===== Counselling ===== */
.counselling-right {
  background: var(--main-600) !important;
  border-radius: 0 !important;
}

.help-icon { background: rgba(255, 255, 255, 0.2) !important; }

/* ===== Vacancies ===== */
.section-vacancies { background: #f9fafb; padding: 48px 0 40px; }

.vacancy-card {
  border-radius: 0 !important;
  background: #fff;
  border: 1px solid rgba(13, 26, 38, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(13, 26, 38, 0.07);
  overflow: hidden;
  position: relative;
}

/* accent bar that grows on hover */
.vacancy-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--main-600);
  transition: height 0.35s ease;
}

.vacancy-card:hover::before {
  height: 100%;
}

.vacancy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(13, 26, 38, 0.13);
  border-color: rgba(237, 90, 47, 0.25);
}

.vacancy-card-header {
  padding: 2rem 1.75rem 1.25rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.vacancy-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  flex: 1;
  line-height: 1.25;
}

.vacancy-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.vacancy-badge-temporary {
  background: rgba(249, 115, 22, 0.08);
  color: var(--main-600);
  border: 1px solid var(--main-600);
}

.vacancy-badge-standard {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid #16a34a;
}

.vacancy-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
}

.vacancy-description {
  font-size: 0.975rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 1.25rem;
}

/* icon pills inside card body */
.vacancy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.vacancy-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  background: #f3f4f6;
  padding: 0.3rem 0.75rem;
  border-radius: 0;
  white-space: nowrap;
}

.vacancy-tag-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.vacancy-card-footer {
  padding: 0 1.75rem 1.75rem;
}

.btn-view-details {
  width: 100%;
  padding: 0.875rem 1.5rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== Vacancy Detail Section — Professional Redesign ===== */

.vacancy-detail-section {
  background: #fff;
  margin-top: 1.5rem;
  border-top: 3px solid var(--main-600);
}

.vacancy-detail-section.d-none { display: none !important; }

/* --- Hero Banner --- */
.vd-hero {
  background: linear-gradient(135deg, #0d1326 0%, #071B34 60%, #1a2a4a 100%);
  padding: 2.5rem 2.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.vd-hero-content {
  flex: 1;
  min-width: 0;
}

.vd-hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 1rem;
}

.vd-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vd-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 580px;
  margin: 0;
}

.vd-hero-deco {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  color: var(--main-600);
  opacity: 0.9;
}

.vd-hero-deco svg {
  width: 100%;
  height: 100%;
}

/* --- Body layout --- */
.vd-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  align-items: start;
  padding: 0;
}

/* --- Main left column --- */
.vd-col-main {
  padding: 2rem 2rem 2rem 2.5rem;
  border-right: 1px solid #e5e7eb;
}

/* --- Section label (icon + heading) --- */
.vd-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.vd-section-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: #fff8f3;
  border: 1px solid rgba(237,90,47,0.2);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vd-section-heading {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--main-600);
  flex: 1;
}

/* --- Responsibilities 2x2 grid --- */
.vd-resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.vd-resp-card {
  background: #fafafa;
  border: 1px solid #ebebeb;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vd-resp-card:hover {
  box-shadow: 0 6px 20px rgba(13,26,38,0.08);
  transform: translateY(-2px);
}

.vd-resp-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.vd-resp-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vd-resp-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vd-resp-card ul li {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.65;
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  border-bottom: 1px solid #f3f4f6;
}

.vd-resp-card ul li:last-child { border-bottom: none; }

.vd-resp-card ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--main-600);
  font-size: 0.5rem;
  line-height: 1.65;
}

/* --- Attributes + Conditions row --- */
.vd-attributes-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vd-attr-block,
.vd-cond-block {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.vd-sub-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--heading-color);
  margin: 0 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--main-600);
}

.vd-sub-heading span {
  background: var(--main-600);
  color: #fff;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.vd-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vd-check-list li {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.65;
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}

.vd-check-list li:last-child { border-bottom: none; }

.vd-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--main-600);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.65;
}

/* --- Safeguarding note --- */
.vd-safeguarding {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
  margin-top: 0.25rem;
}

.vd-safe-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.vd-safeguarding p {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
}

/* --- Right sidebar --- */
.vd-col-aside {
  padding: 2rem 2rem 2rem 2rem;
  background: #f9fafb;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

/* --- Apply card --- */
.vd-apply-card {
  background: #071B34;
  color: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.vd-apply-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(237,90,47,0.5);
}

.vd-apply-icon {
  font-size: 1.25rem;
  background: var(--main-600);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vd-apply-header h3 {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
}

.vd-apply-intro {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.6;
}

.vd-apply-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.vd-apply-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  line-height: 1;
}

.vd-apply-item > div {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.vd-apply-email {
  color: var(--main-600);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
  display: inline-block;
}

.vd-apply-email:hover {
  text-decoration: underline;
}

/* quote block */
.vd-apply-quote {
  background: rgba(237,90,47,0.12);
  border-left: 3px solid var(--main-600);
  padding: 1rem 1rem 1rem 1.25rem;
  margin-top: auto;
  position: relative;
}

.vd-quote-mark {
  display: block;
  font-size: 2.5rem;
  color: var(--main-600);
  line-height: 0.6;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.vd-apply-quote p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  margin: 0 0 0.5rem;
  font-style: italic;
}

.vd-apply-quote cite {
  font-size: 0.75rem;
  color: var(--main-600);
  font-weight: 600;
  font-style: normal;
}

/* --- Footer --- */
.vd-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-start;
  background: #fff;
}

/* Back button */
.btn-back-vacancy {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.3px;
}

.btn-back-vacancy:hover {
  color: #fff;
  transform: translateX(-4px);
}

.btn-back-vacancy-large {
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== Contact Form ===== */
.form-input {
  border-radius: 0 !important;
  border: 1px solid rgba(13, 26, 38, 0.15);
  font-family: var(--body-font);
}

.form-input:focus {
  border-color: var(--main-600) !important;
  box-shadow: 0 0 0 3px rgba(237, 90, 47, 0.15);
}

.form-label {
  font-family: var(--body-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

.contact-form-status {
  border-radius: 0 !important;
}

.btn-request-counselling {
  border-radius: 0 !important;
}

.map-wrap { border-radius: 0 !important; }

/* ===== Footer (Churche style) ===== */
.site-footer {
  background: var(--footer-bg) !important;
  padding-top: 80px;
}

.footer-blur { display: none; }

.footer-brand {
  color: var(--main-600) !important;
  font-size: 2rem;
  text-transform: uppercase;
}

.footer-brand .logo-brand {
  text-transform: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.footer-heading {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
}

.footer-links a:hover { color: var(--main-600) !important; }

.social-icon {
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--main-600) !important;
  transform: translateY(-4px);
  box-shadow: none !important;
}

.btn-scroll-top {
  border-radius: 0 !important;
  background: var(--main-600) !important;
  animation: none !important;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
}

.footer-credit a { color: var(--main-600) !important; }

.dev-credit {
  display: none;
}

/* ===== Modal ===== */
.modal-box { border-radius: 0 !important; }

.donate-path-card {
  border-radius: 0 !important;
}

.donate-modal-option {
  border-radius: 0 !important;
}

.modal-box-donate {
  max-width: 34rem !important;
}


/* ===== Scroll reveal helper ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Keep AOS-animated blocks visible after they enter (no mirror fade-out) */
[data-aos].aos-animate {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== Visual Enhancements — Attractive Transitions & Polish ===== */

/* Diagonal clip between light→dark sections (services, gofundme) */
.section-services,
.section-gofundme {
  clip-path: none;
  position: relative;
}

.section-services::before,
.section-gofundme::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
  z-index: 1;
}

/* Subtle dot-grid pattern on dark sections */
.section-services,
.section-gofundme {
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  background-position: 0 0 !important;
}

/* Heading accent underline */
.heading-counselling,
.heading-lordscity {
  position: relative;
  display: inline-block;
}

.section-counselling .heading-counselling::after,
.section-contact .heading-counselling::after,
.section-vacancies .heading-counselling::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--main-600);
  margin: 0.5rem auto 0;
}

/* Section label pill — more vivid */
.section-subtitle {
  background: rgba(237, 90, 47, 0.06) !important;
  border-color: rgba(237, 90, 47, 0.25) !important;
  margin-bottom: 0.75rem;
}

/* Card hover — consistent glow across all card types */
.vacancy-card:hover,
.service-card:hover,
.contact-card:hover,
.stat-card:hover {
  box-shadow: 0 16px 40px rgba(237, 90, 47, 0.12), 0 4px 12px rgba(13, 26, 38, 0.1) !important;
}

/* Lordscity section — soft top border accent instead of raw colour change */
.section-lordscity {
  border-top: 3px solid var(--main-600);
}

/* Counselling section — soft bottom accent */
.section-counselling {
  border-bottom: 3px solid var(--main-600);
}

/* Contact section — strong visual opening */
.section-contact .text-center.mb-5 {
  padding-top: 0;
}

/* Vacancies cards — equal min-height for clean rows */
.vacancy-card {
  min-height: 280px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: 100vh;
  }

  .hero-mid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    padding-bottom: 0;
    flex: 1 1 auto;
  }

  .hero-left-col {
    min-height: auto;
    gap: 0.25rem;
    justify-content: flex-start;
  }

  /* On mobile, hero-line-two is inside hero-left-col — show it */
  .hero-line-two-mobile {
    display: block;
    font-size: clamp(2.8rem, 16vw, 5.5rem);
    margin-top: 0;
    padding-top: 0;
    text-align: left;
    width: 100%;
    line-height: 0.95;
  }

  /* Hide the desktop bottom version on mobile */
  .hero-line-two-desktop {
    display: none;
  }

  .hero-right-col {
    align-items: flex-start;
    max-width: 100%;
    margin-left: 0;
    gap: 0.35rem;
    margin-top: 0.5rem;
  }

  .hero-subtitle-wrap {
    min-height: auto;
    max-height: none;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0;
  }

  .hero-subtitle { text-align: left; }
  .hero-buttons {
    justify-content: flex-start;
    margin-top: 0.5rem !important;
  }

  .section-our-church, .section-leadership, .section-gallery,
  .section-services, .section-events, .section-youth, .section-sunday,
  .section-thursday, .section-gofundme, .section-lordscity,
  .section-counselling, .section-contact { padding: 36px 0 48px; }
}

@media (min-width: 992px) {
  .hero-line-one {
    letter-spacing: 0.02em;
  }

  .hero-line-two {
    letter-spacing: 0.02em;
  }
}

/* ===== Mobile & Tablet — no image clipping or overlap ===== */
@media (max-width: 991px) {
  .about-images {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }

  .about-img-main,
  .about-img-small {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 0;
    border-width: 0;
  }

  .about-deco-circle {
    display: none;
  }

  .leader-img-wrap img,
  .rev-card img {
    height: auto;
    max-height: 500px;
    object-fit: cover;
  }

  .service-hero-card img {
    height: auto;
    min-height: 300px;
    max-height: 520px;
    object-fit: cover;
  }

  .about-block-worship {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .about-worship-media,
  .about-worship-media .worship-img {
    min-height: 260px;
    max-height: 360px;
  }

  .worship-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
  }

  .map-wrap iframe {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .container-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-inner {
    height: auto;
    min-height: 4.25rem;
    gap: 0.5rem;
  }

  .site-logo {
    font-size: clamp(0.75rem, 3.5vw, 1.1rem);
    letter-spacing: 1px;
    max-width: calc(100% - 5.5rem);
    word-break: break-word;
  }

  .btn-donate-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap;
  }

  .mobile-menu-btn {
    font-size: 1.5rem;
    padding: 0.25rem;
  }

  .heading-xl {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    word-break: break-word;
  }

  .section-leadership h3.heading-xl,
  .section-leadership h3[style*="font-size"] {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }

  .service-hero-content h2[style*="font-size"] {
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
  }

  .heading-gallery,
  .heading-services,
  .heading-youth,
  .heading-gofundme,
  .heading-lordscity,
  .heading-counselling {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .text-body,
  .text-body-mt {
    font-size: 1rem;
    line-height: 1.75;
  }

  .mission-card,
  .vision-card {
    padding: 1.5rem;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.5rem !important;
  }

  .mission-card p,
  .vision-card p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }

  /* Leadership images */
  .leader-img-wrap img,
  .rev-card img {
    height: auto;
    min-height: 220px;
    max-height: 420px;
    object-fit: cover;
  }

  .section-heading-center {
    margin-bottom: 2.5rem;
  }

  .stat-card {
    flex: 1 1 100%;
    padding: 1rem 1.25rem;
  }

  /* Gallery */
  .gallery-slide-card img {
    height: auto;
    min-height: 200px;
    max-height: 280px;
    object-fit: cover;
  }

  .gallery-swiper {
    padding-bottom: 2.5rem;
    overflow: hidden;
  }

  /* Service cards */
  .service-card {
    padding: 1.5rem;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  /* Youth */
  .youth-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    margin-bottom: 1.5rem;
  }

  .btn-youth-join,
  .btn-youth-learn {
    width: 100%;
    text-align: center;
  }

  /* Sunday / Thursday hero cards */
  .service-hero-card img {
    height: auto;
    min-height: 280px;
    max-height: 480px;
    object-fit: cover;
  }

  .service-hero-content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    padding: 0;
  }

  .service-hero-content h2 {
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
    margin-top: 0.75rem !important;
  }

  .service-hero-content p {
    font-size: 1rem !important;
    margin-top: 0.75rem !important;
  }

  .badge-float {
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .time-badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .btn-join-service {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  /* GoFundMe */
  .gofundme-card {
    padding: 1.5rem 1rem;
  }

  .gofundme-desc {
    font-size: 1rem;
    line-height: 1.75;
  }

  .donate-card {
    padding: 1.5rem;
  }

  /* Video carousel */
  .video-thumb {
    width: 100px;
    height: 64px;
  }

  .video-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .location-card {
    padding: 1.25rem;
  }

  .location-card p {
    font-size: 1rem !important;
  }

  /* Counselling */
  .counselling-left,
  .counselling-right {
    padding: 1.5rem;
  }

  .counselling-right .row .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stat-box h4 {
    font-size: 1.75rem;
  }

  .btn-request-counselling {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Contact */
  .contact-card {
    padding: 1.5rem;
  }

  .contact-card p {
    font-size: 1rem !important;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .map-wrap iframe {
    height: 280px;
  }

  /* Modal */
  .modal-box {
    padding: 1.5rem;
    margin: 0 0.75rem;
  }

  .modal-box .col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  /* Footer */
  .footer-brand {
    font-size: 1.5rem;
  }

  .footer-desc {
    line-height: 1.75;
  }

  /* Buttons full-width on small screens */
  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn-join,
  .hero-buttons .btn-donate-hero {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.85rem 1.25rem;
    font-size: 0.8rem;
  }

  .tw-hover-btn:hover .tw-hover-btn-circle-dot {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }

  .btn-donate-header {
    padding: 0.45rem 0.6rem !important;
    font-size: 0.65rem !important;
  }

  .hero-line-one {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-line-two {
    font-size: clamp(2.2rem, 14vw, 3.5rem);
  }

  .hero-welcome {
    font-size: 0.7rem !important;
    padding: 5px 18px 5px 28px;
    letter-spacing: 2px !important;
  }

  .section-subtitle,
  .label-orange,
  .label-orange-wide,
  .label-red,
  .label-red-narrow,
  .label-yellow,
  .label-cyan,
  .label-sky {
    font-size: 0.75rem;
    padding: 4px 16px 4px 30px;
  }

  .video-thumbs {
    gap: 0.5rem;
  }

  .video-thumb {
    width: 72px;
    height: 48px;
  }
}

/* iOS safe area + prevent horizontal overflow */
@supports (padding: env(safe-area-inset-left)) {
  .container-main {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

img {
  max-width: 100%;
}

.carousel-video {
  max-width: 100%;
}
