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

/* ── Variables ── */
:root {
  --navy:      #0B1D51;
  --navy-dark: #07123A;
  --navy-mid:  #142266;
  --gold:      #C9A84C;
  --gold-lt:   #E8C96A;
  --gold-pale: #F5E9C8;
  --off-white: #F8F6F0;
  --gray:      #666B7A;
}

/* ── Base ── */
body { font-family: 'Open Sans', sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cinzel', serif; }
p { font-family: 'Lora', serif; color: var(--gray); }

/* ── Navbar ── */
#navbar {
  background: rgba(7, 18, 58, 0.97) !important;
  border-bottom: 2px solid var(--gold);
  padding: 0.5rem 0;
}
#navbar .navbar-brand img {
  height: 48px; width: 48px; object-fit: contain;
}
#navbar .brand-name {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem; font-weight: 700;
  color: #fff; line-height: 1.2; display: block;
}
#navbar .brand-tag {
  font-size: 0.6rem; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase; display: block;
}
#navbar .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.45rem 0.9rem !important;
  border-radius: 4px; transition: 0.25s;
}
#navbar .nav-link:hover,
#navbar .nav-link.active { color: var(--gold-lt) !important; background: rgba(201,168,76,0.1); }
#navbar .nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
}
#navbar .nav-cta:hover { background: var(--gold-lt) !important; }
.navbar-toggler {
  border-color: rgba(201,168,76,0.5) !important;
  padding: 4px 8px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28201%2C168%2C76%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Buttons ── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy-dark) !important;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.8rem 2rem; border: none;
  border-radius: 4px; text-decoration: none;
  display: inline-block; transition: 0.25s;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.5); }
.btn-outline-light-gold {
  background: transparent; color: #fff !important;
  font-family: 'Cinzel', serif; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.8rem 2rem; border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 4px; text-decoration: none;
  display: inline-block; transition: 0.25s;
}
.btn-outline-light-gold:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ── Section helpers ── */
.sec-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}
.sec-title { color: var(--navy); margin-bottom: 0.6rem; }
.gold-bar {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 2px; margin-bottom: 1.5rem;
}
.gold-bar.center { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: url('../images/IMG-20260520-WA0042.jpg') center/cover no-repeat;
  padding-top: 76px;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,18,58,0.93) 0%, rgba(11,29,81,0.78) 60%, rgba(11,29,81,0.55) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-section h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.2; }
.hero-section h1 span { color: var(--gold-lt); display: block; }
.hero-section .hero-lead { color: rgba(255,255,255,0.82); font-family: 'Open Sans', sans-serif; font-size: 1rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-lt); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 1rem;
}

/* ── Service Banner ── */
.service-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-top: 2px solid var(--gold);
  padding: 0.9rem 0;
}
.svc-item { display: flex; align-items: center; gap: 10px; padding: 0.4rem 0; }
.svc-item svg { color: var(--gold); flex-shrink: 0; }
.svc-day { font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 600; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.svc-time { font-size: 0.88rem; color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 7.5rem 0 3.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 0.6rem; }
.page-header p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto; font-size: 0.95rem; }
.page-header .ph-gold-bar { width: 52px; height: 3px; background: linear-gradient(90deg,var(--gold),var(--gold-lt)); border-radius:2px; margin: 1.2rem auto 0; }
.ph-breadcrumb { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.ph-breadcrumb span { color: var(--gold); }

/* ── Verse / quote box ── */
.verse-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  font-family: 'Lora', serif;
  font-style: italic; color: var(--navy);
}
.verse-box cite { display: block; font-style: normal; font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-top: 0.4rem; }

/* ── Welcome section ── */
.welcome-img-wrap { position: relative; }
.welcome-img-wrap img { width: 100%; height: 380px; object-fit: cover; border-radius: 6px; box-shadow: 0 12px 40px rgba(11,29,81,0.18); }
.welcome-badge {
  position: absolute; bottom: -16px; right: 16px;
  background: var(--gold); color: var(--navy-dark);
  padding: 0.9rem 1.2rem; border-radius: 4px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.welcome-badge .num { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.welcome-badge .lbl { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

/* ── Stats bar ── */
.stats-bar { background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); }
.stat-num { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold-lt); line-height: 1; }
.stat-lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-family: 'Open Sans', sans-serif; }

/* ── Pillar cards ── */
.pillar-card {
  background: #fff; border: 1px solid #e4e4ee;
  border-radius: 8px; padding: 1.8rem 1.4rem;
  text-align: center; height: 100%;
  transition: 0.3s; position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0); transform-origin: left; transition: 0.3s;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(11,29,81,0.13); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%; margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.pillar-card h5 { color: var(--navy); font-size: 1rem; margin-bottom: 0.6rem; }
.pillar-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ── Mission/Vision cards ── */
.mv-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 8px; padding: 2rem 1.75rem; height: 100%;
  position: relative; overflow: hidden;
}
.mv-card .mv-num {
  font-family: 'Cinzel', serif; font-size: 5rem; font-weight: 900;
  color: rgba(201,168,76,0.1); line-height: 1;
  position: absolute; top: 0.5rem; right: 1rem;
}
.mv-card h4 { color: var(--gold-lt); font-size: 1.25rem; margin-bottom: 0.8rem; }
.mv-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 0; }

/* ── Location card ── */
.loc-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px; padding: 1.5rem; height: 100%;
}
.loc-card .loc-type { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.loc-card h5 { color: #fff; margin: 0.3rem 0 0.5rem; }
.loc-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 0; font-family: 'Open Sans', sans-serif; }

/* ── Leadership: Founder ── */
.founder-img-wrap img {
  width: 100%; border-radius: 6px 6px 0 0;
  object-fit: cover; object-position: top; height: 420px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.founder-badge {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-top: 3px solid var(--gold);
  padding: 0.9rem 1.2rem; border-radius: 0 0 6px 6px;
}
.founder-badge .f-role { font-size: 0.67rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.founder-badge .f-name { font-family: 'Cinzel', serif; font-size: 1rem; color: #fff; font-weight: 600; }
.role-pill {
  display: inline-block; background: var(--gold-pale);
  color: var(--navy-dark); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid var(--gold); margin-bottom: 1rem;
}

/* ── Trustee cards ── */
.trustee-card {
  background: #fff; border: 1px solid #e4e4ee;
  border-radius: 8px; overflow: hidden; height: 100%; transition: 0.3s;
}
.trustee-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11,29,81,0.14); }
.trustee-card img { width: 100%; height: 230px; object-fit: cover; object-position: top; }
.trustee-placeholder {
  height: 230px; background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.trustee-info { padding: 1.2rem; }
.trustee-info .t-role { font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.trustee-info h6 { font-family: 'Cinzel', serif; color: var(--navy); font-size: 0.92rem; margin: 0.25rem 0 0.35rem; }
.trustee-info p { font-size: 0.82rem; color: #888; font-family: 'Open Sans', sans-serif; margin-bottom: 0; }

/* ── Section divider (trustees heading) ── */
.trustees-title {
  font-family: 'Cinzel', serif; color: var(--navy); font-size: 1.3rem;
  padding-bottom: 0.8rem; margin-bottom: 1.5rem;
  border-bottom: 2px solid #e4e4ee; position: relative;
}
.trustees-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 52px; height: 2px; background: var(--gold);
}

/* ── Gallery ── */
.filter-btn {
  padding: 0.4rem 1.1rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  border: 1.5px solid #ddd; background: transparent; color: var(--navy);
  transition: 0.2s; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.gallery-item { overflow: hidden; border-radius: 6px; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(11,29,81,0.45);
  opacity: 0; transition: 0.3s; display: flex;
  align-items: center; justify-content: center; color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lb-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* ── Contact ── */
.contact-icon-box {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.c-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 2px; font-family: 'Open Sans', sans-serif; }
.c-text { font-size: 0.9rem; color: var(--navy); font-family: 'Open Sans', sans-serif; margin-bottom: 0; }
.c-text a { color: var(--navy); text-decoration: none; }
.c-text a:hover { color: var(--gold); }
.branch-strip {
  border-left: 4px solid var(--gold); background: var(--off-white);
  padding: 0.9rem 1.1rem; border-radius: 0 6px 6px 0;
}
.branch-strip .b-name { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--navy); font-weight: 600; margin-bottom: 0.2rem; }
.branch-strip p { font-size: 0.83rem; color: #666; margin-bottom: 0; font-family: 'Open Sans', sans-serif; }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '✝'; position: absolute;
  font-size: 10rem; color: rgba(201,168,76,0.04); font-family: serif; top: 50%; transform: translateY(-50%);
}
.cta-band::before { left: 2%; }
.cta-band::after  { right: 2%; }
.cta-band h2 { color: #fff; }
.cta-band p  { color: rgba(255,255,255,0.7); }

/* ── Footer ── */
footer { background: var(--navy-dark); border-top: 3px solid var(--gold); }
.ft-name { font-family: 'Cinzel', serif; font-size: 0.95rem; color: #fff; font-weight: 600; line-height: 1.4; }
footer p, footer li { font-family: 'Open Sans', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
footer h6 { font-family: 'Cinzel', serif; color: #fff; font-size: 0.88rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(201,168,76,0.2); margin-bottom: 0.9rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.2s; }
footer a:hover { color: var(--gold-lt); }
.ft-cac { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── Map ── */
.map-frame { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(15%); }

/* ── Fade-up animation ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive tweaks ── */
@media (max-width: 991px) {
  #navbar .navbar-collapse { background: rgba(7,18,58,0.98); padding: 1rem; border-radius: 0 0 8px 8px; }
  #navbar .nav-cta { margin-top: 0.5rem; display: inline-block; }
}
@media (max-width: 767px) {
  .hero-section { min-height: 95vh; }
  .welcome-img-wrap img { height: 280px; }
  .welcome-badge { position: static; display: inline-block; margin-top: 1rem; }
  .founder-img-wrap img { height: 300px; }
  .gallery-item img { height: 180px; }
  .mv-card { margin-bottom: 1rem; }
}
@media (max-width: 575px) {
  .page-header { padding: 6.5rem 0 2.5rem; }
  .gallery-item img { height: 160px; }
}
