@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=Cinzel:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark:#0f172a;
    --deep-navy:#1e293b;
    --slate-blue:#334155;
    --deep-blue:#1d3557;
    --darkest-blue:#0b1320;
    --main-blue-gradient: linear-gradient( 135deg,#0f172a 0%, #1e293b 25%, #334155 55%, #1d3557 78%, #0b1320 100% );
    
    --page-bg: #ffffff;
    --white: #ffffff;
    --off-white: #f8fafc;
    --soft-white: #f1f5f9;
    --cool-white: #f6f8fb;
    
    --accent-gold: #c5a934;
    --accent-gold-light: #e2c94c;
    --accent-gold-soft: #d4c272;
    
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    --text-medium: #475569;
    
    --card-bg: #ffffff;
    --card-cream: #f8fafc;
    --light-bg: #f1f5f9;
    
    --border-light: #e2e8f0;
    --border-color: #e5e7eb;
    --gold-border: rgba(197, 169, 52, 0.28);
    
    --shadow-soft: rgba(15, 23, 42, 0.08);
    --shadow-medium: rgba(15, 23, 42, 0.14);
    --shadow-dark: rgba(15, 23, 42, 0.25);
    --gold-shadow: rgba(197, 169, 52, 0.22); 
}


body { background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 45%,
    #ffffff 100% );
    background-attachment: fixed; color: var(--text-dark); 
}

h1, h2, h3, h4, h5, h6,
button,
.nav-link, .brand-title, .brand-subtitle, .section-title, .section-subtitle, .banner-title, .value-title, .card-heading, .header-title, .gallery-title,
.member-name, .member-role, .president-name, .president-role, .event-title, .photo-title, .date-num, .date-month, .stat-label,.stat-value { font-family: 'Cinzel', serif;  }

p, span, li, a, .hero-subtext, .lead-text, .card-desc, .card-text-custom, .value-desc, .event-meta, .president-quote { font-family: 'Bodoni Moda', serif;  }

.navbar { background: linear-gradient( 90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.97), rgba(29, 53, 87, 0.96), rgba(11, 19, 32, 0.98) ); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(197, 169, 52, 0.22); box-shadow: 0 7px 25px rgba(15, 23, 42, 0.16); animation: navbarSlideDown 1s cubic-bezier(.19, 1, .22, 1) forwards;  }
.door-title { position: relative; display: inline-flex; justify-content: center; align-items: center; overflow: hidden; padding: 0 20px;  }
.navbar-title { position: relative; overflow: hidden; margin: 0; font-size: 1.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; opacity: 0; background: linear-gradient( 90deg, #ffffff 0%, #e2e8f0 20%, #e2c94c 48%, #ffffff 72%, #c5a934 100% ); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 8px rgba(197, 169, 52, 0.18); animation: titleFade .2s linear 1.15s forwards, gradientMove 6s linear infinite;  }
@keyframes goldSilverGlow {
    0%,
 100% { filter: drop-shadow(0 0 4px rgba(197, 169, 52, .35)) drop-shadow(0 0 8px rgba(255, 255, 255, .15));  }
    50% { filter: drop-shadow(0 0 10px rgba(226, 201, 76, .75)) drop-shadow(0 0 18px rgba(255, 255, 255, .45));  }
}
@keyframes gradientMove {
    0% { background-position: 0% center;  }
    100% { background-position: 250% center;  }
}
.navbar-title::after { content: ""; position: absolute; top: -20%; left: -120%; width: 60%; height: 140%; background: linear-gradient( 120deg, transparent 0%, rgba(255, 255, 255, .15) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, .15) 70%, transparent 100% ); transform: skewX(-25deg); animation: shine 4s ease-in-out 4s infinite;  }
.door { position: absolute; top: 0; width: 50%; height: 100%; background: #0f172a; z-index: 2;  }
.door.left { left: 0; border-right: 1px solid var(--accent-gold); animation: openLeft .8s ease-in-out 1.2s forwards;  }
.door.right { right: 0; border-left: 1px solid var(--accent-gold); animation: openRight .8s ease-in-out 1.2s forwards;  }
@keyframes navbarSlideDown {
    0% { transform: translateY(-100%); opacity: 0;  }
    100% { transform: translateY(0); opacity: 1;  }
}
@keyframes titleFade {
    from { opacity: 0;  }
    to { opacity: 1;  }
}
@keyframes openLeft {
    from { transform: translateX(0);  }
    to { transform: translateX(-105%);  }
}
@keyframes openRight {
    from { transform: translateX(0);  }
    to { transform: translateX(105%);  }
}
@keyframes shine {
    0% { left: -120%;  }
    100% { left: 150%;  }
}
@keyframes goldGlow {
    0%,
 100% { text-shadow: 0 0 8px rgba(197, 169, 52, .30), 0 0 18px rgba(197, 169, 52, .15);  }
    50% { text-shadow: 0 0 12px rgba(226, 201, 76, .65), 0 0 28px rgba(197, 169, 52, .35);  }
}

.hero-section { position: relative; min-height: 88vh; display: flex; align-items: center; background: linear-gradient( to right, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.93) 25%, rgba(51, 65, 85, 0.70) 55%, rgba(29, 53, 87, 0.52) 78%, rgba(11, 19, 32, 0.60) 100% ), url('https: //images.unsplash.com/photo-1511632765486-a01980e01a18?q=80&w=1920&auto=format&fit=crop') center / cover no-repeat;  }
.scripture-watermark { position: absolute; top: 15%; left: 32%; color: rgba(226, 201, 76, 0.16); font-family: 'Bodoni Moda', serif; font-size: 5rem; transform: rotate(-6deg); pointer-events: none; white-space: nowrap;  }
.hero-title { color: #ffffff; font-family: 'Cinzel', serif; font-size: 3.3rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);  }
.accent-bar { width: 45px; height: 3px; margin: 1rem 0 1.5rem; background: linear-gradient( 90deg, var(--accent-gold), var(--accent-gold-light) );  }
.hero-subtext { max-width: 420px; color: #e2e8f0; font-size: 1rem; line-height: 1.8;  }
.btn-discover { display: inline-flex; align-items: center; gap: 10px; padding: 0.85rem 1.75rem; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 6px; background: #ffffff; color: #1d3557; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18); transition: all 0.3s ease;  }
.btn-discover:hover { background: var(--accent-gold-light); border-color: var(--accent-gold-light); color: var(--darkest-blue); transform: translateY(-3px);  }
.feature-card { padding: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 16px; background: rgba(30, 41, 59, 0.76); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);  }
.icon-box { width: 60px; height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #ffffff; font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);  }
.icon-box.green { background: linear-gradient( 135deg, #334155, #1d3557 );  }
.icon-box.gold { background: linear-gradient( 135deg, #c5a934, #e2c94c ); color: #0f172a;  }

.pillars-wrapper { position: relative; min-height: 520px; opacity: 0; animation: pillarsWrapperFade 1.5s ease 0.2s forwards;  }
.pillars-intro-card { position: absolute; top: 50%; left: 0; z-index: 10; width: 100%; padding: 2rem; border: 1px solid rgba(197, 169, 52, 0.55); border-radius: 16px; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(12px); text-align: center; box-shadow: 0 0 8px rgba(197, 169, 52, 0.25), 0 0 20px rgba(197, 169, 52, 0.14), inset 0 0 12px rgba(197, 169, 52, 0.06); transform: translateY(-50%); animation: introCardReveal 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards, introCardGlow 2.5s ease-in-out infinite alternate;  }
@keyframes introCardGlow {
    0% { border-color: rgba(197, 169, 52, 0.35); box-shadow: 0 0 6px rgba(197, 169, 52, 0.18), 0 0 14px rgba(197, 169, 52, 0.10);  }
    100% { border-color: rgba(226, 201, 76, 0.80); box-shadow: 0 0 10px rgba(226, 201, 76, 0.45), 0 0 28px rgba(197, 169, 52, 0.25);  }
}
.pillars-intro-card h2 { margin: 0; color: var(--accent-gold-light); font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 700; letter-spacing: 2px;  }
.pillar-card { position: absolute; left: 0; width: 100%; opacity: 0; will-change: transform, opacity;  }
.pillar-believe { top: 0; animation: believeReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.25s forwards, pillarBreathingGlow 3.5s ease-in-out 3.5s infinite;  }
.pillar-belong { top: 50%; transform: translateY(-50%); animation: belongReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 2.35s forwards, pillarBreathingGlow 3.5s ease-in-out 3.6s infinite;  }
.pillar-become { bottom: 0; animation: becomeReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.45s forwards, pillarBreathingGlow 3.5s ease-in-out 3.7s infinite;  }
@keyframes pillarBreathingGlow {
    0% { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 0 8px rgba(255, 255, 255, 0.04);  }
    50% { border-color: rgba(226, 201, 76, 0.55); box-shadow: 0 0 18px rgba(197, 169, 52, 0.20);  }
    100% { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 0 8px rgba(255, 255, 255, 0.04);  }
}
@keyframes pillarsWrapperFade {
    0% { opacity: 0;  }
    100% { opacity: 1;  }
}
@keyframes introCardReveal {
    0% { opacity: 0; transform: translateY(-50%) scale(0.94);  }
    15% { opacity: 1; transform: translateY(-50%) scale(1);  }
    65% { opacity: 1; transform: translateY(-50%) scale(1);  }
    82% { opacity: 0; transform: translateY(-50%) scale(0.98);  }
    100% { opacity: 0; visibility: hidden; transform: translateY(-50%) scale(0.96);  }
}
@keyframes believeReveal {
    0% { opacity: 0; top: 50%; transform: translateY(-50%) scale(0.94);  }
    35% { opacity: 1;  }
    100% { opacity: 1; top: 0; transform: translateY(0) scale(1);  }
}
@keyframes belongReveal {
    0% { opacity: 0; transform: translateY(-50%) scale(0.94);  }
    35% { opacity: 1;  }
    100% { opacity: 1; transform: translateY(-50%) scale(1);  }
}
@keyframes becomeReveal {
    0% { opacity: 0; bottom: 50%; transform: translateY(50%) scale(0.94);  }
    35% { opacity: 1;  }
    100% { opacity: 1; bottom: -15px; transform: translateY(0) scale(1);  }
}

.about-section { padding: 90px 0; background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );  }
.collage-wrapper { position: relative; padding: 10px;  }
.skewed-img-container { overflow: hidden; border: 2px solid rgba(29, 53, 87, 0.20); border-radius: 20px; box-shadow: 0 15px 40px rgba(15, 23, 42, 0.14); transform: skewX(-8deg);  }
.skewed-img-container img { width: 100%; height: 100%; display: block; object-fit: cover; transform: skewX(8deg) scale(1.15);  }
.img-large { height: 380px;  }
.img-small-top { height: 180px;  }
.img-small-bottom { height: 200px;  }
.section-subtitle { margin-bottom: 0.5rem; color: #1d3557; font-family: Cinzel; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;  }
.section-title { color: #0f172a; font-family: Cinzel; font-size: 2rem; font-weight: 700; text-transform: uppercase;  }
.section-title span { color: #1d3557;  }
.lead-text { color: #475569; font-size: 1rem; line-height: 1.8; overflow-wrap: normal; word-break: normal; }
.lead-text:nth-of-type(1) span { animation-delay: calc(var(--char-index) * 0.03s + 0s); }
.lead-text:nth-of-type(2) span { animation-delay: calc(var(--char-index) * 0.03s + 0.5s); }
.lead-text:nth-of-type(3) span { animation-delay: calc(var(--char-index) * 0.03s + 0.5s); }
.section-subtitle span,
.section-title span span,
.lead-text span { display: inline; opacity: 0; animation: letter-glow 0.001s ease forwards; }

.lead-text .word { display: inline-block; white-space: nowrap; }
@keyframes letter-glow {
    0% { opacity: 0; text-shadow: 0 0 1px rgba(29, 53, 87, 0.05);  }
    66% { opacity: 1; text-shadow: 0 0 18px rgba(29, 53, 87, 0.25);  }
    77% { opacity: 1;  }
    100% { opacity: 0.85; text-shadow: 0 0 20px rgba(29, 53, 87, 0);  }
}
.stat-item { padding: 0 10px; text-align: center;  }
.stat-border-start { border-left: 1px solid #e2e8f0;  }
.stat-icon { margin-bottom: 0.5rem; font-size: 2rem;  }
.stat-icon.green { color: #1d3557;  }
.stat-icon.gold { color: var(--accent-gold);  }
.stat-label { color: #64748b; font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;  }
.stat-value { color: #0f172a; font-size: 0.9rem; font-weight: 700;  }
.border-col-left { border-left: 1px solid #e2e8f0;  }
.card-heading { color: #0f172a; font-size: 1rem; font-weight: 700; text-transform: uppercase;  }
.card-accent-bar { width: 30px; height: 2px; margin: 0.5rem 0 1rem; background: linear-gradient( 90deg, #334155, #1d3557 );  }
.card-desc { color: #64748b; font-size: 0.9rem; line-height: 1.8;  }

.values-section { padding: 55px 0 70px; background: linear-gradient( 180deg, #f8fafc, #f1f5f9 );  }
.values-banner { position: relative; overflow: hidden; padding: 3.5rem 2rem; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 16px; background: linear-gradient( 135deg, #0f172a 0%, #1e293b 25%, #334155 55%, #1d3557 78%, #0b1320 100% ); box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);  }
.section-title-wrapper { width: 100%; display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 auto 2.5rem; text-align: center;  }
.title-line { position: relative; flex: 0 0 45px; height: 1px; background: linear-gradient( 90deg, var(--accent-gold), var(--accent-gold-light) );  }
.title-line::after { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-gold-light);  }
.title-line.left::after { right: 0;  }
.title-line.right::after { left: 0;  }
.banner-title { margin: 0; color: #ffffff; font-size: 1.2rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;  }
.value-item { position: relative; padding: 0 15px; text-align: center;  }
.value-col:not(:last-child)
.value-item::after { content: ''; position: absolute; top: 10%; right: 0; width: 1px; height: 80%; background: rgba(255, 255, 255, 0.13);  }
.icon-wrapper { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: var(--accent-gold-light); font-size: 2.2rem;  }
.icon-circle { border: 2px solid rgba(226, 201, 76, 0.70); border-radius: 50%;  }
.value-title { margin-bottom: 0.75rem; color: #ffffff; font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;  }
.value-desc { margin: 0; color: #cbd5e1; font-size: 1rem; line-height: 1.7;  }

.office-bearers-section { padding: 5rem 0; background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );  }
.office-bearers-section
.section-title-wrapper { margin-bottom: 2.5rem;  }
.office-bearers-section
.section-title { margin: 0; color: #0f172a; white-space: nowrap;  }

.president-card { height: 100%; min-height: 300px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: linear-gradient( 135deg, #0f172a 0%, #1e293b 25%, #334155 55%, #1d3557 78%, #0b1320 100% ); color: #ffffff; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22); }
.president-img-box { width: 145px; height: 200px; flex-shrink: 0; padding: 3px; border: 1.5px solid rgba(226, 201, 76, 0.75); border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.president-img-box img { width: 100%; height: 100%; border-radius: 9px; object-fit: cover; }
.president-role { margin-bottom: 0.25rem; color: var(--accent-gold-light); font-size: 0.9rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.president-name { margin-bottom: 0.5rem; color: #ffffff; font-size: 1.15rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.president-quote { margin-bottom: 0; color: #cbd5e1; font-size: 0.95rem; line-height: 1.4; }
.coordinators-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; height: 100%; }
.coordinators-wrapper .president-card { min-width: 0; }
.coordinators-wrapper .president-card > .d-flex { flex-direction: column !important; justify-content: center; text-align: center; }
.office-members-grid { width: 100%; }

@media (max-width: 1199.98px) {
    .coordinators-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .president-card { min-height: 290px; }
    .president-img-box { width: 135px; height: 180px; }
    .president-name { font-size: 1.05rem; }
}
@media (max-width: 991.98px) {
    .coordinators-wrapper { margin-bottom: 0; }
    .president-card { min-height: 280px; }
    .president-img-box { width: 130px; height: 175px; }
}
@media (max-width: 575.98px) {
    .coordinators-wrapper { grid-template-columns: 1fr; }
    .president-card { min-height: auto; padding: 1.25rem; }
    .president-img-box { width: 150px; height: 190px; }
    .president-role { font-size: 0.8rem; }
    .president-name { font-size: 1rem; }
    .president-quote { font-size: 0.9rem; }
}

.office-members-grid { width: 100%; height: 100%; }
.office-members-grid > .col { display: flex; min-width: 0; }
.office-members-scroll { display: flex; flex-wrap: nowrap; cursor: grab; user-select: none; -webkit-user-select: none; gap: 1rem; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #1d3557 #e2e8f0; }
.office-members-scroll:active { cursor: grabbing; }
.office-members-scroll::-webkit-scrollbar { height: 6px; }
.office-members-scroll::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 10px; }
.office-members-scroll::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #334155, #1d3557); border-radius: 10px; }
.office-members-scroll > .col { flex: 0 0 20%; max-width: 20%; min-width: 0; display: flex; }

@media (max-width: 991.98px) {
    .office-members-scroll { gap: 0.85rem; padding-bottom: 8px; }
    .office-members-scroll > .col { flex: 0 0 30%; max-width: 30%; }
}
@media (max-width: 575.98px) {
    .office-members-scroll { gap: 0.75rem; scroll-behavior: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
    .office-members-scroll > .col { flex: 0 0 65%; max-width: 65%; }
}
@media (hover: none) and (pointer: coarse) {
    .office-members-scroll { cursor: auto; scroll-behavior: auto; }
    .office-members-scroll:active { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .office-members-scroll { scroll-behavior: auto; }
}

.member-card { width: 100%; min-height: 250px; height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 10px; border: 1px solid #e2e8f0; border-radius: 0; background: linear-gradient( 145deg, #ffffff, #f8fafc ); text-align: center; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;  }
.member-card:hover { transform: translateY(-5px); border-color: rgba(29, 53, 87, 0.32); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.13);  }
.member-img-box { width: 100%; height: 250px; overflow: hidden; margin-bottom: 0.75rem; border-radius: 12px; background: #f1f5f9;  }
.member-img-box img { width: 100%; height: 100%; object-fit: cover;  }
.member-name { margin-bottom: 0.25rem; color: #0f172a; font-size: 1rem; font-weight: 700; text-transform: uppercase;  }
.member-role { margin-top: auto; padding-bottom: 4px; color: #1d3557; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;  }

@media (max-width: 991.98px) {
    .member-card { min-height: 300px; }
    .member-img-box { height: 220px; }
}
@media (max-width: 575.98px) {
    .member-card { min-height: 0; height: auto; padding: 8px; }
    .member-img-box { height: auto; aspect-ratio: 4 / 5; flex-shrink: 0; }
    .member-name { font-size: 0.9rem; line-height: 1.4; }
    .member-role { font-size: 0.7rem; letter-spacing: 0.4px; }
}

.border-line { position: absolute; display: block; z-index: 5; pointer-events: none; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.border-line.top { top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #1d3557); transform: translate3d(-100%, 0, 0); animation: animateTop 2.5s linear infinite; }
.border-line.right { top: 0; right: 0; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, #334155); transform: translate3d(0, -100%, 0); animation: animateRight 2.5s linear infinite 0.625s; }
.border-line.bottom { right: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(270deg, transparent, #1d3557); transform: translate3d(100%, 0, 0); animation: animateBottom 2.5s linear infinite 1.25s; }
.border-line.left { bottom: 0; left: 0; width: 2px; height: 100%; background: linear-gradient(360deg, transparent, #334155); transform: translate3d(0, 100%, 0); animation: animateLeft 2.5s linear infinite 1.875s; }

@keyframes animateTop {
    0% { transform: translate3d(-100%, 0, 0); }
    50%, 100% { transform: translate3d(100%, 0, 0); }
}
@keyframes animateRight {
    0% { transform: translate3d(0, -100%, 0); }
    50%, 100% { transform: translate3d(0, 100%, 0); }
}
@keyframes animateBottom {
    0% { transform: translate3d(100%, 0, 0); }
    50%, 100% { transform: translate3d(-100%, 0, 0); }
}
@keyframes animateLeft {
    0% { transform: translate3d(0, 100%, 0); }
    50%, 100% { transform: translate3d(0, -100%, 0); }
}
@media (max-width: 768px) {
    .border-line { filter: none; will-change: transform; }
    .border-line.top,
    .border-line.bottom { height: 1.5px; }
    .border-line.left,
    .border-line.right { width: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .border-line { animation: none !important; }
}


.ministries-section { padding: 4rem 0; background: linear-gradient( 180deg, #f8fafc, #f1f5f9 );  }
.section-card { height: 100%; display: flex; flex-direction: column; padding: 1.75rem 1.25rem; border: 1px solid #e2e8f0; border-radius: 18px; background: linear-gradient( 145deg, #ffffff, #f8fafc ); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;  }
.section-card:hover { transform: translateY(-4px); border-color: rgba(29, 53, 87, 0.24); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);  }
.header-title { margin-bottom: 1.25rem; color: #0f172a; font-size: 1rem; font-weight: 700; text-transform: uppercase;  }
.ministry-list { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-around; padding: 0; margin: 0; list-style: none;  }
.ministry-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; color: #475569; font-size: 1rem; font-weight: 600; cursor: default; transition: all 0.3s ease;  }
.ministry-item:hover { background: rgba(29, 53, 87, 0.07); color: #1d3557; transform: translateX(5px);  }
.ministry-icon { width: 24px; display: flex; align-items: center; justify-content: center; color: #1d3557; font-size: 1.2rem; transition: transform 0.3s ease;  }
.ministry-item:hover
.ministry-icon { transform: scale(1.15); color: var(--accent-gold);  }
.ministry-photo-card { position: relative; height: 100%; min-height: 380px; overflow: hidden; border: 2px solid rgba(29, 53, 87, 0.14); border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10); animation: ministryBlueBlink 3s infinite;  }
.ministry-photo-card img { width: 100%; height: 100%; object-fit: cover;  }
@keyframes ministryBlueBlink {
    0%,
 100% { border-color: rgba(29, 53, 87, 0.14); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);  }
    50% { border-color: rgba(29, 53, 87, 0.48); box-shadow: 0 0 16px rgba(29, 53, 87, 0.18), 0 12px 30px rgba(15, 23, 42, 0.12);  }
}


.ministry-cards-row { display: flex; flex-wrap: nowrap; gap: 8px; height: 100%; }
.ministry-cards-row > .col { flex: 1 1 0; min-width: 0; transition: flex 1s cubic-bezier(0.22, 1, 0.36, 1); will-change: flex; }
.ministry-cards-row > .col:hover { flex: 4 1 0; }
.ministry-photo-card { position: relative; height: 100%; min-height: 380px; overflow: hidden; border: 2px solid rgba(29, 53, 87, 0.14); border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); transition: border-color 0.8s ease, box-shadow 0.8s ease; animation: ministryBlueBlink 4s ease-in-out infinite; }
.ministry-photo-card img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; filter: blur(3px); transform: scale(1.06); transition: filter 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); will-change: filter, transform; }
.ministry-cards-row > .col:hover .ministry-photo-card img { filter: blur(0); transform: scale(1); }
.ministry-cards-row:hover > .col:not(:hover) .ministry-photo-card img { filter: blur(5px); transform: scale(1.03); }
.ministry-cards-row > .col:hover .ministry-photo-card { border-color: rgba(29, 53, 87, 0.48); box-shadow: 0 0 18px rgba(29, 53, 87, 0.16), 0 12px 30px rgba(15, 23, 42, 0.12); }
@keyframes ministryBlueBlink {
    0%, 100% { border-color: rgba(29, 53, 87, 0.14); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); }
    50% { border-color: rgba(29, 53, 87, 0.38); box-shadow: 0 0 14px rgba(29, 53, 87, 0.14), 0 10px 26px rgba(15, 23, 42, 0.10); }
}
.ministry-cards-row > .col:nth-child(1) .ministry-photo-card { animation-delay: 0s; }
.ministry-cards-row > .col:nth-child(2) .ministry-photo-card { animation-delay: 0.5s; }
.ministry-cards-row > .col:nth-child(3) .ministry-photo-card { animation-delay: 1s; }
.ministry-cards-row > .col:nth-child(4) .ministry-photo-card { animation-delay: 1.5s; }
.ministry-cards-row > .col:nth-child(5) .ministry-photo-card { animation-delay: 2s; }
.photo-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 1.25rem 0.5rem; background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.45) 40%, transparent 100%); transition: background 0.8s ease; }
.photo-title { margin: 0; color: #ffffff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; text-align: center; transition: font-size 0.7s ease, letter-spacing 0.7s ease; }
.ministry-cards-row > .col:hover .photo-title { font-size: 1rem; letter-spacing: 1px; }
.ministry-cards-row > .col:focus-within .ministry-photo-card img { filter: blur(0); }
@media (max-width: 575.98px) {
    .ministry-cards-row { flex-wrap: wrap; }
    .ministry-cards-row > .col { flex: 1 1 calc(50% - 8px); }
    .ministry-cards-row > .col:hover { flex: 1 1 calc(50% - 8px); }
    .ministry-photo-card, .ministry-photo-card img { min-height: 240px; }
    .ministry-photo-card img { filter: none; transform: none; }
    .ministry-cards-row:hover > .col:not(:hover) .ministry-photo-card img { filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ministry-cards-row > .col, .ministry-photo-card, .ministry-photo-card img, .photo-overlay, .photo-title { animation: none; transition: none; will-change: auto; }
}


.photo-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 1.25rem 0.5rem; background: linear-gradient( to top, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.52) 45%, transparent 100% );  }
.photo-title { margin: 0; color: #ffffff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;  }

.events-list { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-around; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;  }
.event-item { display: flex; align-items: center; gap: 12px; padding: 1rem 0; color: inherit; text-decoration: none; margin-left: 10px; transition: background 0.3s ease;  }
.event-item:not(:last-child) { border-bottom: 1px solid #e2e8f0;  }
.date-badge { width: 52px; height: 52px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; color: #ffffff; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);  }
.date-badge.green { background: linear-gradient( 135deg, #334155, #1d3557 );  }
.date-badge.gold { background: linear-gradient( 135deg, #c5a934, #e2c94c ); color: #0f172a;  }
.date-num { font-size: 1.1rem; font-weight: 700;  }
.date-month { font-size: 0.8rem; font-weight: 700; text-transform: uppercase;  }
.event-title { margin-bottom: 2px; color: #0f172a; font-size: 1rem; font-weight: 700; text-transform: uppercase;  }
.event-meta { margin: 0; color: #64748b; font-size: 0.65rem;  }
.arrow-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-left: auto; border: 1px solid rgba(29, 53, 87, 0.22); border-radius: 50%; color: #1d3557; transition: all 0.3s ease;  }
.event-item:hover
.arrow-icon { border-color: #1d3557; background: #1d3557; color: #ffffff;  }

.gallery-section { padding: 4rem 0 5rem; background: #ffffff;  }
.gallery-header { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; opacity: 0;  }
.gallery-title { margin: 0; color: #0f172a; font-size: 3rem; font-weight: 700; text-transform: uppercase;  }
.filter-nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 0; margin: 0; list-style: none;  }
.filter-nav li { opacity: 0;  }
.filter-btn { padding: 12px 25px; border: 1px solid rgba(29, 53, 87, 0.22); border-radius: 25px; background: #ffffff; color: #475569; font-size: 1rem; font-weight: 600; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04); transition: all 0.3s ease;  }
.filter-btn.active,
.filter-btn:hover { background: linear-gradient( 135deg, #334155, #1d3557 ); border-color: #1d3557; color: #ffffff; box-shadow: 0 8px 20px rgba(29, 53, 87, 0.18);  }
.filter-nav li:first-child { animation: popIn 0.6s ease forwards;  }
.filter-nav li:nth-child(2) { transform: translateX(-120px); animation: spreadOut 0.5s ease forwards; animation-delay: 0.45s;  }
.filter-nav li:nth-child(3) { transform: translateX(-120px); animation: spreadOut 0.5s ease forwards; animation-delay: 0.60s;  }
.filter-nav li:nth-child(4) { transform: translateX(-120px); animation: spreadOut 0.5s ease forwards; animation-delay: 0.75s;  }
.filter-nav li:nth-child(5) { transform: translateX(-120px); animation: spreadOut 0.5s ease forwards; animation-delay: 0.90s;  }
.filter-nav li:nth-child(6) { transform: translateX(-120px); animation: spreadOut 0.5s ease forwards; animation-delay: 1.05s;  }
.gallery-card { position: relative; height: 200px; overflow: hidden; border: 1px solid rgba(29, 53, 87, 0.16); border-radius: 14px; background: #f8fafc; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); animation: imageGlow 1.5s ease-out forwards;  }
.gallery-card img { display: block; width: 100%; height: 100%; border-radius: 12px; object-fit: cover;  }
@keyframes imageGlow {
    0% { box-shadow: 0 0 0 rgba(29, 53, 87, 0);  }
    50% { box-shadow: 0 0 12px rgba(29, 53, 87, 0.22), 0 12px 30px rgba(15, 23, 42, 0.10);  }
    100% { box-shadow: 0 0 6px rgba(29, 53, 87, 0.10), 0 10px 25px rgba(15, 23, 42, 0.08);  }
}
.gallery-section.animate
.gallery-card { animation: imageGlow 1.5s ease-out forwards;  }
.gallery-header, .gallery-col { opacity: 0;  }
.gallery-section.animate
.gallery-header { animation: fadeDown 0.8s ease forwards;  }
.gallery-section.animate
.gallery-col:nth-child(1) { animation: splitFarLeft 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
.gallery-section.animate
.gallery-col:nth-child(2) { animation: splitMidLeft 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
.gallery-section.animate
.gallery-col:nth-child(3) { animation: splitNearLeft 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
.gallery-section.animate
.gallery-col:nth-child(4) { animation: splitNearRight 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
.gallery-section.animate
.gallery-col:nth-child(5) { animation: splitMidRight 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
.gallery-section.animate
.gallery-col:nth-child(6) { animation: splitFarRight 1s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: .2s;  }
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px);  }
    to { opacity: 1; transform: translateY(0);  }
}
@keyframes splitFarLeft {
    from { opacity: 0; transform: translateX(250%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes splitMidLeft {
    from { opacity: 0; transform: translateX(170%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes splitNearLeft {
    from { opacity: 0; transform: translateX(90%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes splitNearRight {
    from { opacity: 0; transform: translateX(-90%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes splitMidRight {
    from { opacity: 0; transform: translateX(-170%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes splitFarRight {
    from { opacity: 0; transform: translateX(-250%) scale(.8);  }
    to { opacity: 1; transform: translateX(0) scale(1);  }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.2);  }
    60% { opacity: 1; transform: scale(1.15);  }
    80% { transform: scale(0.95);  }
    100% { opacity: 1; transform: scale(1);  }
}
@keyframes spreadOut {
    0% { opacity: 0; transform: translateX(-120px) scale(0.9);  }
    100% { opacity: 1; transform: translateX(0) scale(1);  }
}
.gallery-col.hide { display: none !important;  }
.exit-btn { position: fixed; right: 25px; bottom: 25px; display: flex; align-items: center; justify-content: center; min-width: 110px; height: 52px; padding: 0 24px; background: linear-gradient( 135deg, #0f172a 0%, #334155 52%, #1d3557 100% ); color: #ffffff; font-size: 0.9rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50px; box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25); z-index: 9999; transition: all 0.35s ease; animation: exitFloat 3s ease-in-out infinite;  }
.exit-btn:hover { color: #0f172a; text-decoration: none; background: linear-gradient( 135deg, #c5a934, #e2c94c ); transform: translateY(-6px) scale(1.08); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.24), 0 0 18px rgba(197, 169, 52, 0.25);  }
@keyframes exitFloat {
    0% { transform: translateY(0);  }
    50% { transform: translateY(-10px);  }
    100% { transform: translateY(0);  }
}
@media (max-width: 991.98px) {
    .hero-section { padding-top: 2rem; padding-bottom: 3rem; background: linear-gradient( rgba(15, 23, 42, 0.91), rgba(29, 53, 87, 0.86) ), url('https: //images.unsplash.com/photo-1511632765486-a01980e01a18?q=80&w=1920&auto=format&fit=crop') center / cover no-repeat;  }
    .hero-title { font-size: 2.5rem;  }
    .scripture-watermark { display: none;  }
    .border-col-left { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid #e2e8f0; border-left: none;  }
    .skewed-img-container { transform: none;  }
    .skewed-img-container img { transform: none;  }
    .value-col:not(:last-child) .value-item::after { display: none;  }
    .value-col { margin-bottom: 2rem;  }
    .value-col:last-child { margin-bottom: 0;  }
    .ministry-photo-card { min-height: 280px;  }
    .office-members-scroll > .col { flex: 0 0 32%; max-width: 32%;  }
}
@media (max-width: 767.98px) {
    .section-title-wrapper { gap: 8px;  }
    .title-line { flex-basis: 20px;  }
    .banner-title, .office-bearers-section .section-title { font-size: 0.9rem; letter-spacing: 1px;  }
    .president-card { min-height: 250px; flex-direction: column; justify-content: center; text-align: center;  }
    .president-img-box { width: 130px; height: 160px;  }
    .gallery-card { height: 220px;  }
    .office-members-scroll > .col { flex: 0 0 55%; max-width: 55%;  }
}
@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem;  }
    .values-banner { padding: 2rem 1rem;  }
    .stat-value { font-size: 0.75rem;  }
    .stat-label { font-size: 0.5rem;  }
    .office-members-scroll > .col { flex: 0 0 75%; max-width: 75%;  }
    .gallery-title { font-size: 2.2rem;  }
    .filter-btn { padding: 9px 17px; font-size: 0.8rem;  }
    .exit-btn { right: 15px; bottom: 15px; min-width: 95px; height: 46px; padding: 0 18px; font-size: 0.75rem;  }
}