html,
body {
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* =====================
   GLOBAL RESETS
===================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
}

html {
  font-size: 1rem;
}

@media screen and (max-width: 1440px) {
  html {
    font-size: calc(0.8127rem + 0.2081vw);
  }
}

@media screen and (max-width: 479px) {
  html {
    font-size: calc(0.7497rem + 0.4184vw);
  }
}

/* =====================
   UTILITIES
===================== */
.hide {
  display: none !important;
}

.spacing-clean {
  padding: 0 !important;
  margin: 0 !important;
}

.pointer-events-off {
  pointer-events: none;
}

.pointer-events-on {
  pointer-events: auto;
}

.truncate-width {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* =====================
   LAYOUT HELPERS
===================== */
.container-small,
.container-medium,
.container-large {
  margin-left: auto !important;
  margin-right: auto !important;
}

.div-square::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

/* =====================
   TEXT CLAMP
===================== */
.text-style-1line,
.text-style-2lines,
.text-style-3lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-style-1line {
  -webkit-line-clamp: 1;
}

.text-style-2lines {
  -webkit-line-clamp: 2;
}

.text-style-3lines {
  -webkit-line-clamp: 3;
}

/* =====================
   TOP BAR
===================== */
.topbar {
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  z-index: 1001;
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  color: #f0c040;
}

@media (max-width: 767px) {
  .topbar-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

/* =====================
   SOCIAL ICONS
===================== */
.top-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-socials a {
  color: #fff;
  font-size: 14px;
  transition: color 0.3s ease;
}

.top-socials a:hover {
  color: #f0c040;
}

/* =====================
   CTA GRID & CARDS
===================== */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

.cta-large_card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-large_card:hover {
  transform: translateY(-6px);
}

/* =====================
   HERO SLIDER
===================== */


.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 380px;
  }
}

/* Desktop dropdown */
@media (min-width: 992px) {
  .navbar_menu-dropdown:hover .w-dropdown-list {
    display: block;
  }
}

/* Mobile dropdown */
@media (max-width: 991px) {
  .w-dropdown-list {
    display: none;
  }

  .w-dropdown.w--open .w-dropdown-list {
    display: block;
  }
}

.logo-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0.5rem;
/*  z-index: 1000;*/
}

.logo-bar_link {
  text-decoration: none;
}

.main-logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Mobile tweak */
@media (max-width: 767px) {
  .main-logo-text {
    font-size: 1.4rem;
    text-align: center;
  }
}

.navbar_component {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* If you have a top bar above navbar */
.top-bar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1001;
  background: transparent;
}

.navbar_container {
  display: flex;
  /* 🔥 switch from grid → flex */
  justify-content: center;
  /* center menu horizontally */
  align-items: center;
  width: 100%;
  height: 4.5rem;
  padding: 0 2rem;
  max-width: none;
}

.navbar_menu {
  display: flex;
  justify-content: center;
  /* centers the inner group */
  width: 100%;
  overflow: visible;
}

/* Two-line wrap zone */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar_menu-inner {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, max-content);
    row-gap: 0.75rem;
    justify-content: center;
  }
}


@media (max-width: 991px) {
  .navbar_menu {
    justify-content: flex-start;
  }

  .navbar_menu-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

}

.navbar_component .navbar_container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  grid-template-columns: none !important;
  grid-auto-columns: unset !important;
  grid-column-gap: 0 !important;
  grid-row-gap: 0 !important;
}

/* ================================
   CHURCH COUNTER SECTION
================================ */

.church-counter-section {
  position: relative;
  padding: 50px 20px;
  background: url('../Images/counterup.webp') center center / cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.church-counter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 31, 46, 0.80),
      rgba(16, 31, 46, 0.80));
  z-index: 1;
}


/* Container */
.counter-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
}

/* Individual item */
.counter-item {
  flex: 1 1 220px;
  text-align: center;
  color: white;
  transition: transform 0.3s ease;
}

.counter-item:hover {
  transform: translateY(-10px);
}

/* Icon */
.counter-item i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #d4af37;
  /* gold church tone */
}

/* Number */
.counter-item .number {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0;
}

/* Line */
.counter-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin: 10px auto 15px;
}

/* Label */
.counter-label {
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .counter-container {
    gap: 40px;
  }

  .counter-item {
    flex: 1 1 45%;
  }
}

/* ================================
   FULL WIDTH HERO
================================ */

.section_hero-main {
  position: relative;
  width: 100%;
  height: 100vh;
  /* 🔥 force full screen */
  min-height: 700px;
  overflow: hidden;
  /* prevent scroll bleed */
}

@media (max-width: 991px) {

  .navbar_component .w-nav-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    overflow-y: auto !important;
    background: #072f4f;
    padding-top: 8rem;
    z-index: 9999;
  }

}

.navbar_component.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #042239 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    background-color: #042239;
}


@media (min-width: 1600px) {
  .section_hero-main {
    min-height: 1030px;
  }
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}


.hero-slide.active {
  transform: scale(1);
  transition: opacity 1s ease, transform 6s ease;
}

.navbar_component:not(.scrolled) .navbar_link,
.navbar_component:not(.scrolled) .navbar_dropdown-toggle {
  color: white;
}

.navbar_component.scrolled .navbar_link,
.navbar_component.scrolled .navbar_dropdown-toggle {
  color: #ffffff !important;
}

.footer_legal-link {
  font-size: .875rem;
  text-decoration: none;
  color: #adb7bf;
}

/* Transparent only when NOT scrolled */
.section_hero-main .navbar_component:not(.scrolled) {
  background: transparent !important;
}

/* Also override Webflow default nav background */
.section_hero-main .w-nav:not(.scrolled) {
  background: #042239 !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

.section_hero-main .topbar,
.section_hero-main .logo-bar {
  background: transparent !important;
}

@media (max-width: 991px) {

  .w-nav-button {
    position: absolute !important;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 10000;
  }

  .w-nav-button.w--open {
    background: transparent;
  }

  .w-nav-button.w--open .w-icon-nav-menu {
    color: #ffffff;
  }

  .navbar_container {
    position: relative;
    flex-direction: column;
    align-items: center;
    /* keeps logo centered */
    justify-content: center;
    height: auto;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 991px) {

  .logo-bar {
    position: relative;
  }

}

.navbar_component {
  will-change: background, box-shadow;
}

/* Make dropdown container relative */
.navbar_menu-dropdown {
  position: relative;
}

/* Default dropdown behavior */
.navbar_dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto !important;
}

/* Fix for dropdowns near right edge (like Gallery) */
.navbar_menu-dropdown:last-child .navbar_dropdown-list {
  left: auto !important;
  right: 0;
}

.align-right .navbar_dropdown-list {
  left: auto !important;
  right: 0;
}

/* Laptop range optimization */
@media (min-width: 992px) and (max-width: 1400px) {

  .navbar_link,
  .navbar_dropdown-toggle {
    font-size: 0.9rem;
    /* slightly smaller */
  }

  .navbar_menu {
    gap: 1.2rem;
    /* reduce spacing */
  }

  .navbar_container {
    padding: 0 1rem;
    /* reduce side padding */
  }
}

@media (min-width: 992px) and (max-width: 1200px) {

  .navbar_link,
  .navbar_dropdown-toggle {
    font-size: 0.85rem;
  }

  .navbar_menu {
    gap: 0.8rem;
  }
}

.navbar_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  /* default */
}

.navbar_link,
.navbar_dropdown-toggle {
  white-space: nowrap;
}

/* GRID */
.celebration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* CARD */
.celebration-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 120px;
  /* 🔥 Reduced height */
}

.celebration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* IMAGE */
.celebration-image img {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  object-fit: cover;
}

/* CONTENT */
.celebration-content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.celebration-content p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* TAG */
.celebration-tag {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* THEMES */
.birthday-card {
  border-left: 5px solid #ff6b9a;
}

.anniversary-card {
  border-left: 5px solid #d4af37;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .celebration-grid {
    grid-template-columns: 1fr;
  }
}

/* Wrapper */
.celebration-viewall {
  text-align: center;
  margin-top: 35px;
}

/* Button */
.celebration-btn {
  display: inline-block;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 50px;
  border: 1.5px solid #222;
  color: #222;
  background: transparent;
  transition: all 0.3s ease;
}

/* Hover Effect */
.celebration-btn:hover {
  background: #222;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Desktop menu layout */
@media (min-width: 992px) {

  .navbar_menu {
    display: flex;
    justify-content: center;
    align-items: center;

    width: auto;
    /* 🔥 prevent full width stretch */
    max-width: 1400px;
    /* optional limit */
    margin: 0 auto;
    /* center group */

    gap: 1.3rem;
    /* clean consistent spacing */
  }

  .navbar_link,
  .navbar_dropdown-toggle {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

}

/* ===============================
   CTA CARD OPTIMIZATION
================================ */

.cta-large_card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
}

.cta-large_card .content-group {
  padding: 2rem;
}

.cta-large_card h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.cta-large_card .text-size-large {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===============================
   CTA BUTTON STYLE MATCH
================================ */

.section_cta .button {
  display: inline-block;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: 1.5px solid #ffffff;
  background: transparent;
  color: #ffffff;
  transition: all 0.3s ease;
}

.section_cta .button:hover {
  background: #ffffff;
  color: #072f4f;
  /* your theme blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===============================
   FORCE 3 CTA CARDS IN ONE ROW
================================ */

.section_cta .cta-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
}

/* Keep responsive stacking */
@media (max-width: 991px) {
  .section_cta .cta-grid {
    grid-template-columns: 1fr !important;
  }
}

.counter-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-item {
  padding: 30px 20px;
}

.counter-icon i {
  font-size: 42px;
  color: #c89d58;
  margin-bottom: 15px;
}

.number {
  font-size: 42px;
  font-weight: 700;
}

.counter-line {
  width: 50px;
  height: 2px;
  background: #c89d58;
  display: block;
  margin: 12px auto;
}

.counter-label {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .counter-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .counter-container {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PREMIUM COMMITTEE SECTION
================================ */

.section_committees {
  padding: 80px 0 90px;
  background: #f8f6f2;
  /* match premium light tone */
}

.section_committees .section-header {
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section_committees .section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section_committees .section-header .text-size-large {
  opacity: 0.75;
  line-height: 1.6;
}

/* Container width match */
.section_committees .container-large {
  max-width: 1300px;
}

/* Grid */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Card */
.committee-card {
  position: relative;
  overflow: hidden;

  height: 290px;
  /* 🔥 increased from 250px */
  padding: 45px 30px;
  /* more breathing space */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: #ffffff;
  border-radius: 26px;
  /* slightly bigger radius */
  text-align: center;
  text-decoration: none;
  color: #1e1e1e;

  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);

  transition: all 0.35s ease;
}


.committee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* Gold Accent Line */
.committee-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #c89d58, #e6c27a);
  transition: width 0.4s ease;
}


.committee-card:hover::after {
  width: 100%;
}


/* Title */
.committee-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.section_committees .container-large {
  max-width: 1500px;
  /* 🔥 increased from default */
}

.footer_social-link i,
.top-socials i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer_social-link:hover i,
.top-socials a:hover i {
  transform: translateY(-3px);
  color: #c89d58;
}

/* Footer Contact Alignment */
.contact-row {
  display: flex;
  align-items: center;
  /* 🔥 vertical alignment fix */
  gap: 10px;
}

.contact-icon {
  font-size: 15px;
  line-height: 1;
  /* prevents vertical shift */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c89d58;
  width: 18px;
}

.footer_link {
  margin: 0;
  /* remove unwanted spacing */
  display: inline-block;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* 4:3 ratio */
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}

/* Replace icon with image */
.committee-image {
  width: 95px;
  height: 95px;
  margin-bottom: 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.committee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.committee-card:hover .committee-image img {
  transform: scale(1.08);
}

/* =================================
   COMMITTEE SECTION LAYOUT FIX
================================= */

.committee-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  /* 🔥 smaller text, bigger cards */
  gap: 60px;
  align-items: start;
}

/* Make text block slightly compact */
.committee-layout .content-group {
  max-width: 420px;
}

/* Increase card grid width */
.committee-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* Responsive */
@media (max-width: 991px) {
  .committee-layout {
    grid-template-columns: 1fr;
  }

  .committee-layout .content-group {
    max-width: 100%;
    text-align: center;
  }

  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   PREMIUM FULL IMAGE COMMITTEES
================================ */

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.committee-card {
  position: relative;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.4s ease;
}

.committee-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Dark overlay */
.committee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.2));
  transition: background 0.4s ease;
}

/* Text */
.committee-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: #ffffff;
  z-index: 2;
}

.committee-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hover Effects */
.committee-card:hover {
  transform: translateY(-8px);
}

.committee-card:hover img {
  transform: scale(1.1);
}

.committee-card:hover .committee-overlay {
  background: linear-gradient(to top,
      rgba(200, 157, 88, 0.85),
      rgba(0, 0, 0, 0.3));
}

/* Responsive */
@media (max-width: 1200px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .committee-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PREMIUM FULL IMAGE COMMITTEES
================================ */

.section_committees {
  padding: 100px 0;
  background: #ffffff;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* Card */
.committee-card {
  position: relative;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image */
.committee-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Dark Overlay */
.committee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 15%,
      rgba(0, 0, 0, 0.45) 55%,
      rgba(0, 0, 0, 0.2) 100%);
  transition: background 0.4s ease;
}

/* Content */
.committee-content {
  position: absolute;
  bottom: 35px;
  left: 35px;
  right: 35px;
  z-index: 2;
  color: #ffffff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.committee-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.committee-content p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* Learn more */
.committee-link {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c89d58;
  font-weight: 600;
}

/* Hover Effects */
.committee-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.committee-card:hover img {
  transform: scale(1.1);
}

.committee-card:hover .committee-overlay {
  background: linear-gradient(to top,
      rgba(200, 157, 88, 0.9),
      rgba(0, 0, 0, 0.45));
}

.committee-card:hover .committee-content {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .committee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .committee-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CELEBRATION HEADER ENHANCEMENT
================================ */

.celebration-header {
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.celebration-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.celebration-header .text-size-large {
  opacity: 0.75;
  line-height: 1.6;
}

/* Elegant gold divider */
.celebration-divider {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #c89d58, #e6c27a);
  margin: 18px auto 20px;
  border-radius: 5px;
}

/* ===============================
   CLEAN PREMIUM MARQUEE
================================ */

.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #072f4f;
  padding: 28px 0;
}

/* Track */
.brand-marquee_track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: scrollMarquee 25s linear infinite;
}

/* Text */
.brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Gold separator */
.brand-dot {
  font-size: 1.2rem;
  color: #c89d58;
  opacity: 0.9;
}

/* Animation */
@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Soft fade edges */
.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(to right, #072f4f, transparent);
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(to left, #072f4f, transparent);
}

/* ===============================
   EVENTS HEADER
================================ */

.events-header {
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.events-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.events-divider {
  width: 70px;
  height: 3px;
  margin: 18px auto 20px;
  border-radius: 5px;
  background: linear-gradient(90deg, #c89d58, #e6c27a);
}

.events-header .text-size-large {
  opacity: 0.75;
  line-height: 1.6;
}

/* ===============================
   PREMIUM EVENT CARDS
================================ */

.events_item-link {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.events_item-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Image */
.events_image-wrapper img {
  transition: transform 0.6s ease;
}

.events_item-link:hover .content-image {
  transform: scale(1.08);
}

/* Content padding */
.events_item-content {
  padding: 24px 26px 28px;
}

/* Title */
.events_title-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Icon row spacing */
.icon-group {
  gap: 10px;
}

/* ===============================
   PREMIUM EVENT CARDS
================================ */

.events_item-link {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.events_item-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Image */
.events_image-wrapper img {
  transition: transform 0.6s ease;
}

.events_item-link:hover .content-image {
  transform: scale(1.08);
}

/* Content padding */
.events_item-content {
  padding: 24px 26px 28px;
}

/* Title */
.events_title-wrapper h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Icon row spacing */
.icon-group {
  gap: 10px;
}

.section_feature {
  padding: 70px 0 60px;
  background: #f8f6f2;
}

.events-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.events_image-wrapper {
  height: 230px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.events_item-link {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.events_item-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.section_welcome {
  padding: 80px 0;
  background: #ffffff;
}

.parallax-image-wrapper {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.parallax-image {
  transition: transform 0.6s ease;
}

.parallax-image-wrapper:hover .parallax-image {
  transform: scale(1.05);
}

.section_welcome h3.heading-style-h5 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section_welcome .text-style-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 40px;
  background: linear-gradient(135deg, #dfe8f3, #dfe8f3);
  color: #427bbe;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.section_welcome .card.is-medium {
  background: #ffffff;
  border-radius: 30px;
  padding: 30px 35px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.section_welcome .card_item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.section_welcome .card_item-list {
  gap: 40px;
}

.section_welcome .icon-slot {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dfe8f3, #dfe8f3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgb(223 232 243);
}

.section_welcome .card_item .text-size-small {
  font-size: 0.9rem;
  line-height: 1.6;
}

.section_welcome .card_item {
  padding: 5px 0;
}

.section_welcome .icon-slot svg {
  width: 22px;
  height: 22px;
}

.section_welcome .button {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 40px;
  background: #0f2c45;
  /* deep navy */
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(15, 44, 69, 0.25);
}

.section_welcome .button.is-alternate {
  background: transparent;
  border: 2px solid #0f2c45;
  color: #0f2c45;
  box-shadow: none;
}

.section_welcome .button.is-alternate:hover {
  background: #0f2c45;
  color: #ffffff;
}


.section_welcome .button:hover {
  background: #c89d58;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(200, 157, 88, 0.35);
}

.section_welcome .padding-section-large {
  padding-top: 0;
  padding-bottom: 0;
}

.section_welcome h3 {
  font-size: 2.2rem;
  margin-top: 18px;
  margin-bottom: 18px;
  font-weight: 700;
}

.section_welcome .text-size-large {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
}

.section_welcome .section-content {
  display: grid;
  grid-template-columns: 45% 55%;
  /* 🔥 more space to right side */
  gap: 50px;
  /* align-items: center; */
}

/* ===============================
   PREMIUM TEAM SECTION
================================ */

.section_team {
  padding: 100px 0 110px;
  background: #f8f6f2;
  /* soft luxury tone */
}

.section_team .section-content {
  display: grid;
  grid-template-columns: 60% 42%;
  gap: 70px;
  align-items: start;
}

.section_heading {
    display: inline-block !important;
    padding: 8px 20px !important;
    border-radius: 40px !important;
    background: #c7e1ff !important;
    color: #004376 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    font-weight: bolder !important;
    border: #78b6fd 1px solid !important;
}

.section_team h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section_team .text-size-large {
  opacity: 0.75;
  line-height: 1.7;
}


.grid.small {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.folder-card:hover,
.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* FOLDER ICON IMAGE */
.folder-card img {
  width: 100px;
  margin: 25px auto 10px;
  display: block;
}

.folder-title {
  font-weight: 600;
  padding: 10px;
}

/* IMAGE CARD */
.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* PAGINATION */
.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination button {
  padding: 6px 12px;
  margin: 0 4px;
  cursor: pointer;
}

/* FOLDER MODAL */
.folder-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.folder-modal-content {
  width: 95%;
  max-width: 1250px;
  /* Increased size */
  max-height: 92vh;
  background: #fff;
  border-radius: 18px;
  padding: 35px 40px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}

.modal-close-btn {
  font-size: 34px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: 0.2s;
}

.modal-close-btn:hover {
  transform: scale(1.15);
}

.modal-back-wrapper {
  margin: 15px 0 25px 0;
}


/* IMAGE MODAL */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.image-content img {
  max-width: 90vw;
  max-height: 85vh;
}

.image-modal .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.image-modal .left {
  left: 5%;
}

.image-modal .right {
  right: 5%;
}

.hidden {
  display: none;
}

.folder-modal-content {
  position: relative;
}

.folder-card {
  padding: 20px;
}

.folder-card img {
  width: 80px;
}

.back-btn {
  background: #042239;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.back-btn:hover {
  opacity: 0.85;
}

#folderContent {
  margin-top: 10px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.folder-modal {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------------- IMAGE MODAL ---------------- */



.image-content {
  position: relative;
  padding-top: 50px;
  /* 🔥 space above image */
}

.image-content img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 12px;
  display: block;
}

/* CLOSE BUTTON FIX */
.image-content .close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

/* NAV BUTTONS */
.image-modal .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.image-modal .left {
  left: 5%;
}

.image-modal .right {
  right: 5%;
}

.hidden {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 35px;
}

/* ================= FOLDER CARD ================= */

.folder-card {
  position: relative;
  background: linear-gradient(145deg, #ffd86b, #f2c230);
  border-radius: 14px;
  height: 180px;
  padding: 35px 20px 20px 20px;
  cursor: pointer;
  transition: 0.4s cubic-bezier(.19, 1, .22, 1);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  overflow: visible;
}

/* Hover Lift */
.folder-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

/* Folder Tab */
.folder-card::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 30px;
  width: 100px;
  height: 30px;
  background: #f2c230;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* ================= IMAGE STACK ================= */

.image-stack {
  position: absolute;
  top: -20px;
  right: -15px;
  width: 110px;
  height: 75px;
  transition: 0.4s ease;
}

/* Floating animation */
@keyframes floatStack {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0px);
  }
}

.image-stack img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: 0.4s cubic-bezier(.19, 1, .22, 1);
  animation: floatStack 5s ease-in-out infinite;
}

/* Back */
.image-stack img:nth-child(1) {
  transform: rotate(-10deg);
  top: 8px;
  left: -8px;
  z-index: 1;
}

/* Middle */
.image-stack img:nth-child(2) {
  transform: rotate(8deg);
  top: 4px;
  left: 4px;
  z-index: 2;
}

/* Front */
.image-stack img:nth-child(3) {
  transform: rotate(0deg);
  z-index: 3;
}

/* Spread on Hover */
.folder-card:hover .image-stack img:nth-child(1) {
  transform: rotate(-18deg) translateX(-10px);
}

.folder-card:hover .image-stack img:nth-child(2) {
  transform: rotate(18deg) translateX(10px);
}

.folder-card:hover .image-stack img:nth-child(3) {
  transform: scale(1.05);
}

/* ================= TEXT ================= */

.folder-title {
  position: absolute;
  bottom: 35px;
  left: 20px;
  font-weight: 600;
  font-size: 17px;
  color: #042239;
}

.folder-count {
  position: absolute;
  bottom: 12px;
  left: 20px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.video-card {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  border-radius: 50%;
}

.publication-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.publication-card:hover {
  transform: translateY(-5px);
}

.pub-cover img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.pub-title {
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #042239;
}

/* ===== PUBLICATION HERO ===== */

.publication-hero {
  background-image: url("https://images.unsplash.com/photo-1519682337058-a94d519337bc");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 0 80px 0;
}

.publication-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 34, 57, 0.75);
}

.publication-hero .section-header {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.publication-hero h2,
.publication-hero p,
.publication-hero .text-style-eyebrow {
  color: #ffffff !important;
}

/* ===== PUBLICATION GRID ===== */

#publicationsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

/* ===== CARD ===== */

.publication-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pub-cover img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.pub-title {
  padding: 18px;
  font-weight: 600;
  color: #042239;
}

/* ===== PAGINATION ===== */

#publicationsPagination {
  margin-top: 40px;
  text-align: center;
}

.pub-page-btn {
  margin: 0 6px;
  padding: 8px 14px;
  border: none;
  background: #eaeaea;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s ease;
}

.pub-page-btn:hover {
  background: #042239;
  color: #ffffff;
}

.pub-page-btn.active {
  background: #042239;
  color: #ffffff;
  font-weight: 600;
}

/* ================= MAGAZINE VIEWER ================= */

.magazine-viewer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.magazine-viewer.hidden {
  display: none;
}

.magazine-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.magazine-container {
  position: relative;
  width: 90%;
  height: 90%;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: magazineFade 0.3s ease;
  display: flex;
  flex-direction: column;
}

@keyframes magazineFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.magazine-header {
  background: #042239;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.magazine-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.magazine-container iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.footer_component {
  border-top: none !important;
}

/* ================= MAGAZINE VIEWER ================= */

.magazine-viewer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.magazine-viewer.hidden {
  display: none;
}

.magazine-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.magazine-container {
  position: relative;
  width: 92%;
  height: 92%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  animation: fadeInMag 0.3s ease;
}

@keyframes fadeInMag {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.magazine-header {
  background: #042239;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.magazine-title {
  font-weight: 600;
  font-size: 16px;
}

.magazine-actions {
  display: flex;
  gap: 10px;
}

.mag-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.mag-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.magazine-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

.magazine-body {
  position: relative;
  flex: 1;
}

.magazine-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

/* Loader Spinner */

.mag-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 6px solid #eee;
  border-top: 6px solid #042239;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =============================
   LOGO BAR FIX
============================= */

.logo-bar {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-bar_link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.main-logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 28px;
  color: #f5f5f5;
  /* softer than pure white */
}


/* =============================
   NAVBAR ALIGNMENT FIX
============================= */

.navbar_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Make menu align properly */
.navbar_menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* =============================
   RESPONSIVE FIX
============================= */

@media (max-width: 991px) {

  .main-logo-text {
    font-size: 18px;
  }

}

@media (max-width: 767px) {

  .main-logo-text {
    font-size: 16px;
  }

}

@media (max-width: 480px) {

  .main-logo-text {
    font-size: 14px;
  }

}

/* =========================================
   DEFAULT (Desktop >1300px)
========================================= */

.navbar_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.logo-bar {
  order: 1;
}

.navbar_menu {
  order: 2;
  display: flex;
  align-items: center;
}


/* =========================================
   BETWEEN 991px AND 1300px
   Logo Top Center, Menu Below
========================================= */

@media (max-width:1380px) and (min-width:991px) {

  .navbar_component {
    height: auto !important;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .navbar_container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-bar {
    width: 100%;
    text-align: center;
  }

  .logo-bar_link {
    justify-content: center;
  }

  .main-logo-text {
    font-size: 22px;
    /* Slightly smaller for centered layout */
  }

  .navbar_menu {
    position: relative !important;
    width: 100%;
  }

}


/* =========================================
   BELOW 991px (Keep Webflow Mobile)
========================================= */

@media (max-width:990px) {

  .navbar_container {
    flex-direction: row;
  }

  .logo-bar {
    text-align: left;
  }

  .logo-bar_link {
    justify-content: flex-start;
  }

  .main-logo-text {
    font-size: 20px;
  }
}

/* =================================
   DESKTOP (Above 1250px)
================================= */

.logo-bar {
  text-align: left;
}

.logo-bar_link {
  justify-content: flex-start;
}

.main-logo-text {
  font-size: 28px;
  /* Bigger like before */
}

/* Smooth transitions */
.logo-bar,
.logo-bar_link,
.main-logo-text,
.navbar_container,
.navbar_menu,
.navbar_component {
  transition: all 0.45s cubic-bezier(.4, 0, .2, 1);
}

@media (max-width:1250px) and (min-width:991px) {

  .logo-bar {
    animation: logoFadeUp 0.6s ease forwards;
  }

  @keyframes logoFadeUp {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

/* =============================
   NAVBAR DONATE BUTTON
============================= */

.donate-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: #c79a3b;
  /* gold tone */
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Smooth pulse animation */
@keyframes premiumGlow {
  0% {
    box-shadow:
      0 0 6px rgba(200, 169, 81, 0.5),
      0 0 14px rgba(200, 169, 81, 0.3),
      0 6px 18px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow:
      0 0 14px rgba(229, 199, 122, 0.8),
      0 0 28px rgba(200, 169, 81, 0.6),
      0 6px 22px rgba(0, 0, 0, 0.25);
  }

  100% {
    box-shadow:
      0 0 6px rgba(200, 169, 81, 0.5),
      0 0 14px rgba(200, 169, 81, 0.3),
      0 6px 18px rgba(0, 0, 0, 0.2);
  }
}

.donate-btn {
  animation: premiumGlow 3s ease-in-out infinite;
}

.donate-btn:hover {
  background-color: #a87c25;
  transform: translateY(-2px);
}


/* ================= HERO ================= */

.donate-hero {
    position: relative;
    background-image: url("/Images/Jesus.jpg");
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

.donate-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 34, 57, 0.8);
}

.donate-hero-content {
  position: relative;
  z-index: 2;
}

/* ================= MAIN SECTION ================= */

.donate-main {
  background: linear-gradient(to bottom, #f8fafc, #eef2f7);
  padding: 80px 0;
}

.donate-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* ================= LEFT SIDE ================= */

.donate-note {
  margin-top: 25px;
  padding: 15px;
  background: #eef4ff;
  border-left: 4px solid #042239;
  border-radius: 8px;
}

/* ================= GATEWAY ================= */

.donate-gateway {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.donate-btn-primary {
  width: 100%;
  padding: 14px;
  background: #042239;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.donate-btn-primary:hover {
  background: #021726;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .donate-wrapper {
    grid-template-columns: 1fr;
  }
}

.amount-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.amount-options button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f2f4f7;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
  font-weight: bold;
}

.amount-options button:hover {
  background: #042239;
  color: #fff;
}

.secure-note {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  color: #666;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-modal.hidden {
  display: none;
}

.payment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.payment-box {
  position: relative;
  width: 400px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: scale(.9);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.payment-header {
  background: #042239;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.payment-body {
  padding: 20px;
}

.payment-summary {
  text-align: center;
  margin-bottom: 20px;
}

.payment-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.method {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  background: #f4f4f4;
  cursor: pointer;
}

.method.active {
  background: #042239;
  color: #fff;
}

.payment-fields input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.pay-now-btn {
  width: 100%;
  padding: 12px;
  background: #042239;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.payment-loader,
.payment-success {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
}

.amount-btn.active {
  background: #042239;
  color: #fff;
  border-color: #042239;
}

.upi-section {
  text-align: center;
}

.upi-id-display {
  background: #f2f4f7;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 600;
}

.upi-qr img {
  width: 200px;
  margin: 15px auto;
  display: block;
}

.upi-instruction {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}


.payment-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.payment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.rzp-box {
  position: relative;
  width: 750px;
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  z-index: 10000;
}

.rzp-left {
  flex: 2;
  padding: 25px;
}

.rzp-right {
  flex: 1;
  background: #072654;
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rzp-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;
}

.rzp-method {
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 5px;
}

.rzp-method.active {
  border-color: #528FF0;
  background: #f3f7ff;
}

.rzp-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.rzp-row {
  display: flex;
  gap: 10px;
}

.rzp-pay-btn {
  width: 100%;
  padding: 12px;
  background: #528FF0;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.rzp-pay-btn:hover {
  background: #3b74d7;
}

.rzp-amount {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0;
}

.rzp-close {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 12px;
}

.rzp-close:hover {
  color: #528FF0;
}

.rzp-method {
  transition: 0.2s ease;
}

.rzp-method:hover {
  background: #f5f7ff;
}

.rzp-form input:focus,
.rzp-form select:focus {
  outline: none;
  border-color: #528FF0;
}

/* ===== DONATION TABS ===== */
.donation-tabs {
  display: flex;
  position: relative;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
}

.donation-tab {
  flex: 1;
  padding: 14px 0;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.donation-tab:hover {
  color: #042239;
}

.donation-tab.active {
  background: #00589b;
  color: #fff;
  border-bottom: 3px solid #f4c542;
}

/* Hide inactive content */
.donation-tab-content {
  display: none;
}

.donation-tab-content.active {
  display: block;
}

.donation-instruction {
  display: none;
}

.donation-instruction.active {
  display: block;
}

.donate-gateway h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
}

/* ===== SLIDING UNDERLINE ===== */
.donation-tabs::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50%;
  height: 3px;
  background: #042239;
  transition: transform 0.3s ease;
}

.donation-tabs.member-active::after {
  transform: translateX(100%);
}

/* ===== TAB CONTENT ANIMATION ===== */
.donation-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.donation-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ================= PREMIUM LEFT CARD ================= */

.donate-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.4s ease;
}

.donate-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

/* Elegant top accent */
.donate-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #042239, #0d4d8c);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Heading */
.donation-instruction h3 {
  font-size: 26px;
  font-weight: 700;
  color: #042239;
  margin-bottom: 15px;
}

/* Paragraph */
.donation-instruction p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

/* Premium List */
.donation-instruction ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.donation-instruction ul li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
  color: #333;
}

/* Premium Icon Circle */
.donation-instruction ul li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #042239;
  color: #fff;
  font-size: 14px;
  margin-right: 14px;
  flex-shrink: 0;
}

/* Elegant Note Box */
.donate-note {
  background: #f4f7fb;
  padding: 18px;
  border-radius: 12px;
  font-size: 14px;
  color: #444;
  border-left: 4px solid #042239;
}

.donate-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.donate-hero-content p {
  text-align: center;
  margin-top: 12px;
}

.donate-hero-content p {
  max-width: 100%;
}

/* ================= ULTRA PREMIUM TESTIMONIALS ================= */

.section_testimonials {
  background: linear-gradient(to bottom, #f4f7fb, #e9eef5);
  padding: 80px 0 120px;
  margin-top: -60px;
  position: relative;
}


/* Grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 45px;
}

/* Card */
.testimonial-card {
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  padding: 45px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.06),
    0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.5s ease;
}

/* Gold accent top */
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #042239, #c8a045);
}

/* Hover luxury lift */
.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.08),
    0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Quote watermark */
.quote-icon {
  font-size: 90px;
  position: absolute;
  top: 15px;
  right: 25px;
  opacity: 0.04;
  color: #042239;
  font-weight: bold;
}

/* Text */
.testimonial-text {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 35px;
}

/* User */
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.testimonial-user img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c8a045;
  transition: 0.3s ease;
}

.testimonial-card:hover .testimonial-user img {
  transform: scale(1.05);
}

/* Name */
.testimonial-name {
  font-weight: 700;
  font-size: 17px;
  color: #042239;
}

.testimonial-role {
  font-size: 14px;
  color: #888;
}

/* Make dropdown container relative */
.navbar_menu-dropdown {
  position: relative;
}

/* Default dropdown */
.navbar_dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
}

/* 🔥 Align LAST navbar dropdown properly */
.navbar_menu>.navbar_menu-dropdown:last-of-type .navbar_dropdown-list {
  left: auto !important;
  right: 0 !important;
}

/* Make dropdown container relative */
.navbar_menu-dropdown {
  position: relative;
}

/* Default dropdown position */
.navbar_dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
}

/* ✅ Fix for dropdowns near right edge (like Givings / Gallery) */
.navbar_menu>.navbar_menu-dropdown:last-child .navbar_dropdown-list {
  left: auto !important;
  right: 0 !important;
}

/* ✅ Manual align-right helper (if you ever need it) */
.navbar_menu-dropdown.align-right .navbar_dropdown-list {
  left: auto !important;
  right: 0 !important;
}

/* ===================================
   TESTIMONIAL HERO (Donation Style)
=================================== */

.testimonial-hero {
  position: relative;
  padding: 160px 20px 120px;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(4, 34, 57, 0.75), rgba(4, 34, 57, 0.85)),
    url('https://images.unsplash.com/photo-1507692049790-de58290a4334?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}


/* Dark blue overlay like donation page */
/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(4, 34, 57, 0.88),
        rgba(4, 34, 57, 0.88)
    );
    z-index: 1;
} */

/* Content */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-hero h1 {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.testimonial-hero p {
  font-size: 18px;
  opacity: 0.9;
}

.hero-content .text-style-eyebrow {
  color: #ffd700;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }
}

/* Premium Eyebrow */
.text-style-eyebrow {
  display: inline-block;
  padding: 8px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 25px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f4c542;
}

.testimonial-pagination {
  margin-top: 50px;
  text-align: center;
}

.testimonial-pagination button {
  margin: 0 6px;
  padding: 8px 14px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.testimonial-pagination button:hover {
  background: #042239;
  color: #fff;
}

.testimonial-pagination button.active {
  background: #042239;
  color: #fff;
}

.testimonial-hero .hero-content p {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonial-pagination button {
  margin: 0 5px;
  padding: 8px 14px;
  border: 1px solid #dcdcdc;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.testimonial-pagination button:hover:not(:disabled) {
  background: #042239;
  color: #fff;
}

.testimonial-pagination button.active {
  background: #042239;
  color: #fff;
}

.testimonial-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonial-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(4, 34, 57, 0.85), rgba(4, 34, 57, 0.85)),
    url('https://images.unsplash.com/photo-1507692049790-de58290a4334?q=80&w=1920') center/cover no-repeat;
  color: #fff;
  padding: 120px 20px 80px;
}

.testimonial-hero h1 {
  font-size: 3rem;
  margin: 15px 0;
  font-weight: 700;
}

.testimonial-hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.9;
}

.text-style-eyebrow {
  letter-spacing: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.section_testimonials {
  background: #f5f7fb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.4s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  font-size: 50px;
  color: #042239;
  opacity: 0.1;
  position: absolute;
  top: 15px;
  right: 20px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #444;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: #042239;
}

.testimonial-role {
  font-size: 13px;
  color: #777;
}

.testimonial-grid {
  transition: opacity 0.3s ease;
}

/* ================= FADE UP BASE ================= */

/* Fade animation base */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FADE UP BASE ================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(.19, 1, .22, 1);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slight delay for stagger */
.fade-delay-1 {
  transition-delay: .1s;
}

.fade-delay-2 {
  transition-delay: .2s;
}

.fade-delay-3 {
  transition-delay: .3s;
}

.fade-delay-4 {
  transition-delay: .4s;
}

/* Hero animation */
.testimonial-hero .hero-content>* {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFade 1s ease forwards;
}

.testimonial-hero .text-style-eyebrow {
  animation-delay: .2s;
}

.testimonial-hero h1 {
  animation-delay: .4s;
}

.testimonial-hero p {
  animation-delay: .6s;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= PREMIUM PARISH UI ================= */

.section_series {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 0.5rem;
}

.section-header p {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Parish Content Layout */
.parish-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Headings */
.parish-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

/* Elegant divider under headings */
.parish-content h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #042239;
  display: block;
  margin-top: 0.5rem;
  border-radius: 4px;
}

/* Paragraph polish */
.parish-content p {
  font-size: 1.05rem;
  color: #333;
}

/* List styling */
.parish-content ul {
  padding-left: 1.2rem;
}

.parish-content ul li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

/* Image Premium Effect */
.parish-content img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.parish-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Subtle Section Spacing */
.parish-content>div.spacer-large {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.navbar_component {
  backdrop-filter: blur(10px);
}

.navbar_link {
  position: relative;
  font-weight: 500;
}

.navbar_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.navbar_link:hover::after {
  width: 100%;
}

.footer_component {
  background: #021526;
}

.footer-contact-title {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.footer_link:hover {
  color: #d4af37;
}

.footer_social-link {
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer_social-link:hover {
  transform: translateY(-4px);
  color: #d4af37;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 3rem 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PREMIUM MIRACLE SECTION */
.premium-miracles {
  background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

.miracle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.premium-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.miracle-text h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.miracle-text ul {
  padding-left: 18px;
}

.verse-highlight {
  background: #042239;
  color: white;
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.verse-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 10px;
}

.verse-ref {
  opacity: 0.8;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.testimonial-name {
  margin-top: 15px;
  font-weight: 600;
  color: #042239;
}

/* Responsive */
@media (max-width: 991px) {
  .miracle-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .verse-highlight {
    padding: 40px;
  }
}

/* SOFT PARALLAX BACKGROUND */
.premium-miracles {
  position: relative;
  overflow: hidden;
}

.premium-miracles::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1507692049790-de58290a4334");
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  /* softer */
  z-index: 0;
}

.premium-miracles>* {
  position: relative;
  z-index: 1;
}

.counter-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  text-align: center;
  padding: 60px 0;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: #042239;
}

.counter-label {
  margin-top: 10px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  opacity: 0.7;
}

@media (max-width: 991px) {
  .counter-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  /* SPACE BETWEEN CARDS */
  transition: transform 0.6s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  /* 3 cards with spacing */
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: center;
}

@media (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* PREMIUM HERITAGE STYLING */

.heritage-highlight {
  padding: 80px 0;
}

.heritage-box {
  background: linear-gradient(135deg, #042239, #063b5c);
  color: white;
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.heritage-box h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.arch-item img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    margin-bottom: 15px;
    width: 580px !important;
}
.arch-item {
    display: flex;
    justify-content: center;
}
.arch-item h4 {
  text-align: center;
  font-weight: 600;
}

.heritage-quote {
  margin: 80px 0;
  text-align: center;
  font-size: 1.5rem;
  font-style: italic;
  color: #042239;
}

.heritage-quote span {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.7;
}

@media (max-width: 991px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .heritage-box {
    padding: 40px;
  }
}

.history_item-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #042239;
}

.history_item {
  padding-bottom: 60px;
}

.heritage-box p {
  max-width: none !important;
  margin-bottom: 0;
  font-weight: 400;
}

/* ===============================
   PREMIUM HERITAGE STYLING
================================ */

.heritage-highlight {
  padding: 100px 0;
}

.heritage-box {
  background: linear-gradient(135deg, #042239, #063b5c);
  color: #fff;
  padding: 70px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 20px 100px rgba(0, 0, 0, 0.15);
}

.heritage-box h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}


.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 50px;
}

.arch-item img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.arch-item img:hover {
  transform: scale(1.03);
}

.arch-item h4 {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
}

.heritage-quote {
  margin: 100px 0;
  text-align: center;
  font-size: 1.6rem;
  font-style: italic;
  color: #042239;
}

.heritage-quote span {
  display: block;
  margin-top: 15px;
  font-size: 1rem;
  opacity: 0.7;
}

@media (max-width: 991px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .heritage-box {
    padding: 40px;
  }
}

.history_item {
  padding-bottom: 80px;
  position: relative;
}

.history_item-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #042239;
}

.history_item-divider {
  width: 3px;
  background: linear-gradient(to bottom, #042239, #c8a951);
}

/* ===============================
   HERO SECTION
================================ */

.testimonial-hero {
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #042239, #063b5c);
  color: white;
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1507692049790-de58290a4334") center/cover;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ===============================
   SECTION
================================ */

.section_testimonials {
  padding: 80px 20px;
  background: #f8f9fb;
}

/* ===============================
   GRID RESPONSIVE FIX
================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===============================
   PASTOR CARD
================================ */

.pastor-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.pastor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.pastor-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 5px solid #f0f2f5;
}

.pastor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #042239;
}

.pastor-role {
  color: #c8a951;
  font-weight: 600;
  margin-bottom: 6px;
}

.pastor-started {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===============================
   MODAL FIX
================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-box {
  background: #fff;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  text-align: center;
}

/* ===============================
   MOBILE IMPROVEMENTS
================================ */

@media (max-width: 768px) {

  .testimonial-hero {
    padding: 80px 15px 40px;
  }

  .pastor-card {
    padding: 30px 20px;
  }

  .pastor-image {
    width: 120px;
    height: 120px;
  }

  .pastor-card h3 {
    font-size: 1.1rem;
  }
}

/* ===== PASTOR MODAL FIX ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  /* Hidden by default */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
  z-index: 99999;
  /* Above everything */
}

.modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  animation: fadeUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   PREMIUM PASTOR MODAL
================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 99999;
}

.premium-modal {
  background: #ffffff;
  width: 100%;
  max-width: 700px;
  border-radius: 28px;
  padding: 40px;
  position: relative;
  animation: modalFade 0.35s ease;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.25);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 26px;
  cursor: pointer;
  color: #888;
  transition: 0.3s;
}

.modal-close:hover {
  color: #c8a951;
}

/* Header */
.modal-header {
  display: flex;
  align-items: center;
  gap: 25px;
}

.modal-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #f2f2f2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.modal-header-text h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: #042239;
}

.modal-role {
  color: #c8a951;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-serving {
  font-size: 0.85rem;
  background: #c8a951;
  padding: 6px 12px;
  border-radius: 30px;
  display: inline-block;
}

/* Divider */
.modal-divider {
  height: 3px;
  background: linear-gradient(90deg, #c8a951, #e5c77a);
  margin: 25px 0;
  border-radius: 5px;
}

/* History Text */
.modal-history {
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

/* Extra Section */
.modal-extra h4 {
  margin-bottom: 12px;
  color: #042239;
}

.modal-extra ul {
  list-style: none;
  padding: 0;
}

.modal-extra li {
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
}

.modal-extra li::before {
  content: "•";
  color: #c8a951;
  position: absolute;
  left: 0;
}

/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {

  .premium-modal {
    padding: 30px 20px;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
  }

  .modal-avatar {
    width: 110px;
    height: 110px;
  }
}

/* ================================
   STAFF SECTION PREMIUM UI
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}

.staff-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.staff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.staff-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.staff-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.staff-card:hover img {
  transform: scale(1.08);
}

.staff-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.staff-content {
  padding: 25px;
  text-align: center;
}

.staff-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #042239;
}

.staff-role {
  color: #c8a951;
  font-weight: 600;
  margin-bottom: 15px;
}

.staff-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.staff-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, #c8a951, #e5c77a);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.staff-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(200, 169, 81, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.section_news {
  padding-top: 120px;
}

.featured-news-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news-content {
  padding: 40px;
}

.news-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card-content {
  padding: 20px;
}

.news-card-content a {
  font-weight: 600;
  color: #042239;
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* NEWS CARD */
.news-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card-content {
  padding: 20px;
}

.news-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

/* ================= NEWS MODAL ================= */

.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.news-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 80%;
  max-width: 900px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Image Section */
.modal-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Content Section */
.modal-text {
  padding: 30px;
  overflow-y: auto;
}


/* Smooth appearance */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-modal-content img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 25px;
}

.close-news {
  position: absolute;
  top: 7px;
  right: 15px;
  width: 46px;
  height: 46px;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 27px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}


.close-news:hover {
  background: #042239;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}




@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FEATURED NEWS CARD */
.featured-news {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  align-items: center;
}

.featured-news img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.featured-news-content {
  padding: 40px;
}

.featured-news-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.featured-news-content p {
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
  .featured-news {
    grid-template-columns: 1fr;
  }

  .featured-news img {
    height: 300px;
  }
}

/* ================= BUTTON STYLE ================= */

.news-btn,
#loadMoreBtn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #042239, #0c3c60);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.news-btn:hover,
#loadMoreBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Center Buttons */
.news-card-content button,
.featured-news-content button {
  display: block;
  margin: 20px auto 0 auto;
}

#loadMoreBtn {
  margin: 0 auto;
}

/* ================= MODAL HEADER ================= */

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 30px;
  background: #042239;
  /* Brand color */
  color: #ffffff;

  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

/* VOLUNTEER CARDS */
.volunteer-areas {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.volunteer-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-6px);
}

/* FORM */
.volunteer-form-wrapper {
  background: #ffffff;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9fafc;
}

.form-submit-wrapper {
  text-align: center;
  margin-top: 30px;
}

.volunteer-submit-btn {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;

  border: none;
  border-radius: 50px;

  background: linear-gradient(135deg, #042239, #0c3c60);
  color: #ffffff;

  cursor: pointer;
  transition: all 0.35s ease;

  box-shadow: 0 12px 30px rgba(4, 34, 57, 0.25);
}

.volunteer-submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(4, 34, 57, 0.35);
}

.volunteer-submit-btn:active {
  transform: translateY(-1px);
}

.section_volunteer {
  padding-top: 120px;
  padding-bottom: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #042239;
  box-shadow: 0 0 0 3px rgba(4, 34, 57, 0.1);
  outline: none;
  background: #ffffff;
}


.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
  .volunteer-areas {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

.volunteer-content p {
  max-width: none !important;
}

.subcommittee-intro {
  max-width: 800px;
  margin: 0 auto;
}

.committee-block {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.committee-block:hover {
  transform: translateY(-5px);
}

.committee-block h3 {
  margin-bottom: 15px;
}

.committee-list {
  margin-top: 15px;
  padding-left: 20px;
}

.committee-list li {
  margin-bottom: 8px;
}

/* ========================= */
/* PARISH COMMITTEE (pc-) */
/* ========================= */

.pc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

/* ===============================
   PREMIUM SIDEBAR
=================================*/

.pc-sidebar {
  background: linear-gradient(180deg, #0b2c45, #071f33);
  padding: 25px 0;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pc-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-sidebar li {
  padding: 16px 28px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.pc-sidebar li:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pc-sidebar li.pc-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-left: 4px solid #d4af37;
  /* premium gold */
}

.pc-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* ===============================
   PREMIUM ACCORDION
=================================*/

.pc-year-box {
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.pc-year-title {
  background: linear-gradient(135deg, #0e3a5a, #08263d);
  color: #fff;
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s ease;
}

.pc-year-title:hover {
  background: linear-gradient(135deg, #124a74, #0b2f4b);
}

/* GOLD LINE WHEN ACTIVE */
.pc-year-title.active {
  border-left: 5px solid #d4af37;
}

/* PLUS / MINUS ICON */
.pc-year-title::after {
  content: "+";
  font-size: 22px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.pc-year-title.active::after {
  content: "−";
}

/* BODY */
.pc-year-body {
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.pc-year-body.open {
  padding: 25px;
  max-height: 600px;
}


/* Grid */
.pc-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Members */
.pc-members h4 {
  color: #042239;
  margin-bottom: 20px;
}

.pc-members ul {
  list-style: none;
  padding: 0;
}

.pc-members li {
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 15px;
  color: #333;
}

.pc-members li::before {
  content: "›";
  color: #d4551e;
  margin-right: 10px;
  font-weight: bold;
}

/* Image */
.pc-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* TAB PANELS */
.pc-tab-panel {
  display: none;
}

.pc-tab-panel.active {
  display: block;
}

/* About box */
.pc-about-box {
  background: #f7f8fa;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.pc-about-box h3 {
  color: #042239;
  margin-bottom: 12px;
}

/* Simple List */
.pc-simple-list {
  list-style: none;
  padding: 0;
}

.pc-simple-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.pc-simple-list li::before {
  content: "›";
  color: #d4551e;
  margin-right: 10px;
  font-weight: bold;
}

/* ===============================
   COMMITTEE HEADER LAYOUT
=================================*/

/* spacing between sections */
.pc-committee-text h4 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-weight: 600;
}

.pc-committee-text h5 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* paragraph spacing */
.pc-committee-text p {
  margin-bottom: 15px;
}

/* list spacing */
.pc-committee-text ul {
  margin-bottom: 18px;
  padding-left: 22px;
}

.pc-committee-text li {
  margin-bottom: 8px;
}




.pc-committee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
  padding: 30px 0;
}

.pc-committee-text {
  flex: 1;
  line-height: 1.8;
  font-size: 16px;
}

.pc-committee-image {
  float: right;
  margin-left: 25px;
  margin-bottom: 15px;
  width: 180px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pc-committee-image img {
  width: 100%;
  object-fit: cover;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .pc-committee-header {
    flex-direction: column;
    text-align: center;
  }

  .pc-committee-image {
    width: 100%;
    max-width: 300px;
    height: 180px;
  }
}

/* ===============================
   PROGRAMS GRID DESIGN
=================================*/

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.program-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* FIXED IMAGE SIZE */
.program-image {
  width: 100%;
  height: 260px;
  /* 🔥 fixed height */
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keeps image clean */
}

/* CONTENT */
.program-content {
  padding: 25px;
}

.program-content h3 {
  color: #042239;
  margin-bottom: 10px;
}

.program-content p {
  margin-bottom: 12px;
  color: #555;
}

.program-time {
  font-weight: 600;
  color: #c8a951;
}

/* Responsive */
@media (max-width: 991px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   FILTER BUTTONS
=================================*/

.program-filter {
  text-align: center;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #042239;
  background: transparent;
  margin: 0 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: #042239;
  color: #fff;
}

/* ===============================
   PROGRAM GRID
=================================*/

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.program-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
}

.program-card:hover {
  transform: translateY(-10px);
}

/* IMAGE */
.program-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* ZOOM EFFECT */
.program-card:hover .program-image img {
  transform: scale(1.12);
}

/* DATE BADGE */
.date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #c8a951;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

.date-badge span {
  display: block;
  font-size: 18px;
}

.date-badge small {
  font-size: 11px;
}

/* GLASS OVERLAY */
.image-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 10px 15px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
}

/* CONTENT */
.program-content {
  padding: 25px;
}

.program-content h3 {
  color: #042239;
  margin-bottom: 10px;
}

.program-time {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #c8a951;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ANIMATION
=================================*/

.program-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.program-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.load-more-btn {
  padding: 12px 30px;
  border-radius: 40px;
  background: linear-gradient(135deg, #042239, #0b3c63);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.subscription-wrapper {
  position: relative;
  display: flex;
}

.subscription-wrapper input {
  width: 100%;
  padding-right: 90px;
}

.check-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  padding: 0 15px;
  background: #042239;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.check-btn:hover {
  background: #06345a;
}

.donate-btn-primary:disabled {
  background-color: #cfcfcf !important;
  color: #777 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.committee-events {
  margin-top: 20px;
}

.event-category {
  margin-bottom: 30px;
}

.event-category h5 {
  margin-bottom: 15px;
  font-weight: 600;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.event-card img {
  width: 100%;
  height: 220px;
  /* fixed clean height */
  object-fit: cover;
  /* crop nicely */
  border-radius: 12px 12px 0 0;
  display: block;
}

.event-content {
  padding: 15px;
}

.event-pagination {
  margin-top: 20px;
  text-align: center;
}

.event-pagination button {
  padding: 8px 18px;
  margin: 0 5px;
  background: #042239;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.event-pagination button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.event-content {
  padding: 15px;
}


.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  color: #fff;
}

.badge.daily {
  background: #2e7d32;
}

.badge.weekly {
  background: #1565c0;
}

.badge.special {
  background: #c62828;
}

.event-conducted {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  border-top: 1px solid #eee;
  margin-top: 0;
  padding-top: 0;
}

.event-card.active .event-conducted {
  max-height: 200px;
  padding-top: 10px;
  margin-top: 10px;
}

.event-conducted strong {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}

.event-conducted ul {
  padding-left: 18px;
  margin: 0;
}

.event-conducted li {
  font-size: 13px;
  color: #555;
}

.pc-year-body {
  max-height: 500px;
  /* Adjust height as needed */
  overflow-y: auto;
  padding-right: 10px;
}

/* Optional: Smooth scrollbar styling */
.pc-year-body::-webkit-scrollbar {
  width: 6px;
}

.pc-year-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 6px;
}

.pc-year-body::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.event-detail-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.event-detail-content {
  background: #fff;
  width: 500px;
  max-width: 95%;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.event-detail-content img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.close-detail {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

.detail-date {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1565c0;
}

.detail-conducted {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.pc-year-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.pc-year-body.open {
  max-height: 2000px;
  /* large enough */
}

.event-date {
  font-size: 13px;
  font-weight: 600;
  color: #042239;
  margin-bottom: 6px;
}

.event-content h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.event-content p {
  font-size: 13px;
  opacity: 0.8;
}

.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover img {
  transform: scale(1.05);
}

.event-content {
  padding: 16px;
}

.event-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
  font-weight: 500;
}

.event-content h6 {
  font-size: 18px;
  margin: 0 0 6px;
}

.event-content p {
  font-size: 14px;
  color: #555;
}

.event-pagination {
  margin-top: 20px;
  text-align: center;
}

.event-pagination button {
  padding: 8px 18px;
  border-radius: 30px;
  border: none;
  background: #042239;
  color: white;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.3s;
}

.event-pagination button:hover {
  background: #0a3b63;
}

.event-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.event-detail-modal {
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
}

.event-detail-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  padding: 25px;
  animation: scaleIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9)
  }

  to {
    transform: scale(1)
  }
}

.pc-committee-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.event-detail-content img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.pastor-header p {
  max-width: none !important;
  margin-bottom: 0;
  font-weight: 400;
}

.custom-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 9999;
}

.custom-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.parallax-image {
  height: 100% !important;
}

/* ===============================
      Home Page
  ================================ */

.viewCommittiees-btn {
  width: auto;
  padding: 14px 38px;
  background: #072f4f;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
}

.viewCommittiees-btn:hover {
  text-decoration: none;
  background: #051f34;
}

.viewevents-btn {
  width: auto;
  padding: 14px 38px;
  background: #072f4f;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
}

.viewevents-btn:hover {
  text-decoration: none;
  background: #051f34;
}

.viewnews-btn {
  width: auto;
  padding: 14px 38px;
  background: #072f4f;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
}

.viewnews-btn:hover {
  text-decoration: none;
  background: #051f34;
}

section.section_cta.Obituary_Anniversaries {
  background-color: #f0f4f9;
}

/* = PREMIUM OBITUARY CARD = */

.obituary-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.obituary-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

/* Gold top accent */
.obituary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b08d57, #d4af37);
}

/* IMAGE */

.obituary-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #b08d57, #d4af37);
}

.obituary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

/* TAG */

.obituary-tag {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b08d57;
  font-weight: 600;
  margin-bottom: 6px;
}

/* NAME */

.obituary-content h3 {
  font-size: 1.2rem;
  color: #042239;
  margin-bottom: 4px;
}

/* DATE */

.obituary-date {
  font-size: 0.85rem;
  color: #7a7a7a;
  margin-bottom: 10px;
}

/* DIVIDER */

.memorial-divider {
  width: 40px;
  height: 2px;
  background: #d4af37;
  margin: 12px auto;
}

/* MESSAGE */

.obituary-message {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.committeeSwiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.committeeSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #b08d57;
  opacity: .4;
}

.committeeSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 28px;
  border-radius: 10px;
}
.eventsSwiper{
   margin-top:40px;
}

.eventsSwiper .swiper-slide{
   height:auto;
}

/* =============================== End ================================ */

/* ================= ULTRA MOBILE (300px–360px) ================= */
@media (max-width: 360px) {
    /* HERO */
    .hero-content {
        width: 95%;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 22px;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 12px;
        }
    /* SECTION HEADERS */
    .section-header h2 {
        font-size: 20px !important;
    }

    .text-size-large {
        font-size: 12px !important;
    }

    .text-style-eyebrow {
        font-size: 10px;
    }
    /* VIDEO */
    .media-left .video-card img {
        height: 180px;
    }

    .video-card-footer h4 {
        font-size: 12px;
    }
    /* BUTTON */
    .donate-btn-primary {
        width: 100%;
        font-size: 12px;
        padding: 10px;
    }
    /* SMALL VIDEO LIST */
    .media-right .video-card img {
        width: 80px;
        height: 55px;
    }

    .media-right h5 {
        font-size: 12px;
    }
    /* CELEBRATION */
    .celebration-story {
        width: 140px;
        height: 200px;
        padding: 14px;
    }

    .story-icon {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .celebration-story h4 {
        font-size: 12px;
    }
    /* EMPTY STATE */
    .empty-state {
        padding: 30px 15px;
    }

        .empty-state h3 {
            font-size: 16px;
        }

        .empty-state p {
            font-size: 12px;
        }
}


/* ================= MOBILE (361px–600px) ================= */
@media (max-width: 600px) {
    /* HERO */
    .hero-content {
        width: 90%;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 26px;
        }

        .hero-content p {
            font-size: 14px;
        }
    /* SECTION */
    .padding-section-large {
        padding: 40px 15px !important;
    }
    /* HEADERS */
    .section-header h2 {
        font-size: 24px !important;
    }

    .text-size-large {
        font-size: 14px !important;
    }
    /* VIDEO */
    .media-wrapper {
        gap: 20px;
    }

    .media-left .video-card img {
        height: 220px;
    }

    .video-card-footer h4 {
        font-size: 14px;
    }
    /* RIGHT LIST */
    .media-right .video-card {
        padding: 8px;
    }

        .media-right .video-card img {
            width: 90px;
            height: 60px;
        }

    .media-right h5 {
        font-size: 13px;
    }
    /* BUTTON */
    .donate-btn-primary {
        width: 100%;
        font-size: 14px;
    }
    /* LEADER CARD */
    .leader-img-wrapper {
        max-width: 160px;
    }
    /* CELEBRATION */
    .celebration-story {
        width: 160px;
        height: 220px;
    }
    /* SWIPER ARROWS HIDE */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* ================= FIX EVENTS MOBILE ================= */
@media (max-width: 600px) {

    .events-page .events-header h2 {
        font-size: 28px !important;
        font-weight: 700;
    }

    .events-page .events-header p {
        font-size: 14px !important;
        line-height: 1.5;
        padding: 0 10px;
    }

    .events-page .events_item {
        border-radius: 16px;
        overflow: hidden;
    }

    .events-page .events_image-wrapper img {
        height: 180px;
        object-fit: cover;
    }

    .events-page .events_item-content {
        padding: 12px;
    }

        .events-page .events_item-content h3 {
            font-size: 16px !important;
            font-weight: 600;
        }

        .events-page .events_item-content p {
            font-size: 12px;
            margin: 2px 0;
        }

    .events-page .event-view-btn {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .events-page .viewevents-btn {
        width: 80%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .events-page .section_feature.Events {
        padding: 40px 0;
    }

    .events-page .eventsSwiper {
        padding: 10px 0 20px;
    }
}
