@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");

:root {
    --royal-blue: #001f4d;
    --deep-navy: #001a40;
    --navy-gradient-start: #001a40;
    --navy-gradient-end: #002a66;

    --gold: #bfa21f;
    --gold-light: #f0d86b;
    --gold-soft: #d4c272;
    --gold-border: rgba(191, 162, 31, 0.3);

    --silver: #c0c0c0;
    --silver-light: #e8e8e8;

    --text-light: #e0e0e0;

    --shadow-gold: rgba(191, 162, 31, 0.5);
    --shadow-dark: rgba(0, 0, 0, 0.3);

    --primary-color: #ecad29;
    --text-color: #FFFFFFDD;
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);
    padding-top:90px;
    overflow-x:hidden;
}

/* nav <into> */
.navbar { position: fixed; top: -120px; width: 100%; z-index: 1000; overflow: visible; font-family: 'Cinzel', serif;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 25%,
            #334155 55%,
            #1d3557 78%,
            #0b1320 100%
        );
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 6px 20px rgba(0,0,0,0.28),
        0 12px 35px rgba(15,23,42,0.40),
        inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px); animation: slideDown 1s ease-out forwards; transition: all .45s ease;
}
.navbar::before { content: ""; position: absolute; top: -120%; left: -20%; width: 45%; height: 300%;
    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.10),
            transparent
        );
    transform: rotate(18deg); pointer-events: none;
}
.navbar::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 96%; height: 1.5px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(226,232,240,0.15),
            rgba(255,255,255,0.95),
            rgba(226,232,240,0.15),
            transparent
        );
    box-shadow: 0 0 12px rgba(255,255,255,0.25); transform: translateX(-50%) scaleX(0); transform-origin: center; animation: elegantLineReveal 1.6s ease forwards; animation-delay: 2s;
}

@keyframes elegantLineReveal {
    0% { transform: translateX(-50%) scaleX(0); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
}
@keyframes slideDown {
    from { top: -120px; opacity: 0; }
    to { top: 0; opacity: 1; }
}

.navbar.scrolled { padding: 6px 0; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.brand-area { display: flex; align-items: center; justify-content: center; gap: 18px; }
.logo { width: 60px; border-radius: 100px; transition: transform .45s ease; }
.navbar.scrolled .logo { transform: scale(.75); }
.logo-circle { position: relative; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.circle-svg { position: absolute; transform: rotate(-90deg); }
.circle-border { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 250; stroke-dashoffset: 250; animation: drawCircle 2.2s ease-out forwards; }

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

.church-header { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; margin: 0; padding: 0; }
.church-title { font-size: 1.75rem; line-height: 1.1; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 16px;
    background: linear-gradient(
        120deg,
        #d4af37 0%,
        #f5f5f5 25%,
        #d4af37 50%,
        #ffffff 75%,
        #d4af37 100%
    );
    background-size: 200% auto; color: transparent; background-clip: text; -webkit-background-clip: text; transform: translateY(5px);
    animation:
        revealText 3s ease forwards,
        shine 8s linear infinite,
        moveUpTitle 0.6s cubic-bezier(0.25, 1, 0.5, 1) 3s forwards;
    margin-bottom: 0px;
}
.centenary-tag { font-family: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif; font-style: italic; font-size: 0.8rem; font-weight: 500; color: #d4af37; letter-spacing: 1.5px; line-height: 1; margin-top: 0px; opacity: 0; animation: fadeInSubtitle 0.6s ease forwards; animation-delay: 3.4s; }

@keyframes moveUpTitle {
    0% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}
@keyframes fadeInSubtitle {
    0% { opacity: 0; }
    100% { opacity: 0.9; }
}
@keyframes revealText {
    0% { letter-spacing: 15px; opacity: 0; }
    50% { opacity: 1; }
    100% { letter-spacing: 2px; opacity: 1; }
}
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.custom-toggler { border: none; }
.custom-toggler:focus { box-shadow: none; }
.custom-toggler .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(191,162,31,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-collapse { text-align: center; }
.navbar-nav .nav-item { width: 100%; }
.navbar-nav { gap: 30px; width: 100%; align-items: center; }
.nav-link { position: relative; width: 127px; overflow: hidden; color: white !important; font-weight: 500; font-size: 19px; display: block; text-align: center; padding: 12px 0; }

@media (min-width: 992px) {
    .nav-link { width: 127px; display: block; text-align: center; padding: 12px 0; }
}
@media (max-width: 991px) {
    .navbar-collapse { text-align: center; }
    .navbar-nav { width: 100%; align-items: center; }
    .nav-link { width: auto; display: inline-block; padding: 10px 20px; }
}

.nav-link::before { content: ""; position: absolute; top: 0; left: -120%; width: 50%; height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
}
.nav-link:hover::before { animation: navShine 0.7s ease forwards; }

@keyframes navShine {
    from { left: -120%; }
    to { left: 150%; }
}

.nav-link:hover { color: var(--gold-light) !important; background-color: rgba(255,255,255,0.1); border-radius: 10px; }
.navbar .dropdown { position: relative; }
.navbar .dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 140px; margin: 0 !important; padding: 8px 0;
    border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
    background: linear-gradient(
        145deg,
        #111827 0%,
        #1e293b 35%,
        #243b55 70%,
        #0f172a 100%
    );
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.35), 0 4px 15px rgba(15,23,42,0.30), inset 0 1px 0 rgba(255,255,255,0.05);
}
.navbar .dropdown-menu::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.65),
        rgba(255,255,255,0.08),
        transparent
    );
    width: 85%; height: 1px;
}
.navbar .dropdown-item { position: relative; overflow: hidden; color: white !important; opacity: 1; transform: none; transition: color 0.3s ease, background 0.3s ease; }
.navbar .dropdown-item::before { content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
}
.navbar .dropdown-item:hover::before { animation: navShine 0.7s ease forwards; }
.navbar .dropdown-item:hover { color: var(--gold-light) !important; background: rgba(255,255,255,0.08); }

@media (min-width: 992px) {
    .navbar .dropdown-menu { display: block !important; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
    }
    .navbar .nav-item.dropdown:hover > .dropdown-menu,
    .navbar .nav-item.dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    .navbar .nav-item.dropdown > .dropdown-menu.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
    .navbar .dropdown-toggle::after { transition: transform 0.3s ease; }
    .navbar .nav-item.dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }
}
@media (max-width: 991px) {
    .navbar .dropdown-menu { display: none; position: static !important; width: 100%; margin-top: 5px !important; text-align: center; opacity: 1; visibility: visible; pointer-events: auto; transform: none !important; }
    .navbar .dropdown-menu.show { display: block; }
    .navbar .dropdown-item { display: block; margin: 4px auto; width: fit-content; }
}
@media (min-width: 992px) {
    .navbar:not(.scrolled) .menu-area { display: none !important; }
    .navbar.scrolled .brand-area { opacity: 0; pointer-events: none; }
    .navbar.scrolled .menu-area { display: flex !important; position: absolute; left: 50%; transform: translateX(-50%); }
    .navbar-nav { justify-content: center; }
}
/* nav (outo) */


/* carousel <into> */
.slider-section-wrapper { position: relative; width: 100%; height: 95vh; overflow: hidden; background-color: #1a1a1a; color: var(--text-color); font-family: "Inter", sans-serif; box-sizing: border-box; margin-bottom: 1px; }
.slider-section-wrapper *, 
.slider-section-wrapper *::before, 
.slider-section-wrapper *::after {
    box-sizing: border-box;
}
#slider-container { height: 95vh !important; position: relative; width: 100%; }
.card { position: absolute; left: 0; top: 0; background-position: center; background-size: cover; box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6); transition: border-radius 0.3s ease; }
.card-content { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; pointer-events: none; overflow: hidden; }
.content-place { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-bottom: 2px; }
.content-title-1, .content-title-2 { font-size: 14px; font-weight: 700; line-height: 1.2; word-wrap: break-word; }
.content-start { width: 30px; height: 5px; border-radius: 99px; background-color: var(--text-color); }
.details { z-index: 22; position: absolute; top: 8%; left: 5%; width: 90%; max-width: 550px; }
.details .place-box { height: 46px; overflow: hidden; }
.details .place-box .text { padding-top: 16px; font-size: 16px; position: relative; }
.details .place-box .text::before { top: 0; left: 0; position: absolute; content: " "; width: 30px; height: 4px; border-radius: 99px;background-color: white; }
.details .title-1, .details .title-2 { font-weight: 600; font-size: calc(2.2rem + 3vw); font-family: "Oswald", sans-serif; line-height: 1.1; }
.details .title-box-1, .details .title-box-2 { margin-top: 2px; height: auto; overflow: hidden; }
.details > .desc { margin-top: 12px; width: 100%; font-size: 14px; line-height: 1.5; }
.details > .cta { width: 100%; margin-top: 20px; display: flex; align-items: center; }
.btn-primary-custom { border: none; background-color: var(--primary-color); width: 40px; height: 40px; border-radius: 50%; color: white; display: grid; place-items: center; transition: transform 0.2s ease; }
.btn-primary-custom:hover { transform: scale(1.05); }
.btn-primary-custom svg { width: 20px; height: 20px; }
.btn-outline-custom { border: 1px solid #ffffff; background-color: transparent; height: 40px; border-radius: 99px; color: #ffffff; padding: 4px 24px; font-size: 12px; margin-left: 16px; transition: background-color 0.2s, color 0.2s;}
.btn-outline-custom:hover { background-color: #ffffff; color: #1a1a1a; }
.pagination { position: absolute; z-index: 60; }
.pagination > .arrow { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #ffffff55; display: grid; place-items: center; cursor: pointer; background-color: rgba(0, 0, 0, 0.2); transition: border-color 0.2s; }
.pagination > .arrow:hover { border-color: #ffffff; }
.pagination > .arrow-right { margin-left: 12px; }
.pagination > .arrow svg { width: 20px; height: 20px; stroke-width: 2.5; color: #ffffffcc; }
.pagination .progress-sub-container { margin-left: 20px; width: 150px; height: 50px; display: flex; align-items: center; }
.pagination .progress-sub-container .progress-sub-background { width: 100%; height: 3px; background-color: #ffffff33; }
.pagination .progress-sub-container .progress-sub-background .progress-sub-foreground { height: 3px; background-color: var(--primary-color); }
.pagination .slide-numbers { width: 40px; height: 40px; overflow: hidden; position: relative; margin-left: 10px; }
.pagination .slide-numbers .item { width: 40px; height: 40px; position: absolute; color: white; top: 0; left: 0; display: grid; place-items: center; font-size: 24px; font-weight: bold; }
.cover { width: 100%; height: 100%; z-index: 100; }
@media (max-width: 767px) {
    .card:not([style*="width: 100vw"]), 
    .card-content, #slide-numbers { display: none !important; }
    #pagination { display: flex !important; opacity: 1 !important; visibility: visible !important; z-index: 999 !important; position: absolute !important; bottom: 30px !important; top: auto !important; left: 50% !important; transform: translateX(-50%) !important; }
    .arrow-left, .arrow-right { cursor: pointer !important; pointer-events: auto !important; margin: 0 15px !important; }
}
/* carousel <outo> */


/* circle_container <into> */
.custom-circle-row { width: 100%; margin-right: 0; margin-left: 0; justify-content: center; padding-top: 20px; padding-bottom: 15px;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 30%,
            #243b55 65%,
            #0b1320 100%
        );
    border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 -8px 20px rgba(0,0,0,0.18);
}
.col-md-4 { display: flex; justify-content: center; }
.circle-card { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2px solid var(--gold-border); transition: transform 0.4s ease, box-shadow 0.4s ease; animation: float 4s ease-in-out infinite; }
.circle-card img { width: 100%; height: 100%; padding: auto; object-fit: cover; border-radius: 50%; transition: transform 0.6s ease; }
.overlay { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,0.4), rgba(0,0,0,0.9)); color: var(--text-light); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.overlay h5 { position: absolute; margin: 0; font-family: 'Cinzel', serif; font-size: 1.8rem; color: var(--gold-light); text-shadow: 0 0 10px var(--shadow-gold); transition: all 0.4s ease; }
.overlay p { position: absolute; padding: 0 15px; font-size: 13px; font-family: Bodoni Moda; line-height: 1.5; color: var(--silver-light); opacity: 0; transform: translateY(40px); transition: all 0.5s ease; }
.circle-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 0 25px var(--shadow-gold), 0 15px 35px var(--shadow-dark); }
.circle-card:hover img { transform: scale(1.1); }
.circle-card:hover .overlay h5 { transform: translateY(-80px); opacity: 0; }
.circle-card:hover .overlay p { opacity: 1; transform: translateY(0); }
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
.circle-card:hover { transform: translateY(-10px) scale(1.05); animation-play-state: paused; }

@keyframes silverBlink {
    0%, 100% {
        border-color: rgba(192, 192, 192, 0.2);
        box-shadow: 0 0 5px rgba(192, 192, 192, 0.1);
    }
    50% {
        border-color: rgba(192, 192, 192, 1);
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
    }
}
.circle-card { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; cursor: pointer; border: 1.5px solid rgba(192, 192, 192, 0.2); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; animation: silverBlink 3s infinite ease-in-out; }
.col-md-4:nth-child(1) .circle-card { animation-delay: 0s; }
.col-md-4:nth-child(2) .circle-card { animation-delay: 1.5s; }
.col-md-4:nth-child(3) .circle-card { animation-delay: 3s; }
.circle-card:hover { animation: none; border-color: var(--gold-border); }
/* circle_container <into> */


/* legacy <into> */
.legacy-section { position: relative; width: 100%; overflow: hidden; border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 30%,
            #243b55 68%,
            #0b1320 100%
        );
    min-height: 520px; margin-bottom: 20px;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
}
.legacy-section::before { content: ""; position: absolute; top: -120px; left: -80px; width: 320px; height: 320px;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.05),
            transparent 72%
        );
    pointer-events: none;
}
.legacy-bg { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: center; align-items: center; }
.legacy-bg img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s ease; border-radius: 18px; }
.legacy-title { position: relative; z-index: 5; text-align: center; font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3vw, 3rem); color: #f8fafc; padding-top: 35px; margin-bottom: 30px; opacity: 0; transition: opacity 1s ease; }
.legacy-content { position: relative; z-index: 5; opacity: 0; transition: opacity 1s ease; padding: 10px 30px 50px; }
.legacy-image-wrapper { width: 100%; max-width: 420px; margin: auto; }
.legacy-image { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 3px solid rgba(193, 161, 100, 0.6); transition: all 0.5s ease;
    box-shadow:
        0 0 10px rgba(193, 161, 100, 0.3),
        0 0 20px rgba(193, 161, 100, 0.2);
}
.legacy-image:hover{
    transform: scale(1.03);
    border-color: rgba(203,213,225,0.55);
    box-shadow:
        0 0 15px rgba(148,163,184,0.20),
        0 0 30px rgba(148,163,184,0.16),
        0 0 55px rgba(71,85,105,0.22),
        0 12px 30px rgba(15,23,42,0.30);
}
@keyframes legacyGlow {
    0% {
        box-shadow:
            0 0 10px rgba(193, 161, 100, 0.3),
            0 0 20px rgba(193, 161, 100, 0.2);
    }
    50% {
        box-shadow:
            0 0 20px rgba(193, 161, 100, 0.6),
            0 0 40px rgba(193, 161, 100, 0.5);
    }
    100% {
        box-shadow:
            0 0 10px rgba(193, 161, 100, 0.3),
            0 0 20px rgba(193, 161, 100, 0.2);
    }
}
.legacy-image { animation: legacyGlow 3s infinite ease-in-out; }

.legacy-text { font-family: 'Bodoni Moda', serif; font-size: clamp(1rem, 1.2vw, 1.3rem); line-height: 1.9; color: #cbd5e1; margin-bottom: 25px; }

.legacy-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(
        135deg,
        #243b55,
        #1e293b
    );
    box-shadow:
        0 8px 20px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.4s ease;color: #f8fafc; text-decoration: none; font-family: 'Cinzel', serif; font-size: clamp(0.8rem, 1vw, 1rem); font-weight: 700; text-transform: uppercase; transition: all 0.6s ease; z-index: 1;
}
.legacy-btn::before { content: ""; position: absolute; top: var(--y, 50%); left: var(--x, 50%); width: 0; height: 0;
    background: linear-gradient(
        135deg,
        #2c4a6d,
        #334155
    );
    border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.9s ease, height 0.9s ease; z-index: -1;
}
.legacy-btn:hover::before { width: 400%; height: 400%; }
.legacy-btn:hover { color: #fff; border-color: #fff; }
.show-content { opacity: 1 !important; }
.hide-bg { opacity: 0 !important; }

@media (max-width: 991px){
    .legacy-section { min-height: auto; }
    .legacy-content { padding: 10px 25px 40px; }
    .legacy-image-wrapper { max-width: 100%; margin-bottom: 30px; }
    .legacy-title { padding-top: 28px; margin-bottom: 20px; }
    .legacy-text { text-align: center; }
    .legacy-btn-wrapper { text-align: center; }
}
@media (max-width: 576px) {
    .legacy-content { padding: 10px 18px 35px; }
    .legacy-title { font-size: 1.6rem; line-height: 1.4; }
    .legacy-text { line-height: 1.8; }
    .legacy-btn { width: 100%; padding: 15px 20px; }
}
/* legacy <outo> */


/* calendar <into> */
.calendar-wrapper { width: 100%;  }
.calendar-events-row { position: relative; align-items: stretch;  }
.calendar-column { position: relative; min-width: 0;  }
.calendar-card { position: relative; width: 100%; height: auto; background: linear-gradient( 145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98), rgba(36, 59, 85, 0.97) ); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 10px 28px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);  }
.calendar-card::before { content: ""; position: absolute; top: -100px; right: -70px; width: 240px; height: 240px; background: radial-gradient( circle, rgba(255, 255, 255, 0.05), transparent 72% ); pointer-events: none; z-index: 0;  }
.calendar-card::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 92%; height: 1.5px; background: linear-gradient( 90deg, transparent, rgba(203, 213, 225, 0.10), rgba(248, 250, 252, 0.95), rgba(203, 213, 225, 0.10), transparent ); box-shadow: 0 0 12px rgba(255, 255, 255, 0.18); transform: translateX(-50%) scaleX(0); transform-origin: center; animation: calendarLineReveal 1.5s ease forwards; animation-delay: 1.8s; pointer-events: none;  }
@keyframes calendarLineReveal {
    0% { transform: translateX(-50%) scaleX(0); opacity: 0;  }
    40% { opacity: 1;  }
    100% { transform: translateX(-50%) scaleX(1); opacity: 1;  }
}

.calendar-header { position: relative; z-index: 2; padding: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);  }
.month-title { margin: 0; font-family: 'Cinzel', serif; color: #f0d86b; font-weight: 500; text-align: center;  }
.nav-btn { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: white; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;  }
.nav-btn:hover { background: #f0d86b; color: #071326; transform: scale(1.08); box-shadow: 0 0 18px rgba(240, 216, 107, 0.25);  }

.weekdays { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; padding: 20px 20px 0;  }
.weekdays div { padding: 12px 0; color: #d8d8d8; font-weight: 600;  }
.days { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; padding: 20px;  }
.day { position: relative; min-width: 0; min-height: 85px; padding: 12px; border: 1px solid transparent; border-radius: 18px; background: rgba(255, 255, 255, 0.04); color: white; cursor: default; transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;  }
.day:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08);  }
.day.empty { background: transparent; border-color: transparent; pointer-events: none;  }
.day-number { position: relative; z-index: 2;  }
.today { background: linear-gradient( 135deg, #bfa21f, #f0d86b ); color: #071326; font-weight: 700;  }
.today:hover { background: linear-gradient( 135deg, #bfa21f, #f0d86b );  }
.event-day { border: 1px solid rgba(240, 216, 107, 0.35);  }
.sunday-day { cursor: pointer;  }
.event-dot { position: absolute; left: 10px; bottom: 10px; width: 10px; height: 10px; border-radius: 50%; background: #f0d86b; box-shadow: 0 0 12px #f0d86b; pointer-events: none;  }
.today .event-dot { background: #fff4ae; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);  }

.events-column { position: relative; min-width: 0; min-height: 0;  }
.events-column .events-panel { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 22px; background: linear-gradient( 145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98), rgba(36, 59, 85, 0.97) ); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 10px 28px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; overflow: hidden;  }
.events-panel::before { content: ""; position: absolute; top: -100px; right: -70px; width: 240px; height: 240px; background: radial-gradient( circle, rgba(255, 255, 255, 0.05), transparent 72% ); pointer-events: none; z-index: 0;  }
.events-panel::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 92%; height: 1.5px; background: linear-gradient( 90deg, transparent, rgba(203, 213, 225, 0.10), rgba(248, 250, 252, 0.95), rgba(203, 213, 225, 0.10), transparent ); box-shadow: 0 0 12px rgba(255, 255, 255, 0.18); transform: translateX(-50%) scaleX(0); transform-origin: center; animation: eventsLineReveal 1.5s ease forwards; animation-delay: 1.8s; pointer-events: none; z-index: 3;  }

@keyframes eventsLineReveal {
    0% { transform: translateX(-50%) scaleX(0); opacity: 0;  }
    40% { opacity: 1;  }
    100% { transform: translateX(-50%) scaleX(1); opacity: 1;  }
}

.events-title { position: relative; z-index: 2; flex: 0 0 auto; margin: 0 0 24px; font-family: 'Cinzel', serif; color: #f0d86b;  }
.events-scroll { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; padding-right: 8px; padding-bottom: 8px; overscroll-behavior: contain; scrollbar-gutter: stable;  }
.events-scroll::-webkit-scrollbar { width: 6px;  }
.events-scroll::-webkit-scrollbar-track { background: transparent;  }
.events-scroll::-webkit-scrollbar-thumb { background: rgba(240, 216, 107, 0.38); border-radius: 20px;  }
.events-scroll::-webkit-scrollbar-thumb:hover { background: rgba(240, 216, 107, 0.65);  }
.events-scroll { scrollbar-width: thin; scrollbar-color: rgba(240, 216, 107, 0.38) transparent;  }
.event-item { position: relative; width: 100%; padding: 18px; margin-bottom: 16px; border: 1px solid transparent; border-radius: 18px; background: rgba(255, 255, 255, 0.05); cursor: pointer; overflow: hidden; transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;  }
.event-item:last-child { margin-bottom: 4px;  }
.event-item:hover { transform: translateX(5px); background: rgba(255, 255, 255, 0.08);  }
.event-item::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient( to bottom, #f0d86b, #bfa21f );  }
.event-date { margin-bottom: 6px; color: #f0d86b; font-size: 0.8rem; font-weight: 600;  }
.event-name { color: white; font-family: 'Cinzel', serif; font-weight: 600; line-height: 1.4;  }
.event-note { margin-top: 7px; color: #d4c272; font-size: 0.74rem; line-height: 1.45;  }
.event-details { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; color: #cbd5e1; font-size: 0.72rem;  }
.no-events { opacity: 0.6; cursor: default;  }
.no-events:hover { transform: none; background: rgba(255, 255, 255, 0.05);  }

.sunday-tooltip { position: fixed; width: 255px; padding: 17px 18px; background: linear-gradient( 145deg, rgba(15, 23, 42, 0.995), rgba(30, 41, 59, 0.995), rgba(36, 59, 85, 0.99) ); border: 1px solid rgba(240, 216, 107, 0.48); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.62), 0 0 20px rgba(240, 216, 107, 0.08); z-index: 999999; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(5px); transition: opacity 0.18s ease, transform 0.18s ease; text-align: left;  }
.sunday-tooltip.show { opacity: 1; transform: translateY(0);  }
.sunday-tooltip-heading { margin-bottom: 4px; color: #f0d86b; font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 700; text-transform: uppercase;  }
.sunday-tooltip-type { color: white; font-size: 0.8rem; font-weight: 600; line-height: 1.4;  }
.sunday-tooltip-divider { height: 1px; margin: 12px 0; background: linear-gradient( 90deg, rgba(240, 216, 107, 0.5), rgba(240, 216, 107, 0.12), transparent );  }
.sunday-tooltip-service { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 0.73rem;  }
.sunday-tooltip-service span { color: #f0d86b; font-weight: 600; white-space: nowrap;  }
.sunday-tooltip-service strong { color: #e8e8e8; font-weight: 500; text-align: right;  }
.sunday-tooltip-note { margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #f0d86b; font-size: 0.72rem; line-height: 1.45;  }

@keyframes borderGlowPulse {
    0% { border-color: rgba(240, 216, 107, 0.2); box-shadow: 0 0 0 rgba(240, 216, 107, 0);  }
    50% { border-color: rgba(240, 216, 107, 1); box-shadow: 0 0 15px rgba(240, 216, 107, 0.5); transform: scale(1.02);  }
    100% { border-color: rgba(240, 216, 107, 0.2); box-shadow: 0 0 0 rgba(240, 216, 107, 0);  }
}

.blink-event { position: relative; z-index: 5; border: 1.5px solid #f0d86b !important; background: rgba(255, 255, 255, 0.08); animation: borderGlowPulse 1.8s infinite ease-in-out;  }
.blink-event .day-number { color: #f0d86b; font-weight: 600;  }

@media (max-width: 991.98px) {
    .events-column { margin-top: 0; min-height: 0;  }
    .events-column .events-panel { position: relative; inset: auto; width: 100%; height: 500px; min-height: 0;  }
    .events-scroll { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto;  }
}

@media (max-width: 768px) {
    .royal-promise-card { padding: 4rem 1.5rem;  }
    .scripture-viewport { min-height: 260px;  }
    .calendar-header { padding: 18px;  }
    .month-title { font-size: 1.55rem;  }
    .nav-btn { width: 40px; height: 40px;  }
    .weekdays { padding: 12px 10px 0;  }
    .weekdays div { padding: 8px 0; font-size: 0.75rem;  }
    .days { gap: 7px; padding: 10px;  }
    .day { min-height: 60px; padding: 8px; border-radius: 12px; font-size: 13px;  }
    .event-dot { left: 8px; bottom: 8px; width: 7px; height: 7px;  }
    .events-column .events-panel { height: 460px; padding: 18px;  }
    .events-title { margin-bottom: 18px; font-size: 1.4rem;  }
    .event-item { padding: 15px; margin-bottom: 12px;  }
    .sunday-tooltip { width: min( 245px, calc(100vw - 24px) ); padding: 15px;  }
}

@media (max-width: 480px) {
    .calendar-card, .events-panel { border-radius: 20px;  }
    .calendar-header { padding: 15px 12px;  }
    .month-title { font-size: 1.25rem;  }
    .nav-btn { width: 36px; height: 36px;  }
    .weekdays { padding: 10px 6px 0;  }
    .weekdays div { font-size: 0.67rem;  }
    .days { gap: 5px; padding: 8px;  }
    .day { min-height: 52px; padding: 6px; border-radius: 10px; font-size: 12px;  }
    .event-dot { left: 6px; bottom: 6px; width: 6px; height: 6px;  }
    .events-column .events-panel { height: 430px; padding: 15px;  }
    .events-title { font-size: 1.2rem; margin-bottom: 15px;  }
    .event-item { padding: 14px;  }
    .event-name { font-size: 0.85rem;  }
    .sunday-tooltip-service { font-size: 0.68rem;  }
}
/* calendar <outo> */


/* pastor_message <into> */
.heritage-message-section { position: relative; overflow: hidden;
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 15px 40px rgba(0,0,0,0.22);
}
.heritage-message-section::before { content: ""; position: absolute; top: -140px; right: -100px; width: 340px; height: 340px;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.06),
            transparent 72%
        );
    pointer-events: none;
}
.heritage-message-card { background: rgba(255,255,255,0.75); backdrop-filter: blur(18px); border-radius: 28px; border: 1px solid rgba(255,255,255,0.4);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
    overflow: hidden; position: relative; opacity: 0; transform: translateY(80px); transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.heritage-message-card.show-animation { opacity: 1; transform: translateY(0); }
.message-content > * { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.show-animation .premium-label { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.show-animation .message-heading { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.show-animation .scripture-box { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.show-animation .message-text { opacity: 1; transform: translateY(0); transition-delay: 0.8s; font-family: Bodoni Moda; }
.show-animation .signature-area { opacity: 1; transform: translateY(0); transition-delay: 1s; }
.show-animation .premium-btn { opacity: 1; transform: translateY(0); transition-delay: 1.2s; }
.top-glow { position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle,
        rgba(212,175,55,0.22),
        transparent 70%);
    top: -180px; right: -120px; z-index: 0;
}
.message-content { padding: 70px; position: relative; z-index: 2; }
.premium-label { display: inline-block; padding: 10px 20px; border-radius: 50px; background: rgba(0,31,77,0.08); color: #001f4d; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.message-heading { font-family: 'Cinzel', serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; line-height: 1.2; color: #0a1f44; margin-bottom: 30px; }
.message-heading span { color: #c9a227; position: relative; }
.scripture-box { position: relative; padding: 35px; background: #f9fbfd; border-left: 4px solid #c9a227; border-radius: 18px; font-family: Bodoni Moda; font-size: 1.25rem; line-height: 1.9; color: #24324a; margin-bottom: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.verse-ref { color: #c9a227; font-size: 0.9rem; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.message-text { font-size: 1.05rem; line-height: 2; color: var(--royal-blue); font-family: 'Montserrat', sans-serif; }
.signature-area { margin-top: 45px; }
.signature-area h4 { font-family: 'Cinzel', serif; color: #0a1f44; margin-bottom: 8px; font-weight: 700; }
.signature-area span { color: #c9a227; letter-spacing: 2px; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; }
.premium-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding: 16px 34px; border-radius: 60px;
    background: linear-gradient(
        135deg,
        #001f4d,
        #0d3b82
    );
     color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s ease; box-shadow: 0 15px 30px rgba(0,31,77,0.2);
}
.premium-btn:hover { transform: translateY(-5px); color: #fff; box-shadow: 0 20px 40px rgba(0,31,77,0.35); }
.premium-btn span { transition: transform 0.3s ease; }
.premium-btn:hover span { transform: translateX(6px); }
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media(max-width: 992px) {
    .message-content { padding: 45px; }
    .message-heading { font-size: 2.3rem; }
    .scripture-box { font-size: 1.05rem; }
}
@media(max-width: 768px) {
    .message-content { padding: 35px 25px; }
    .anniversary-badge { width: 90px; height: 90px; left: 20px; bottom: 20px; }
    .anniversary-badge span { font-size: 1.8rem; }
    .scripture-box { padding: 25px; }
    .premium-btn { width: 100%; justify-content: center; }
}
/* pastor_message <outo> */


/* documentry_link <into> */
.heritage-film-section { position:relative; overflow:hidden; }
.heritage-film-wrapper { position: relative;
    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,0.06),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b1320 0%,
            #111827 25%,
            #1e293b 55%,
            #243b55 78%,
            #0f172a 100%
        );
    border-radius: 36px; padding: 5rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.55),
        0 10px 35px rgba(15,23,42,0.28),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
.floating-light { position:absolute; border-radius:50%; filter:blur(80px); z-index:0; }
.light-1 { width:220px; height:220px; background:rgba(212,175,55,0.12); top:-50px; right:-40px; }
.light-2 { width:180px; height:180px; background:rgba(44,94,255,0.12); bottom:-40px; left:-40px; }
.heritage-content { position:relative; z-index:2; }
.heritage-tag { display:inline-block; color:#d4af37; letter-spacing:3px; font-size:0.78rem; font-family:'Inter', sans-serif; margin-bottom:1.5rem; font-weight:600; }
.heritage-title { font-family:'Cinzel', serif; color:#fff; font-size:3.3rem; line-height:1.2; margin-bottom:2rem; }
.heritage-title span { color:#d4af37; display:block; }
.heritage-text { color:rgba(255,255,255,0.76); font-size:1rem; line-height:2; font-family: Bodoni Moda; margin-bottom:2rem; }
.heritage-divider { width:90px; height:2px; background:#d4af37; border-radius:30px; margin-bottom:2rem; }
.heritage-quote{ color:#fff; font-size:1.25rem; line-height:1.8; font-style:italic; font-family:'Cinzel', serif; margin-bottom:2.5rem; }
.heritage-buttons { display:flex; flex-wrap:wrap; gap:1rem; }
.btn-watch { background:#d4af37; color:#081222; text-decoration:none; padding:14px 32px; border-radius:60px; font-weight:600; transition:0.4s ease; box-shadow:0 10px 30px rgba(212,175,55,0.25); }
.btn-watch:hover { transform:translateY(-4px); background:#f0ca49; color:#081222; }
.btn-outline-custom { border:1px solid rgba(255,255,255,0.18); color:#fff; text-decoration:none; padding:14px 32px; border-radius:60px; transition:0.4s ease; backdrop-filter:blur(8px); }
.btn-outline-custom:hover { background:rgba(255,255,255,0.08); transform:translateY(-4px); color:#fff; }
.cinematic-frame { position:relative; z-index:2; }
.frame-top { height:48px; background:rgba(255,255,255,0.04); border-top-left-radius:26px; border-top-right-radius:26px; display:flex; align-items:center; gap:10px; padding:0 22px; border:1px solid rgba(255,255,255,0.08); border-bottom:none; }
.frame-top span { width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,0.25); }
.video-shell { position:relative; overflow:hidden; border-bottom-left-radius:26px; border-bottom-right-radius:26px; border:1px solid rgba(255,255,255,0.08); border-top:none; height:520px; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.cinematic-video { width:100%; height:100%; border:0; }
.video-overlay { position:absolute; inset:0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.05)
        );
    pointer-events:none;
}
.film-badge { position:absolute; bottom:25px; left:25px; background:rgba(255,255,255,0.08); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.12); color:#fff; padding:10px 20px; border-radius:50px; font-size:0.85rem; letter-spacing:2px; font-family:'Inter', sans-serif; }
@media(max-width:991px){
    .heritage-film-wrapper { padding:3rem 2rem; }
    .heritage-title { font-size:2.5rem; }
    .video-shell { height:380px; }
}
@media(max-width:576px) {
    .heritage-title { font-size:2rem; }
    .video-shell { height:260px; }
    .heritage-film-wrapper { border-radius:24px; padding:2rem 1.2rem; }
    .heritage-quote { font-size:1rem; }
}
/* documentry_link <outo> */


/* footer <into> */
.church-footer { position: relative; overflow: hidden; padding: 70px 0 25px;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e293b 30%,
            #243b55 68%,
            #0b1320 100%
        );
    color: #ffffff;
}
.church-footer::before { content: ""; position: absolute; top: -140px; right: -100px; width: 380px; height: 380px;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.05),
            transparent 72%
        );
    pointer-events: none;
}
.footer-top-line { width: 100%; height: 2px; margin-bottom: 55px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(248,250,252,0.95),
            transparent
        );
    box-shadow: 0 0 16px rgba(255,255,255,0.18);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 55px; align-items: start; }
.footer-box { position: relative; padding: 0; background: transparent; border: none; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.footer-number { display: none; }
.footer-heading { font-size: 1.9rem; margin-bottom: 28px; color: #f8fafc; font-family: 'Cinzel', serif; line-height: 1.4; }
.footer-contact{ padding-right: 10px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; font-family: Bodoni Moda; }
.contact-item i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: #f8fafc; font-size: 1.05rem; }
.contact-item span { display: block; font-weight: 600; margin-bottom: 4px; color: #f8fafc; }
.contact-item a { color: rgba(255,255,255,0.74); text-decoration: none; line-height: 1.8; transition: all 0.35s ease; }
.contact-item a:hover { color: #ffffff; }
.footer-menu-grid { display: flex; justify-content: center; align-items: flex-start; gap: 70px; text-align: center; }
.footer-links { list-style: none; padding: 0; margin: 0; font-family: Bodoni Moda; }
.footer-links li { margin-bottom: 18px; text-align: center; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; transition: all 0.35s ease; font-size: 0.97rem; }
.footer-links a:hover { color: #f8fafc; padding-left: 6px; }
.footer-text { color: rgba(255,255,255,0.76); line-height: 1.9; margin-bottom: 28px; font-size: 0.98rem; font-family: Bodoni Moda; }
.connect-title { margin-bottom: 20px; color: #f8fafc; font-weight: 600; font-family: Cinzel; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #f8fafc; font-size: 1.15rem; text-decoration: none; transition: all 0.4s ease; }
.social-icons a:hover { transform: translateY(-6px);
    background:
        linear-gradient(
            135deg,
            #334155,
            #64748b
        );
    color: #ffffff; box-shadow: 0 10px 24px rgba(148,163,184,0.20); }
.footer-map-section { margin-top: 20px; }
.map-title { margin-bottom: 24px; color: #f8fafc; font-family: 'Cinzel', serif; text-align: center; }
.map-wrapper { overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 15px 35px rgba(0,0,0,0.28); }
.map-wrapper iframe { width: 100%; height: 320px; border: 0; }
.footer-bottom { margin-top: 45px; padding-top: 25px; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.65); letter-spacing: 0.3px; font-size: 0.95rem; }
@media(max-width:991px) {
    .footer-grid{ grid-template-columns: 1fr; gap: 55px; }
    .footer-menu-grid { justify-content: flex-start; }
    .social-icons { justify-content: flex-start; }
}
@media(max-width:576px){
    .footer-menu-grid { flex-direction: column; gap: 30px; }
    .footer-heading { font-size: 1.55rem; }
    .social-icons{ flex-wrap: wrap; }
}
/* footer <into> */


/* p.message <into> */
.pastor-page { margin: 0; padding: 0; background: #faf8f3; color: #1d2939; font-family: "Cormorant Garamond", Georgia, serif; overflow-x: hidden;  }

.pastor-hero { position: relative; min-height: 470px; background: linear-gradient( 90deg, rgba(5, 23, 43, 0.98) 0%, rgba(5, 23, 43, 0.93) 35%, rgba(5, 23, 43, 0.58) 65%, rgba(5, 23, 43, 0.35) 100% ), url("images/pastor-hero.jpg"); background-size: cover; background-position: center; overflow: hidden; animation: pastorHeroReveal 1.1s ease forwards;  }
.pastor-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: linear-gradient( to top, rgba(5, 23, 43, 0.55), transparent ); pointer-events: none;  }
.pastor-hero-overlay { position: absolute; inset: 0; background: radial-gradient( circle at 72% 45%, rgba(191, 154, 82, 0.14), transparent 35% ); pointer-events: none;  }
.pastor-hero-container { position: relative; z-index: 2;  }
.pastor-hero-row { min-height: 470px;  }
.pastor-hero-content { padding: 60px 0;  }
.pastor-hero-title { margin: 0; color: #ffffff; font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 7vw, 6.7rem); font-weight: 500; line-height: 0.82; letter-spacing: -2px;  }
.pastor-hero-title span { display: block; margin-top: 12px; color: #d5ad68;  }
.pastor-gold-line { width: 64px; height: 2px; margin: 32px 0 20px; background: #d5ad68;  }
.pastor-hero-label { margin-bottom: 30px; color: #ffffff; font-family: "Montserrat", sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 4px;  }
.pastor-hero-quote { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 1.55rem; font-style: italic; line-height: 1.5;  }

.pastor-hero-keywords { display: flex; flex-direction: column; gap: 8px; color: #ffffff; font-family: "Montserrat", sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 4px;  }
.pastor-keyword-line { width: 60px; height: 2px; margin-top: 10px; background: #d5ad68;  }

.pastor-main { padding: 75px 0 80px;  }

.pastor-profile { position: relative;  }
.pastor-photo-frame { position: relative; max-width: 350px;  }
.pastor-photo-accent { position: absolute; left: -13px; bottom: -13px; width: 94%; height: 94%; background: #cda65f;  }
.pastor-photo { position: relative; z-index: 2; display: block; width: 100%; min-height: 390px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;  }
.pastor-photo-frame:hover .pastor-photo { transform: scale(1.025);  }
.pastor-profile-info { padding: 25px 10px;  }
.pastor-name { margin-bottom: 8px; color: #0b2b52; font-size: 2rem; font-weight: 600;  }
.pastor-role-row { display: flex; align-items: center; gap: 14px;  }
.pastor-role-line { width: 34px; height: 2px; flex-shrink: 0; background: #b68b3d;  }
.pastor-role { color: #26354a; font-family: "Montserrat", sans-serif; font-size: 0.67rem; font-weight: 600; letter-spacing: 4px;  }
.pastor-side-signature { margin-top: 38px; color: #a97937; font-family: "Great Vibes", cursive; font-size: 2.4rem; line-height: 1;  }
.pastor-side-signature span { display: inline-block; margin-left: 25px;  }

.pastor-message-content { padding-top: 4px;  }
.pastor-message-heading { margin-bottom: 20px; color: #0b2b52; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600;  }
.pastor-message-content p { margin-bottom: 18px; color: #26313f; font-size: 1.18rem; line-height: 1.72;  }
.pastor-message-closing { margin-top: 34px;  }
.pastor-service-text { margin-bottom: 0 !important;  }
.pastor-signature { margin-top: 4px; color: #0b2b52; font-family: "Great Vibes", cursive; font-size: 3.2rem; line-height: 1.2;  }
.pastor-signature-role { color: #26354a; font-family: "Montserrat", sans-serif; font-size: 0.67rem; font-weight: 600; letter-spacing: 4px;  }

.pastor-scripture { position: relative; margin-top: 65px; padding: 55px 45px; border: 1px solid rgba(11, 43, 82, 0.05); border-radius: 15px; background: linear-gradient( 90deg, rgba(235, 242, 246, 0.98), rgba(225, 235, 241, 0.95) ); box-shadow: 0 10px 35px rgba(6, 41, 79, 0.04); overflow: hidden; transition: transform 0.5s ease, box-shadow 0.5s ease;  }
.pastor-scripture:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(6, 41, 79, 0.10);  }
.pastor-scripture-bg { position: absolute; inset: 0; background: linear-gradient( to top, rgba(179, 198, 210, 0.55), transparent 55% ), url("images/mountains.png"); background-position: bottom center; background-size: cover; opacity: 0.28; pointer-events: none;  }

.pastor-scripture-label { display: flex; flex-direction: column; gap: 8px; padding-right: 25px; border-right: 1px solid rgba(11, 43, 82, 0.18); color: #0b2b52; font-family: "Montserrat", sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 4px;  }
.pastor-scripture-line { width: 45px; height: 2px; margin-top: 10px; background: #b88c3e;  }

.pastor-verse-wrapper { position: relative; padding: 0 30px 0 65px;  }
.pastor-quote-mark { position: absolute; left: 10px; top: -20px; color: #b78a3c; font-family: Georgia, serif; font-size: 6rem; font-weight: 700; line-height: 1;  }
.pastor-verse { margin: 0 0 20px; color: #26313f; font-size: 1.5rem; font-style: italic; line-height: 1.45;  }
.pastor-verse-reference { color: #1e293b; font-family: "Montserrat", sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 4px;  }

.pastor-hope-text { padding-left: 35px; border-left: 1px solid rgba(11, 43, 82, 0.14); color: #0b2b52; font-family: "Great Vibes", cursive; font-size: 2.6rem; line-height: 0.9; transform: rotate(-4deg);  }

.pastor-exit-wrapper { position: fixed; right: 30px; bottom: 25px; z-index: 99999; padding: 0; margin: 0; pointer-events: auto;  }
.pastor-exit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 26px; border: 1px solid #c69c54; border-radius: 50px; background: #06294f; color: #ffffff; font-family: "Montserrat", sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-decoration: none; cursor: pointer; box-shadow: 0 8px 25px rgba(5, 35, 66, 0.25); transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;  }
.pastor-exit-arrow { font-size: 1.4rem; line-height: 1; transition: transform 0.3s ease;  }
.pastor-exit-btn:hover { background: #c69c54; color: #06294f; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(5, 35, 66, 0.35);  }
.pastor-exit-btn:hover .pastor-exit-arrow { transform: translateX(-4px);  }
.pastor-exit-btn:active { transform: translateY(0) scale(0.96);  }
.pastor-exit-btn:focus-visible { outline: 3px solid rgba(198, 156, 84, 0.45); outline-offset: 4px;  }

.pastor-animate { opacity: 0; will-change: transform, opacity, filter;  }

.pastor-fade-up { transform: translateY(45px);  }
.pastor-fade-up.pastor-show { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-fade-down { transform: translateY(-40px);  }
.pastor-fade-down.pastor-show { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-slide-left { transform: translateX(-70px);  }
.pastor-slide-left.pastor-show { opacity: 1; transform: translateX(0); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-slide-right { transform: translateX(70px);  }
.pastor-slide-right.pastor-show { opacity: 1; transform: translateX(0); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-zoom-in { transform: scale(0.88);  }
.pastor-zoom-in.pastor-show { opacity: 1; transform: scale(1); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-soft-reveal { transform: translateY(30px) scale(0.97); filter: blur(5px);  }
.pastor-soft-reveal.pastor-show { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;  }
.pastor-line-animation { transform: scaleX(0); transform-origin: left center;  }

.pastor-line-animation.pastor-show { opacity: 1; transform: scaleX(1); transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);  }

.pastor-delay-1.pastor-show { transition-delay: 0.10s;  }
.pastor-delay-2.pastor-show { transition-delay: 0.20s;  }
.pastor-delay-3.pastor-show { transition-delay: 0.30s;  }
.pastor-delay-4.pastor-show { transition-delay: 0.40s;  }
.pastor-delay-5.pastor-show { transition-delay: 0.50s;  }
.pastor-delay-6.pastor-show { transition-delay: 0.60s;  }

@keyframes pastorHeroReveal {
    0% { opacity: 0; transform: scale(1.03);  }
    100% { opacity: 1; transform: scale(1);  }
}
@media (max-width: 991.98px) {
    .pastor-main { padding-top: 55px;  }
    .pastor-profile { max-width: 500px; margin: 0 auto 35px;  }
    .pastor-photo-frame { max-width: 100%;  }
    .pastor-message-content { padding-top: 20px;  }
    .pastor-scripture { padding: 45px 30px;  }
    .pastor-verse-wrapper { padding: 0 15px 0 55px;  }
    .pastor-hope-text { padding-left: 20px; font-size: 2.1rem;  }
}
@media (max-width: 767.98px) {
    .pastor-hero { min-height: 520px; background-position: 65% center;  }
    .pastor-hero-row { min-height: 520px;  }
    .pastor-hero-content { padding: 70px 10px;  }
    .pastor-hero-title { font-size: 4rem;  }
    .pastor-hero-label { font-size: 0.62rem; letter-spacing: 3px;  }
    .pastor-hero-quote { font-size: 1.25rem;  }
    .pastor-main { padding: 45px 0 75px;  }
    .pastor-photo { min-height: 330px;  }
    .pastor-message-heading { font-size: 2.5rem;  }
    .pastor-message-content p { font-size: 1.08rem;  }
    .pastor-scripture { margin-top: 45px; padding: 40px 25px;  }
    .pastor-scripture-label { margin-bottom: 40px; padding: 0 0 20px; border-right: none; border-bottom: 1px solid rgba(11, 43, 82, 0.16);  }
    .pastor-verse-wrapper { padding: 15px 0 0 48px;  }
    .pastor-quote-mark { left: 0; top: -5px; font-size: 4.5rem;  }
    .pastor-verse { font-size: 1.25rem;  }
    .pastor-hope-text { margin-top: 40px; padding: 25px 0 0; border-left: none; border-top: 1px solid rgba(11, 43, 82, 0.14); font-size: 2.4rem;  }
    .pastor-exit-wrapper { right: 18px; bottom: 18px;  }
    .pastor-exit-btn { padding: 11px 20px; font-size: 0.65rem; letter-spacing: 2px;  }
    .pastor-slide-left { transform: translateX(-35px);  }
    .pastor-slide-right { transform: translateX(35px);  }
    .pastor-slide-left.pastor-show, .pastor-slide-right.pastor-show { transform: translateX(0);  }
}
@media (max-width: 480px) {
    .pastor-hero-title { font-size: 3.4rem;  }
    .pastor-profile-info { padding-left: 0; padding-right: 0;  }
    .pastor-name { font-size: 1.75rem;  }
    .pastor-role { letter-spacing: 2.5px;  }
    .pastor-scripture { padding: 35px 20px;  }
    .pastor-verse-wrapper { padding-left: 40px;  }
    .pastor-verse { font-size: 1.15rem;  }
    .pastor-hope-text { font-size: 2.2rem;  }
}
/* p.message <outo> */


/* outreach <into> */
.hero { position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; }
.hero-bg { position:absolute; inset:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; filter:brightness(28%); }
.hero-overlay { position:absolute; inset:0; background:linear-gradient( 135deg, rgba(6, 12, 22, 0.92), rgba(6, 12, 22, 0.45) ); }
.hero-content { position:relative; z-index:2; }
.hero-tag { display:inline-block; padding:10px 22px; background:rgba(212, 175, 55, 0.15); border:1px solid rgba(212, 175, 55, 0.35); color:#d4af37; border-radius:50px; font-size:0.85rem; letter-spacing:3px; text-transform:uppercase; }
.hero h1 { font-family:'Cinzel', serif; color:#fff; font-size:3.9rem; line-height:1.15; margin-top:30px; margin-bottom:30px; }
.hero p { color:#ddd; max-width:760px; line-height:2; font-size:1.05rem; }

.intro-panel { margin-top:-120px; position:relative; z-index:5; }
.intro-wrapper { background:#fff; border-radius:40px; overflow:hidden; box-shadow:0 30px 80px rgba(0, 0, 0, 0.08); }
.intro-image { position:relative; min-height:650px; }
.intro-image img { width:100%; height:100%; object-fit:cover; }
.intro-image::after { content:''; position:absolute; inset:0; background:linear-gradient( to top, rgba(0, 0, 0, 0.65), transparent ); }
.intro-text { padding:90px 70px; position:relative; }
.intro-text::before { content:''; position:absolute; top:90px; left:70px; width:90px; height:5px; border-radius:20px; background:#d4af37; }
.intro-text h2 { font-family:'Cinzel', serif; font-size:3.2rem; color:#08101d; margin-top:35px; margin-bottom:30px; line-height:1.3; }
.intro-text p { color:#555; line-height:2.1; margin-bottom:25px; }

.branch-showcase-section { --branch-navy: #0f172a; --branch-dark: #08101d; --branch-blue: #1d3557; --branch-gold: #b8942e; --branch-gold-light: #d4af37; --branch-gold-soft: #e7d295; --branch-cream: #fbfaf7; --branch-white: #ffffff; --branch-text: #59616d; position: relative; overflow: hidden; background: var(--branch-cream); color: var(--branch-navy);  }

.branch-showcase-intro { padding: 75px 0 60px; background: radial-gradient( circle at 10% 50%, rgba(15, 23, 42, 0.05), transparent 28% ), radial-gradient( circle at 90% 50%, rgba(15, 23, 42, 0.05), transparent 28% ), #fbfaf7;  }
.branch-showcase-intro-inner { max-width: 850px; margin: auto;  }
.branch-showcase-intro-symbol { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 12px; color: var(--branch-gold);  }
.branch-showcase-intro-symbol span { width: 70px; height: 1px; background: var(--branch-gold); transform-origin: center; transition: transform 1s ease 0.4s;  }
.branch-showcase-intro-symbol i { font-size: 1.5rem;  }
.branch-showcase-eyebrow { margin-bottom: 10px; color: var(--branch-gold); font-size: 0.7rem; font-weight: 600; letter-spacing: 5px;  }
.branch-showcase-intro h2 { margin: 0; font-family: 'Cinzel', serif; color: var(--branch-navy); font-size: 3rem; font-weight: 500;  }
.branch-showcase-intro-text { margin: 15px 0 0; color: #717782; font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase;  }

.branch-showcase-hero { position: relative; display: flex; align-items: center; min-height: 570px; overflow: hidden; background: var(--branch-dark);  }
.branch-showcase-hero-image { position: absolute; inset: 0 0 0 36%; overflow: hidden;  }
.branch-showcase-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease;  }
.branch-showcase-hero:hover .branch-showcase-hero-image img { transform: scale(1.05);  }

.branch-showcase-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient( 90deg, #08101d 0%, rgba(8, 16, 29, 0.98) 28%, rgba(8, 16, 29, 0.86) 42%, rgba(8, 16, 29, 0.28) 65%, rgba(8, 16, 29, 0.06) 100% );  }

.branch-showcase-hero-container { position: relative; z-index: 5;  }
.branch-showcase-hero-content { width: 48%; max-width: 590px; padding: 70px 0; color: #ffffff;  }

.branch-showcase-number-row { display: flex; align-items: center; gap: 15px; margin-bottom: 17px;  }
.branch-showcase-number { font-family: 'Cinzel', serif; color: var(--branch-gold-light); font-size: 2.5rem;  }
.branch-showcase-number-line { width: 60px; height: 1px; background: var(--branch-gold);  }
.branch-showcase-category { color: var(--branch-gold-soft); font-size: 0.65rem; font-weight: 600; letter-spacing: 2px;  }

.branch-showcase-hero-content h2 { margin: 0 0 12px; font-family: 'Cinzel', serif; color: #ffffff; font-size: 3.2rem; font-weight: 500; line-height: 1.1;  }
.branch-showcase-hero-content h2 span { display: block;  }

.branch-showcase-tagline { margin-bottom: 25px; color: rgba(255, 255, 255, 0.78); font-size: 0.69rem; font-weight: 600; letter-spacing: 4px;  }

.branch-showcase-description { max-width: 540px; margin-bottom: 12px; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; line-height: 1.85;  }

.branch-showcase-scripture { display: flex; gap: 10px; margin-top: 25px;  }
.branch-showcase-quote-mark { color: var(--branch-gold); font-family: Georgia, serif; font-size: 3rem; line-height: 1;  }
.branch-showcase-scripture p { margin: 0 0 8px; color: #ffffff; font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; line-height: 1.45;  }
.branch-showcase-scripture span { color: var(--branch-gold-soft); font-size: 0.6rem; letter-spacing: 2px;  }

.branch-showcase-hero-reverse .branch-showcase-hero-image { inset: 0 36% 0 0;  }
.branch-showcase-hero-reverse .branch-showcase-hero-overlay { background: linear-gradient( 270deg, #08101d 0%, rgba(8, 16, 29, 0.98) 28%, rgba(8, 16, 29, 0.86) 42%, rgba(8, 16, 29, 0.28) 65%, rgba(8, 16, 29, 0.06) 100% );  }
.branch-showcase-hero-reverse .branch-showcase-hero-content { margin-left: auto;  }

.branch-showcase-ministry-area { position: relative; z-index: 10; padding: 25px 0; background: #ffffff;  }

.branch-showcase-ministry-card { display: flex; align-items: center; gap: 17px; min-height: 115px; padding: 20px; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.055); border-radius: 6px; box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05); transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;  }
.branch-showcase-ministry-card:hover { transform: translateY(-6px); border-color: rgba(184, 148, 46, 0.3); box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1);  }

.branch-showcase-ministry-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 58px; height: 58px; background: #f7f2e7; border-radius: 50%; color: var(--branch-gold); font-size: 1.35rem; transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;  }
.branch-showcase-ministry-card:hover .branch-showcase-ministry-icon { transform: rotate(-5deg) scale(1.05); background: var(--branch-navy); color: var(--branch-gold-light);  }

.branch-showcase-ministry-content h4 { margin: 0; color: var(--branch-navy); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;  }
.branch-showcase-ministry-content > span { display: block; width: 27px; height: 1px; margin: 7px 0; background: var(--branch-gold);  }
.branch-showcase-ministry-content p { margin: 0; color: #69707b; font-size: 0.73rem; line-height: 1.55;  }

.branch-showcase-bottom { padding: 55px 0 70px; background: #fbfaf7;  }

.branch-showcase-section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 20px;  }
.branch-showcase-section-title h3 { margin: 0; color: var(--branch-gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;  }
.branch-showcase-section-title span { width: 55px; height: 1px; background: var(--branch-gold);  }

.branch-showcase-gallery-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 0.8fr; grid-template-rows: repeat(2, 155px); gap: 8px;  }
.branch-showcase-gallery-main { grid-row: 1 / 3;  }
.branch-showcase-gallery-grid > div { overflow: hidden; border-radius: 4px; background: var(--branch-navy);  }
.branch-showcase-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, opacity 0.4s ease;  }
.branch-showcase-gallery-grid > div:hover img { transform: scale(1.08); opacity: 0.88;  }

.branch-showcase-flip-card { position: relative; width: 100%; height: 100%; min-height: 350px; perspective: 1500px;  }
.branch-showcase-flip-inner { position: relative; width: 100%; height: 100%; min-height: 350px; transform-style: preserve-3d; transition: transform 0.95s cubic-bezier(.2, .75, .25, 1);  }

.branch-showcase-flip-front, .branch-showcase-flip-back { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px;  }

.branch-showcase-flip-left .branch-showcase-flip-back { transform: rotateY(180deg);  }
.branch-showcase-flip-left.is-flipped .branch-showcase-flip-inner { transform: rotateY(-180deg);  }

.branch-showcase-flip-right .branch-showcase-flip-back { transform: rotateY(-180deg);  }
.branch-showcase-flip-right.is-flipped .branch-showcase-flip-inner { transform: rotateY(180deg);  }

.branch-showcase-place-front { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 23px; background: linear-gradient( 145deg, #ffffff, #fbf8ef ); border: 1px solid rgba(184, 148, 46, 0.35); text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);  }

.branch-showcase-card-heading { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-bottom: 17px;  }
.branch-showcase-card-heading h3 { margin: 0; font-family: 'Cinzel', serif; color: #8a641b; font-size: 0.95rem; font-weight: 500; line-height: 1.4; text-transform: uppercase;  }
.branch-showcase-card-heading > span { width: 35px; height: 1px; background: var(--branch-gold);  }

.branch-showcase-place-icon { margin-bottom: 15px; color: var(--branch-gold); font-size: 2.3rem;  }
.branch-showcase-place-front > p { margin: 0 0 22px; color: #3f4b5e; font-family: Georgia, serif; font-size: 0.82rem; line-height: 1.65;  }

.branch-showcase-discover-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 215px; padding: 12px 16px; background: linear-gradient( 135deg, #0f172a, #1d3557 ); border: 0; border-radius: 3px; color: #ffffff; font-size: 0.59rem; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;  }
.branch-showcase-discover-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);  }
.branch-showcase-discover-btn i { transition: transform 0.3s ease;  }
.branch-showcase-discover-btn:hover i { transform: translateX(5px);  }

.branch-showcase-heart-front { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 23px; background: radial-gradient( circle at bottom right, rgba(212, 175, 55, 0.09), transparent 38% ), linear-gradient( 145deg, #14233b, #08101d ); border: 1px solid var(--branch-gold); color: #ffffff; text-align: center; box-shadow: 0 15px 35px rgba(8, 16, 29, 0.2);  }
.branch-showcase-heart-cross { position: absolute; right: -20px; bottom: -35px; color: rgba(212, 175, 55, 0.055); font-size: 10rem;  }
.branch-showcase-heart-label { color: var(--branch-gold-light); font-size: 0.72rem; font-weight: 600; letter-spacing: 3px;  }
.branch-showcase-heart-divider { display: flex; align-items: center; gap: 7px; margin: 12px 0 16px; color: var(--branch-gold-light);  }
.branch-showcase-heart-divider span { width: 38px; height: 1px; background: var(--branch-gold);  }
.branch-showcase-heart-divider i { font-size: 0.6rem;  }
.branch-showcase-big-quote { align-self: flex-start; color: var(--branch-gold-light); font-family: Georgia, serif; font-size: 3rem; line-height: 0.8;  }
.branch-showcase-heart-front blockquote { margin: 0; color: rgba(255, 255, 255, 0.92); font-family: Georgia, serif; font-size: 0.82rem; font-style: italic; line-height: 1.7;  }
.branch-showcase-verse { margin-top: 17px;  }
.branch-showcase-verse span { display: block; width: 38px; height: 1px; margin: 0 auto 7px; background: var(--branch-gold-light);  }
.branch-showcase-verse p { margin: 0; color: var(--branch-gold-light); font-size: 0.56rem; letter-spacing: 2px;  }
.branch-showcase-heart-front > small { margin-top: 9px; color: rgba(212, 175, 55, 0.82); font-family: Georgia, serif; font-size: 0.67rem;  }

.branch-showcase-flip-back { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 23px; text-align: center;  }

.branch-showcase-back-light { background: radial-gradient( circle at top left, rgba(212, 175, 55, 0.1), transparent 35% ), linear-gradient( 145deg, #ffffff, #f7f1e4 ); border: 1px solid rgba(184, 148, 46, 0.45); color: var(--branch-navy);  }
.branch-showcase-back-symbol { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; background: rgba(184, 148, 46, 0.1); border-radius: 50%; color: var(--branch-gold); font-size: 1.25rem;  }
.branch-showcase-back-eyebrow { color: var(--branch-gold); font-size: 0.55rem; font-weight: 600; letter-spacing: 2.2px;  }
.branch-showcase-flip-back h3 { margin: 9px 0 0; font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 500;  }
.branch-showcase-back-light h3 { color: var(--branch-navy);  }
.branch-showcase-back-line { width: 42px; height: 1px; margin: 14px auto; background: var(--branch-gold);  }
.branch-showcase-back-light > p { margin: 0 0 10px; color: #626975; font-family: Georgia, serif; font-size: 0.76rem; line-height: 1.6;  }
.branch-showcase-back-footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 7px;  }
.branch-showcase-back-footer span { width: 20px; height: 1px; background: var(--branch-gold);  }
.branch-showcase-back-footer small { color: #967426; font-size: 0.48rem; letter-spacing: 1.5px;  }

.branch-showcase-back-dark { background: radial-gradient( circle at bottom left, rgba(212, 175, 55, 0.11), transparent 40% ), linear-gradient( 145deg, #0e2038, #060d18 ); border: 1px solid var(--branch-gold); color: #ffffff;  }
.branch-showcase-back-dark h3 { color: #ffffff;  }
.branch-showcase-back-cross { position: absolute; right: -15px; bottom: -30px; color: rgba(212, 175, 55, 0.055); font-size: 9rem;  }
.branch-showcase-back-quote { align-self: flex-start; color: var(--branch-gold-light); font-family: Georgia, serif; font-size: 2.7rem; line-height: 0.8;  }
.branch-showcase-back-dark blockquote { margin: 0; color: rgba(255, 255, 255, 0.9); font-family: Georgia, serif; font-size: 0.78rem; font-style: italic; line-height: 1.7;  }
.branch-showcase-back-scripture { margin-top: 15px;  }
.branch-showcase-back-scripture span { display: block; width: 35px; height: 1px; margin: 0 auto 7px; background: var(--branch-gold-light);  }
.branch-showcase-back-scripture small { color: var(--branch-gold-light); font-size: 0.52rem; letter-spacing: 2px;  }

.branch-showcase-flip-back-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 17px; background: transparent; border: 1px solid rgba(212, 175, 55, 0.55); border-radius: 30px; color: var(--branch-gold-light); font-size: 0.56rem; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; cursor: pointer; transition: background 0.3s ease, color 0.3s ease;  }
.branch-showcase-flip-back-btn:hover { background: var(--branch-gold-light); color: var(--branch-dark);  }

.branch-showcase-divider { padding: 38px 0; overflow: hidden; background: radial-gradient( circle at 50% 120%, rgba(29, 53, 87, 0.7), transparent 50% ), linear-gradient( 135deg, #08101d, #10233d, #08101d );  }
.branch-showcase-divider-content { text-align: center;  }
.branch-showcase-divider-content > i { display: block; margin-bottom: 10px; color: var(--branch-gold-light); font-size: 1.7rem;  }
.branch-showcase-divider-title { display: flex; align-items: center; justify-content: center; gap: 25px;  }
.branch-showcase-divider-title > span { width: 80px; height: 1px; background: var(--branch-gold);  }
.branch-showcase-divider-title h3 { margin: 0; color: #ffffff; font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 400; letter-spacing: 1px;  }
.branch-showcase-divider-title b { margin: 0 13px; color: var(--branch-gold); font-weight: 400;  }
.branch-showcase-divider-content p { margin: 12px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 0.58rem; letter-spacing: 4px;  }

.branch-showcase-closing { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient( 180deg, #f6e7ce, #e4c999 );  }
.branch-showcase-closing-overlay { position: absolute; inset: 0; background: radial-gradient( circle at 50% 100%, rgba(15, 23, 42, 0.17), transparent 45% );  }
.branch-showcase-closing-content { position: relative; z-index: 2; max-width: 800px; margin: auto; text-align: center;  }
.branch-showcase-closing-content > i { display: block; margin-bottom: 15px; color: var(--branch-gold); font-size: 1.4rem;  }
.branch-showcase-closing blockquote { margin: 0; color: var(--branch-navy); font-family: Georgia, serif; font-size: 1.25rem; font-style: italic;  }
.branch-showcase-closing span { display: block; margin-top: 13px; color: #6f5b37; font-size: 0.58rem; letter-spacing: 3px;  }

.branch-reveal { opacity: 0; will-change: transform, opacity; transition: opacity 0.85s ease, transform 0.95s cubic-bezier(.16, 1, .3, 1);  }

.branch-reveal-up { transform: translateY(45px);  }

.branch-reveal-down { transform: translateY(-35px);  }

.branch-reveal-left { transform: translateX(-60px);  }

.branch-reveal-right { transform: translateX(60px);  }

.branch-reveal.branch-visible { opacity: 1; transform: translateX(0) translateY(0) scale(1);  }

.branch-delay-1 { transition-delay: 0.10s;  }
.branch-delay-2 { transition-delay: 0.20s;  }
.branch-delay-3 { transition-delay: 0.30s;  }
.branch-delay-4 { transition-delay: 0.40s;  }
.branch-delay-5 { transition-delay: 0.50s;  }

.branch-hero-image-reveal { opacity: 1; clip-path: inset(0 0 0 100%); transform: scale(1.07); transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1), transform 1.5s cubic-bezier(.16, 1, .3, 1);  }
.branch-hero-image-reveal.branch-visible { clip-path: inset(0 0 0 0); transform: scale(1);  }

.branch-hero-image-reveal-reverse { opacity: 1; clip-path: inset(0 100% 0 0); transform: scale(1.07); transition: clip-path 1.3s cubic-bezier(.76, 0, .24, 1), transform 1.5s cubic-bezier(.16, 1, .3, 1);  }
.branch-hero-image-reveal-reverse.branch-visible { clip-path: inset(0 0 0 0); transform: scale(1);  }

.branch-gallery-reveal { transform: translateY(30px) scale(0.92);  }
.branch-gallery-reveal.branch-visible { transform: translateY(0) scale(1);  }

.branch-showcase-intro-symbol.branch-visible span { animation: branchLineGrow 1s ease 0.35s both;  }
@keyframes branchLineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 991px) {
    .branch-showcase-intro h2 { font-size: 2.4rem;  }
    .branch-showcase-hero { min-height: 650px;  }
    .branch-showcase-hero-image, .branch-showcase-hero-reverse .branch-showcase-hero-image { inset: 0;  }
    .branch-showcase-hero-overlay, .branch-showcase-hero-reverse .branch-showcase-hero-overlay { background: linear-gradient( 90deg, rgba(8, 16, 29, 0.98), rgba(8, 16, 29, 0.82), rgba(8, 16, 29, 0.5) );  }
    .branch-showcase-hero-content, .branch-showcase-hero-reverse .branch-showcase-hero-content { width: 72%; margin-left: 0;  }
    .branch-showcase-flip-card, .branch-showcase-flip-inner { min-height: 380px;  }
}

@media (max-width: 767px) {
    .branch-showcase-intro { padding: 55px 20px 45px;  }
    .branch-showcase-intro h2 { font-size: 1.9rem;  }
    .branch-showcase-intro-text { font-size: 0.62rem; letter-spacing: 2px;  }
    .branch-showcase-hero { min-height: 700px; align-items: flex-end;  }
    .branch-showcase-hero-overlay, .branch-showcase-hero-reverse .branch-showcase-hero-overlay { background: linear-gradient( 180deg, rgba(8, 16, 29, 0.2), rgba(8, 16, 29, 0.72) 35%, rgba(8, 16, 29, 0.98) 68% );  }
    .branch-showcase-hero-content, .branch-showcase-hero-reverse .branch-showcase-hero-content { width: 100%; padding: 250px 5px 50px;  }
    .branch-showcase-hero-content h2 { font-size: 2.15rem;  }
    .branch-showcase-description { font-size: 0.82rem;  }
    .branch-showcase-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 230px 120px 120px;  }
    .branch-showcase-gallery-main { grid-column: 1 / 3; grid-row: 1;  }
    .branch-showcase-flip-card, .branch-showcase-flip-inner { min-height: 390px;  }
    .branch-showcase-divider-title > span { display: none;  }
    .branch-showcase-divider-title h3 { font-size: 1.05rem; line-height: 1.8;  }
    .branch-showcase-divider-title b { margin: 0 5px;  }
    .branch-showcase-divider-content p { font-size: 0.5rem; letter-spacing: 2px;  }
    .branch-showcase-closing { padding: 55px 20px;  }
    .branch-showcase-closing blockquote { font-size: 1.05rem;  }
}

@media (prefers-reduced-motion: reduce) {
    .branch-reveal, .branch-hero-image-reveal, .branch-hero-image-reveal-reverse, .branch-gallery-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;  }
    .branch-showcase-flip-inner { transition-duration: 0.01ms;  }
}

.center-quote { position:relative; padding:180px 0; overflow:hidden; }
.center-quote img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(20%); }
.quote-layer { position:absolute; inset:0; background:rgba(0, 0, 0, 0.5); }
.quote-content { position:relative; z-index:2; text-align:center; }
.quote-content h2 { font-family:'Cinzel', serif; color:#fff; font-size:4.5rem; line-height:1.5; max-width:1100px; margin:auto; }
.quote-content p { margin-top:40px; color:#d4af37; letter-spacing:4px; text-transform:uppercase; }

.final-section { padding:140px 0; }
.final-wrapper { background:#08101d; border-radius:45px; padding:90px; position:relative; overflow:hidden; }
.final-wrapper::before { content:''; position:absolute; bottom:-120px; left:-120px; width:350px; height:350px; background:rgba(212, 175, 55, 0.08); border-radius:50%; }
.final-wrapper h2 { font-family:'Cinzel', serif; color:#fff; font-size:3.5rem; margin-bottom:35px; }
.final-wrapper p { color:#d6d6d6; line-height:2.1; max-width:900px; }

.branch-churches { padding: 85px 0 95px; background: radial-gradient(circle at center, #ffffff 0%, #f7f8fa 62%, #f0f2f5 100%); }

.branch-heading { text-align: center; margin-bottom: 38px; }
.branch-eyebrow { margin: 0 0 8px; color: #6e7580; font-size: 0.78rem; font-weight: 500; letter-spacing: 6px; text-transform: uppercase; }
.branch-heading h2 { margin: 0; font-family: 'Cinzel', serif; color: #08101d; font-size: 2.65rem; font-weight: 500; }
.branch-heading-line { width: 48px; height: 2px; margin: 13px auto 12px; background: #d4af37; }
.branch-heading p:last-child { margin: 0; color: #686f79; font-size: 1rem; }

.branch-card { height: 100%; padding: 13px; background: #ffffff; border: 1px solid rgba(8, 16, 29, 0.05); border-radius: 12px; box-shadow: 0 10px 35px rgba(8, 16, 29, 0.08); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.branch-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(8, 16, 29, 0.13); }

.branch-photo { position: relative; width: 100%; height: 100%; min-height: 360px; overflow: hidden; border-radius: 8px; background: #08101d; }

.branch-photo-slider { position: relative; width: 100%; height: 100%; min-height: 360px; overflow: hidden; border-radius: 8px; }
.branch-photo-slider .branch-slide-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transform: scale(1); transition: opacity 1.1s ease, visibility 1.1s ease, transform 5s ease; }
.branch-photo-slider .branch-slide-img.active { opacity: 1; visibility: visible; z-index: 2; transform: scale(1.035); }
.branch-card:hover .branch-photo-slider .branch-slide-img.active { transform: scale(1.055); }

.branch-content { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 4px 24px; }
.branch-content h3 { margin: 0 0 13px; font-family: 'Cinzel', serif; color: #08101d; font-size: 1.55rem; font-weight: 700; line-height: 1.25; }

.branch-meta { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; color: #333a44; font-size: 0.82rem; line-height: 1.45; }
.branch-meta i { flex: 0 0 18px; color: #c69a2e; font-size: 1rem; text-align: center; }

.branch-description { margin: 10px 0 18px; color: #525963; font-size: 0.79rem; line-height: 1.65; }

.branch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.branch-view-btn, .branch-direction-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 9px 17px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; }
.branch-view-btn { background: #071f3b; border: 1px solid #071f3b; color: #ffffff; }
.branch-view-btn:hover { background: #0d3158; border-color: #0d3158; color: #ffffff; }
.branch-direction-btn { background: #ffffff; border: 1px solid #c69a2e; color: #a77c1b; }
.branch-direction-btn:hover { background: #c69a2e; color: #ffffff; }

@media (max-width: 1199px) {
    .branch-content { padding-left: 18px; }
    .branch-content h3 { font-size: 1.3rem; }
    .branch-actions { gap: 7px; }
    .branch-view-btn,
    .branch-direction-btn { padding: 8px 11px; font-size: 0.7rem; }
}

@media (max-width: 991px) {
    .branch-card .col-md-5,
    .branch-card .col-md-7 { width: 100%; }
    .branch-photo,
    .branch-photo-slider { height: 330px; min-height: 330px; }
    .branch-content { padding: 24px 12px 10px; }
    .branch-content h3 { font-size: 1.55rem; }
}

@media (max-width: 767px) {
    .branch-churches { padding: 65px 0 70px; }
    .branch-heading h2 { font-size: 2rem; }
    .branch-photo,
    .branch-photo-slider { height: 290px; min-height: 290px; }
    .branch-actions { flex-direction: column; }
    .branch-view-btn,
    .branch-direction-btn { width: 100%; }
}

.stats-row { margin-top:70px; }
.stat-card { background:rgba(255, 255, 255, 0.05); border:1px solid rgba(255, 255, 255, 0.08); border-radius:30px; padding:40px; text-align:center; transition:0.4s; }
.stat-card:hover { background:#d4af37; transform:translateY(-10px); }
.stat-card:hover h3, .stat-card:hover span { color:#111; }
.stat-card h3 { color:#d4af37; font-size:3rem; font-weight:700; margin-bottom:10px; }
.stat-card span { color:#bbb; letter-spacing:1px; }

.branch-churches { padding:85px 0 95px; background:radial-gradient(circle at center, #ffffff 0%, #f7f8fa 62%, #f0f2f5 100%); }
.branch-heading { text-align:center; margin-bottom:38px; }
.branch-eyebrow { margin:0 0 8px; color:#6e7580; font-size:0.78rem; font-weight:500; letter-spacing:6px; text-transform:uppercase; }
.branch-heading h2 { margin:0; font-family:'Cinzel', serif; color:#08101d; font-size:2.65rem; font-weight:500; }
.branch-heading-line { width:48px; height:2px; margin:13px auto 12px; background:#d4af37; }
.branch-heading p:last-child { margin:0; color:#686f79; font-size:1rem; }
.branch-card { height:100%; padding:13px; background:#fff; border:1px solid rgba(8, 16, 29, 0.05); border-radius:12px; box-shadow:0 10px 35px rgba(8, 16, 29, 0.08); transition:transform .35s ease, box-shadow .35s ease; }
.branch-card:hover { transform:translateY(-5px); box-shadow:0 18px 45px rgba(8, 16, 29, 0.13); }
.branch-photo { height:100%; min-height:360px; overflow:hidden; border-radius:8px; }
.branch-photo img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.branch-card:hover .branch-photo img { transform:scale(1.035); }
.branch-content { display:flex; flex-direction:column; height:100%; padding:10px 10px 4px 24px; }
.branch-content h3 { margin:0 0 13px; font-family:'Cinzel', serif; color:#08101d; font-size:1.55rem; font-weight:700; line-height:1.25; }
.branch-meta { display:flex; align-items:flex-start; gap:11px; margin-bottom:12px; color:#333a44; font-size:0.82rem; line-height:1.45; }
.branch-meta i { flex:0 0 18px; color:#c69a2e; font-size:1rem; text-align:center; }
.branch-description { margin:10px 0 18px; color:#525963; font-size:0.79rem; line-height:1.65; }
.branch-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:auto; }
.branch-view-btn, .branch-direction-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; padding:9px 17px; border-radius:8px; font-size:0.78rem; font-weight:600; text-decoration:none; transition:all .25s ease; }
.branch-view-btn { background:#071f3b; border:1px solid #071f3b; color:#fff; }
.branch-view-btn:hover { background:#0d3158; border-color:#0d3158; color:#fff; }
.branch-direction-btn { background:#fff; border:1px solid #c69a2e; color:#a77c1b; }
.branch-direction-btn:hover { background:#c69a2e; color:#fff; }
@media(max-width:1199px) {
    .branch-content { padding-left:18px; }
    .branch-content h3 { font-size:1.3rem; }
    .branch-actions { gap:7px; }
    .branch-view-btn, .branch-direction-btn { padding:8px 11px; font-size:0.7rem; }
}
@media(max-width:991px) {
    .branch-card .col-md-5, .branch-card .col-md-7 { width:100%; }
    .branch-photo { min-height:330px; height:330px; }
    .branch-content { padding:24px 12px 10px; }
    .branch-content h3 { font-size:1.55rem; }
}
@media(max-width:767px) {
    .branch-churches { padding:65px 0 70px; }
    .branch-heading h2 { font-size:2rem; }
    .branch-photo { min-height:290px; height:290px; }
    .branch-actions { flex-direction:column; }
    .branch-view-btn, .branch-direction-btn { width:100%; }
}
@media(max-width:991px) {
    .hero h1 { font-size:3.7rem; }
    .intro-text { padding:55px 40px; }
    .intro-text h2 { font-size:2.3rem; }
    .feature-box { padding:50px 40px; }
    .feature-title { font-size:2rem; }
    .quote-content h2 { font-size:2.7rem; }
    .final-wrapper { padding:55px 35px; }
    .final-wrapper h2 { font-size:2.3rem; }
}
@media(max-width:768px) {
    .hero h1 { font-size:2.5rem; }
    .intro-image { min-height:350px; }
    .feature-image { margin-top:30px; }
    .feature-image img { height:320px; }
    .quote-content h2 { font-size:2rem; }
}
.reveal-section { opacity:0; transform:translateY(55px); transition:opacity .85s cubic-bezier(.2, .65, .3, 1), transform .85s cubic-bezier(.2, .65, .3, 1); will-change:opacity, transform; }
.reveal-section.reveal-visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-45px); transition:opacity .8s ease, transform .8s cubic-bezier(.2, .65, .3, 1); }
.reveal-right { opacity:0; transform:translateX(45px); transition:opacity .8s ease, transform .8s cubic-bezier(.2, .65, .3, 1); }
.reveal-left.reveal-visible, .reveal-right.reveal-visible { opacity:1; transform:translateX(0); }
.reveal-delay-1 { transition-delay:.10s; }
.reveal-delay-2 { transition-delay:.20s; }
.reveal-delay-3 { transition-delay:.30s; }
.hero .hero-tag { animation:outreachFadeDown .75s ease both; }
.hero h1 { animation:outreachFadeUp .9s .12s ease both; }
.hero p { animation:outreachFadeUp .9s .25s ease both; }
@keyframes outreachFadeUp {
    from { opacity:0; transform:translateY(35px); }
    to { opacity:1; transform:translateY(0); }
}
@keyframes outreachFadeDown {
    from { opacity:0; transform:translateY(-20px); }
    to { opacity:1; transform:translateY(0); }
}
.outreach-exit-button { position:fixed; right:26px; bottom:26px; z-index:99999; display:inline-flex; align-items:center; justify-content:center; gap:9px; min-width:108px; height:48px; padding:0 20px; border:1px solid rgba(212, 175, 55, .65); border-radius:50px; background:linear-gradient(135deg, #081d35, #031426); color:#fff; font-family:'Inter', sans-serif; font-size:.86rem; font-weight:600; letter-spacing:.3px; box-shadow:0 10px 28px rgba(0, 0, 0, .22); cursor:pointer; transition:transform .25s ease, box-shadow .25s ease, background .25s ease; }
.outreach-exit-button i { color:#d4af37; font-size:1.15rem; }
.outreach-exit-button:hover { transform:translateY(-4px); background:linear-gradient(135deg, #0d3157, #061c33); box-shadow:0 15px 34px rgba(0, 0, 0, .3); }
.outreach-exit-button:active { transform:translateY(0); }
@media(max-width:767px) {
    .outreach-exit-button { right:16px; bottom:16px; min-width:94px; height:44px; padding:0 16px; }
    .reveal-left, .reveal-right { transform:translateY(40px); }
    .reveal-left.reveal-visible, .reveal-right.reveal-visible { transform:translateY(0); }
}
@media(prefers-reduced-motion:reduce) {
    .reveal-section, .reveal-left, .reveal-right { opacity:1; transform:none; transition:none; }
    .hero .hero-tag, .hero h1, .hero p { animation:none; }
}
/* outreach <outo> */


/* elders <into> */
.pc-page { margin: 0; background: #faf8f3; color: #17263b; font-family: "Cormorant Garamond", Georgia, serif; overflow-x: hidden; }

.pc-hero { position: relative; background: linear-gradient(90deg, rgba(5, 25, 47, 0.98) 0%, rgba(5, 25, 47, 0.88) 48%, rgba(5, 25, 47, 0.38) 100%), url("images/committee-hero.jpg"); background-size: cover; background-position: center; color: white; overflow: hidden; }
.pc-hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 70% 45%, rgba(211, 167, 89, 0.16), transparent 35%); }
.pc-hero-row { min-height: 390px; }
.pc-hero-content { padding: 55px 0; }
.pc-eyebrow { margin-bottom: 12px; font-family: "Montserrat", sans-serif; font-size: 0.67rem; font-weight: 500; letter-spacing: 5px; color: #ffffff; }
.pc-hero-title { margin: 0; font-size: clamp(4rem, 7vw, 6.5rem); font-weight: 500; line-height: 0.83; }
.pc-hero-title span { color: #d5ad68; }
.pc-title-line { width: 58px; height: 2px; margin: 25px 0 18px; background: #d5ad68; }
.pc-hero-tag { display: flex; align-items: center; gap: 16px; font-family: "Montserrat", sans-serif; font-size: 0.66rem; letter-spacing: 4px; }
.pc-hero-tag i { width: 4px; height: 4px; background: #d5ad68; border-radius: 50%; }
.pc-hero-description { max-width: 620px; margin: 20px 0 0; font-size: 1.2rem; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.pc-hero-verse { padding-left: 50px; border-left: 1px solid rgba(213, 173, 104, 0.7); }
.pc-hero-verse blockquote { margin-bottom: 15px; font-size: 1.8rem; font-style: italic; line-height: 1.3; }
.pc-hero-verse span { font-family: "Montserrat", sans-serif; font-size: 0.66rem; letter-spacing: 4px; color: #d5ad68; }

.pc-leadership-section { position: relative; min-height: 300px; padding: 35px 0; border-bottom: 1px solid rgba(11, 43, 82, 0.08); overflow: hidden; }
.pc-president-section { background: linear-gradient(90deg, #faf7ef, #ffffff); }
.pc-secretary-section { background: linear-gradient(90deg, #edf5fa, #f8fbfd); }
.pc-treasurer-section { background: linear-gradient(90deg, #faf7ef, #ffffff); }

.pc-role-info { display: flex; align-items: flex-start; gap: 24px; padding: 20px 25px 20px clamp(25px, 6vw, 90px); position: relative; z-index: 20; width: 100%; box-sizing: border-box; }
.pc-role-icon { width: 70px; height: 70px; flex: 0 0 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #d6aa5d, #a87627); color: white; font-size: 2rem; box-shadow: 0 10px 25px rgba(169, 119, 37, 0.18); }
.pc-dark-icon { background: #06294f; border: 2px solid #c99b4b; color: #d5ad68; }
.pc-role-info > div:last-child { min-width: 0; flex: 1; }
.pc-role-info h2 { margin: 2px 0 3px; color: #0b2b52; font-size: clamp(2.3rem, 3vw, 3.4rem); font-weight: 600; line-height: 1.05; white-space: nowrap; position: relative; z-index: 20; }
.pc-role-subtitle { margin: 0; font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 3px; color: #29415f; white-space: nowrap; }
.pc-small-line { width: 42px; height: 2px; margin: 18px 0; background: #c99949; }
.pc-role-info blockquote { margin: 0; color: #29415f; font-size: 1.2rem; font-style: italic; line-height: 1.35; }

.pc-marquee { position: relative; width: 100%; overflow: hidden !important; padding: 28px 0 40px; z-index: 1; contain: paint; }
.pc-marquee::before,
.pc-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 75px; z-index: 50; pointer-events: none; }
.pc-marquee::before { left: 0; background: linear-gradient(to right, rgba(250, 248, 243, 1) 0%, rgba(250, 248, 243, 0.9) 30%, transparent 100%); }
.pc-marquee::after { right: 0; background: linear-gradient(to left, rgba(250, 248, 243, 1) 0%, rgba(250, 248, 243, 0.9) 30%, transparent 100%); }
.pc-secretary-section .pc-marquee::before { background: linear-gradient(to right, #edf5fa 0%, rgba(237, 245, 250, 0.9) 30%, transparent 100%); }
.pc-secretary-section .pc-marquee::after { background: linear-gradient(to left, #f8fbfd 0%, rgba(248, 251, 253, 0.9) 30%, transparent 100%); }
.pc-marquee-track { display: flex; width: max-content; gap: 28px; padding: 0 28px; will-change: transform; position: relative; z-index: 1; align-items: stretch; }

/* ==========================================
   LARGER COMMITTEE CARDS + 3D HOVER EFFECT
   ========================================== */

.pc-person-card {
    position: relative;
    width: 250px;
    flex: 0 0 250px;
    border: 1px solid rgba(11, 43, 82, 0.10);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(9, 38, 68, 0.12);
    perspective: 1400px;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease, border-color 0.45s ease;
    z-index: 1;
}
.pc-person-card:hover {
    transform: translateY(-10px) scale(1.035);
    border-color: #d5ad68;
    box-shadow: 0 28px 42px -15px rgba(6, 41, 79, 0.42), 0 10px 24px rgba(201, 155, 75, 0.18);
    z-index: 10;
}

.pc-card-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #e8e0d0, #c7d1d9);
    transform-origin: center bottom;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
}
.pc-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.pc-person-card:hover .pc-card-image {
    transform: perspective(1000px) rotateX(7deg) translateY(-3px);
    box-shadow: 0 25px 35px -20px rgba(0, 0, 0, 0.55);
}
.pc-person-card:hover .pc-card-image img {
    transform: scale(1.12);
    filter: saturate(1.1) contrast(1.03);
}

/* Cinematic gradient overlays inspired by the reference animation */
.pc-card-image::before,
.pc-card-image::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease, height 0.5s ease;
}
.pc-card-image::before {
    top: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 25, 47, 0.45) 0%, transparent 55%);
}
.pc-card-image::after {
    bottom: 0;
    height: 58%;
    opacity: 0.75;
    background: linear-gradient(to top, rgba(5, 25, 47, 0.76) 0%, rgba(5, 25, 47, 0.18) 55%, transparent 100%);
}
.pc-person-card:hover .pc-card-image::before { opacity: 1; }
.pc-person-card:hover .pc-card-image::after { height: 78%; opacity: 1; }

.pc-card-body {
    position: relative;
    padding: 18px 14px 20px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
    transition: background 0.4s ease;
}
.pc-person-card:hover .pc-card-body { background: linear-gradient(180deg, #ffffff 0%, #f8f0df 100%); }
.pc-card-body h3 {
    margin: 0;
    color: #102c51;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
    transition: transform 0.45s ease, color 0.4s ease;
}
.pc-person-card:hover .pc-card-body h3 { color: #a87627; transform: translateY(-3px); }
.pc-card-body p {
    margin: 8px 0 12px;
    font-family: "Montserrat", sans-serif;
    color: #304563;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
}
.pc-term-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: linear-gradient(90deg, #a87627, #d6a653);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 12px rgba(169, 119, 37, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pc-person-card:hover .pc-term-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(169, 119, 37, 0.3);
}

.pc-legacy-banner { position: relative; min-height: 230px; padding: 50px 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(5, 28, 52, 0.94), rgba(5, 28, 52, 0.52)), url("images/legacy-banner.jpg"); background-size: cover; background-position: center; color: white; }
.pc-legacy-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 24, 44, 0.4), transparent); }
.pc-legacy-title { font-family: "Great Vibes", cursive; font-size: 3rem; line-height: 1; }
.pc-legacy-title span { color: #e0b666; }
.pc-legacy-line { width: 60px; height: 2px; margin-top: 20px; background: #d5ad68; }
.pc-legacy-quote { margin: 0; text-align: center; font-size: 1.7rem; font-style: italic; line-height: 1.4; }

.pc-exit-wrapper { position: fixed; right: 28px; bottom: 24px; z-index: 99999; }
.pc-exit-btn { display: inline-flex; align-items: center; gap: 13px; padding: 13px 27px; border: 1px solid #c69c54; border-radius: 50px; background: #06294f; color: white; font-family: "Montserrat", sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 3px; text-decoration: none; box-shadow: 0 10px 30px rgba(5, 31, 58, 0.3); transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.pc-exit-btn:hover { background: #c69c54; color: #06294f; transform: translateY(-4px); }
.pc-exit-btn span { font-size: 1.3rem; transition: transform 0.3s ease; }
.pc-exit-btn:hover span { transform: translateX(-4px); }

.pc-reveal { opacity: 0; will-change: transform, opacity; }
.pc-reveal-left { transform: translateX(-55px); }
.pc-reveal-right { transform: translateX(55px); }
.pc-reveal-up { transform: translateY(35px); }
.pc-reveal.pc-visible { opacity: 1; transform: translate(0, 0); transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1); }
.pc-line-reveal { transform: scaleX(0); transform-origin: left; }
.pc-line-reveal.pc-visible { transform: scaleX(1); }
.pc-delay-1.pc-visible { transition-delay: 0.1s; }
.pc-delay-2.pc-visible { transition-delay: 0.2s; }
.pc-delay-3.pc-visible { transition-delay: 0.3s; }

@media (max-width: 1199.98px) {
    .pc-role-info { padding: 15px 40px 25px; }
    .pc-leadership-section { padding: 30px 0; }
    .pc-role-info h2 { white-space: normal; }
    .pc-role-subtitle { white-space: normal; }
}

@media (min-width: 1200px) {
    .pc-leadership-section .col-xl-3 { width: 36%; flex: 0 0 36%; max-width: 36%; position: relative; z-index: 10; }
    .pc-leadership-section .col-xl-9 { width: 64%; flex: 0 0 64%; max-width: 64%; position: relative; z-index: 1; overflow: hidden; }
}

@media (max-width: 767.98px) {
    .pc-hero { min-height: 470px; }
    .pc-hero-row { min-height: 470px; }
    .pc-hero-title { font-size: 4rem; }
    .pc-hero-content { padding: 60px 10px; }
    .pc-hero-tag { gap: 9px; font-size: 0.54rem; letter-spacing: 2px; }
    .pc-hero-description { font-size: 1.05rem; }
    .pc-role-info { padding: 15px 22px 25px; gap: 16px; }
    .pc-role-icon { width: 58px; height: 58px; flex-basis: 58px; font-size: 1.6rem; }
    .pc-role-info h2 { font-size: 2.15rem; white-space: normal; }
    .pc-role-subtitle { letter-spacing: 2px; white-space: normal; }
    .pc-marquee::before, .pc-marquee::after { width: 35px; }
    .pc-marquee-track { gap: 20px; padding-left: 20px; padding-right: 20px; }
    .pc-person-card { width: 210px; flex-basis: 210px; }
    .pc-card-image { height: 225px; }
    .pc-card-body { padding: 16px 11px 18px; }
    .pc-card-body h3 { font-size: 1.25rem; }
    .pc-card-body p { font-size: 0.62rem; }
    .pc-term-badge { font-size: 0.58rem; padding: 5px 13px; }
    .pc-legacy-title { margin-bottom: 35px; font-size: 2.5rem; }
    .pc-legacy-quote { text-align: left; font-size: 1.35rem; }
    .pc-exit-wrapper { right: 17px; bottom: 17px; }
    .pc-person-card:hover { transform: translateY(-6px) scale(1.02); }
}

@media (max-width: 380px) {
    .pc-person-card { width: 190px; flex-basis: 190px; }
    .pc-card-image { height: 205px; }
}

@media (prefers-reduced-motion: reduce) {
    .pc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .pc-person-card, .pc-card-image, .pc-card-image img, .pc-card-image::before, .pc-card-image::after, .pc-card-body, .pc-card-body h3, .pc-term-badge { transition: none !important; }
    .pc-person-card:hover, .pc-person-card:hover .pc-card-image, .pc-person-card:hover .pc-card-image img { transform: none !important; }
}
/* elders <outo> */


/* c.history <into> */
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.close-btn-1 { position: fixed; top: 20px; right: 20px; background: rgba(15, 23, 42, 0.6); color: #ffd700; border: 1px solid rgba(212, 175, 55, 0.4); padding: 12px 20px; font-size: 16px; cursor: pointer; border-radius: 4px; transition: all 0.3s ease; z-index: 100; display: flex; align-items: center; gap: 8px; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.3); backdrop-filter: blur(8px); }
.close-btn-1:hover { background: #ffd700; color: #0f172a; border-color: #ffd700; box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
.book-container { width: 100%; max-width: 92vw; height: auto; display: flex; justify-content: center; align-items: center; position: relative; padding: 0; margin: 0 auto; z-index: 10; box-sizing: border-box; overflow: visible; }
#flipbook { margin: 0 auto; background: transparent; box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(212,175,55,0.1); }
#flipbook .page { background: transparent; overflow: hidden; padding: 0; margin: 0; border: 0; }
#flipbook .page img { width: 100%; height: 100%; object-fit: fill; object-position: center; display: block; margin: 0; padding: 0; border: 0; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.stf__parent { margin: 0 auto !important; padding: 0 !important; }
.stf__wrapper { margin: 0 !important; padding: 0 !important; }
.stf__block { margin: 0 !important; padding: 0 !important; }
.loading { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #ffd700; font-size: 25px; z-index: 20; text-shadow: 0 2px 10px rgba(0,0,0,0.5); white-space: nowrap; }
.controls-bar { margin-top: 20px; display: flex; gap: 15px; align-items: center; justify-content: center; position: relative; z-index: 20; }
.control-btn { background: rgba(30,41,59,0.8); color: #e2e8f0; border: 1px solid rgba(192,192,192,0.3); padding: 12px 20px; font-size: 18px; cursor: pointer; border-radius: 5px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.control-btn:hover { background: rgba(51,65,85,0.9); color: #ffd700; border-color: #ffd700; box-shadow: 0 0 10px rgba(212,175,55,0.4); }
.control-btn:active { transform: scale(0.95); }

@media (max-width: 1400px) {
    .book-container { width: 96%; max-width: 1300px; }
}

@media (max-width: 1100px) {
    .book-container { width: 97%; max-width: 1000px; }
}

@media (max-width: 768px) {
    .book-container { width: 96%; max-width: 100%; padding: 0; margin: 0 auto; }
    #flipbook { margin: 0 auto; }
    .close-btn-1 { top: 10px; right: 10px; padding: 8px 14px; font-size: 14px; }
    .controls-bar { margin-top: 15px; gap: 10px; }
    .control-btn { padding: 10px 16px; font-size: 16px; }
    .loading { font-size: 20px; }
}

@media (max-width: 480px) {
    .book-container { width: 98%; padding: 0; }
    .controls-bar { margin-top: 12px; gap: 8px; }
    .control-btn { padding: 9px 13px; font-size: 14px; }
    .close-btn-1 { padding: 7px 11px; font-size: 13px; }
}
/* c.history <outo> */


/* p.history <into> */
.main-header { position:fixed; top:0; left:0; height: 80px; width:100%; z-index:9999; background:rgba(3,12,24,0.96); backdrop-filter:blur(12px); padding:20px 0; border-bottom:1px solid rgba(255,255,255,0.08); text-align:center; }
.main-header h1 { color:#d4af37; font-size:2rem; font-weight:700; letter-spacing:1px; margin:0; font-family: Cinzel; }
.scroll-alert { position:fixed; top:95px; left:50%; transform:translateX(-50%); background:#d4af37; color:#000; padding:12px 28px; border-radius:50px; z-index:9999; font-weight:600; animation:fadeAlert 1s forwards; }
@keyframes fadeAlert{
    0% { opacity:0; transform:translateX(-50%) translateY(-10px); }
    20% { opacity:1; transform:translateX(-50%) translateY(0px); }
    80% { opacity:1; }
    100% { opacity:0; visibility:hidden; }
}
.carousel-section { width:100%; min-height:100vh; display:flex; justify-content:center; align-items:center; position:relative; overflow:hidden; padding-top:10px; }
.auto-btn { position:absolute; top:80px; right:30px; z-index:999; border:none; background:#d4af37; color:#000; padding:12px 24px; border-radius:50px; font-weight:600; transition:0.3s; }
.auto-btn:hover { transform:scale(1.05); }
.exit-btn { position:fixed; bottom:25px; right:25px; width:65px; height:65px; border:none; border-radius:50%; background:#d4af37; color:#000; font-size:1rem; font-weight:700; z-index:9999; box-shadow:0 10px 30px rgba(0,0,0,0.4); transition:0.3s; }
.exit-btn:hover { transform:scale(1.08); }
.carousel-wrapper { width:100%; height:700px; position:relative; perspective:1600px; overflow:hidden; }
.carousel-track { width:100%; height:100%; position:relative; }
.rotating-card { position:absolute; width:400px; height:580px; left:50%; top:50%; transform-style:preserve-3d;
    transition:
        transform 0.9s cubic-bezier(.22,1,.36,1),
        opacity 0.9s ease;
    border-radius:30px; overflow:hidden; background:rgba(255,255,255,0.08); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,0.15); box-shadow:0 25px 60px rgba(0,0,0,0.45);
}
.card-img{ width:100%; height:320px; display:flex; justify-content:center; align-items:center; padding-top:20px; }
.card-img img { width:220px; height:280px; object-fit:cover; border-radius:18px; border:4px solid rgba(255,255,255,0.1); }
.card-content { padding:22px; color:#fff; text-align:center; }
.card-content h2 { font-size:1.4rem; margin-bottom:15px; font-weight:600; color:#d4af37; font-family: Cinzel; }
.card-content p { font-size:0.95rem; line-height:1.7; opacity:0.9; font-family: Bodoni Moda; }
.read-btn { margin-top:20px; border:none; background:#d4af37; color:#000; padding:10px 24px; border-radius:40px; font-weight:600; transition:0.3s; font-family: Bodoni Moda; }
.read-btn:hover { transform:translateY(-3px); }
.center{
    transform:
        translate(-50%, -50%)
        translateX(0)
        rotateY(0deg)
        scale(1);
    z-index:10;
    opacity:1;
}
.left-1{
    transform:
        translate(-50%, -50%)
        translateX(-310px)
        rotateY(35deg)
        scale(0.88);
    z-index:7; opacity:0.7;
}
.right-1{
    transform:
        translate(-50%, -50%)
        translateX(310px)
        rotateY(-35deg)
        scale(0.88);
    z-index:7; opacity:0.7;
}
.left-2{
    transform:
        translate(-50%, -50%)
        translateX(-560px)
        rotateY(45deg)
        scale(0.72);
    z-index:4; opacity:0.35;
}
.right-2{
    transform:
        translate(-50%, -50%)
        translateX(560px)
        rotateY(-45deg)
        scale(0.72);
    z-index:4; opacity:0.35;
}
.hidden-card { transform: translate(-50%, -50%) scale(0.5); opacity:0; z-index:1; }
.details-modal { position:fixed; inset:0; background:rgba(0,0,0,0.75); z-index:99999; display:none; justify-content:center; align-items:center; padding:20px; }
.details-box { width:900px; max-width:100%; max-height:90vh; background:#081826; border-radius:25px; overflow:hidden; border:1px solid rgba(255,255,255,0.1); position:relative; }
.details-content { padding:40px; overflow-y:auto; max-height:90vh; color:#fff; }
.details-content h2 { color:#d4af37; margin-bottom:20px; font-family: Cinzel; }
.details-content p { line-height:1.9; margin-bottom:18px; font-family: Badoni Moda; }
.close-btn { position:absolute; top:15px; right:15px; border:none; background:#d4af37; width:45px; height:45px; border-radius:50%; font-weight:700; }
.mobile-nav { display:none; }

@media(max-width:992px) {
    .rotating-card { width:290px; height:650px; }
    .left-1{
        transform:
            translate(-50%, -50%)
            translateX(-220px)
            rotateY(30deg)
            scale(0.82);
    }
    .right-1{
        transform:
            translate(-50%, -50%)
            translateX(220px)
            rotateY(-30deg)
            scale(0.82);
    }
    .left-2, .right-2{ display:none; }
}
@media(max-width:768px){
    .rotating-card { width:280px; height:650px; }
    .left-1, .right-1 { opacity:0.15; }
    .mobile-nav { display:flex; position:absolute; width:100%; justify-content:space-between; top:50%; transform:translateY(-50%); z-index:999; padding:0 10px; }
    .mobile-nav button { border:none; width:50px; height:50px; border-radius:50%; background:#d4af37; font-size:1.5rem; font-weight:700; }
}
/* p.history <outo> */


/* gallery <into> */
:root {
    --church-blue-dark: #121d31; 
    --church-blue-bright: #1b3155;
    
    --silver-primary: #bcc6d5;
    --silver-light: #ffffff;
    --silver-dark: #828c9c;
    --silver-glow: rgba(230, 235, 245, 0.4);
    
    --gold-primary: #dfba6b;
    --gold-light: #f3e1b9;
    --gold-dark: #9a7938;
}
.majesty-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px; z-index: 1050; overflow: hidden;
    background: linear-gradient(
        105deg, 
        var(--church-blue-dark) 0%, 
        #15243e 40%, 
        var(--church-blue-bright) 75%, 
        #111b2c 100%
    );
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.60); animation: premiumHeaderSlideDown 1.4s cubic-bezier(0.1, 0.9, 0.2, 1) forwards; will-change: transform, opacity;
}
.silver-axis-line { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 2px; width: 0%; background: linear-gradient(90deg, var(--silver-dark), var(--silver-light), var(--silver-dark)); box-shadow: 0 0 12px var(--silver-glow); z-index: 3; animation: lineExtendFromCenter 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 1.8s; will-change: width; }
.majesty-header h1.shining-letters { font-family: 'Cinzel', serif; position: relative; z-index: 2; text-transform: uppercase; font-weight: 600; line-height: 1.2; letter-spacing: 2px; display: inline-block; opacity: 0; animation: premiumTextReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.4s; }
@media (min-width: 768px) {
    .majesty-header h1.shining-letters { letter-spacing: 4px; }
}
.shining-letters span { display: inline-block; color: var(--gold-primary); background: linear-gradient(to bottom, var(--gold-light), var(--gold-primary), var(--gold-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.9)); animation: letterShineWave 7s ease-in-out infinite; will-change: filter, text-shadow; }
.shining-letters span.space { width: 6px; }
.shining-letters span:nth-child(1)  { animation-delay: 2.0s; }
.shining-letters span:nth-child(2)  { animation-delay: 2.1s; }
.shining-letters span:nth-child(3)  { animation-delay: 2.2s; }
.shining-letters span:nth-child(5)  { animation-delay: 2.4s; }
.shining-letters span:nth-child(4)  { animation-delay: 2.3s; }
.shining-letters span:nth-child(6)  { animation-delay: 2.5s; }
.shining-letters span:nth-child(7)  { animation-delay: 2.6s; }
.shining-letters span:nth-child(8)  { animation-delay: 2.7s; }
.shining-letters span:nth-child(9)  { animation-delay: 2.8s; }
.shining-letters span:nth-child(10) { animation-delay: 2.9s; }
.shining-letters span:nth-child(11) { animation-delay: 3.0s; }
.shining-letters span:nth-child(12) { animation-delay: 3.1s; }
.shining-letters span:nth-child(13) { animation-delay: 3.2s; }
.shining-letters span:nth-child(14) { animation-delay: 3.3s; }
.shining-letters span:nth-child(15) { animation-delay: 3.4s; }
.shining-letters span:nth-child(16) { animation-delay: 3.5s; }
.shining-letters span:nth-child(17) { animation-delay: 3.6s; }
.shining-letters span:nth-child(18) { animation-delay: 3.7s; }
.shining-letters span:nth-child(19) { animation-delay: 3.8s; }
.shining-letters span:nth-child(20) { animation-delay: 3.9s; }
.shining-letters span:nth-child(21) { animation-delay: 4.0s; }
.shining-letters span:nth-child(22) { animation-delay: 4.1s; }
.shining-letters span:nth-child(23) { animation-delay: 4.2s; }
.shining-letters span:nth-child(24) { animation-delay: 4.3s; }
.shining-letters span:nth-child(25) { animation-delay: 4.4s; }
.shining-letters span:nth-child(26) { animation-delay: 4.5s; }
.shining-letters span:nth-child(27) { animation-delay: 4.6s; }
.shining-letters span:nth-child(28) { animation-delay: 4.7s; }
.shining-letters span:nth-child(29) { animation-delay: 4.8s; }
.box-canvas-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vector-axis-line { position: absolute; top: 45px; left: 0; height: 1px; width: 0%; background: linear-gradient(90deg, transparent, rgba(230, 235, 245, 0.15), transparent); animation: drawWaveLeftToRight 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 2.2s; }
.popping-box { position: absolute; width: 8px; height: 8px; background: linear-gradient(135deg, var(--silver-light), var(--silver-primary)); border: 1px solid rgba(255, 255, 255, 0.6); transform: rotate(45deg) scale(0);  box-shadow: 0 0 10px var(--silver-glow); opacity: 0; will-change: transform, opacity, filter; }
.box-1 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 2.3s; }
.box-2 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 2.6s; }
.box-3 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 2.9s; }
.box-4 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 3.2s; }
.box-5 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 3.5s; }
.box-6 { animation: boxPopSequence 4s ease-out infinite; animation-delay: 3.8s; }
@keyframes premiumHeaderSlideDown {
    0% { opacity: 0; transform: translateY(-100%); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes lineExtendFromCenter {
    0% { width: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { width: 100%; opacity: 1; }
}
@keyframes premiumTextReveal {
    0% { opacity: 0; transform: translateY(5px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes letterShineWave {
    0%, 12% { background: linear-gradient(to bottom, var(--gold-light), var(--gold-primary), var(--gold-dark)); -webkit-background-clip: text; filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.9)); }
    4% { background: linear-gradient(to bottom, #ffffff, var(--gold-light), var(--gold-primary)); -webkit-background-clip: text; filter: drop-shadow(0px 0px 8px #ffffff) brightness(1.5); }
}
@keyframes drawWaveLeftToRight {
    0% { width: 0%; }
    100% { width: 100%; }
}
@keyframes boxPopSequence {
    0% { transform: rotate(45deg) scale(0); opacity: 0; }
    5% { transform: rotate(45deg) scale(1.4); opacity: 1; filter: brightness(1.8) drop-shadow(0 0 6px var(--silver-light)); }
    12% { transform: rotate(45deg) scale(1); opacity: 0.8; filter: brightness(1); }
    40% { transform: rotate(225deg) scale(0.8); opacity: 0.4; }
    55%, 100% { transform: rotate(270deg) scale(0); opacity: 0; }
}
.sanctuary-isolated-fixed-corner { position: fixed; bottom: 30px; right: 30px; z-index: 2100; background-color: var(--church-blue-dark); border-radius: 5px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6); padding: 0; margin: 0; width: 150px; height: 40px; transition: all 0.3s ease; }
.spot { position: absolute; width: 100%; height: 100%; top: 0; left: 0; cursor: pointer; z-index: 10; }  
.svg-wrapper { margin-top: 0; position: relative; width: 150px; height: 40px; display: inline-block; border-radius: 3px; font-family: 'Cinzel', serif, sans-serif; }
#shape { stroke-width: 6px; fill: transparent; stroke: var(--silver-primary); stroke-dasharray: 85 400; stroke-dashoffset: -220; transition: 1s all ease; }
#text { margin-top: -35px; text-align: center; position: relative; }
#text .exit-btn-link { background: none; border: none; padding: 0; outline: none; color: var(--silver-light); text-decoration: none; font-weight: 600; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; width: 100%; display: block; line-height: normal; }
.sanctuary-cosmic-modal { position: relative; overflow: hidden; border: none; background: radial-gradient(circle at center, rgba(51, 65, 85, 0.9) 0%, rgba(30, 41, 59, 0.95) 45%, rgba(0, 18, 51, 0.98) 100%) !important; }
.sanctuary-cosmic-modal::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent),
        radial-gradient(1px 1px at 160px 30px, white, transparent);
    background-size: 200px 100px; opacity: 0.3; animation: starsMove 25s linear infinite; pointer-events: none; z-index: 0;
}
#main-folders { display: flex; flex-wrap: wrap; overflow: visible !important; height: auto !important; }
body:not(.modal-open) { overflow-y: auto !important; height: auto !important; }
.modal-content-wrapper { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100%; }
@keyframes starsMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
 }
}
.sanctuary-isolated-fixed-corner:hover { background-color: var(--church-blue-bright); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(223, 186, 107, 0.3); }
.sanctuary-isolated-fixed-corner:hover #shape { stroke-dasharray: 50 0; stroke-width: 3px; stroke-dashoffset: 0; stroke: var(--gold-primary); }
.sanctuary-isolated-fixed-corner:hover .exit-btn-link { color: var(--gold-light); }
.folder-stack { position: relative; width: 180px; height: 240px; cursor: pointer; margin: 50px auto; }
.card-stack { position: absolute; width: 100%; height: 100%; border-radius: 12px; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; text-align: center; padding: 15px; }
.stack-3 { background: var(--silver); transform: rotate(-8deg); z-index: 1; opacity: 0.8; }
.stack-2 { background: var(--gold); transform: rotate(8deg); z-index: 2; opacity: 0.9; }
.stack-1 { 
    background: linear-gradient(145deg, #ffffff, #e0e0e0);
    z-index: 3; border: 2px solid var(--gold); color: var(--deep-navy);
    font-family: 'Cinzel', serif; font-weight: bold;
}
.folder-stack:hover .stack-3 { transform: translate(-30px, -15px) rotate(-20deg); }
.folder-stack:hover .stack-2 { transform: translate(30px, -15px) rotate(20deg); }
.folder-stack:hover .stack-1 { transform: translateY(-10px); background: var(--gold-light); }
.gallery-img { width: 100%; height: 250px; object-fit: cover; border: 2px solid var(--gold); border-radius: 8px; cursor: pointer; transition: transform 0.3s ease; background: rgba(255,255,255,0.05); }
.gallery-img:hover { transform: scale(1.03); box-shadow: 0 0 15px var(--gold); }
#lightboxModal .modal-dialog { max-width: 100%; margin: 0; height: 100vh; }
#lightboxModal .modal-content { background-color: #000 !important; border: none; border-radius: 0; height: 100vh; }
#lightbox-img { max-height: 85vh; max-width: 90vw; border: 1px solid rgba(212, 175, 55, 0.2); transition: opacity 0.7s ease-in-out, transform 0.4s ease; opacity: 1; }
.img-hidden { opacity: 0 !important; }
.nav-side-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: var(--gold); border: none; font-size: 4rem; padding: 40px; z-index: 1070; transition: 0.3s; }
.nav-side-btn:hover { color: white; scale: 1.1; }
.nav-side-btn.left { left: 10px; }
.nav-side-btn.right { right: 10px; }
.zoom-controls { background: rgba(20, 20, 20, 0.85); padding: 10px 25px; border-radius: 50px; border: 1px solid var(--gold); backdrop-filter: blur(8px); }
.loader-text { font-family: 'Cinzel', serif; color: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
    } 50% {
        opacity: 1;
    }
}
/* gallery <outo> */


/* centenary <into> */
.centenary-header { width:100%; padding:30px 20px 35px; text-align:center; position:absolute; top:0; left:0; z-index:10; }
.carousel-section { padding:0 0 70px; margin-top:120px; }
.centenary-header h5 { color:var(--gold); letter-spacing:4px; font-size:15px; margin-bottom:12px; text-transform:uppercase; }
.centenary-header h1 { font-family:'Cinzel',serif; font-size:clamp(2.3rem,5vw,5rem); font-weight:700; color:var(--light); margin-bottom:18px; text-shadow:0 5px 20px rgba(0,0,0,0.5); }
.centenary-header p { max-width:750px; margin:auto; color:rgba(255,255,255,0.78); font-size:1rem; line-height:1.8; }
.carousel-section{
    padding:0;
    margin-top:0;
}
.custom-carousel{
    width:92%;
    margin:0 auto;
    border-radius:28px;
    overflow:hidden;
    position:relative;
    box-shadow:0 25px 60px rgba(0,0,0,0.45);
    border:1px solid rgba(255,255,255,0.08);
}
.carousel-item { height:520px; position:relative; overflow:hidden; }
.carousel-item img { width:100%; height:100%; object-fit:cover; animation:zoomEffect 7s ease-in-out infinite alternate; }
@keyframes zoomEffect{
    from { transform:scale(1); }
    to { transform:scale(1.08); }
}
.carousel-overlay { position:absolute; inset:0;
    background:linear-gradient(
        to top,
        rgba(11,19,32,0.95),
        rgba(11,19,32,0.15)
    );
    z-index:1;
}
.carousel-caption-custom { position:absolute; bottom:60px; left:60px; z-index:2; max-width:600px; }
.carousel-caption-custom h2 { font-family:'Cinzel',serif; color:var(--light); font-size:clamp(1.8rem,3vw,3.2rem); margin-bottom:15px; }
.carousel-caption-custom p { color:rgba(255,255,255,0.82); line-height:1.8; font-size:1rem; }
.carousel-control-prev, .carousel-control-next { width:70px; }
.carousel-control-prev-icon,
.carousel-control-next-icon { background-color:rgba(0,0,0,0.45); border:1px solid rgba(255,255,255,0.15); width:55px; height:55px; border-radius:50%; backdrop-filter:blur(10px); background-size:45%; }
.carousel-indicators [data-bs-target]{ width:12px; height:12px; border-radius:50%; background-color:var(--gold); }
@media(max-width:992px) {
    .centenary-header{ position:absolute; top:0; left:0; width:100%; padding:20px 20px 20px; z-index:10; }
    .carousel-section { padding:0; margin-top:0; }
    .custom-carousel { width:100%; margin:0; border-radius:0; }
    .carousel-item { height:420px; }
    .carousel-caption-custom { left:35px; right:35px; bottom:40px; }
}
@media(max-width:768px) {
    .centenary-header { padding:15px 15px 15px; }
    .centenary-header h5 { font-size:12px; letter-spacing:3px; margin-bottom:6px; }
    .centenary-header h1 { font-size:clamp(1.8rem,8vw,2.7rem); margin-bottom:0; }
    .carousel-section { padding-top:90px; margin-top:0; }
    .custom-carousel { width:100%; border-radius:0; }
    .carousel-item { height:calc(100vh - 90px); min-height:500px; }
    .carousel-caption-custom { left:20px; right:20px; bottom:30px; }
    .carousel-caption-custom h2 { font-size:1.6rem; }
    .carousel-caption-custom p { font-size:0.9rem; line-height:1.6; }
    .carousel-control-prev, .carousel-control-next { display:none; }
}
/* centenary <outo> */