/* 
================================================================
   OLIVE PRAYER HOUSE CHURCH - STYLESHEET
   Author: Antigravity Code Assistant
   Description: Clean, modern, responsive CSS with glassmorphism,
                custom scroll variables, gold glows, and transitions.
================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Color Palette */
    --color-primary-dark: #233020;        /* Forest Olive Dark */
    --color-primary: #3B4E37;             /* Classic Olive Green */
    --color-primary-light: #5B7455;       /* Muted Sage Green */
    --color-primary-soft: #EEF4ED;        /* Very Soft Green Mint Background */
    --color-accent-gold: #C5A059;         /* Premium Metallic Gold */
    --color-accent-gold-light: #F4EAD4;   /* Soft gold cream */
    --color-brand-green: #2DA920;         /* Vibrant Olive Logo Leaf Green */
    --color-brand-green-bright: #44BF34;  /* Bright Vibrant Leaf Green */
    --color-accent-blue: #7FB0D2;         /* Calm Heaven Sky Blue */
    --color-accent-blue-light: #F0F6FB;   /* Peaceful soft sky-blue tint */
    --color-text-dark: #192118;           /* Near black text */
    --color-text-muted: #566154;         /* Sage grey text */
    --color-bg-light: #FCFCFA;            /* Warm off-white */
    --color-white: #FFFFFF;
    
    /* Card Glassmorphism & UI Tokens */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 10px 30px -5px rgba(35, 48, 32, 0.06);
    --glass-blur: blur(16px);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 30px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* --- RESET & GENERAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-primary-soft);
    border-top: 3px solid var(--color-accent-gold);
    border-bottom: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- BUTTONS & INTERACTIVES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(59, 78, 55, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(35, 48, 32, 0.3);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: rgba(35, 48, 32, 0.65);
    border: 2px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline-gold:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-primary-dark);
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

/* Ripple Click Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --- STICKY NAVIGATION BAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    color: var(--color-brand-green-bright);
    background: linear-gradient(135deg, #5EE64E 0%, #2DA920 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-brand-green);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 15px rgba(45, 169, 32, 0.45);
}

.header-scrolled .logo {
    color: var(--color-primary-dark);
}

.header-scrolled .logo span {
    color: var(--color-brand-green);
    background: linear-gradient(135deg, #2EA620 0%, #1A6C13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.header-scrolled .logo-img {
    height: 42px;
    width: 42px;
    border-color: var(--color-brand-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    padding: 0.4rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-scrolled .nav-links a {
    color: var(--color-text-dark);
}

.header-scrolled .nav-links a:hover,
.header-scrolled .nav-links a.active {
    color: var(--color-primary);
}

.header-scrolled .nav-links a.active::after {
    background-color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 1010;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.header-scrolled .mobile-nav-toggle span {
    background-color: var(--color-primary-dark);
}

/* Mobile menu states */
.mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(35, 48, 32, 0.65), rgba(25, 33, 24, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 2rem;
    margin-top: 50px;
}

.hero-logo-wrapper {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-brand-green-bright);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 25px rgba(68, 191, 52, 0.4);
    background-color: var(--color-white);
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    animation: fadeInLogo 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.hero-title span {
    color: var(--color-brand-green-bright);
    background: linear-gradient(135deg, #5EE64E 0%, #35BD27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 4rem;
    margin-top: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-subtitle-container {
    min-height: 40px;
    margin-bottom: 2.2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Cursor typing effect */
.typed-cursor {
    display: inline-block;
    width: 2px;
    height: 1.25rem;
    margin-left: 3px;
    background-color: var(--color-accent-gold);
    animation: blink 0.8s infinite;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    80% { transform: translate(-50%, 15px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

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

/* --- SECTION DECORATORS --- */
.section {
    padding: 7.5rem 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
}

.section-header p {
    font-size: 1.05rem;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.value-icon {
    width: 44px;
    height: 44px;
    background-color: var(--color-accent-blue-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(127, 176, 210, 0.3);
}

.value-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

.value-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.value-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    z-index: 2;
}

/* About Auto-Slider Styling */
.about-slider-frame {
    position: relative;
    width: 100%;
    height: 440px;
    background-color: var(--color-primary-dark);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.about-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.about-slider-track::-webkit-scrollbar {
    display: none;
}

.about-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    cursor: pointer;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: linear-gradient(to top, rgba(25, 33, 24, 0.9), transparent);
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 3;
}

.about-slide-caption span {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brand-green-bright);
    letter-spacing: 1px;
    background: rgba(35, 48, 32, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Slider Controls */
.about-slider-dots {
    position: absolute;
    bottom: 1.2rem;
    right: 1.8rem;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.about-dot.active {
    width: 26px;
    border-radius: 5px;
    background-color: var(--color-brand-green-bright);
}

.about-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(35, 48, 32, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 4;
    opacity: 0;
    transition: var(--transition-fast);
}

.about-slider-frame:hover .about-slider-arrow {
    opacity: 1;
}

.about-slider-arrow.prev-arrow {
    left: 1rem;
}

.about-slider-arrow.next-arrow {
    right: 1rem;
}

.about-slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.about-slider-arrow:hover {
    background: var(--color-brand-green);
    transform: translateY(-50%) scale(1.1);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-brand-green);
    border-radius: var(--border-radius-md);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover::before {
    transform: translate(8px, 8px);
}

/* --- MINISTRIES SECTION --- */
.bg-soft {
    background-color: var(--color-primary-soft);
}

/* Ministries Carousel */
.ministries-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ministries-carousel {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0.25rem 1.5rem;
    flex: 1;
}

.ministries-carousel::-webkit-scrollbar {
    display: none;
}

.ministry-card {
    flex: 0 0 calc(25% - 1.35rem);
    min-width: 240px;
    scroll-snap-align: start;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ministry-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-white), var(--color-accent-blue-light));
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.ministry-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    transition: var(--transition-smooth);
}

.ministry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.ministry-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.ministry-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 15px 35px rgba(35, 48, 32, 0.1), 0 0 15px var(--color-gold-glow);
}

.ministry-card:hover .ministry-icon {
    background: var(--color-primary);
    transform: rotateY(180deg);
}

.ministry-card:hover .ministry-icon svg {
    fill: var(--color-accent-gold);
}

.ministry-card:hover h3 {
    color: var(--color-primary);
}

/* Carousel Arrow Buttons */
.ministries-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid var(--color-accent-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(35, 48, 32, 0.25);
    z-index: 2;
}

.ministries-arrow svg {
    width: 22px;
    height: 22px;
    fill: var(--color-accent-gold);
}

.ministries-arrow:hover {
    background: var(--color-accent-gold);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
}

.ministries-arrow:hover svg {
    fill: var(--color-primary-dark);
}

.ministries-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* Carousel Dot Indicators */
.ministries-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.8rem;
}

.ministries-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(59, 78, 55, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.ministries-dot.active {
    background-color: var(--color-accent-gold);
    width: 28px;
    border-radius: 5px;
}

/* --- BIBLE VERSE SECTION --- */
.bible-verse {
    position: relative;
    background-color: var(--color-primary-dark);
    padding: 8rem 0;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.verse-bg-art {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.02);
    font-family: 'Cinzel', serif;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.verse-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.verse-card {
    border: 1px solid rgba(214, 175, 55, 0.3);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-md);
    background: rgba(35, 48, 32, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
    line-height: 1;
    font-family: 'Cinzel Decorative', serif;
}

.verse-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.verse-ref {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- SERVICE TIMINGS SECTION --- */
.timings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.timing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 3rem 2rem;
    box-shadow: var(--glass-shadow);
    border-top: 4px solid var(--color-primary-light);
    transition: var(--transition-smooth);
    text-align: center;
}

.timing-card.highlight {
    border-top: 4px solid var(--color-accent-gold);
    background: linear-gradient(to bottom, var(--color-white), var(--color-accent-blue-light));
    transform: scale(1.03);
}

.timing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.timing-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
}

.timing-card.highlight .timing-icon {
    background-color: var(--color-accent-gold-light);
}

.timing-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

.timing-card.highlight .timing-icon svg {
    fill: var(--color-accent-gold);
}

.timing-list {
    list-style: none;
}

.timing-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timing-list li:last-child {
    border-bottom: none;
}

.timing-label {
    font-weight: 500;
    color: var(--color-text-dark);
}

.timing-time {
    color: var(--color-primary);
    font-weight: 600;
}

.timing-card.highlight .timing-time {
    color: var(--color-primary-dark);
}

.timing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(35, 48, 32, 0.1);
}

.timing-card.highlight:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
}

/* --- GALLERY PREVIEW --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--glass-shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(35, 48, 32, 0.85));
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-overlay h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    color: var(--color-accent-gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-btn-wrapper {
    text-align: center;
}

/* --- TESTIMONIALS --- */
.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 3rem;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    text-align: center;
}

.testimonial-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--color-accent-gold);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-position: center;
}

.testimonial-content {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 1px;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(59, 78, 55, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--color-accent-gold);
    width: 25px;
    border-radius: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--color-accent-gold);
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

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

.footer-logo-img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-brand-green-bright);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(68, 191, 52, 0.4);
}

.footer-info h2 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-info h2 span {
    color: var(--color-brand-green-bright);
    background: linear-gradient(135deg, #5EE64E 0%, #2DA920 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: var(--color-white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: var(--color-primary-dark);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- FLOATING ACTION BUTTONS (FABs) --- */
.fabs-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    animation: floatBob 3s ease-in-out infinite;
}

.fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: pulseGlow 2s infinite;
}

.fab svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    transition: var(--transition-smooth);
}

/* Stagger FAB float delays */
.fab-whatsapp {
    background-color: #25D366;
    animation-delay: 0s;
}
.fab-whatsapp::before {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
}

.fab-call {
    background-color: var(--color-accent-gold);
    animation-delay: 0.5s;
}
.fab-call::before {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6);
}

.fab-youtube {
    background-color: #FF0000;
    animation-delay: 1s;
}
.fab-youtube::before {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.6);
}

.fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.fab:hover svg {
    transform: rotate(15deg);
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* --- BACK TO TOP BUTTON WITH DROPPING & SHINING ANIMATIONS --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #172115 100%);
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 18px rgba(197, 160, 89, 0.6);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 20px, 0) scale(0.7);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    z-index: 998;
    overflow: hidden;
}

/* Visible Dropping & Glowing Button */
.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Continuous Shiny Light Sweep Effect Across Button */
.back-to-top::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.85) 50%, 
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 2;
    animation: shinyShimmer 3s ease-in-out infinite;
}

/* Back to Top Arrow Icon */
.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent-gold);
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease, fill 0.3s ease;
}

/* Hover & Active Tap Interactions */
.back-to-top:hover {
    background: var(--color-accent-gold);
    border-color: var(--color-white);
    transform: translate3d(0, -5px, 0) scale(1.08);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.6), 0 0 25px rgba(255, 255, 255, 0.5);
}

.back-to-top:hover svg {
    fill: var(--color-primary-dark);
    transform: translateY(-3px) scale(1.15);
}

.back-to-top:active {
    transform: translate3d(0, 2px, 0) scale(0.95) !important;
}

/* Keyframes for Dropping & Shining Animations */
@keyframes backToTopDrop {
    0% {
        opacity: 0;
        transform: translate3d(0, -90px, 0) scale(0.5);
    }
    60% {
        opacity: 1;
        transform: translate3d(0, 10px, 0) scale(1.1);
    }
    80% {
        transform: translate3d(0, -4px, 0) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes shinyShimmer {
    0% {
        left: -120%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50%, 100% {
        left: 220%;
        opacity: 0;
    }
}

@keyframes shinyPulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 12px rgba(197, 160, 89, 0.4);
    }
    50% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(197, 160, 89, 0.9), 0 0 35px rgba(255, 255, 255, 0.5);
    }
}

/* --- LIGHTBOX IMAGE VIEWER --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 33, 24, 0.96);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 85%;
    max-height: 75vh;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    overflow: hidden;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
}

.lightbox-caption {
    color: var(--color-white);
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    text-align: center;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
    fill: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.lightbox-close:hover svg {
    fill: var(--color-accent-gold);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.7);
}

.lightbox-nav:hover {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.lightbox-nav:hover svg {
    fill: rgba(25, 33, 24, 0.96);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* --- GALLERY PAGE STYLING --- */
.gallery-hero {
    height: 45vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(35, 48, 32, 0.7), rgba(25, 33, 24, 0.9));
    z-index: 1;
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.gallery-hero-content h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.6rem 1.6rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--color-text-dark);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Dynamic filter transitions in JS */
.gallery-page-grid .gallery-item {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.gallery-page-grid .gallery-item.hidden {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* --- SONG BOOK PAGE --- */
.song-book-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
}

.song-book-icon {
    display: grid;
    place-items: center;
    flex: 0 0 112px;
    width: 112px;
    height: 140px;
    border-radius: 10px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 10px 10px 0 var(--color-accent-gold);
}

.song-book-details h2 { margin: 0.35rem 0 1rem; }
.song-book-details p { margin-bottom: 1.5rem; }
.song-book-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- CONTACT PAGE STYLING --- */
.contact-hero {
    height: 45vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Timeline Layout */
.timeline-section {
    position: relative;
    background-color: var(--color-bg-light);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-accent-gold-light), var(--color-primary), var(--color-accent-gold-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 3rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -11px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -11px;
}

.timeline-content {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    position: relative;
    transition: var(--transition-smooth);
}

/* Timeline Image Custom Styles */
.timeline-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    transform: scale(1.06);
    filter: brightness(0.92) contrast(0.95);
}

/* Entrance scroll-reveal animation for images */
.timeline-item.active .timeline-image-wrapper img {
    transform: scale(1);
    filter: brightness(1) contrast(1);
}

.timeline-image-wrapper:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.02);
}

/* Dark glass overlay with centered zoom icon */
.timeline-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 48, 32, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.timeline-image-wrapper:hover .timeline-image-overlay {
    opacity: 1;
}

.timeline-image-overlay svg.zoom-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
    transform: scale(0.6);
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.timeline-image-wrapper:hover .timeline-image-overlay svg.zoom-icon {
    transform: scale(1);
}


.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.timeline-year {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
    display: block;
}

/* Timeline Arrow Pointer */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 1.8rem;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -20px;
    border-left-color: var(--glass-border);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -20px;
    border-right-color: var(--glass-border);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--color-accent-gold);
    border-color: var(--color-primary-dark);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--color-gold-glow);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(35, 48, 32, 0.08);
    border-color: var(--color-accent-gold);
}

/* Two Column Contact Block */
.contact-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-info-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-details-list li:last-child {
    margin-bottom: 0;
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent-blue-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
}

.contact-text-wrapper h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text-wrapper p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Maps Wrapper */
.map-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    height: 100%;
    min-height: 400px;
    border: 4px solid var(--color-white);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--color-primary-soft);
    padding: 7.5rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 4.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
    color: var(--color-text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(59, 78, 55, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-btn-wrapper {
    grid-column: span 2;
    text-align: center;
    margin-top: 1.5rem;
}

.form-btn-wrapper .btn {
    width: 100%;
    max-width: 320px;
}

/* Custom Success Toast Styling */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--color-primary-dark);
    border: 1px solid var(--color-accent-gold);
    color: var(--color-white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    width: 22px;
    height: 22px;
    background-color: var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toast-icon svg {
    width: 12px;
    height: 12px;
    fill: var(--color-primary-dark);
}

/* --- SCROLL REVEAL ANIMATIONS (Hardware Accelerated for All Mobile Devices) --- */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-fade {
    transform: scale3d(0.96, 0.96, 1);
}

.reveal-slide-up {
    transform: translate3d(0, 35px, 0);
}

.reveal-slide-left {
    transform: translate3d(-35px, 0, 0);
}

.reveal-slide-right {
    transform: translate3d(35px, 0, 0);
}

.reveal-zoom {
    transform: scale3d(0.92, 0.92, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

/* Staggered Delay Micro-Animations for Mobile Cards & Grids */
.ministry-card:nth-child(1), .timing-card:nth-child(1), .gallery-item:nth-child(1), .timeline-item:nth-child(1) { transition-delay: 0.05s; }
.ministry-card:nth-child(2), .timing-card:nth-child(2), .gallery-item:nth-child(2), .timeline-item:nth-child(2) { transition-delay: 0.1s; }
.ministry-card:nth-child(3), .timing-card:nth-child(3), .gallery-item:nth-child(3), .timeline-item:nth-child(3) { transition-delay: 0.15s; }
.ministry-card:nth-child(4), .timing-card:nth-child(4), .gallery-item:nth-child(4), .timeline-item:nth-child(4) { transition-delay: 0.2s; }
.ministry-card:nth-child(5), .timing-card:nth-child(5), .gallery-item:nth-child(5), .timeline-item:nth-child(5) { transition-delay: 0.25s; }
.ministry-card:nth-child(6), .timing-card:nth-child(6), .gallery-item:nth-child(6), .timeline-item:nth-child(6) { transition-delay: 0.3s; }
.ministry-card:nth-child(7), .timing-card:nth-child(7), .gallery-item:nth-child(7), .timeline-item:nth-child(7) { transition-delay: 0.35s; }
.ministry-card:nth-child(8), .timing-card:nth-child(8), .gallery-item:nth-child(8), .timeline-item:nth-child(8) { transition-delay: 0.4s; }

/* Mobile Touch Feedback Animations */
@media (hover: none) or (pointer: coarse) {
    .btn:active,
    .fab:active,
    .ministry-card:active,
    .timing-card:active,
    .gallery-item:active,
    .about-slider-arrow:active,
    .filter-btn:active {
        transform: scale(0.96) translateY(2px) !important;
        transition: transform 0.15s ease !important;
    }
}

/* Page fade transition on navigation load */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-dark);
    z-index: 10005;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.page-transition-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* --- MEDIA QUERIES (RESPONSIVENESS) --- */

@media (max-width: 1200px) {
    .ministry-card {
        flex: 0 0 calc(33.333% - 1.2rem);
    }
    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .ministry-card {
        flex: 0 0 calc(50% - 0.9rem);
    }
    .ministries-arrow {
        display: none;
    }
    
    .timings-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timing-card.highlight {
        transform: scale(1);
    }
    .timing-card.highlight:hover {
        transform: translateY(-8px) scale(1);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-block-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-wrapper {
        min-height: 350px;
    }
    
    /* Navigation burger menu */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background-color: var(--color-primary-dark);
        border-left: 2px solid var(--color-accent-gold);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        z-index: 1005;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        transform: translateX(100%);
        padding: 3rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links a {
        color: var(--color-white);
        font-size: 1.15rem;
    }
    
    .header-scrolled .nav-links a {
        color: var(--color-white);
    }
    .header-scrolled .nav-links a:hover,
    .header-scrolled .nav-links a.active {
        color: var(--color-accent-gold);
    }
    .header-scrolled .nav-links a.active::after {
        background-color: var(--color-accent-gold);
    }
    
    /* Mobile responsive animation adjustments to avoid horizontal page overflow */
    .reveal-slide-left,
    .reveal-slide-right {
        transform: translateY(30px);
    }

    .about-image-wrapper::before {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .about-slider-frame {
        height: 320px;
    }

    .about-slider-arrow {
        opacity: 0.9;
        width: 38px;
        height: 38px;
    }

    .nav-container {
        padding: 0 1.2rem;
    }
    
    .logo {
        font-size: 1.15rem;
        gap: 0.6rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }

    /* Timeline Mobile styling */
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 4rem;
        padding-right: 1rem;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 9px !important;
        right: auto !important;
    }
    
    .timeline-content::after {
        left: -20px !important;
        right: auto !important;
        border-left-color: transparent !important;
        border-right-color: var(--glass-border) !important;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 4.5rem 0 5.5rem 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-title span {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .verse-card {
        padding: 3rem 1.5rem;
    }
    
    .verse-text {
        font-size: 1.4rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 2.2rem 1.6rem;
    }

    .contact-block-grid {
        gap: 2.5rem;
    }

    .map-wrapper {
        height: 320px;
        min-height: 280px;
    }

    .song-book-card {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-btn-wrapper {
        grid-column: span 1;
    }
    
    .fabs-container {
        bottom: 1.2rem;
        right: 1.2rem;
        gap: 0.6rem;
    }
    
    .fab {
        width: 44px;
        height: 44px;
    }

    .fab svg {
        width: 20px;
        height: 20px;
    }
    
    .back-to-top {
        bottom: 1.2rem;
        left: 1.2rem;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3.5rem 0 5rem 0;
    }

    .about-slider-frame {
        height: 240px;
    }

    .logo {
        font-size: 1.05rem;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .ministry-card {
        flex: 0 0 calc(100% - 0rem);
        min-width: 260px;
    }
    
    .nav-links {
        width: 100%;
        max-width: 100%;
    }

    .contact-info-card {
        padding: 1.6rem 1.1rem;
        border-radius: var(--border-radius-md);
    }

    .contact-info-card h2 {
        font-size: 1.45rem;
        margin-bottom: 0.8rem;
        line-height: 1.25;
    }

    .contact-info-card > p {
        font-size: 0.92rem;
        margin-bottom: 1.4rem;
    }

    .contact-details-list {
        margin-bottom: 1rem;
    }

    .contact-details-list li {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        align-items: flex-start;
    }

    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .contact-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }

    .contact-text-wrapper {
        flex: 1;
        min-width: 0;
    }

    .contact-text-wrapper h4 {
        font-size: 0.98rem;
        margin-bottom: 0.2rem;
    }

    .contact-text-wrapper p {
        font-size: 0.88rem;
        line-height: 1.45;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .map-wrapper {
        height: 270px;
        min-height: 240px;
        width: 100%;
        max-width: 100%;
        border-width: 3px;
        border-radius: var(--border-radius-md);
        overflow: hidden;
        box-sizing: border-box;
    }

    .map-wrapper iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border: 0 !important;
        display: block;
    }

    .form-container {
        padding: 1.8rem 1rem;
    }

    .form-title-wrapper h2 {
        font-size: 1.6rem;
    }
    
    /* ── Testimonials ── */
    .testimonials-slider-container {
        max-width: 100%;
        padding: 0.5rem 0 1rem;
    }

    .testimonial-slide {
        padding: 1.8rem 1.1rem;
    }

    .testimonial-avatar {
        width: 62px;
        height: 62px;
        margin-bottom: 1.1rem;
    }

    .testimonial-content {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.2rem;
    }

    .testimonial-author {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .testimonial-role {
        font-size: 0.78rem;
    }

    .testimonial-dots {
        margin-top: 1.2rem;
        gap: 6px;
    }

    /* Section header on mobile */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .song-book-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.8rem 1.1rem;
    }

    .timeline-container::before {
        left: 14px;
    }

    .timeline-item {
        padding-left: 2.8rem;
        padding-right: 0.2rem;
    }

    .timeline-dot {
        left: 3px !important;
        width: 18px;
        height: 18px;
        border-width: 3px;
    }

    .timeline-content {
        padding: 1.2rem 1rem;
    }

    .timeline-image-wrapper {
        height: 180px;
    }

    .fabs-container {
        bottom: 0.85rem;
        right: 0.75rem;
        gap: 0.45rem;
    }

    .fab {
        width: 40px;
        height: 40px;
    }

    .fab svg {
        width: 18px;
        height: 18px;
    }

    .back-to-top {
        bottom: 0.85rem;
        left: 0.75rem;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ================================================================
   OLIVE SONGS MOBILE APP & PWA STYLES
   ================================================================ */

/* PWA Install Banner Notice */
.pwa-install-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #172115 100%);
    border: 1px solid var(--color-accent-gold);
    border-radius: var(--border-radius-md);
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pwa-banner-icon {
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pwa-banner-text {
    flex: 1;
}

.pwa-banner-text h4 {
    color: var(--color-accent-gold);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.pwa-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
}

/* App Icon Card Modifications */
.song-book-icon-app {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.app-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    border: 3px solid var(--color-accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.app-badge-pill {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: var(--color-brand-green-bright);
    color: var(--color-white);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.app-title-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-installed-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(45, 169, 32, 0.15);
    color: var(--color-brand-green-bright);
    border: 1px solid var(--color-brand-green);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-installed-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.btn-svg-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

/* PHONE MOCKUP FRAME */
.phone-container-wrapper {
    margin-top: 5rem;
}

.phone-frame {
    max-width: 440px;
    margin: 0 auto;
    background: #1e1e1e;
    border: 12px solid #2d2d2d;
    border-radius: 46px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 150px;
    height: 24px;
    background: #2d2d2d;
    margin: 0 auto;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    position: relative;
}

.phone-speaker {
    width: 45px;
    height: 4px;
    background: #444;
    border-radius: 2px;
}

.phone-camera {
    width: 10px;
    height: 10px;
    background: #111;
    border-radius: 50%;
    border: 1px solid #333;
}

.phone-screen {
    background: #FAFBF9;
    min-height: 640px;
    max-height: 720px;
    overflow-y: auto;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Phone App Inner Header */
.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.phone-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.phone-app-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    line-height: 1.1;
}

.phone-app-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-dot {
    width: 7px;
    height: 7px;
    background: #2DA920;
    border-radius: 50%;
}

.phone-count-tag {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(59, 78, 55, 0.15);
}

/* Phone Search Bar */
.phone-search-bar {
    position: relative;
    width: 100%;
}

.phone-search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    outline: none;
    transition: var(--transition-fast);
}

.phone-search-bar input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(59, 78, 55, 0.12);
}

.phone-search-bar .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: var(--color-text-muted);
    pointer-events: none;
}

/* Category Filter Chips Scroll */
.phone-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.phone-chips-scroll::-webkit-scrollbar {
    display: none;
}

.app-cat-chip {
    padding: 5px 14px;
    border-radius: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.app-cat-chip:hover,
.app-cat-chip.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 3px 8px rgba(59, 78, 55, 0.2);
}

/* App Song Cards List */
.phone-song-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-song-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: var(--transition-fast);
}

.app-song-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(35, 48, 32, 0.08);
    border-color: var(--color-accent-gold);
}

.app-song-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.app-song-info {
    flex: 1;
    min-width: 0;
}

.app-song-title-tel {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-song-title-eng {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.app-song-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--color-accent-gold-light);
    color: var(--color-primary-dark);
}

.app-key {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

.app-fav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #CCC;
    transition: var(--transition-fast);
}

.app-fav-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.app-fav-toggle:hover,
.app-fav-toggle.active {
    color: #E74C3C;
}

.app-no-results {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--color-text-muted);
}

.app-no-results svg {
    width: 48px;
    height: 48px;
    fill: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

/* Install Guide Section */
.install-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.guide-card {
    background: var(--color-white);
    padding: 2.2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.guide-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.guide-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.guide-card ol {
    padding-left: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.guide-card li {
    margin-bottom: 0.6rem;
}

/* FULLSCREEN SONG READER MODAL */
.song-reader-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.song-reader-modal.active {
    opacity: 1;
    visibility: visible;
}

.reader-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 14, 0.82);
    backdrop-filter: blur(8px);
}

.reader-container {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 680px;
    height: 88vh;
    background: #FFFFFF;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.song-reader-modal.dark-mode .reader-container {
    background: #182216;
    color: #E0E8DF;
}

/* Reader Top Bar */
.reader-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-bg-light);
}

.song-reader-modal.dark-mode .reader-top-bar {
    background: #111A0F;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.reader-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-primary-dark);
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.song-reader-modal.dark-mode .reader-icon-btn {
    color: #E0E8DF;
}

.reader-icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.reader-icon-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.reader-fav.active {
    color: #E74C3C !important;
}

.reader-header-titles {
    text-align: center;
    flex: 1;
    padding: 0 0.8rem;
}

.reader-header-titles h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.song-reader-modal.dark-mode .reader-header-titles h3 {
    color: var(--color-accent-gold);
}

#readerSub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.song-reader-modal.dark-mode #readerSub {
    color: #9AA898;
}

/* Reader Toolbar */
.reader-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.4rem;
    background: var(--color-primary-soft);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 8px;
}

.song-reader-modal.dark-mode .reader-toolbar {
    background: #1F2E1D;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.reader-pills {
    display: flex;
    gap: 6px;
}

.reader-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--color-accent-gold);
    color: var(--color-white);
}

.key-pill {
    background: var(--color-primary);
}

.reader-actions-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reader-btn-sm {
    padding: 4px 10px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #FFFFFF;
    color: var(--color-primary-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.song-reader-modal.dark-mode .reader-btn-sm {
    background: #283A26;
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.15);
}

.reader-btn-sm:hover {
    background: var(--color-primary);
    color: #FFF;
    border-color: var(--color-primary);
}

.tune-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.tune-btn.playing {
    background: #2DA920 !important;
    color: #FFF !important;
    animation: pulseGlow 1s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 5px rgba(45, 169, 32, 0.4); }
    to { box-shadow: 0 0 15px rgba(45, 169, 32, 0.9); }
}

/* Reader Lyrics Body */
.reader-content-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.2rem;
}

.lyrics-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    white-space: pre-wrap;
    word-break: break-word;
}

.song-reader-modal.dark-mode .lyrics-text {
    color: #E4ECE2;
}

/* Reader Footer Bar */
.reader-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-bg-light);
}

.song-reader-modal.dark-mode .reader-footer-bar {
    background: #111A0F;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.reader-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    color: var(--color-primary);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 18px;
    transition: var(--transition-fast);
}

.song-reader-modal.dark-mode .reader-nav-btn {
    color: var(--color-accent-gold);
}

.reader-nav-btn:hover {
    background: rgba(59, 78, 55, 0.1);
}

.reader-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.reader-share-group {
    display: flex;
    gap: 10px;
}

.reader-action-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
    color: var(--color-primary-dark);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.song-reader-modal.dark-mode .reader-action-circle {
    background: #283A26;
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.12);
}

.reader-action-circle svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.reader-action-circle:hover {
    background: var(--color-accent-gold);
    color: #FFF;
    border-color: var(--color-accent-gold);
}

/* App Toast Notification */
.app-toast-notice {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #233020;
    color: #FFF;
    border: 1px solid var(--color-accent-gold);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    z-index: 10005;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.app-toast-notice.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .pwa-install-banner {
        flex-direction: column;
        text-align: center;
    }
    .install-guide-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PDF APP VIEWER & STANDALONE PHONE PDF MODE
   ================================================================ */

.pdf-viewer-section {
    margin-top: 3.5rem;
    background: #FFFFFF;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.pdf-viewer-section.highlight-viewer {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.35);
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.8rem;
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-bottom: 2px solid var(--color-accent-gold);
    flex-wrap: wrap;
    gap: 1rem;
}

.pdf-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-header-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-accent-gold);
}

.pdf-title-group h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.pdf-sub {
    font-size: 0.8rem;
    color: var(--color-accent-gold);
}

.pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-iframe-wrapper {
    width: 100%;
    height: 75vh;
    min-height: 520px;
    background: #525659;
}

.pdf-app-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* STANDALONE PWA FULLSCREEN APP VIEW (ACTIVATED WHEN OPENED ON PHONE HOME SCREEN) */
.standalone-app-pdf-container {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #1e261b;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.standalone-app-pdf-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.standalone-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: #1b2419;
    color: #FFFFFF;
    border-bottom: 1px solid var(--color-accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.standalone-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.standalone-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-brand-green);
}

.standalone-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    line-height: 1.2;
}

.standalone-status {
    font-size: 0.72rem;
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.standalone-download-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-accent-gold);
    color: #FFFFFF;
    display: grid;
    place-items: center;
    transition: var(--transition-fast);
}

.standalone-download-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.standalone-pdf-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: #323639;
}

body.in-standalone-app header,
body.in-standalone-app footer,
body.in-standalone-app .back-to-top,
body.in-standalone-app .fabs-container {
    display: none !important;
}

/* --- SONG NUMBER QUICK-NAVIGATE --- */
.song-goto-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.song-number-input {
    width: 90px;
    padding: 0.45rem 0.7rem;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--color-accent-gold);
    border-radius: var(--border-radius-lg);
    outline: none;
    transition: var(--transition-fast);
    text-align: center;
    -moz-appearance: textfield;
}

.song-number-input::-webkit-inner-spin-button,
.song-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.song-number-input::placeholder {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.82rem;
}

.song-number-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
    background: #ffffff;
}

/* Standalone bar variant – white text on dark background */
.standalone-goto .song-number-input {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: var(--color-accent-gold);
    width: 80px;
}

.standalone-goto .song-number-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.standalone-goto .song-number-input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.3);
}

@media (max-width: 600px) {
    .song-goto-wrap {
        gap: 4px;
    }
    .song-number-input {
        width: 70px;
        font-size: 0.82rem;
        padding: 0.4rem 0.5rem;
    }
    .pdf-header-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ================================================================
   OUR VISION — MISSION STATEMENT & MISSION AREAS GRID
   ================================================================ */

.mission-statement {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--color-primary-dark);
    font-style: italic;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--color-accent-gold);
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.08) 0%, transparent 100%);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 0;
}

/* Full-width wrapper below the about-grid */
.mission-areas-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(59, 78, 55, 0.1);
}

.mission-areas-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.8rem;
}

.mission-areas-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-gold));
    border-radius: 2px;
}

.mission-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.mission-area-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--color-white);
    border: 1px solid rgba(59, 78, 55, 0.1);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: 1.4rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mission-area-card:hover {
    box-shadow: 0 8px 24px rgba(59, 78, 55, 0.12);
    border-top-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.mission-area-num {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.mission-area-card:hover .mission-area-num {
    background: var(--color-accent-gold);
}

.mission-area-content {
    flex: 1;
}

.mission-area-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.mission-area-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mission-area-content ul li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.mission-area-content ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .mission-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mission-areas-grid {
        grid-template-columns: 1fr;
    }
    .mission-areas-section {
        margin-top: 2rem;
        padding-top: 1.8rem;
    }
}






.faith-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.faith-item {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(59, 78, 55, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faith-item:hover {
    box-shadow: 0 6px 24px rgba(59, 78, 55, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
}

.faith-item.open {
    border-color: var(--color-accent-gold);
    box-shadow: 0 8px 28px rgba(197, 160, 89, 0.18);
}

.faith-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.25s ease;
    position: relative;
}

.faith-header:hover {
    background: rgba(59, 78, 55, 0.04);
}

.faith-item.open .faith-header {
    background: linear-gradient(90deg, rgba(59, 78, 55, 0.07) 0%, rgba(197, 160, 89, 0.06) 100%);
}

.faith-number {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    min-width: 36px;
    line-height: 1;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.faith-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    min-width: 150px;
    flex-shrink: 0;
    line-height: 1.3;
}

.faith-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    flex: 1;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.4;
    font-style: italic;
}

.faith-chevron {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.faith-item.open .faith-chevron {
    transform: rotate(180deg);
    fill: var(--color-accent-gold);
}

.faith-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faith-item.open .faith-body {
    max-height: 300px;
}

.faith-body p {
    padding: 0 1.5rem 1.3rem 4rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    margin: 0;
}

/* Accent bar on the left of open items */
.faith-item.open::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent-gold) 100%);
    border-radius: 3px 0 0 3px;
}

.faith-item {
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faith-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem 1.2rem;
    }

    .faith-title {
        min-width: unset;
        font-size: 0.98rem;
    }

    .faith-subtitle {
        display: none;
    }

    .faith-body p {
        padding: 0.8rem 1.2rem 1.2rem 1.2rem;
    }

    .faith-chevron {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .faith-number {
        font-size: 0.95rem;
        min-width: 28px;
    }

    .faith-title {
        font-size: 0.9rem;
    }
}

/* ======================================================
   OUR SERVICES — CHURCH LOCATION CARDS
   ====================================================== */

.services-churches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

/* --- Church Card --- */
.church-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.church-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -10px rgba(35, 48, 32, 0.15);
    border-color: rgba(197, 160, 89, 0.3);
}

/* --- Image Section --- */
.church-card-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.church-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.church-card:hover .church-card-img {
    transform: scale(1.06);
}

.church-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25, 33, 24, 0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem 1.5rem;
}

.church-card-badge {
    display: inline-block;
    background: var(--color-accent-gold);
    color: var(--color-white);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

/* --- Card Body --- */
.church-card-body {
    padding: 2rem 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.church-card-name {
    font-size: 1.3rem;
    font-family: 'Cinzel', serif;
    color: var(--color-primary-dark);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    margin: 0;
}

/* --- Location Info Block --- */
.church-info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.church-info-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-accent-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.church-info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
}

.church-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.church-info-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-gold);
}

.church-info-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* --- Timings Block --- */
.church-timings {
    background: var(--color-primary-soft);
    border-radius: var(--border-radius-sm);
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--color-accent-gold);
}

.timings-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.timings-title svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent-gold);
    flex-shrink: 0;
}

.timings-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.timings-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(91, 116, 85, 0.2);
}

.timings-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timing-day {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.timing-time {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    background: rgba(197, 160, 89, 0.12);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

/* --- Directions Button --- */
.church-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(59, 78, 55, 0.2);
    margin-top: auto;
    align-self: flex-start;
}

.church-map-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent-gold);
    flex-shrink: 0;
}

.church-map-btn:hover {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(59, 78, 55, 0.15);
    transform: translateY(-2px);
}

.church-map-btn:hover svg {
    fill: var(--color-primary);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .services-churches-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .church-card-image-wrap {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .church-card-body {
        padding: 1.5rem 1.3rem;
    }

    .church-card-name {
        font-size: 1.1rem;
    }

    .church-card-image-wrap {
        height: 210px;
    }

    .timings-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .timing-time {
        font-size: 0.78rem;
    }
}

