/* ===========================
   GRACE CATHEDRAL CHURCH CSS
   =========================== */

:root {
    --primary: #1E3A8A;
    --secondary: #7C3AED;
    --accent: #FBBF24;
    --bg: #FFFFFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --gradient: linear-gradient(135deg, #1E3A8A 0%, #7C3AED 100%);
    --gradient-gold: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    --shadow: 0 10px 40px rgba(30, 58, 138, 0.15);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed; inset: 0;
    background: var(--gradient);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-cross { font-size: 4rem; color: var(--accent); animation: pulse-cross 1.5s ease-in-out infinite; }
.preloader-text { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-top: 15px; letter-spacing: 3px; animation: fadeInText 1s ease 0.3s both; }
@keyframes pulse-cross { 0%,100%{transform:scale(1)}50%{transform:scale(1.2)} }
@keyframes fadeInText { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)} }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary); color: #fff; padding: 7px 0; font-size: 0.82rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.top-bar a:hover { color: var(--accent); }
.top-bar i { font-size: 0.8rem; }

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(30,58,138,0.18); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 12px; }

.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; background: var(--gradient); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.logo-sub { font-size: 0.67rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; }

/* Desktop nav menu */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link { color: var(--text); font-size: 0.9rem; font-weight: 500; padding: 8px 13px; border-radius: 6px; transition: color 0.2s; position: relative; display: flex; align-items: center; gap: 4px; }
.nav-link::after { content:''; position:absolute; bottom:-1px; left:13px; right:13px; height:2px; background:var(--secondary); transform:scaleX(0); transition:transform 0.25s; }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--secondary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); min-width: 170px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.25s ease; border-top: 3px solid var(--secondary); z-index: 500; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 18px; color: var(--text); font-size: 0.88rem; transition: background 0.2s; }
.dropdown-menu li a:hover { background: #f0f4ff; color: var(--secondary); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Buttons */
.btn { padding: 9px 20px; border-radius: 25px; font-size: 0.87rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.25s ease; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; line-height: 1; }
.btn-give { background: var(--gradient-gold); color: #1F2937; }
.btn-give:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(251,191,36,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30,58,138,0.3); }
.btn-accent { background: var(--gradient-gold); color: #1F2937; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(251,191,36,0.4); }
.btn-lg { padding: 13px 32px; font-size: 0.98rem; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; z-index: 1100; padding: 6px; background: none; border: none; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1050;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.open { display: block; opacity: 1; }

/* Mobile slide-in drawer */
.nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: #fff;
    z-index: 1100;
    padding: 80px 24px 40px;
    gap: 4px;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

/* Mobile nav link styles inside drawer */
.nav-menu.mobile-open .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text);
    width: 100%;
    justify-content: space-between;
}
.nav-menu.mobile-open .nav-link::after { display: none; }
.nav-menu.mobile-open .nav-link:hover,
.nav-menu.mobile-open .nav-link.active { background: #EFF6FF; color: var(--primary); }
.nav-menu.mobile-open .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--secondary);
    background: #F8FAFF;
    border-radius: 8px;
    padding: 6px 0;
    margin: 4px 0 4px 12px;
    min-width: unset;
}
.nav-menu.mobile-open .dropdown-menu li a { padding: 9px 16px; font-size: 0.9rem; }

/* Mobile action buttons inside drawer */
.nav-menu.mobile-open .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}
.nav-menu.mobile-open .mobile-actions .btn { width: 100%; padding: 12px; font-size: 0.95rem; border-radius: 10px; }

/* Close button inside drawer */
.nav-close-btn {
    position: absolute;
    top: 22px; right: 22px;
    background: #F1F5F9;
    border: none; border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; color: var(--text);
    transition: background 0.2s;
}
.nav-close-btn:hover { background: #E2E8F0; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--gradient); }
.hero-bg { position: absolute; inset: 0; }
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; background: rgba(251,191,36,0.5); border-radius: 50%; animation: float-up 8s linear infinite; }
@keyframes float-up { 0%{transform:translateY(100vh) scale(0);opacity:0} 10%{opacity:1} 90%{opacity:0.4} 100%{transform:translateY(-100px) scale(1);opacity:0} }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 20px 0; animation: hero-enter 1s ease both; }
@keyframes hero-enter { from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)} }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(251,191,36,0.2); border: 1px solid rgba(251,191,36,0.4); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 0.83rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 6vw, 4.2rem); color: #fff; font-weight: 900; line-height: 1.1; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: clamp(0.93rem, 2vw, 1.1rem); color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.65); text-align: center; z-index: 2; animation: bounce 2s ease-in-out infinite; }
.hero-scroll i { font-size: 1.4rem; display: block; }
.hero-scroll span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-8px)} }
.hero-verse { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 28px; max-width: 270px; color: #fff; z-index: 2; }
.hero-verse blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.97rem; line-height: 1.65; margin-bottom: 10px; }
.hero-verse cite { font-size: 0.78rem; color: var(--accent); font-style: normal; }

/* ===== SECTIONS ===== */
.section { padding: 85px 0; }
.section-alt { background: #F8FAFF; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-eyebrow { display: inline-block; color: var(--secondary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.section-eyebrow::before { content: '— '; }
.section-eyebrow::after  { content: ' —'; }
.section-header h2 { font-size: clamp(1.65rem, 4vw, 2.7rem); color: var(--primary); margin-bottom: 14px; }
.section-header p { color: var(--text-light); max-width: 540px; margin: 0 auto; line-height: 1.75; font-size: 0.95rem; }
.divider { width: 55px; height: 3px; background: var(--gradient-gold); margin: 14px auto 0; border-radius: 2px; }

/* ===== ABOUT STRIP ===== */
.about-strip { display: grid; grid-template-columns: repeat(4,1fr); background: var(--gradient); }
.strip-item { padding: 38px 18px; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,0.14); transition: background 0.3s; }
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(255,255,255,0.08); }
.strip-item .count { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; color: var(--accent); display: block; }
.strip-item p { margin-top: 6px; font-size: 0.87rem; opacity: 0.85; }

/* ===== TWO-COL WELCOME ===== */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.welcome-visual { background: var(--gradient); border-radius: var(--radius-lg); height: 370px; display: flex; align-items: center; justify-content: center; font-size: 7rem; color: rgba(251,191,36,0.8); position: relative; overflow: hidden; }
.welcome-verse { position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(255,255,255,0.13); backdrop-filter: blur(10px); border-radius: 10px; padding: 16px; color: #fff; }
.welcome-verse p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.92rem; line-height: 1.55; margin-bottom: 5px; }
.welcome-verse span { font-size: 0.78rem; color: var(--accent); }

/* ===== CARDS ===== */
.cards-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { width: 60px; height: 60px; background: linear-gradient(135deg,rgba(30,58,138,.1),rgba(124,58,237,.1)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; color: var(--secondary); transition: all 0.3s; }
.card:hover .card-icon { background: var(--gradient); color: #fff; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.card-body p { color: var(--text-light); font-size: 0.88rem; line-height: 1.65; }
.card-date { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 7px; }
.card-date i { color: var(--accent); }

/* ===== SERVICE ICON CARDS ===== */
.service-icon-card { padding: 30px 20px; text-align: center; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: all 0.3s; border-bottom: 3px solid transparent; }
.service-icon-card:hover { transform: translateY(-5px); border-bottom-color: var(--secondary); box-shadow: var(--shadow); }
.svc-icon { width: 64px; height: 64px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; color: var(--accent); margin: 0 auto 16px; }
.service-icon-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; }
.service-icon-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; }

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials { background: var(--gradient); padding: 85px 0; }
.testimonials .section-header h2 { color: #fff; }
.testimonials .section-header p { color: rgba(255,255,255,0.75); }
.testimonials .section-eyebrow { color: var(--accent); }
.slider-wrapper { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.5s cubic-bezier(.25,.46,.45,.94); }
.testimonial-card { min-width: 100%; padding: 0 16px; }
.testimonial-inner { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 38px 32px; max-width: 680px; margin: 0 auto; text-align: center; color: #fff; }
.testimonial-inner blockquote { font-family: 'Playfair Display', serif; font-size: clamp(0.93rem,2vw,1.12rem); font-style: italic; line-height: 1.75; margin-bottom: 24px; }
.testimonial-inner blockquote::before { content:'"'; font-size:3rem; color:var(--accent); line-height:0; vertical-align:-0.5em; margin-right:4px; }
.testimonial-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #1F2937; margin: 0 auto 11px; }
.testimonial-inner cite { font-style: normal; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 32px; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); color: #fff; cursor: pointer; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.slider-btn:hover { background: var(--accent); color: #1F2937; border-color: var(--accent); }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.38); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.slider-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ===== LIVE BANNER ===== */
.live-banner { background: #1a1a2e; padding: 85px 0; }
.live-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.live-banner-content { flex: 1; min-width: 0; }
.live-banner-content h2 { color: #fff; font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: 14px; }
.live-banner-content p { color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.75; }
.live-pulse { display: inline-flex; align-items: center; gap: 9px; background: #e53935; color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; margin-bottom: 18px; }
.live-pulse span { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: live-blink 1s ease-in-out infinite; }
@keyframes live-blink { 0%,100%{opacity:1}50%{opacity:0} }
.live-thumbnail { flex-shrink: 0; width: 380px; background: linear-gradient(135deg,#1E3A8A,#7C3AED); border-radius: var(--radius-lg); height: 220px; display: flex; align-items: center; justify-content: center; }
.live-play-btn { width: 68px; height: 68px; border-radius: 50%; background: rgba(251,191,36,0.9); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #1F2937; cursor: pointer; animation: pulse-play 2s ease-in-out infinite; }
@keyframes pulse-play { 0%,100%{box-shadow:0 0 0 0 rgba(251,191,36,0.4)}50%{box-shadow:0 0 0 18px rgba(251,191,36,0)} }

/* ===== FORMS ===== */
.prayer-section { background: #F8FAFF; padding: 85px 0; }
.prayer-form-card { background: #fff; border-radius: var(--radius-lg); padding: 42px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 11px 15px;
    border: 2px solid #E5E7EB; border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.92rem;
    color: var(--text); background: #fff;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--text-light); }
.form-check input[type="checkbox"] { width: auto; flex-shrink: 0; margin-top: 2px; accent-color: var(--secondary); }
.form-check a { color: var(--secondary); }

/* Alerts */
.alert { padding: 13px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 0.88rem; display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; }
.alert i { flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #ECFDF5; color: #065F46; border-left: 4px solid #10B981; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-left: 4px solid var(--primary); }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 100vh; background: linear-gradient(135deg,#EFF6FF,#F5F3FF); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; width: 100%; max-width: 470px; box-shadow: var(--shadow); animation: auth-enter 0.6s ease; }
@keyframes auth-enter { from{opacity:0;transform:translateY(20px) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)} }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo .logo-icon { width: 58px; height: 58px; font-size: 1.5rem; background: var(--gradient); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.auth-logo h2 { font-size: 1.55rem; color: var(--primary); }
.auth-logo p { color: var(--text-light); font-size: 0.88rem; margin-top: 5px; }
.auth-divider { text-align: center; position: relative; color: var(--text-light); font-size: 0.83rem; margin: 18px 0; }
.auth-divider::before,.auth-divider::after { content:''; position:absolute; top:50%; width:37%; height:1px; background:#E5E7EB; }
.auth-divider::before { left:0; }
.auth-divider::after  { right:0; }

/* Password toggle */
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 44px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 0.95rem; padding: 4px; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--gradient); padding: 95px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content:'✝'; position:absolute; font-size:18rem; color:rgba(255,255,255,0.03); top:-50px; right:-40px; line-height:1; pointer-events:none; }
.page-hero h1 { font-size: clamp(1.8rem,5vw,3rem); color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 0.98rem; max-width: 500px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.83rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* ===== GIVING ===== */
.giving-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 32px; }
.giving-option { background: #fff; border-radius: var(--radius-lg); padding: 24px 14px; text-align: center; box-shadow: var(--shadow-sm); cursor: pointer; border: 2px solid transparent; transition: all 0.25s; }
.giving-option:hover,.giving-option.selected { border-color: var(--secondary); box-shadow: var(--shadow); transform: translateY(-3px); }
.giving-option .amount { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); display: block; }
.giving-option p { color: var(--text-light); font-size: 0.8rem; margin-top: 5px; }

/* ===== EVENTS ===== */
.event-card { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; transition: all 0.25s; border-left: 4px solid var(--secondary); align-items: flex-start; }
.event-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.event-date-box { min-width: 62px; text-align: center; background: var(--gradient); color: #fff; border-radius: 10px; padding: 13px 8px; flex-shrink: 0; }
.event-date-box .day { font-size: 1.55rem; font-weight: 700; line-height: 1; display: block; }
.event-date-box .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.event-info { flex: 1; min-width: 0; }
.event-info h3 { color: var(--primary); margin-bottom: 7px; font-size: 1.02rem; }
.event-info p { color: var(--text-light); font-size: 0.87rem; line-height: 1.6; }
.event-meta { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.event-meta span { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.event-meta i { color: var(--accent); }

/* ===== SERMONS ===== */
.sermon-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.sermon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sermon-thumbnail { height: 170px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; color: var(--accent); }
.sermon-body { padding: 22px; }
.sermon-body h3 { color: var(--primary); font-size: 1.02rem; margin-bottom: 7px; }
.sermon-body .preacher { color: var(--secondary); font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.sermon-body p { color: var(--text-light); font-size: 0.86rem; line-height: 1.6; }
.sermon-scripture { display: inline-flex; align-items: center; gap: 5px; background: #EFF6FF; color: var(--primary); padding: 4px 10px; border-radius: 20px; font-size: 0.77rem; margin-top: 10px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: 36px 28px; }
.contact-info-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.contact-info-card > p { opacity: 0.8; margin-bottom: 26px; font-size: 0.9rem; line-height: 1.65; }
.contact-item { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 20px; }
.contact-item-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.8rem; opacity: 0.72; margin-bottom: 2px; }
.contact-item-text span { font-size: 0.9rem; }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow); }
.contact-form-card h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 22px; }

/* ===== FOOTER ===== */
.footer { background: #0F172A; color: rgba(255,255,255,0.72); }
.footer-top { padding: 65px 0 35px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 35px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; }
.footer-logo .logo-icon { width: 35px; height: 35px; font-size: 0.88rem; flex-shrink: 0; }
.footer-col p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 18px; }
.footer-social { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.82rem; transition: all 0.25s; }
.footer-social a:hover { background: var(--accent); color: #1F2937; }
.footer-col h4 { color: #fff; font-size: 0.97rem; margin-bottom: 17px; font-family: 'Playfair Display', serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.62); font-size: 0.85rem; transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--accent); }
.service-times { display: flex; flex-direction: column; gap: 13px; }
.time-item { display: flex; gap: 11px; align-items: flex-start; }
.time-item i { color: var(--accent); margin-top: 2px; width: 15px; flex-shrink: 0; font-size: 0.85rem; }
.time-item strong { display: block; color: #fff; font-size: 0.85rem; }
.time-item span { font-size: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.82rem; }

/* ===== DASHBOARD ===== */
.dashboard-grid { display: grid; grid-template-columns: 235px 1fr; min-height: 68vh; border-radius: var(--radius); overflow: hidden; }
.dash-sidebar { background: var(--primary); color: #fff; padding: 22px 0; }
.dash-user { padding: 0 18px 18px; border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 14px; }
.dash-user-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; color: #1F2937; margin-bottom: 9px; }
.dash-user h4 { font-size: 0.93rem; font-family: 'Playfair Display', serif; }
.dash-user span { font-size: 0.76rem; opacity: 0.68; }
.dash-nav { list-style: none; }
.dash-nav li a { display: flex; align-items: center; gap: 9px; padding: 10px 18px; color: rgba(255,255,255,0.72); font-size: 0.87rem; transition: all 0.2s; }
.dash-nav li a:hover,.dash-nav li.active a { color: #fff; background: rgba(255,255,255,0.1); border-right: 3px solid var(--accent); }
.dash-nav li a i { width: 17px; flex-shrink: 0; }
.dash-content { padding: 26px; background: #F8FAFF; }
.dash-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 22px; }
.dash-stat { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.dash-stat .stat-val { font-family: 'Playfair Display', serif; font-size: 1.65rem; font-weight: 700; color: var(--primary); }
.dash-stat .stat-label { font-size: 0.8rem; color: var(--text-light); margin-top: 3px; }
.dash-stat .stat-icon { font-size: 1.8rem; position: absolute; right: 16px; top: 16px; color: var(--secondary); opacity: 0.18; }

/* ===== LEGAL ===== */
.legal-content { max-width: 780px; margin: 0 auto; line-height: 1.8; }
.legal-content h3 { color: var(--primary); font-size: 1.2rem; margin: 27px 0 11px; }
.legal-content p { color: var(--text); margin-bottom: 13px; font-size: 0.93rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 13px; }
.legal-content ul li { color: var(--text); margin-bottom: 7px; font-size: 0.93rem; }
.legal-content a { color: var(--secondary); }

/* ===== SCROLL ANIMATIONS ===== */
.animate-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE — mobile-first breakpoints
   =================================================== */

/* ── 1100px ── */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
    .hero-verse { display: none; }
}

/* ── 900px ── */
@media (max-width: 900px) {
    .welcome-grid { grid-template-columns: 1fr; gap: 30px; }
    .welcome-visual { height: 260px; font-size: 5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-strip { grid-template-columns: repeat(2,1fr); }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .cards-grid-2 { grid-template-columns: 1fr; }
    .live-banner-inner { flex-direction: column; text-align: center; }
    .live-thumbnail { width: 100%; max-width: 440px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dash-stat-grid { grid-template-columns: repeat(3,1fr); }
    .giving-cards { grid-template-columns: repeat(3,1fr); }
    /* hide desktop nav, show hamburger */
    .nav-menu { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: flex; }
}

/* ── 768px ── */
@media (max-width: 768px) {

    /* Top bar */
    .top-bar .container { flex-direction: column; gap: 3px; text-align: center; }
    .top-bar-left { justify-content: center; font-size: 0.76rem; gap: 8px; }
    .top-bar-right { justify-content: center; gap: 12px; }

    /* Navbar */
    .logo-sub { display: none; }
    .navbar .container { padding: 12px 16px; }

    /* Hero */
    .hero { min-height: auto; padding: 110px 0 80px; }
    .hero h1 { font-size: clamp(1.85rem,7vw,2.7rem); }
    .hero p { font-size: 0.93rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; gap: 11px; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .hero-scroll { display: none; }

    /* Sections */
    .section { padding: 55px 0; }
    .section-header { margin-bottom: 35px; }
    .testimonials { padding: 55px 0; }
    .live-banner { padding: 55px 0; }
    .prayer-section { padding: 55px 0; }

    /* About strip */
    .strip-item { padding: 28px 14px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
    .strip-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.14); }
    .strip-item:nth-last-child(-n+2) { border-bottom: none; }

    /* Cards */
    .cards-grid   { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: 1fr; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .prayer-form-card { padding: 26px 20px; }

    /* Auth */
    .auth-card { padding: 30px 22px; }

    /* Giving */
    .giving-cards { grid-template-columns: repeat(2,1fr); gap: 12px; }

    /* Dashboard */
    .dash-content { padding: 18px 14px; }
    .dash-stat-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }

    /* Contact */
    .contact-info-card { padding: 26px 20px; }
    .contact-form-card { padding: 26px 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-top { padding: 42px 0 28px; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }

    /* Live banner */
    .live-thumbnail { height: 170px; }

    /* Event card */
    .event-card { padding: 16px 14px; gap: 13px; }

    /* Testimonials */
    .testimonial-inner { padding: 26px 20px; }

    /* Page hero */
    .page-hero { padding: 75px 0 45px; }

    /* Welcome visual hidden on small screens */
    .welcome-visual { display: none; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    /* Navbar */
    .logo-main { font-size: 0.92rem; }
    .logo-icon { width: 36px; height: 36px; font-size: 1.05rem; }

    /* Hero */
    .hero { padding: 95px 0 65px; }
    .hero h1 { font-size: 1.78rem; }
    .hero-badge { font-size: 0.76rem; padding: 5px 12px; }
    .hero p { font-size: 0.9rem; }

    /* Stats strip */
    .strip-item .count { font-size: 2.1rem; }

    /* Cards */
    .card-body { padding: 18px; }

    /* Giving */
    .giving-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .giving-option { padding: 18px 10px; }
    .giving-option .amount { font-size: 1.35rem; }

    /* Dashboard */
    .dash-stat-grid { grid-template-columns: 1fr; }
    .dash-stat .stat-val { font-size: 1.5rem; }

    /* Auth */
    .auth-card { padding: 26px 16px; }
    .auth-logo h2 { font-size: 1.35rem; }

    /* Prevent iOS zoom on inputs */
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; }

    /* Sermon */
    .sermon-thumbnail { height: 140px; font-size: 2.2rem; }
    .sermon-body { padding: 18px; }

    /* Contact */
    .contact-info-card { padding: 20px 16px; }
    .contact-form-card { padding: 20px 16px; }

    /* Page hero */
    .page-hero { padding: 65px 0 36px; }
    .page-hero h1 { font-size: 1.65rem; }

    /* Testimonial */
    .testimonial-inner { padding: 22px 16px; }
    .testimonial-inner blockquote { font-size: 0.9rem; }

    /* Buttons */
    .btn-lg { padding: 12px 24px; font-size: 0.92rem; }

    /* Live thumbnail hidden on very small */
    .live-thumbnail { display: none; }

    /* Tables scroll */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Footer */
    .footer-col h4 { margin-bottom: 11px; }
}

/* ── 360px ── */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.6rem; }
    .giving-cards { grid-template-columns: 1fr; }
    .about-strip { grid-template-columns: 1fr; }
    .strip-item { border-right: none !important; }
    .nav-menu.mobile-open { width: 100vw; border-radius: 0; }
}

/* Touch devices — disable hover lifts */
@media (hover: none) {
    .card:hover,
    .btn:hover,
    .service-icon-card:hover,
    .event-card:hover { transform: none; box-shadow: var(--shadow-sm); }
    .btn-primary:hover,
    .btn-accent:hover,
    .btn-give:hover { box-shadow: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .animate-in { opacity: 1; transform: none; }
}

/* ===== MOBILE DRAWER — dropdown sub-menu toggle ===== */
.nav-menu.mobile-open .dropdown-menu {
    display: none; /* JS toggles this to block */
}
.nav-menu.mobile-open .dropdown .nav-link i.fa-chevron-down {
    transition: transform 0.25s;
}
.nav-menu.mobile-open .dropdown.open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}
.nav-menu.mobile-open .dropdown.open .dropdown-menu {
    display: block !important;
}

/* ===== NAV CLOSE BUTTON — hide on desktop ===== */
.nav-close-btn { display: none; }
.nav-menu.mobile-open .nav-close-btn { display: flex; }

/* ===== MOBILE ACTIONS — always flex when visible ===== */
.nav-menu.mobile-open .mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
    width: 100%;
    list-style: none;
}

/* Ensure nav-menu li has no bullet in drawer */
.nav-menu.mobile-open li { list-style: none; width: 100%; }