/* Grace Premium Style - Chosen People's Church Branding */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Color Palette - CPC Violet & Green mapped from NCC Blue & Red */
    --primary: #4A30B8;       /* Royal Purple/Violet */
    --primary-dark: #3A2A8C;  /* Deep Indigo-Purple */
    --secondary: #00B84B;     /* Saturated Emerald Green */
    --secondary-dark: #008000;/* Forest Green */
    --accent-navy: #1A1044;    /* Contrast deep title color */
    --light-bg: #FAF9FF;      /* Soft lavender background tint */
    --light-blue: #F5F3FF;    /* Input/card accent backgrounds */
    --white: #FFFFFF;
    
    /* Semantic Variables */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAF9FF;
    --bg-tertiary: #F5F3FF;
    --text-primary: #1A1044;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: rgba(74, 48, 184, 0.08);
    
    /* Layout Constants */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(58, 42, 140, 0.04);
    --shadow-md: 0 10px 24px rgba(58, 42, 140, 0.08);
    --shadow-lg: 0 16px 36px rgba(58, 42, 140, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: rgba(74, 48, 184, 0.25);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .serif-font {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Custom Cursor Experience (for desktop with fine pointer) */
@media (pointer: fine) {
    .custom-cursor {
        width: 8px;
        height: 8px;
        background-color: var(--secondary);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 10000;
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
    .custom-cursor-follower {
        width: 32px;
        height: 32px;
        border: 2px solid var(--primary);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
    }
    body:hover .custom-cursor, body:hover .custom-cursor-follower {
        opacity: 1;
    }
    a:hover ~ .custom-cursor, button:hover ~ .custom-cursor, [role="button"]:hover ~ .custom-cursor {
        width: 12px;
        height: 12px;
        background-color: var(--primary);
    }
    a:hover ~ .custom-cursor-follower, button:hover ~ .custom-cursor-follower, [role="button"]:hover ~ .custom-cursor-follower {
        width: 44px;
        height: 44px;
        border-color: var(--secondary);
    }
}

/* Animations & Reveals */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.6rem;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--accent-navy);
    border: none;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    background: #f3f0ff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Green Mapped Button from Gold */
.btn-gold {
    background: var(--secondary);
    color: var(--white);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 184, 75, 0.25);
}
.btn-gold:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 184, 75, 0.45);
}

.btn-blue {
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(74, 48, 184, 0.2);
}
.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 48, 184, 0.35);
}

/* Sections & Dividers */
.section {
    padding: 6rem 0;
}
.section-white {
    background-color: var(--bg-primary);
}
.section-light {
    background-color: var(--bg-secondary);
}
.section-dark {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.8);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--white);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.8rem auto 2rem;
    border-radius: 2px;
}
.section-dark .divider {
    background: var(--secondary);
}

/* Standardized Containers & Grids */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-tag {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: var(--light-blue);
    border: 1px solid rgba(74, 48, 184, 0.12);
    border-radius: 99px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

/* Standard Premium Card */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 48, 184, 0.15);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Header Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}
header.scrolled {
    background: rgba(26, 16, 68, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* Hamburger & Mobile Menu drawer */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
/* Hamburger animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 16, 68, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    display: flex;
    right: 0;
}
.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 16, 68, 0.72), rgba(10, 11, 16, 0.88) 60%, rgba(10, 11, 16, 0.96));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    padding: 2rem;
    animation: fadeSlideUp 1s ease-out;
}
.hero-tagline {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}
.hero h1 {
    font-size: clamp(2.2rem, 7.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hero h1 span {
    background: linear-gradient(135deg, #ffffff, #d8ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mouse Scroll Animation */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    display: flex;
    justify-content: center;
}
.mouse::before {
    content: "";
    width: 4px;
    height: 8px;
    background: var(--white);
    margin-top: 6px;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}
@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Countdown Banner styling */
.countdown-banner {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding: 0 5%;
}
.countdown-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.2rem 3rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.countdown-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}
.countdown-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
}
.timer-box {
    background: var(--light-blue);
    color: var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(74, 48, 184, 0.06);
    box-shadow: var(--shadow-sm);
}
.timer-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}
.timer-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 0.2rem;
}

/* Leadership Section Profiles */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.pastor-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.pastor-card.lead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: rgba(255,255,255,0.8);
    border: none;
    box-shadow: 0 10px 30px rgba(74, 48, 184, 0.25);
}
.pastor-card.lead h3 {
    color: var(--white);
}
.pastor-card.lead .pastor-avatar {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: var(--white);
}
.pastor-card.lead .pastor-title {
    color: var(--secondary);
}
.pastor-card.lead p {
    color: rgba(255, 255, 255, 0.75);
}
.pastor-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--light-blue);
    border: 4px solid rgba(74, 48, 184, 0.15);
    box-shadow: 0 8px 24px rgba(74, 48, 184, 0.18);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}
.pastor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.pastor-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}
.pastor-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    display: block;
}
.pastor-bio {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Sermon Spotlight & Custom Player */
.sermon-spotlight {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
}
.sermon-spotlight-img {
    flex: 1.2;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}
.sermon-spotlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.sermon-spotlight:hover .sermon-spotlight-img img {
    transform: scale(1.03);
}
.sermon-info {
    flex: 1.5;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sermon-info .sermon-tag {
    align-self: flex-start;
}
.sermon-info h3 {
    font-size: 2.2rem;
    margin: 0.8rem 0 1rem;
}
.sermon-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.sermon-meta i {
    color: var(--primary);
    margin-right: 0.3rem;
}
.sermon-desc {
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Custom Audio Player */
.custom-player {
    background: var(--light-blue);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74, 48, 184, 0.05);
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}
.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.06);
}
.progress-bar-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(74, 48, 184, 0.12);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}
.time-display {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 75px;
    text-align: right;
}

/* Media Tab System (Video/Audio Toggle on Archive) */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}
.tab-btn {
    padding: 1rem 2.5rem;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}
.tab-btn:hover {
    color: var(--primary);
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Video Card Embeds */
.video-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}
.video-info {
    padding: 1.5rem;
}
.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.video-info span {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Search Filters Box */
.filter-panel {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 3.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.filter-group {
    flex: 1;
    min-width: 200px;
}
.filter-group.search-wide {
    flex: 2;
}
.filter-group label {
    font-size: 0.82rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1.5px solid rgba(74, 48, 184, 0.12);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 48, 184, 0.1);
}

/* Events Layout - Modern Horizontal List Rows */
.events-list-row {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.events-list-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 48, 184, 0.15);
}
.event-date-badge {
    background: rgba(74, 48, 184, 0.06);
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    text-align: center;
    min-width: 110px;
}
.event-month {
    font-size: 0.8rem;
    display: block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.event-day {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-top: 0.2rem;
}
.event-details {
    flex-grow: 1;
    min-width: 250px;
}
.event-details h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}
.event-meta-tags {
    display: flex;
    gap: 1.8rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.event-meta-tags span i {
    color: var(--secondary);
    margin-right: 0.4rem;
}

/* Giving Layout - Two-Column Dashboard */
.giving-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
}
.tithe-calculator {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}
.tithe-calculator h3 {
    margin-bottom: 0.8rem;
}
.tithe-calculator p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.calculator-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0 0.8rem;
    text-align: center;
}
.slider-container {
    width: 100%;
    margin-bottom: 2.5rem;
}
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(74, 48, 184, 0.12);
    outline: none;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 48, 184, 0.3);
    transition: var(--transition);
}
.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-summary {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    margin-bottom: 2.5rem;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.98rem;
}

.fund-options {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}
.fund-btn {
    padding: 0.6rem 1.25rem;
    border: 1.5px solid rgba(74, 48, 184, 0.15);
    border-radius: 5px;
    background: var(--white);
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}
.fund-btn:hover {
    background: var(--light-blue);
}
.fund-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Online Secure Form */
.giving-form-container {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}
.giving-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1rem;
}
.giving-form-grid .full-width {
    grid-column: span 2;
}

/* Bank Details Card (NCC Genesis style transfer tables) */
.bank-transfer-card {
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3.5rem;
    box-shadow: var(--shadow-md);
}
.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    border: 1px solid rgba(74, 48, 184, 0.04);
}
.bank-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bank-value {
    font-size: 1.05rem;
    color: var(--accent-navy);
    font-weight: 700;
}
.bank-value.copy-code {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(74, 48, 184, 0.05);
    transition: var(--transition);
}
.bank-value.copy-code:hover {
    background: rgba(74, 48, 184, 0.1);
    color: var(--primary);
}

/* Community Prayer Wall Cards */
.prayer-card {
    background: var(--white);
    border: 1.5px solid rgba(74, 48, 184, 0.06);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74, 48, 184, 0.15);
}
.prayer-card-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}
.prayer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(74, 48, 184, 0.06);
    padding-top: 1.25rem;
    margin-top: auto;
}
.prayer-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}
.like-btn {
    border: none;
    background: rgba(74, 48, 184, 0.05);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.like-btn:hover {
    background: rgba(74, 48, 184, 0.12);
}
.like-btn.liked {
    background: var(--secondary);
    color: var(--white);
    cursor: default;
}

/* Footer Section */
footer {
    background: var(--accent-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 3.5rem;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}
.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-col ul a:hover {
    color: var(--white);
    padding-left: 5px;
}
.footer-social-links {
    display: flex;
    gap: 1rem;
}
.footer-social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}
.footer-social-links a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Splash Screen Styling - White Background, Bold Logo */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    max-width: 560px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-logo {
    width: 260px;
    height: 260px;
    object-fit: contain;
    margin-bottom: 2rem;
    animation: zoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), pulseGlow 3s ease-in-out infinite 1.4s;
    filter: drop-shadow(0 8px 24px rgba(58, 42, 140, 0.25)) drop-shadow(0 2px 8px rgba(0, 128, 0, 0.15));
}

.splash-title {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #1a1044;
    margin-bottom: 0.4rem;
    opacity: 0;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
    line-height: 1.15;
}

.splash-subtitle {
    font-size: 0.85rem;
    color: #008000;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.splash-loader {
    width: 260px;
    height: 5px;
    background: #e8e8f0;
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.7s;
}

.splash-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3A2A8C, #008000);
    border-radius: 3px;
    animation: loadProgress 1.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards 0.7s;
}

/* Logo pill wrapper in dark nav (so logo is bold and stands out) */
.nav-logo-img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff; /* Solid white background makes logo artwork bold and visible */
    padding: 4px;
    border: 2px solid var(--secondary); /* Bold green border */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.nav-logo-img:hover {
    transform: scale(1.08);
}

/* Footer logo same treatment */
.footer-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff; /* Solid white background */
    padding: 4px;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 8px 24px rgba(58, 42, 140, 0.25)) drop-shadow(0 2px 8px rgba(0, 128, 0, 0.15));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 12px 36px rgba(0, 128, 0, 0.4)) drop-shadow(0 4px 16px rgba(58, 42, 140, 0.3));
        transform: scale(1.035);
    }
    100% {
        filter: drop-shadow(0 8px 24px rgba(58, 42, 140, 0.25)) drop-shadow(0 2px 8px rgba(0, 128, 0, 0.15));
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.65);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loadProgress {
    0% { width: 0%; }
    40% { width: 45%; }
    80% { width: 92%; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries & Responsive Layouts */
@media (max-width: 992px) {
    .giving-panel {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sermon-spotlight {
        flex-direction: column;
    }
    .sermon-spotlight-img {
        min-height: 250px;
    }
    .sermon-info {
        padding: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .countdown-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .countdown-timer {
        justify-content: center;
        flex-wrap: wrap;
    }
    .events-list-row {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .event-meta-tags {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FLOATING ACTION BUTTONS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.whatsapp-fab {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 800;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-whatsapp 2.4s infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.75); }
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 800;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(74, 48, 184, 0.4);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(74, 48, 184, 0.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WELCOME BANNER (New Here?)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary-dark) 100%);
    padding: 4rem 5%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.welcome-banner-text h2 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0.6rem;
}
.welcome-banner-text p {
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    font-size: 1rem;
}
.welcome-banner .btn-white {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid transparent;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    white-space: nowrap;
}
.welcome-banner .btn-white:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ANNOUNCEMENT TICKER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.announcement-bar {
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 0.65rem 2rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}
.announcement-bar a {
    color: #fff;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCRIPTURE QUOTE STRIP
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.scripture-strip {
    background: var(--bg-tertiary);
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    padding: 2.5rem 5%;
    text-align: center;
}
.scripture-strip blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--text-primary);
    max-width: 780px;
    margin: 0 auto 0.8rem;
    line-height: 1.6;
}
.scripture-strip cite {
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* FIND US / MAP SECTION STYLING */
.find-us-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}
.map-embed-wrap {
    width: 100%;
}
.visit-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    background: #f8f7fd;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(58, 42, 140, 0.05);
    border: 1px solid rgba(58, 42, 140, 0.05);
}
.visit-info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}
.visit-icon {
    font-size: 1.4rem;
    color: var(--primary);
    background: rgba(58, 42, 140, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(58, 42, 140, 0.08);
}
.visit-info-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: var(--text-primary);
}
.visit-info-item p {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 992px) {
    .find-us-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


