/* ============================================================
   CAC ACHIEVERS HOUSE — MASTER STYLESHEET
   Color System: Royal Blue + Deep Navy + Pure White
   Architecture: Mobile-first, CSS Variables, BEM-adjacent
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    /* Brand — overridable by admin via inline <style> */
    --primary:            #0047AB;   /* Royal Blue */
    --primary-dark:       #003380;
    --primary-light:      #E8F0FF;
    --primary-glow:       rgba(0,71,171,0.25);
    --secondary:          #0A1F44;   /* Deep Navy */
    --secondary-mid:      #152E5E;
    --accent-gold:        #C8A84B;   /* Timeless gold accent */
    --accent-gold-light:  #EDD88A;
    --accent-red:         #E63946;   /* Vibrant modern red accent */
    --accent-red-light:   #F9A8D4;   /* For subtle red gradients */
    --accent-red-glow:    rgba(230, 57, 70, 0.35);

    /* Surfaces */
    --bg-page:            #F8FAFC;   /* Soft White */
    --bg-white:           #FFFFFF;
    --bg-navy:            #0A1F44;
    --bg-navy-mid:        #152E5E;
    --bg-blue-tint:       #E8F0FF;

    /* Text */
    --text-navy:          #0A1F44;
    --text-mid:           #344563;
    --text-muted:         #64748B;
    --text-light:         #94A3B8;
    --text-white:         #FFFFFF;

    /* Borders */
    --border-light:       rgba(0,71,171,0.1);
    --border-blue:        rgba(0,71,171,0.25);
    --border-white:       rgba(255,255,255,0.15);

    /* Shadows */
    --shadow-xs:          0 2px 8px rgba(10,31,68,0.06);
    --shadow-sm:          0 4px 16px rgba(10,31,68,0.09);
    --shadow-md:          0 8px 32px rgba(10,31,68,0.12);
    --shadow-lg:          0 16px 48px rgba(10,31,68,0.16);
    --shadow-xl:          0 32px 80px rgba(10,31,68,0.2);
    --shadow-blue:        0 8px 30px rgba(0,71,171,0.35);
    --shadow-blue-lg:     0 16px 50px rgba(0,71,171,0.45);

    /* Gradients */
    --grad-primary:       linear-gradient(135deg, #0047AB 0%, #003380 100%);
    --grad-navy:          linear-gradient(135deg, #0A1F44 0%, #152E5E 100%);
    --grad-hero:          linear-gradient(160deg, rgba(10,31,68,0.96) 0%, rgba(0,51,128,0.75) 60%, rgba(0,71,171,0.4) 100%);
    --grad-gold:          linear-gradient(135deg, #C8A84B 0%, #EDD88A 100%);
    --grad-glass:         linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));

    /* Radius */
    --r-sm:   6px;
    --r-md:   12px;
    --r-lg:   20px;
    --r-xl:   32px;
    --r-pill: 999px;

    /* Transitions */
    --ease:   cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.18s var(--ease);
    --t-med:  0.28s var(--ease);
    --t-slow: 0.45s var(--ease);

    /* Typography */
    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Layout */
    --max-w: 1200px;
    --header-h: 72px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-navy);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-navy); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── KEYFRAMES ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.97); }
}
@keyframes scroll-dot {
    0%   { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(15px, -25px) rotate(5deg); }
    66%      { transform: translate(-10px, 15px) rotate(-5deg); }
}
@keyframes float-fast {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-10px, -20px) scale(1.05); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 20px var(--accent-red-glow); }
    50%      { opacity: 0.8; box-shadow: 0 0 50px var(--accent-red-glow); }
}

/* ── UTILITY CLASSES ───────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 1rem;
    border-radius: var(--r-pill);
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.2);
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 3.5rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto 3.5rem; }
.w-full { width: 100%; }
.flex-center-gap { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-red { color: var(--accent-red) !important; }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }

/* ── BACKGROUND PATTERNS & MOTION GRAPHICS ─────────────────── */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(10, 31, 68, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 68, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}
.bg-grid-pattern-dark {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}
.bg-dot-pattern {
    background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
    opacity: 0.15;
}

/* Motion Graphic Shapes */
.motion-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: float-slow 12s infinite ease-in-out;
}
.shape-red {
    background: var(--accent-red);
    width: 250px;
    height: 250px;
    opacity: 0.15;
    animation-name: float-slow;
}
.shape-gold {
    background: var(--accent-gold);
    width: 180px;
    height: 180px;
    opacity: 0.15;
    animation-name: float-fast;
    animation-duration: 9s;
}
.shape-blue {
    background: var(--primary);
    width: 300px;
    height: 300px;
    opacity: 0.1;
    animation-name: float-slow;
    animation-duration: 15s;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-primary);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    white-space: nowrap;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue-lg);
    color: #fff;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-red) 0%, #C31432 100%);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 8px 30px var(--accent-red-glow);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    white-space: nowrap;
}
.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px var(--accent-red-glow);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.92rem;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-3px);
    color: #fff;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-gold);
    color: var(--secondary);
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: 0 8px 30px rgba(200,168,75,0.35);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(200,168,75,0.5); }

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    box-shadow: var(--shadow-md);
    transition: transform var(--t-fast), background var(--t-fast);
}
.btn-navy:hover { transform: translateY(-3px); background: var(--primary); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--t-med), box-shadow var(--t-med), backdrop-filter var(--t-med);
}

#header.scrolled {
    background: rgba(10,31,68,0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(10,31,68,0.3);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-link { display: flex; align-items: center; gap: 0.8rem; }
.site-title-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: normal;
    line-height: 1.25;
    max-width: 160px;
}

.logo img, .site-logo-img {
    height: 46px;
    width: auto;
    transition: transform var(--t-med), filter var(--t-med);
}

.logo img:hover, .site-logo-img:hover { transform: scale(1.04); }

#header.scrolled .logo img,
#header.scrolled .site-logo-img {
    filter: none;
}

/* Nav links */
nav ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; }

nav ul li a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%; height: 2px;
    background: var(--accent-red);
    border-radius: 1px;
    transition: transform var(--t-med);
}

nav ul li a:hover::after,
nav ul li a.active::after { transform: translateX(-50%) scaleX(1); }

nav ul li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav ul li a.active { color: #fff; }

/* Give button */
.btn-give {
    background: var(--grad-primary);
    color: #fff !important;
    padding: 0.5rem 1.1rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    white-space: nowrap;
}
.btn-give:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue-lg); }

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.7rem;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    border: none;
    background: none;
    transition: color var(--t-fast), transform var(--t-fast);
    order: 3;
}
.hamburger:hover { transform: scale(1.1); color: #fff; }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(10,31,68,0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0; pointer-events: none;
    transition: opacity var(--t-med);
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(88%, 340px);
    height: 100dvh;
    background: var(--secondary);
    padding: 1.5rem;
    z-index: 2000;
    transition: right var(--t-slow);
    box-shadow: -20px 0 60px rgba(10,31,68,0.4);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-white);
}

.mobile-brand { font-weight: 700; font-size: 1rem; color: #fff; }

.mobile-menu .close {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.6);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--t-fast), transform var(--t-fast);
    display: flex; align-items: center;
}
.mobile-menu .close:hover { color: #fff; transform: rotate(90deg); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }

.mobile-menu ul li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.mobile-menu ul li a:hover {
    background: rgba(0,71,171,0.25);
    color: #fff;
    transform: translateX(4px);
}
.mobile-menu ul li a i { font-size: 1.1rem; color: var(--accent-gold); }

.btn-give-2 {
    display: block;
    margin-top: 1.5rem;
    background: var(--grad-primary);
    color: #fff !important;
    text-align: center;
    padding: 0.85rem 1.5rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-give-2:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue-lg); }

/* ============================================================
   HERO SECTION — Premium Full-Viewport
   ============================================================ */
/* ============================================================
   HERO — Premium Cinematic (Google × Tesla)
   ============================================================ */
.hero {
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 3rem) 2rem 4rem;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center 30%;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

/* Deep cinematic overlay */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 10, 28, 0.82) 0%,
        rgba(10, 31, 68, 0.75) 40%,
        rgba(6, 10, 28, 0.88) 100%
    );
    z-index: 1;
}

/* Ambient glow — soft royal blue */
.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 71, 171, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 1;
    pointer-events: none;
    animation: hero-glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
    0%   { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
    100% { opacity: 1;   transform: translate(-50%, -55%) scale(1.15); }
}

/* Grain texture */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

/* Content container */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Label — live dot + text ── */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.7s var(--ease) both;
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

/* ── Headline — typographic hierarchy ── */
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.8rem;
    letter-spacing: -0.03em;
    color: #fff;
    animation: fadeInUp 0.8s var(--ease) 0.15s both;
}

.hero-church-name {
    color: var(--accent-gold, #C8A84B);
    font-style: italic;
    display: inline-block;
}

.hero-location {
    font-weight: 400;
    font-size: 0.55em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    margin-top: 0.15em;
}

/* ── Subtitle ── */
.hero p {
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    max-width: 560px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 auto 2.8rem;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

/* ── Buttons ── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s var(--ease) 0.45s both;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 36px;
    background: var(--accent-gold, #C8A84B);
    color: #0A1F44;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(200, 168, 75, 0.25);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 168, 75, 0.4);
    background: #d4b456;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 60px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ── Scroll Indicator — vertical line ── */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: fadeIn 1s var(--ease) 1.2s both;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.8);
    animation: scroll-line-drop 2s ease-in-out infinite;
}

@keyframes scroll-line-drop {
    0%   { top: -50%; }
    100% { top: 120%; }
}

/* ============================================================
   SERVICE TIMES
   ============================================================ */
.service-times {
    padding: 6rem 1.5rem;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.service-times::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    pointer-events: none;
}

.service-container { max-width: var(--max-w); margin: 0 auto; text-align: center; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-card {
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-med), box-shadow var(--t-med);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -40%; right: -40%;
    width: 180%; height: 180%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    font-family: var(--font-display);
}

.service-card p { font-size: 0.9rem; line-height: 1.65; margin-top: 1rem; opacity: 0.85; }

.icon-box-1 {
    width: 54px; height: 54px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.time { display: block; font-weight: 700; font-size: 0.85rem; margin-top: 0.2rem; }
.time.accent { color: var(--accent-red); }

/* Primary card */
.service-card.primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.service-card.primary .icon-box-1 { background: rgba(255,255,255,0.18); color: #fff; }
.service-card.primary .time { color: #BFD7FF; }

/* Light card */
.service-card.light {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.service-card.light .icon-box-1 { background: rgba(230, 57, 70, 0.08); color: var(--accent-red); }
.service-card.light h3 { color: var(--text-navy); }

/* Dark card */
.service-card.dark {
    background: var(--grad-navy);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.service-card.dark .icon-box-1 { background: var(--primary); color: #fff; }
.service-card.dark .time { color: #93C5FD; }

/* ============================================================
   ABOUT STRIP (homepage — inline preview)
   ============================================================ */
.about-strip {
    padding: 6rem 1.5rem;
    background: var(--bg-page);
    position: relative;
}

.about-strip-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-strip-image {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.about-strip-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.about-strip-image:hover img { transform: scale(1.04); }

/* Blue accent block */
.about-strip-image::before {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 140px; height: 140px;
    background: var(--grad-primary);
    border-radius: var(--r-lg);
    z-index: -1;
}

.about-strip-body {}
.about-strip-body .section-subtitle { margin: 0 0 2.5rem; max-width: none; }

.value-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 42px; height: 42px;
    border-radius: var(--r-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background var(--t-fast);
}

.value-item:hover .value-icon { background: var(--accent-red); color: #fff; }
.value-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-navy); }
.value-item p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ============================================================
   SERMONS SECTION (homepage preview)
   ============================================================ */
.sermons-section {
    padding: 6rem 1.5rem;
    background: var(--bg-navy);
    position: relative;
    overflow: hidden;
}

.sermons-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,71,171,0.3), transparent 70%);
    pointer-events: none;
}

.sermons-section .section-badge {
    background: rgba(200,168,75,0.15);
    border-color: rgba(200,168,75,0.3);
    color: var(--accent-gold-light);
}

.sermons-section .section-title { color: #fff; }
.sermons-section .section-subtitle { color: rgba(255,255,255,0.6); }

.sermons-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ── Sermon Card — Premium Glassmorphism ── */
.sermon-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sermon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--primary), var(--accent-red));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sermon-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-red-glow) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.sermon-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-red-glow);
}

.sermon-card:hover::before { opacity: 1; }
.sermon-card:hover::after { opacity: 1; }

.sermon-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sermon-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(0,71,171,0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
}

.sermon-play::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(0,71,171,0.3);
    opacity: 0;
    transition: all 0.35s ease;
}

.sermon-card:hover .sermon-play {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(0,71,171,0.5);
}

.sermon-card:hover .sermon-play::after { opacity: 1; }

.sermon-series {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    background: rgba(200,168,75,0.1);
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 20px;
    display: inline-block;
}

.sermon-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.sermon-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sermon-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sermon-meta i { color: rgba(200,168,75,0.5); font-size: 0.9rem; }

.sermon-scripture {
    font-size: 0.8rem;
    color: rgba(200,168,75,0.85);
    font-style: italic;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sermon-scripture::before {
    content: '📖';
    font-style: normal;
    font-size: 0.85rem;
}

.sermons-cta {
    text-align: center;
    margin-top: 3rem;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
}

/* ── Sermons Empty State — Premium ── */
.sermons-empty {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.55);
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sermons-empty::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(200,168,75,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.sermons-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200,168,75,0.12) 0%, rgba(0,71,171,0.1) 100%);
    border: 1px solid rgba(200,168,75,0.2);
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

.sermons-empty-icon i {
    font-size: 2rem;
    color: var(--accent-gold);
    animation: emptyPulse 2.5s ease-in-out infinite;
}

@keyframes emptyPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.sermons-empty h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.sermons-empty p {
    font-size: 0.95rem;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.sermons-empty-cta {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    background: rgba(200,168,75,0.1);
    border: 1px solid rgba(200,168,75,0.25);
    color: var(--accent-gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sermons-empty-cta:hover {
    background: rgba(200,168,75,0.2);
    border-color: rgba(200,168,75,0.4);
    transform: translateY(-2px);
    color: var(--accent-gold);
}

/* ============================================================
   MINISTRIES (homepage section)
   ============================================================ */
.ministries {
    padding: 6rem 1.5rem;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.ministries::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    pointer-events: none;
}

.ministries-container { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }

.ministries-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.header-left {}
.header-right {
    max-width: 380px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ministry-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-med), box-shadow var(--t-med);
    cursor: default;
}
.ministry-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }

.image-box {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.image-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.ministry-card:hover .image-box img { transform: scale(1.08); }

.icon-box {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
}

.ministry-card .age-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(10,31,68,0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
}
.ministry-card .age-badge.dark {
    background: rgba(0,71,171,0.85);
}

.ministry-card.primary { background: var(--grad-primary); color: #fff; }
.ministry-card.primary .icon-box { color: rgba(255,255,255,0.9); font-size: 3rem; }

.ministry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.2rem 1.5rem 0.4rem;
    font-family: var(--font-display);
    color: var(--text-navy);
}
.ministry-card.primary h3 { color: #fff; }

.ministry-card p {
    font-size: 0.87rem;
    line-height: 1.65;
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem;
}
.ministry-card.primary p { color: rgba(255,255,255,0.82); }

/* ============================================================
   EVENTS
   ============================================================ */
.events {
    padding: 6rem 1.5rem;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.events-container { max-width: var(--max-w); margin: 0 auto; text-align: center; }

.events-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.event-featured {
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    min-height: 440px;
    box-shadow: var(--shadow-lg);
}

.event-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.event-featured:hover img { transform: scale(1.04); }

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,31,68,0.95) 0%, rgba(10,31,68,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
}

.featured-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 0.5rem 0;
}

.featured-overlay p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }

.event-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
    border-radius: var(--r-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.event-card:hover { transform: translateY(-3px); }

.event-card h4 {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
}
.event-card p { font-size: 0.87rem; line-height: 1.6; }

.event-card.primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.event-card.primary .event-date { color: var(--accent-gold-light); }
.event-card.primary p { opacity: 0.85; }

.event-card.light {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    color: var(--text-navy);
}
.event-card.light .event-date { color: var(--primary); }
.event-card.light p { color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: 6rem 1.5rem;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: #FFF9E6;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: #92700A;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-light);
    font-family: Georgia, serif;
    position: absolute;
    top: 1rem; left: 2rem;
    font-style: italic;
    user-select: none;
}

.testimonial-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-mid);
    font-style: italic;
    font-family: var(--font-display);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-author img {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.testimonial-author h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-nav {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.nav-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border-blue);
    background: var(--bg-page);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-fast);
    display: grid; place-items: center;
}
.nav-btn:hover, .nav-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   VISIT SECTION
   ============================================================ */
.visit-section {
    padding: 6rem 1.5rem;
    background: var(--grad-navy);
    position: relative;
    overflow: hidden;
}

.visit-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,71,171,0.4), transparent 70%);
    pointer-events: none;
}

.visit-container {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.visit-left .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--r-pill);
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.visit-left h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.visit-left h1 span { color: var(--accent-red); font-style: italic; }

.underline {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--primary));
    border-radius: 2px;
}

.visit-right h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.visit-right p {
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.visit-right .btn { color: var(--secondary); }

/* ============================================================
   SHARED PAGE STYLES (for inner pages)
   ============================================================ */
/* Page hero */
.page-hero {
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 4rem) 1.5rem 4rem;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

.page-hero-content .hero-badge { margin-bottom: 1rem; }

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.page-hero-content h1 .highlight { color: var(--accent-gold); font-style: italic; }

.page-hero-content p {
    font-size: 1.05rem;
    opacity: 0.8;
    max-width: 520px;
    line-height: 1.7;
}

/* Page sections */
.page-section { padding: 5rem 1.5rem; }
.bg-white { background: var(--bg-white); }
.bg-page  { background: var(--bg-page); }
.bg-navy  { background: var(--bg-navy); }

.page-container { max-width: var(--max-w); margin: 0 auto; }

.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}
.section-header.on-dark h2 { color: #fff; }
.section-header.on-dark .section-badge {
    background: rgba(200,168,75,0.15);
    border-color: rgba(200,168,75,0.3);
    color: var(--accent-gold);
}

/* Page CTA */
.page-cta {
    padding: 5rem 1.5rem;
    background: var(--grad-primary);
    position: relative;
    overflow: hidden;
}
.page-cta::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    pointer-events: none;
}
.page-cta .page-container { position: relative; z-index: 1; }
.page-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.page-cta p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============================================================
   MINISTRIES FULL PAGE
   ============================================================ */
.ministries-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ministry-full-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 280px 1fr;
    transition: box-shadow var(--t-med), transform var(--t-med);
}
.ministry-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.mfc-image {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}
.mfc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ministry-full-card:hover .mfc-image img { transform: scale(1.06); }

.mfc-image--blue { background: var(--grad-primary); }
.mfc-image--dark { background: var(--grad-navy); }
.mfc-image--green { background: linear-gradient(135deg, #065f46, #10b981); }

.mfc-badge {
    position: absolute;
    bottom: 1rem; left: 1rem;
    background: rgba(10,31,68,0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
}
.mfc-badge.dark { background: rgba(0,71,171,0.85); }

.mfc-icon-hero {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.7);
}

.mfc-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mfc-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 1.1rem;
}
.mfc-icon.blue  { background: var(--primary-light); color: var(--primary); }
.mfc-icon.gold  { background: rgba(200,168,75,0.15); color: var(--accent-gold); }
.mfc-icon.dark  { background: var(--primary-light); color: var(--secondary); }
.mfc-icon.purple{ background: #ede9fe; color: #7c3aed; }
.mfc-icon.green { background: #dcfce7; color: #16a34a; }

.mfc-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-navy);
    font-family: var(--font-display);
}

.mfc-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.mfc-details { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.4rem; }

.mfc-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.mfc-details li i { color: var(--primary); font-size: 0.95rem; }

.mfc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    transition: gap var(--t-fast);
}
.mfc-link:hover { gap: 0.7rem; }

/* ============================================================
   SERMONS PAGE
   ============================================================ */
.sermons-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.sermon-page-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-med), transform var(--t-med);
}
.sermon-page-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.sermon-thumbnail {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: var(--grad-navy);
    display: flex; align-items: center; justify-content: center;
}
.sermon-thumbnail img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.sermon-page-card:hover .sermon-thumbnail img { transform: scale(1.06); }

.sermon-thumbnail-icon {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.25);
}

.sermon-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,31,68,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--t-med);
}
.sermon-page-card:hover .sermon-play-overlay { opacity: 1; }

.play-btn-lg {
    width: 64px; height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: var(--shadow-blue-lg);
    transform: scale(0.8);
    transition: transform var(--t-med);
}
.sermon-page-card:hover .play-btn-lg { transform: scale(1); }

.sermon-body { padding: 1.5rem; }
.sermon-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
    display: block;
}
.sermon-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-navy);
    line-height: 1.35;
    font-family: var(--font-display);
    margin-bottom: 0.8rem;
}
.sermon-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sermon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-light);
}

.sermon-footer strong { color: var(--text-mid); }

/* Audio player embed */
.sermon-audio {
    width: 100%;
    height: 36px;
    border-radius: var(--r-sm);
    margin-top: 0.8rem;
    accent-color: var(--primary);
}

/* Sermon search/filter bar */
.sermon-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
}

.sermon-filter input,
.sermon-filter select {
    flex: 1;
    min-width: 180px;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-navy);
    background: var(--bg-page);
    outline: none;
    transition: border-color var(--t-fast);
}
.sermon-filter input:focus,
.sermon-filter select:focus { border-color: var(--primary); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
    columns: 4 220px;
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--r-md);
    transition: transform var(--t-med), box-shadow var(--t-med);
}
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.contact-icon {
    width: 46px; height: 46px;
    border-radius: var(--r-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-navy); margin-bottom: 0.25rem; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); }

.contact-form {
    background: var(--bg-white);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-navy);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-sm);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--text-navy);
    background: var(--bg-page);
    outline: none;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-navy);
    color: rgba(255,255,255,0.7);
    padding-top: 5rem;
}

.footer-container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }

.logo-box {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--grad-primary);
    display: grid; place-items: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.footer-brand h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.15rem; }

.footer-socials { display: flex; gap: 0.6rem; }

.footer-socials a {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid; place-items: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.footer-socials a:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-red-glow);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 0;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--t-fast), transform var(--t-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--accent-red); transform: translateX(3px); }
.footer-col ul li a i { font-size: 0.9rem; color: var(--accent-red); }
.footer-col ul li span { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-col ul li span i { font-size: 0.9rem; color: var(--accent-red); }

.subscribe { grid-column: span 1; }
.subscribe > p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }

.subscribe-form {
    display: flex;
    gap: 0;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.subscribe-form input {
    flex: 1;
    padding: 0.7rem 0.9rem;
    background: rgba(255,255,255,0.07);
    border: none;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font-sans);
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.35); }

.subscribe-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; gap: 0.4rem;
    transition: background var(--t-fast);
    white-space: nowrap;
}
.subscribe-form button:hover { background: var(--primary-dark); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: 5rem 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-strip-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-strip-image { max-width: 500px; }
    .contact-grid { grid-template-columns: 1fr; }
    .ministries-full-grid { grid-template-columns: 1fr; }
    .ministry-full-card { grid-template-columns: 1fr; }
    .mfc-image { min-height: 200px; }
}

@media (max-width: 900px) {
    nav { display: none; }
    .hamburger { display: flex; }
    .btn-give { display: none; }
    .site-title-text { font-size: 1.1rem; white-space: normal; line-height: 1.2; max-width: 180px; }
    .service-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .ministries-grid { grid-template-columns: 1fr 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .event-featured { min-height: 300px; }
    .visit-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
}

@media (max-width: 640px) {
    .hero { padding: calc(var(--header-h) + 2rem) 1.25rem 3rem; }
    .hero h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { justify-content: center; width: 100%; }
    .hero-label { font-size: 0.65rem; padding: 7px 16px 7px 12px; }
    .hero-location { font-size: 0.5em; }
    .ministries-grid { grid-template-columns: 1fr; }
    .ministries-header { flex-direction: column; gap: 1rem; }
    .header-right { max-width: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .testimonial-card { padding: 2rem 1.5rem; }
    .section-title { font-size: 1.8rem; }
    .visit-left h1 { font-size: 2.2rem; }
    .page-hero { min-height: 260px; }
    .contact-form { padding: 1.5rem; }
    .about-strip-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DYNAMIC EMPTY STATES & THUMBNAILS (Events/Testimonials)
   ============================================================ */
.events-empty, .testimonials-empty {
    padding: 4rem 2rem;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--border-blue);
    border-radius: var(--r-xl);
    max-width: 600px;
    margin: 3rem auto;
    box-shadow: var(--shadow-sm);
}
.events-empty-icon, .testimonials-empty-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}
.events-empty h3, .testimonials-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-navy);
    margin-bottom: 0.5rem;
}
.events-empty p, .testimonials-empty p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Event Thumbnails */
.event-featured-placeholder {
    width: 100%;
    height: 100%;
    background: var(--grad-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.1);
}
.event-card-thumb {
    width: 100%;
    height: 250px;
    background: #0f172a;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}
.event-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease);
}
.event-card:hover .event-card-thumb img {
    transform: scale(1.05);
}
.event-card-body {
    padding: 1.5rem 2rem 2.5rem;
}

/* Event Badges */
.featured-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.event-status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-status-badge.upcoming { background: #10B981; color: #fff; }
.event-status-badge.planning { background: #F59E0B; color: #fff; }
.event-status-badge.past { background: #64748B; color: #fff; }
.event-status-badge.cancelled { background: #EF4444; color: #fff; }

.event-type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}
.event-venue {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.8;
}
.event-card-venue {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .sermons-grid { grid-template-columns: 1fr; }
}

/* Form Consent Checkbox */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    flex-shrink: 0;
}
.form-consent label {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    margin: 0;
}
.subscribe-form-wrap .form-consent label {
    color: rgba(255, 255, 255, 0.65);
}