/* ==========================================================
   HOME PAGE — MVP Standard
   Professional church ministry homepage
   SET Ministry | setministry.org
   ========================================================== */

/* --- Typography Scale --- */
/* h1: 3.25rem / 700 / -0.02em  |  h2: 2.5rem / 700 / -0.015em
   h3: 1.75rem / 700 / -0.01em  |  h4: 1.25rem / 600 / 0
   h5: 1.05rem / 600 / 0.01em   |  h6: 0.9rem / 600 / 0.015em */

/* ========== HERO SLIDER ========== */
.hm-hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 920px;
  overflow: hidden;
  background: #091a10;
}
.hm-hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.hm-hero .slide.active {
  opacity: 1;
  z-index: 1;
}
.hm-hero .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  transition: transform 8s ease-out;
}
.hm-hero .slide.active img {
  transform: scale(1.06);
}
.hm-hero .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(9,26,16,0.35) 0%,
    rgba(9,26,16,0.65) 50%,
    rgba(9,26,16,0.88) 100%);
  z-index: 1;
}
.hm-hero .slide-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.04));
  pointer-events: none;
}
.hm-hero .slide-content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}
.hm-hero .slide-content .inner {
  max-width: 720px;
}
.hm-hero .badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold, #c9a84c);
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(20px);
  animation: hmFadeUp .7s .3s forwards;
}
.hm-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 30%, var(--gold, #c9a84c) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
  animation: hmFadeUp .7s .5s forwards;
}
.hm-hero .divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, #c9a84c, #e8d48b, #c9a84c);
  border-radius: 3px;
  margin: 0 auto 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: hmFadeUp .7s .65s forwards;
}
.hm-hero .sub {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  transform: translateY(20px);
  animation: hmFadeUp .7s .75s forwards;
}
.hm-hero .sub strong {
  color: var(--gold, #c9a84c);
  font-weight: 600;
}
.hm-hero .btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: hmFadeUp .7s .9s forwards;
}
.hm-hero .btns a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all .3s ease;
  white-space: nowrap;
}
.hm-hero .btns .btn-fill {
  background: linear-gradient(135deg, var(--primary, #1a5e2a), var(--primary-dark, #0d3518));
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,94,42,0.35);
}
.hm-hero .btns .btn-fill:hover {
  background: linear-gradient(135deg, #c9a84c, #b8943d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
  color: #0d2818;
}
.hm-hero .btns .btn-ghost {
  background: transparent;
  color: var(--gold, #c9a84c);
  border: 2px solid rgba(201,168,76,0.4);
}
.hm-hero .btns .btn-ghost:hover {
  border-color: var(--gold, #c9a84c);
  background: rgba(201,168,76,0.1);
  color: var(--gold, #c9a84c);
}

/* Slider dots */
.hm-hero .dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}
.hm-hero .dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.hm-hero .dots button.active {
  background: var(--gold, #c9a84c);
  border-color: var(--gold, #c9a84c);
  transform: scale(1.2);
}

/* Slider arrows */
.hm-hero .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.06);
  backdrop-filter: blur(4px);
  color: var(--gold, #c9a84c);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}
.hm-hero .arrow:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}
.hm-hero .arrow.prev { left: 1.5rem; }
.hm-hero .arrow.next { right: 1.5rem; }

/* Progress bar */
.hm-hero .progress-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 5;
}
.hm-hero .progress-bar .fill {
  height: 100%;
  background: var(--gold, #c9a84c);
  width: 0%;
  transition: width .3s linear;
}

/* ========== SECTION HEADERS ========== */
.hm-section-hdr {
  text-align: center;
  margin-bottom: 3rem;
}
.hm-section-hdr .label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.85rem;
}
.hm-section-hdr h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #0d2818;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hm-section-hdr h2 em {
  font-style: normal;
  -webkit-text-stroke: 1.5px #0d2818;
  color: transparent;
}
.hm-section-hdr p {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ========== WELCOME TWO-COLUMN ========== */
.hm-welcome {
  padding: 6rem 0;
}
.hm-welcome .img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.hm-welcome .img-wrap img {
  width: 100%; height: 440px;
  object-fit: cover;
  display: block;
}
.hm-welcome .img-wrap .tag {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: linear-gradient(135deg, #c9a84c, #b8943d);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.hm-welcome .text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: #0d2818;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.hm-welcome .text .lead {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hm-welcome .text p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ========== VISION CARDS ========== */
.hm-vision .card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  transition: all .3s ease;
  height: 100%;
}
.hm-vision .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.hm-vision .card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(201,168,76,0.08);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--primary, #1a5e2a);
  margin-bottom: 1.15rem;
  transition: all .3s ease;
  border: 1px solid rgba(201,168,76,0.1);
}
.hm-vision .card:hover .icon {
  background: linear-gradient(135deg, #c9a84c, #b8943d);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
.hm-vision .card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0d2818;
  margin-bottom: 0.5rem;
}
.hm-vision .card p {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ========== EXPLORER CARDS (image overlay grid) ========== */
.hm-explorer {
  padding: 6rem 0;
}
.hm-explorer .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hm-explorer .card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 270px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all .35s ease;
}
.hm-explorer .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
  color: #fff;
}
.hm-explorer .card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hm-explorer .card:hover img {
  transform: scale(1.07);
}
.hm-explorer .card .ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(9,26,16,0.75) 60%, rgba(9,26,16,0.95) 100%);
  z-index: 1;
  transition: background .4s ease;
}
.hm-explorer .card:hover .ov {
  background: linear-gradient(180deg, transparent 20%, rgba(9,26,16,0.65) 55%, rgba(201,168,76,0.08) 100%);
}
.hm-explorer .card .body {
  position: relative; z-index: 2;
  padding: 1.5rem;
  width: 100%;
  border-top: 2px solid transparent;
  transition: border-color .3s ease;
}
.hm-explorer .card:hover .body {
  border-top-color: rgba(201,168,76,0.5);
}
.hm-explorer .card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  transition: color .3s ease;
}
.hm-explorer .card:hover h4 {
  color: var(--gold, #c9a84c);
}
.hm-explorer .card p {
  font-size: 0.82rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.45;
}

/* ========== LEADER CARDS ========== */
.hm-leaders {
  padding: 6rem 0;
}
.hm-leaders .card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hm-leaders .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
}
.hm-leaders .card .img {
  width: 100%; height: 300px;
  object-fit: cover;
  object-position: top center;
}
.hm-leaders .card .body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hm-leaders .card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0d2818;
  margin-bottom: 0.2rem;
}
.hm-leaders .card .role {
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #c9a84c, #e8d48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.hm-leaders .card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ========== LIFE AT MINISTRY ========== */
.hm-life {
  padding: 6rem 0;
}
.hm-life .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hm-life .card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
}
.hm-life .card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hm-life .card:hover img {
  transform: scale(1.05);
}
.hm-life .card .ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9,26,16,0.75) 70%, rgba(201,168,76,0.06) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity .4s ease;
}
.hm-life .card:hover .ov {
  opacity: 1;
}
.hm-life .card .ov h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--gold, #c9a84c);
}
.hm-life .card .ov p {
  font-size: 0.82rem;
  opacity: 0.8;
  margin: 0;
}

/* ========== SCHEDULE TRACK ========== */
.hm-schedule {
  padding: 6rem 0;
}
.hm-schedule .track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hm-schedule .track::-webkit-scrollbar { display: none; }
.hm-schedule .sc {
  flex: 0 0 190px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  transition: all .3s ease;
  text-align: center;
}
.hm-schedule .sc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.hm-schedule .sc .img {
  height: 105px;
  background-size: cover;
  background-position: center;
}
.hm-schedule .sc .body {
  padding: 1rem;
}
.hm-schedule .sc .day {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary, #1a5e2a), #0d3518);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.hm-schedule .sc .day.sunday {
  background: linear-gradient(135deg, #c9a84c, #b8943d);
  box-shadow: 0 2px 8px rgba(201,168,76,0.3);
}
.hm-schedule .sc h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0d2818;
  margin-bottom: 0.2rem;
}
.hm-schedule .sc small {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ========== GALLERY PREVIEW ========== */
.hm-gallery .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.hm-gallery .thumb {
  border-radius: 12px;
  overflow: hidden;
  height: 160px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all .3s ease;
}
.hm-gallery .thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.hm-gallery .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ========== BLOG CARDS ========== */
.hm-blog .card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hm-blog .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
}
.hm-blog .card .img {
  width: 100%; height: 210px;
  object-fit: cover;
  object-position: top center;
}
.hm-blog .card .body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hm-blog .card .date {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.hm-blog .card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d2818;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.hm-blog .card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.hm-blog .card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  background: linear-gradient(135deg, #c9a84c, #e8d48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: gap .25s ease;
}
.hm-blog .card .link:hover {
  gap: 0.7rem;
}

/* ========== GIVE / SUPPORT ========== */
.hm-give {
  background: #0d2818;
  padding: 6rem 0;
  color: #fff;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, transparent, #c9a84c, transparent) 1;
}
.hm-give .card {
  background: rgba(201,168,76,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hm-give .card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-5px);
}
.hm-give .card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--gold, #c9a84c);
  margin-bottom: 1.15rem;
}
.hm-give .card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold, #c9a84c);
  margin-bottom: 0.5rem;
}
.hm-give .card p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.hm-give .card .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #c9a84c, #e8d48b);
  color: #0d2818;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all .25s ease;
}
.hm-give .card .btn:hover {
  background: linear-gradient(135deg, #e8d48b, #c9a84c);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
  color: #0d2818;
}

/* ========== SCRIPTURE ========== */
.hm-scripture {
  padding: 6rem 0;
}
.hm-scripture .card {
  background: #f7faf8;
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.15);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hm-scripture .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}
.hm-scripture .icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #c9a84c, #e8d48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.hm-scripture blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  border: none; padding: 0;
}
.hm-scripture .ref {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}
.hm-scripture .desc {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ========== BOTTOM CTA ========== */
.hm-cta {
  padding: 4.5rem 0;
  background: #f7faf8;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.hm-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #0d2818;
  margin-bottom: 0.75rem;
}
.hm-cta p {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hm-cta .btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== SCROLL REVEAL ========== */
.hm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.hm-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ANIMATIONS ========== */
@keyframes hmFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== NEWSLETTER STRIP ========== */
.hm-newsletter-strip {
  background: linear-gradient(135deg, #0d2818 0%, #1a3a28 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.hm-newsletter-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.hm-ns-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold, #c9a84c);
}
.hm-ns-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.hm-ns-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}
.hm-ns-form { width: 100%; }
.hm-ns-input-group {
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.hm-ns-input-group:focus-within {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.hm-ns-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.hm-ns-input::placeholder { color: rgba(255,255,255,0.35); }
.hm-ns-btn {
  background: linear-gradient(135deg, var(--gold, #c9a84c), #b8943d);
  border: none;
  color: #0d2818;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all .3s ease;
  letter-spacing: 0.02em;
}
.hm-ns-btn:hover {
  background: linear-gradient(135deg, #d4b45a, var(--gold, #c9a84c));
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.hm-ns-note {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  margin: 0.5rem 0 0;
}

/* ========== MAIN FOOTER ========== */
.hm-footer {
  background: #091510;
  padding-top: 4rem;
  position: relative;
}
.hm-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.hm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
}

/* Brand */
.hm-footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}
.hm-footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 320px;
}
.hm-footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.hm-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}
.hm-footer-contact-item i {
  color: var(--gold, #c9a84c);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}
.hm-footer-contact-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color .25s ease;
}
.hm-footer-contact-item a:hover { color: var(--gold, #c9a84c); }

/* Social */
.hm-footer-social {
  display: flex;
  gap: 0.5rem;
}
.hm-footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.18);
  color: var(--gold, #c9a84c);
  font-size: 0.9rem;
  transition: all .3s ease;
  text-decoration: none;
}
.hm-footer-social a:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold, #c9a84c);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.15);
  color: #fff;
}

/* Columns */
.hm-footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold, #c9a84c);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.hm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hm-footer-links li { margin-bottom: 0.5rem; }
.hm-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all .25s ease;
}
.hm-footer-links a i {
  font-size: 0.55rem;
  color: rgba(201,168,76,0.35);
  transition: all .25s ease;
}
.hm-footer-links a:hover {
  color: var(--gold, #c9a84c);
  padding-left: 4px;
}
.hm-footer-links a:hover i {
  color: var(--gold, #c9a84c);
  transform: translateX(2px);
}

/* Get Involved */
.hm-footer-invite {
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.hm-footer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.hm-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--gold, #c9a84c), #b8943d);
  color: #0d2818;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all .3s ease;
  letter-spacing: 0.02em;
}
.hm-btn-gold:hover {
  background: linear-gradient(135deg, #d4b45a, var(--gold, #c9a84c));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
  color: #0d2818;
}
.hm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold, #c9a84c);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all .3s ease;
}
.hm-btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold, #c9a84c);
  color: #fff;
  transform: translateY(-2px);
}
.hm-footer-wa-channel a {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color .25s ease;
}
.hm-footer-wa-channel a:hover { color: var(--gold, #c9a84c); }

/* Bottom Bar */
.hm-footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  background: rgba(0,0,0,0.2);
}
.hm-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hm-footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
}
.hm-footer-copy strong {
  color: rgba(201,168,76,0.7);
}
.hm-footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.hm-footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color .25s ease;
}
.hm-footer-bottom-links a:hover {
  color: var(--gold, #c9a84c);
}

/* Back to Top */
.hm-back-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 999;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.06));
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold, #c9a84c);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .35s ease;
  backdrop-filter: blur(8px);
}
.hm-back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hm-back-top:hover {
  background: linear-gradient(135deg, var(--gold, #c9a84c), #b8943d);
  color: #0d2818;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
  transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 991.98px) {
  .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hm-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .hm-newsletter-strip { padding: 2.5rem 0; }
  .hm-footer { padding-top: 3rem; }
  .hm-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hm-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .hm-footer-bottom-links { justify-content: center; }
  .hm-back-top { bottom: 5rem; right: 1rem; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .hm-explorer .grid { grid-template-columns: repeat(2, 1fr); }
  .hm-life .grid { grid-template-columns: repeat(2, 1fr); }
  .hm-gallery .grid { grid-template-columns: repeat(3, 1fr); }
  .hm-welcome .img-wrap img { height: 340px; }
}
@media (max-width: 767.98px) {
  .hm-hero { min-height: 520px; max-height: 720px; }
  .hm-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hm-hero .arrow { display: none; }
  .hm-explorer .grid { grid-template-columns: 1fr; }
  .hm-life .grid { grid-template-columns: 1fr; }
  .hm-gallery .grid { grid-template-columns: repeat(2, 1fr); }
  .hm-schedule .sc { flex: 0 0 165px; }
  .hm-scripture .card { padding: 2.5rem 1.25rem; }
}
@media (max-width: 575.98px) {
  .hm-gallery .grid { grid-template-columns: repeat(2, 1fr); }
  .hm-gallery .thumb { height: 120px; }
  .hm-hero .dots { bottom: 1.25rem; }
}

/* ========== SCROLL PROGRESS BAR ========== */
.hm-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary, #1a5e2a), var(--gold, #c9a84c));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}

/* ========== PARTICLE CANVAS ========== */
.hm-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ========== HERO EMBLEMS (floating Bible icons) ========== */
.hm-hero-emblem {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
  will-change: transform;
}
.hm-emblem-lion {
  width: 160px;
  right: 8%;
  top: 15%;
  animation: hmFloat 8s ease-in-out infinite;
}
.hm-emblem-cross {
  width: 100px;
  left: 5%;
  bottom: 18%;
  animation: hmFloat 10s ease-in-out infinite reverse;
}

/* ========== SECTION EMBLEMS ========== */
.hm-section-emblem {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  will-change: transform;
}
.hm-emblem-fish {
  width: 120px;
  right: 5%;
  top: 10%;
}
.hm-emblem-star {
  width: 100px;
  left: 3%;
  top: 5%;
}
.hm-emblem-lamp {
  width: 90px;
  right: 4%;
  top: 8%;
}
.hm-emblem-bible {
  width: 130px;
  left: 2%;
  bottom: 10%;
}
.hm-emblem-olive {
  width: 140px;
  left: 3%;
  top: 15%;
}

/* ========== CARD EMBLEMS ========== */
.hm-card-emblem {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.hm-vision .card:hover .hm-card-emblem,
.hm-give .card:hover .hm-card-emblem {
  opacity: 0.8;
}

/* ========== BIBLE CHARACTERS SECTION ========== */
.hm-bible-chars {
  position: relative;
  overflow: hidden;
}
.hm-bible-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.hm-bible-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hm-bible-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold, #c9a84c), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hm-bible-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.hm-bible-card:hover::before {
  opacity: 1;
}
.hm-bc-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #c9a84c);
  transition: all 0.3s ease;
}
.hm-bible-card:hover .hm-bc-icon {
  background: linear-gradient(135deg, var(--gold, #c9a84c), #b8943d);
  color: #0d2818;
  border-color: var(--gold, #c9a84c);
  box-shadow: 0 4px 16px rgba(201,168,76,0.25);
}
.hm-bc-icon svg {
  width: 28px; height: 28px;
}
.hm-bible-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 0.25rem;
}
.hm-bc-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #1a5e2a);
  margin-bottom: 0.75rem;
}
.hm-bible-card p {
  color: rgba(0,0,0,0.55);
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.hm-bc-ref {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold, #c9a84c);
  background: rgba(201,168,76,0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

/* ========== SECTION DIVIDERS ========== */
.hm-section-divider {
  height: 2px;
  max-width: 200px;
  margin: 0 auto;
  opacity: 0.6;
}

/* ========== FLOATING ANIMATION ========== */
@keyframes hmFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(1deg); }
  50% { transform: translateY(-6px) rotate(-0.5deg); }
  75% { transform: translateY(-15px) rotate(0.5deg); }
}

@keyframes hmFloatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(10px) rotate(-1deg); }
  66% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes hmGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.1); }
  50% { box-shadow: 0 0 40px rgba(201,168,76,0.2); }
}

/* ========== BIBLE GRID RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .hm-bible-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .hm-bible-grid { grid-template-columns: 1fr; }
  .hm-hero-emblem { display: none; }
  .hm-section-emblem { opacity: 0.3; transform: scale(0.7); }
}
