/* ==========================================================================
   ALL GRACE HOUSEHOLD MINISTRY (AGHM) DESIGN SYSTEM & STYLESHEET
   Spacious, Human-Designed & Ultra-Responsive Mobile & Tablet Edition
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR SYSTEM & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root, [data-theme="light"] {
    --navy-primary: #070D1D;
    --navy-dark: #040711;
    --navy-card: #0D1629;
    --royal-blue: #1C3FAA;
    --royal-blue-hover: #153288;
    
    --gold-primary: #E5C365;
    --gold-hover: #D8B350;
    --gold-soft: rgba(229, 195, 101, 0.12);
    --gold-gradient: linear-gradient(135deg, #E5C365 0%, #C59E27 100%);
    
    --bg-slate: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --border-gold: rgba(229, 195, 101, 0.35);
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --bg-elevated: #FFFFFF;
    --border-soft: #F1F5F9;
    --text-heading: #070D1D;
    --header-bg: #FFFFFF;
    --header-border: #E2E8F0;
    --header-text: #0F172A;
    --header-subtext: #64748B;
    --mobile-menu-bg: #FFFFFF;
    --dropdown-bg: #FFFFFF;
    --dropdown-border: #E2E8F0;
    --dropdown-text: #0F172A;
    --input-bg: #FFFFFF;
    --input-border: #CBD5E1;
    --input-text: #0F172A;
    
    --text-navy: #0F172A;
    --text-slate: #475569;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(7, 13, 29, 0.03);
    --shadow-md: 0 12px 32px rgba(7, 13, 29, 0.07);
    --shadow-lg: 0 24px 60px rgba(7, 13, 29, 0.14);
    --shadow-gold: 0 10px 30px -5px rgba(229, 195, 101, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --navy-primary: #070D1D;
    --navy-dark: #040711;
    --navy-card: #0F1A34;
    --royal-blue: #60A5FA;
    --royal-blue-hover: #93C5FD;
    
    /* Semantic Theme Tokens - Dark Mode */
    --bg-slate: #070D1D;
    --bg-white: #0F1A34;
    --bg-card: #0F1A34;
    --bg-card-hover: #142346;
    --bg-elevated: #111D3A;
    
    --border-color: rgba(255, 255, 255, 0.12);
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(229, 195, 101, 0.4);
    
    --text-navy: #F8FAFC;
    --text-slate: #CBD5E1;
    --text-muted: #94A3B8;
    --text-heading: #FFFFFF;
    
    --header-bg: #040711;
    --header-border: rgba(255, 255, 255, 0.1);
    --header-text: #F8FAFC;
    --header-subtext: rgba(255, 255, 255, 0.65);
    --mobile-menu-bg: #040711;
    --dropdown-bg: #0B1222;
    --dropdown-border: rgba(255, 255, 255, 0.12);
    --dropdown-text: #F8FAFC;
    
    --input-bg: #0B1222;
    --input-border: rgba(255, 255, 255, 0.2);
    --input-text: #F8FAFC;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   THEME-AWARE COMPONENT OVERRIDES & HIGH-CONTRAST TYPOGRAPHY
   ========================================================================== */

/* Cards & Surfaces */
.pillar-card,
.nature-banner,
.vision-tenets-grid > div,
.schedule-card,
.schedule-card.featured-card,
.sermon-card,
.give-card,
.quick-link-card,
.ql-card,
.portal-card,
.feature-card,
.testimony-card,
.event-card,
.counsel-card,
.welfare-card,
.info-card,
.stat-card,
.book-item,
.dept-workspace-card,
.devotional-card,
.announcement-card {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-slate) !important;
}

/* Hover States for Cards */
.pillar-card:hover,
.schedule-card:hover,
.sermon-card:hover,
.ql-card:hover,
.book-item:hover,
.give-card:hover,
.testimony-card:hover {
    background-color: var(--bg-card-hover) !important;
    border-color: var(--gold-primary) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Card Headings & Titles */
.pillar-card h4,
.nature-banner h3,
.vision-tenets-grid h3,
.book-body h4,
.stat-card h3,
.devotional-card h3,
.ql-card h4,
.ql-card h5,
.location-heading {
    color: var(--text-heading) !important;
}

/* Card Paragraphs & Secondary Text */
.pillar-card p,
.nature-banner p,
.vision-tenets-grid p,
.schedule-card p,
.ql-card p,
.desc-info,
.time-info,
.location-info,
.pastor-body-text,
.sub-desc {
    color: var(--text-slate) !important;
}

[data-theme="dark"] .ql-card h4,
[data-theme="dark"] .ql-card h5 {
    color: #FFFFFF !important;
}
[data-theme="dark"] .ql-card p {
    color: #CBD5E1 !important;
}
[data-theme="dark"] .ql-card i {
    color: var(--gold-primary) !important;
}

/* Location Box High Contrast Overrides */
.location-box {
    background: #0B132B !important;
    color: #FFFFFF !important;
    border: 1px solid var(--border-gold) !important;
    box-shadow: var(--shadow-lg) !important;
}

[data-theme="light"] .location-box {
    background: #070D1D !important;
}

.location-map-link {
    color: #FFFFFF !important;
}

.location-map-link:hover {
    color: var(--gold-primary) !important;
}

.loc-contacts a {
    color: #F8FAFC !important;
    transition: var(--transition);
}

.loc-contacts a:hover {
    color: var(--gold-primary) !important;
}

/* High-Contrast Action Links (.link-btn) */
.link-btn {
    color: var(--gold-primary) !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.link-btn:hover {
    color: var(--gold-hover) !important;
    transform: translateX(4px);
}

[data-theme="light"] .link-btn {
    color: var(--royal-blue) !important;
}

[data-theme="light"] .link-btn:hover {
    color: var(--royal-blue-hover) !important;
}

/* ==========================================================================
   PAGE-SPECIFIC & INLINE-STYLE HIGH-CONTRAST DARK THEME OVERRIDES
   ========================================================================== */

/* Catch-All Inline Style Overrides for Dark Mode */
[data-theme="dark"] [style*="color: var(--navy-primary)"],
[data-theme="dark"] [style*="color:var(--navy-primary)"],
[data-theme="dark"] [style*="color: #070D1D"],
[data-theme="dark"] [style*="color:#070D1D"],
[data-theme="dark"] [style*="color: #0F172A"],
[data-theme="dark"] [style*="color:#0F172A"],
[data-theme="dark"] [style*="color: #111"],
[data-theme="dark"] [style*="color:#111"] {
    color: var(--text-heading) !important;
}

/* 1. Giving Page (giving.html) */
[data-theme="dark"] .give-card,
[data-theme="dark"] .account-card,
[data-theme="dark"] .giving-banner,
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background: #FFF"],
[data-theme="dark"] [style*="background:#FFF"],
[data-theme="dark"] [style*="background: #FFF;"],
[data-theme="dark"] [style*="background: #ffffff;"] {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-heading) !important;
}

[data-theme="dark"] .badge,
[data-theme="dark"] .loc-badge,
[data-theme="dark"] .schedule-day {
    background: rgba(229, 195, 101, 0.15) !important;
    color: var(--gold-primary) !important;
    border-color: rgba(229, 195, 101, 0.4) !important;
}

[data-theme="dark"] .tab-btn,
[data-theme="dark"] .filter-btn,
[data-theme="dark"] .give-tab-btn,
[data-theme="dark"] .category-btn {
    background: var(--bg-card) !important;
    color: var(--text-slate) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .tab-btn.active,
[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .give-tab-btn.active,
[data-theme="dark"] .category-btn.active {
    background: var(--gold-primary) !important;
    color: #070D1D !important;
    font-weight: 800 !important;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.3) !important;
}

/* Account Numbers & Bank Cards Typography */
[data-theme="dark"] .account-number,
[data-theme="dark"] .account-title,
[data-theme="dark"] .give-card h3,
[data-theme="dark"] .give-card span,
[data-theme="dark"] .account-card h3,
[data-theme="dark"] .account-card span {
    color: #FFFFFF !important;
}

/* 2. Testimonies Page (testimonies.html) */
[data-theme="dark"] .testimony-card,
[data-theme="dark"] .testimony-item {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

[data-theme="dark"] .testimony-card h4,
[data-theme="dark"] .testimony-card h5,
[data-theme="dark"] .testimony-card strong,
[data-theme="dark"] .testimony-card span {
    color: var(--text-heading) !important;
}

[data-theme="dark"] .testimony-card p {
    color: var(--text-slate) !important;
}

/* Section Background Fix for Testimonies & Giving */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .section-padding.bg-white,
[data-theme="dark"] section.bg-white {
    background-color: var(--bg-slate) !important;
}

/* 3. Form Cards & Inputs (submit-testimony.html, prayer.html, counselling.html, firsttimer.html, etc.) */
[data-theme="dark"] .form-card,
[data-theme="dark"] .form-container,
[data-theme="dark"] form,
[data-theme="dark"] .form-box {
    background-color: var(--bg-card) !important;
    color: var(--text-heading) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] label,
[data-theme="dark"] .form-label,
[data-theme="dark"] form h2,
[data-theme="dark"] form h3,
[data-theme="dark"] form h4 {
    color: var(--text-heading) !important;
    font-weight: 600 !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control-input,
[data-theme="dark"] .form-control-select {
    background-color: #0B1222 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #94A3B8 !important;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 14px rgba(229, 195, 101, 0.35) !important;
    outline: none !important;
}

/* --------------------------------------------------------------------------
   2. BASE & TYPOGRAPHY STYLES
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip !important;
    max-width: 100vw;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-navy);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: clip !important;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-primary);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.section-padding {
    padding: 70px 0;
}

.bg-slate {
    background-color: var(--bg-slate);
}

.bg-navy {
    background-color: var(--navy-primary);
    color: var(--text-white);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: #FFFFFF !important; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Section Headers */
.section-header {
    margin-bottom: 55px;
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sub-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-primary);
}

.main-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--navy-primary);
    letter-spacing: -0.8px;
    font-weight: 800;
}

.main-title.text-white,
.bg-navy .main-title,
.hero-section .main-title,
.hero-section-compact .main-title,
.page-hero .main-title,
.section-padding.bg-navy .main-title {
    color: #FFFFFF !important;
}

.sub-desc {
    color: var(--text-muted);
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    margin-top: 12px;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.heading-line {
    width: 60px;
    height: 4px;
    background: var(--gold-primary);
    margin: 20px auto 0;
    border-radius: var(--radius-full);
}

.highlight-gold {
    color: #E5C365;
    display: inline-block;
}

.gradient-text-gold {
    color: #E5C365;
    display: inline-block;
}

.gradient-text-white {
    color: #FFFFFF;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   3. REFINED BUTTONS & UI CONTROLS (AGHM Inspired)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    min-height: 38px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-hero {
    padding: 10px 22px;
    font-size: 0.88rem;
    min-height: 40px;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-height: 32px;
}

.btn-xs {
    padding: 4px 12px;
    font-size: 0.75rem;
    min-height: 28px;
}

.btn-block {
    width: 100%;
}

.btn-primary-solid {
    background: #1C3FAA;
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(28, 63, 170, 0.3);
}
.btn-primary-solid:hover {
    transform: translateY(-2px);
    background: #153288;
    box-shadow: 0 8px 20px rgba(28, 63, 170, 0.4);
}

.btn-navy-solid {
    background: #070D1D;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-navy-solid:hover {
    background: #0D1629;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 13, 29, 0.3);
}

.btn-navy-outline {
    background: transparent;
    border: 1px solid var(--navy-primary);
    color: var(--navy-primary);
    font-weight: 700;
}
.btn-navy-outline:hover {
    background: var(--navy-primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white-outline,
.header .btn-navy-outline,
.top-announcement-bar .btn-navy-outline,
.media-player-wrapper .btn-navy-outline,
.sermon-card .btn-navy-outline,
.footer .btn-navy-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-white);
    font-weight: 700;
}
.btn-white-outline:hover,
.header .btn-navy-outline:hover,
.top-announcement-bar .btn-navy-outline:hover,
.media-player-wrapper .btn-navy-outline:hover,
.sermon-card .btn-navy-outline:hover,
.footer .btn-navy-outline:hover {
    background: var(--text-white);
    color: var(--navy-primary);
    transform: translateY(-2px);
}

.btn-gold-solid {
    background: #E5C365;
    color: #070D1D;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.3);
    border: 1px solid #E5C365;
}
.btn-gold-solid:hover {
    transform: translateY(-2px);
    background: #D8B350;
    border-color: #D8B350;
    box-shadow: 0 8px 20px rgba(229, 195, 101, 0.4);
}

.btn-gold-outline {
    background: transparent;
    border: 1px solid #E5C365;
    color: var(--gold-primary);
    font-weight: 700;
}
.btn-gold-outline:hover {
    background: #E5C365;
    color: #070D1D;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-youtube-brand {
    background-color: #FF0000;
    color: #FFFFFF;
    font-weight: 700;
}
.btn-youtube-brand:hover {
    background-color: #D60000;
    transform: translateY(-2px);
}

.btn-facebook-brand {
    background-color: #1877F2;
    color: #FFFFFF;
    font-weight: 700;
}
.btn-facebook-brand:hover {
    background-color: #1464CC;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. TOP BAR & NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background: var(--navy-dark);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 10px 0;
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.announcement-text {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.bar-actions {
    display: flex;
    gap: 24px;
    white-space: nowrap;
}

.bar-link {
    color: var(--gold-primary);
    font-weight: 600;
}
.bar-link:hover {
    text-decoration: underline;
}

/* Header & Navbar */
.site-header,
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #040711;
    backdrop-filter: blur(16px);
    border-bottom: none !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: nowrap;
    width: 100%;
}

.logo,
.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img,
.brand-logo {
    height: 34px;
    width: auto;
    background: transparent;
}

.logo-text,
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--text-white);
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.brand-sub,
.brand-tagline {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item,
.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-item:hover,
.nav-menu a:hover,
.nav-item.active,
.nav-menu a.active {
    color: var(--gold-primary);
}

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 2px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: #0B1222;
    min-width: 230px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    z-index: 1010;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
    font-weight: 500;
}

.dropdown-menu a i {
    color: rgba(255, 255, 255, 0.5);
    width: 14px;
    font-size: 0.82rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-primary);
}

.dropdown-menu a:hover i {
    color: var(--gold-primary);
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-primary);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   THEME TOGGLE BUTTON STYLES
   -------------------------------------------------------------------------- */
.theme-toggle-btn {
    background: rgba(229, 195, 101, 0.14);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
    padding: 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    outline: none;
    user-select: none;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--gold-primary);
    color: #070D1D;
    box-shadow: 0 0 14px rgba(229, 195, 101, 0.5);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    position: absolute;
}

/* Light Theme state: Show Moon icon (click to switch to Dark mode) */
:root:not([data-theme="dark"]) .theme-toggle-btn .icon-sun,
[data-theme="light"] .theme-toggle-btn .icon-sun {
    transform: translateY(-24px) scale(0.5);
    opacity: 0;
}
:root:not([data-theme="dark"]) .theme-toggle-btn .icon-moon,
[data-theme="light"] .theme-toggle-btn .icon-moon {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Dark Theme state: Show Sun icon (click to switch to Light mode) */
[data-theme="dark"] .theme-toggle-btn .icon-sun {
    transform: translateY(0) scale(1);
    opacity: 1;
}
[data-theme="dark"] .theme-toggle-btn .icon-moon {
    transform: translateY(24px) scale(0.5);
    opacity: 0;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.menu-toggle-btn {
    display: none;
    color: var(--text-white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
    background: transparent;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & REFINED TAGS
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background: #040711;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    color: var(--text-white);
    padding: 80px 0;
    overflow: hidden;
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 7, 17, 0.45) 0%, rgba(4, 7, 17, 0.18) 45%, rgba(4, 7, 17, 0.02) 100%),
                linear-gradient(180deg, transparent 75%, rgba(4, 7, 17, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 820px;
}

.milestone-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    color: var(--gold-primary);
    padding: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.milestone-tag::before {
    content: '•';
    color: var(--gold-primary);
    font-size: 1rem;
    margin-right: 2px;
}

.hero-heading {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
    color: var(--text-white);
    line-height: 1.14;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
    font-weight: 800;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
    max-width: 580px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.hero-card-widget {
    background: #0D1629;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.hero-card-widget:hover {
    background: #111B33;
    border-color: rgba(229, 195, 101, 0.3) !important;
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1C3FAA 0%, #153288 100%);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(28, 63, 170, 0.3);
}

.widget-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #60A5FA;
    border-radius: 50%;
    box-shadow: 0 0 8px #60A5FA;
}

.widget-badge {
    display: inline-block;
    background: var(--royal-blue);
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.widget-title {
    color: var(--text-white);
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.widget-meta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-footer {
    margin-top: 22px;
}

/* --------------------------------------------------------------------------
   6. SENIOR PASTOR SECTION
   -------------------------------------------------------------------------- */
.pastor-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 55px;
    align-items: center;
}

.pastor-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(7, 13, 29, 0.25);
    border: 1px solid rgba(229, 195, 101, 0.25);
    transition: var(--transition);
}

.pastor-img-frame:hover {
    transform: scale(1.01);
    box-shadow: 0 30px 60px -10px rgba(7, 13, 29, 0.35), var(--shadow-gold);
}

.pastor-img-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.pastor-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 29, 0.95) 40%, rgba(7, 13, 29, 1) 100%);
    padding: 50px 26px 24px;
    color: var(--text-white);
}

.pastor-caption h3 {
    color: var(--text-white);
    font-size: 1.55rem;
    font-weight: 800;
}

.pastor-caption p {
    color: var(--gold-primary);
    font-size: 0.88rem;
    font-weight: 600;
}

.pastor-content h3 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    margin-bottom: 18px;
    font-weight: 800;
}

.pastor-quote {
    font-style: italic;
    font-size: clamp(1.02rem, 2.2vw, 1.18rem);
    color: var(--text-heading);
    border-left: 4px solid var(--gold-primary);
    padding-left: 20px;
    margin-bottom: 24px;
    line-height: 1.75;
    background: rgba(229, 195, 101, 0.06);
    padding: 18px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pastor-body-text {
    color: var(--text-slate);
    margin-bottom: 24px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.pastor-body-text p {
    margin-bottom: 14px;
}

.pastor-body-text p:last-child {
    margin-bottom: 0;
}

.pastor-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.pillar-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-slate);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--gold-primary);
    background: #FFF;
    box-shadow: var(--shadow-sm);
}

.pillar-icon {
    font-size: 1.4rem;
    color: var(--navy-primary);
    background: var(--gold-primary);
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(229, 195, 101, 0.3);
}

.pastor-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   7. SERVICES & LOCATION SECTION
   -------------------------------------------------------------------------- */
.schedules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.schedule-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.schedule-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.featured-card {
    border: 2px solid var(--gold-primary);
    box-shadow: 0 15px 35px -10px rgba(229, 195, 101, 0.2);
}

.schedule-day {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    background: var(--gold-soft);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}

.schedule-header h3 {
    font-size: 1.3rem;
    margin-top: 14px;
}

.schedule-body {
    margin: 18px 0;
}

.time-info, .location-info {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.desc-info {
    font-size: 0.9rem;
    color: var(--text-slate);
    margin-top: 10px;
}

.link-btn {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.location-box {
    background: var(--navy-primary);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.location-details {
    padding: 48px 40px 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.loc-badge {
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.location-heading {
    margin-bottom: 14px;
}

.location-map-link {
    color: var(--text-white);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.location-map-link:hover {
    color: var(--gold-primary);
}

.location-pointer-icon {
    color: var(--gold-primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-top: 4px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.location-map-link:hover .location-pointer-icon {
    transform: translateY(-4px) scale(1.15);
}

.loc-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.loc-contacts a,
.loc-contacts span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.loc-contacts a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

/* Localhost-Only Tools (Dev & Local Broadcast/Admin Controls) */
.localhost-only,
[data-localhost-only] {
    display: none !important;
}

html.is-localhost .localhost-only,
html.is-localhost [data-localhost-only] {
    display: inline-flex !important;
}

html.is-localhost .nav-menu .localhost-only,
html.is-localhost .mobile-nav-panel .localhost-only {
    display: flex !important;
    width: 100% !important;
}

/* Compact Prayer Lines (Brand Harmonized) */
.prayer-lines-compact {
    margin: 12px 0 20px 0;
}

.prayer-lines-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.prayer-lines-hint {
    display: none;
}

.prayer-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.prayer-pill-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 195, 101, 0.35);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.prayer-pill-gold i {
    color: var(--gold-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.prayer-pill-gold:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #070D1D;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.35);
}

.prayer-pill-gold:hover i {
    color: #070D1D;
}


.location-map-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    min-height: 340px;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.map-img-card-link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.map-card-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.map-photo-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(7, 13, 29, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 195, 101, 0.4);
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: var(--transition);
}

.map-photo-badge i {
    color: var(--gold-primary);
}

.map-img-card-link:hover .map-photo-badge {
    background: var(--gold-primary);
    color: #070D1D;
}

.map-img-card-link:hover .map-photo-badge i {
    color: #070D1D;
}

.map-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #070D1D 0%, rgba(7, 13, 29, 0.35) 35%, rgba(7, 13, 29, 0.82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
    color: #FFF;
    transition: background 0.3s ease;
}

.map-img-card-link:hover .map-card-overlay {
    background: linear-gradient(90deg, #070D1D 0%, rgba(7, 13, 29, 0.25) 35%, rgba(7, 13, 29, 0.90) 100%);
}

.badge-maps {
    align-self: flex-start;
    background: var(--gold-primary);
    color: #070D1D;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(229, 195, 101, 0.4);
}

.map-card-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 2px;
}

.map-card-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   8. MEDIA & DUAL LIVESTREAM HUB (SLEEK ERROR-FREE CARDS)
   -------------------------------------------------------------------------- */
.media-player-wrapper {
    background: #090F1E;
    border-radius: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(4, 7, 17, 0.4);
}

.player-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold-primary);
    background: rgba(229, 195, 101, 0.08);
    border: 1px solid rgba(229, 195, 101, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.status-dot {
    width: 9px;
    height: 9px;
    background-color: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 10px #22C55E;
}

.source-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.toggle-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.source-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.source-btn.active {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: var(--text-white);
}

/* Custom Live Stream Broadcast Hub Poster */
.stream-hub-card {
    position: relative;
    background: url('../images/hero.png') no-repeat center center/cover;
    min-height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hub-overlay {
    position: absolute;
    inset: 0;
    background: #0A1128;
    z-index: 1;
}

.hub-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.hub-live-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hub-title {
    color: var(--text-white);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-top: 10px;
}

.hub-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-top: 8px;
}

.hub-action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.player-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    color: var(--text-white);
    flex-wrap: wrap;
    gap: 15px;
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.sermon-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sermon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sermon-thumb-box {
    position: relative;
    height: 175px;
}

.sermon-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: #FFF;
    font-size: 0.72rem;
    padding: 3px 7px;
    border-radius: 4px;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 17, 40, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

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

.sermon-card-content {
    padding: 18px;
}

.sermon-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-primary, #D4AF37) !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.sermon-card-content h4 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-heading, #FFFFFF) !important;
    margin: 4px 0 8px;
    transition: color 0.2s ease;
}

.sermon-card-content h4:hover {
    color: var(--gold-primary, #D4AF37) !important;
}

.speaker {
    font-size: 0.84rem;
    color: var(--text-slate, #CBD5E1) !important;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   9. GIVING BANNER & PAYSTACK MODAL
   -------------------------------------------------------------------------- */
.giving-banner {
    background: #0A1128;
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
    gap: 30px;
}

.banner-sub {
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
}

.giving-banner-text h2 {
    color: #FFFFFF !important;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 8px 0 12px;
}

.giving-banner-text p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   10. DAILY AUDIO PROGRAM PORTAL
   -------------------------------------------------------------------------- */
.audio-widget-card {
    background: #070D1D;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-player-core {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.audio-icon-box {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #E5C365 0%, #B59336 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #070D1D;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(229, 195, 101, 0.25);
}

.playing-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 8px #22C55E;
    display: inline-block;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.audio-meta h3 {
    color: var(--text-white);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin: 4px 0 2px;
}

.audio-meta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.audio-seekbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
}

.time-display {
    font-family: monospace, sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    min-width: 42px;
}

.range-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(229, 195, 101, 0.6);
    transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.range-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(229, 195, 101, 0.6);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-ctrl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-ctrl:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold-primary);
    transform: translateY(-1px);
}

.btn-play-pause {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #070D1D;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(229, 195, 101, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-play-pause:hover {
    transform: scale(1.06);
    background: #F0D37E;
}

.btn-yt-download {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.btn-yt-download:hover {
    background: var(--gold-primary);
    color: #070D1D;
    border-color: var(--gold-primary);
}

.audio-playlist-box {
    margin-top: 24px;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-header h4 {
    color: #FFF;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.playlist-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-primary);
    background: rgba(229, 195, 101, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(229, 195, 101, 0.25);
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.playlist-track-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-track-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.playlist-track-row.active {
    background: rgba(229, 195, 101, 0.12);
    border-color: rgba(229, 195, 101, 0.35);
}

.track-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.playlist-track-row.active .track-thumb {
    background: var(--gold-primary);
    color: #070D1D;
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.track-title {
    color: #FFF;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-track-row.active .track-title {
    color: var(--gold-primary);
}

.track-speaker {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.play-hover-icon {
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--gold-primary);
}

.playlist-track-row:hover .play-hover-icon {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   11. EVENTS & CONVENTIONS SECTION
   -------------------------------------------------------------------------- */
.events-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 26px;
}

.event-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.featured-event {
    border: 2px solid var(--gold-primary);
}

.event-thumb {
    position: relative;
    height: 195px;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold-primary);
    color: var(--navy-primary);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.free-tag {
    background: var(--royal-blue);
    color: #FFF;
}

.event-content {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.event-date {
    background: rgba(28, 63, 170, 0.08);
    color: var(--royal-blue);
    padding: 10px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
    height: fit-content;
    flex-shrink: 0;
}

.event-date .month {
    font-size: 0.72rem;
    font-weight: 800;
    display: block;
}

.event-date .day {
    font-size: 1.3rem;
    font-weight: 900;
}

.event-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.loc-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.desc-text {
    font-size: 0.88rem;
    color: var(--text-slate);
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   12. DEVOTIONALS & LUXURIOUS EMAIL SUBSCRIPTION BOX
   -------------------------------------------------------------------------- */
.devotional-date-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-slate);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.date-picker-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-picker-box label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-primary);
}

.devotional-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.devotional-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--gold-primary);
}

.dev-date {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
}

.dev-scripture {
    background: var(--bg-slate);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.dev-scripture p {
    font-size: 1.08rem;
    font-style: italic;
    color: var(--navy-primary);
    line-height: 1.7;
}

.dev-scripture cite {
    display: block;
    font-weight: 700;
    color: var(--royal-blue);
    margin-top: 8px;
    font-style: normal;
}

.dev-prayer {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.dev-prayer h4 {
    color: var(--royal-blue);
    font-size: 1rem;
    margin-bottom: 6px;
}

/* Luxurious Devotional Newsletter Email Subscription Box */
/* Minimalist Compact Button Helpers */
.btn-group-tight {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-compact {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: none !important;
}

/* Minimalist Devotional Newsletter & WhatsApp Subscription Box */
.newsletter-card {
    background: #090d16;
    color: var(--text-white);
    padding: 38px 28px;
    border-radius: 16px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.newsletter-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: none;
}

.newsletter-inner h3 {
    color: var(--text-white);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-top: 8px;
    font-weight: 700;
}

.newsletter-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    margin-top: 4px;
}

.form-grid-subscription {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    max-width: 820px;
    margin: 22px auto 0;
}

.phone-input-group {
    display: flex;
    gap: 6px;
}

.country-select {
    width: auto !important;
    min-width: 90px;
    padding: 9px 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.input-with-icon {
    position: relative;
    flex: 1;
    width: 100%;
}

.whatsapp-field-wrap {
    position: relative;
    flex: 1;
}

.whatsapp-icon-color {
    color: #25D366 !important;
}

.input-lead-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 0.95rem;
    z-index: 2;
    pointer-events: none;
}

.newsletter-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    font-size: 0.88rem;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus, .country-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.07);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.subscription-channels-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
}

.pref-label {
    font-weight: 600;
    color: var(--gold-primary);
}

.channel-chip {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.channel-chip input[type="checkbox"] {
    display: none;
}

.chip-box {
    padding: 5px 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
    user-select: none;
}

.channel-chip input[type="checkbox"]:checked + .chip-box {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #fff;
    box-shadow: none;
}

.whatsapp-chip {
    border-color: rgba(37, 211, 102, 0.2);
}

.channel-chip input[type="checkbox"]:checked + .whatsapp-chip {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #fff;
    box-shadow: none;
}

.btn-newsletter-v2 {
    padding: 9px 24px;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 14px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-primary);
    color: #090d16;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-newsletter-v2:hover {
    opacity: 0.9;
    transform: none;
    box-shadow: none;
}

.whatsapp-direct-box {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
}

.btn-whatsapp-link {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366 !important;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.78rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.btn-whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.22);
    transform: none;
}

/* Admin Broadcast & WhatsApp Bot Modal */
.admin-tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.admin-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.admin-tab-btn.active {
    color: var(--navy-primary);
    border-bottom-color: var(--gold-primary);
}

.sub-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sub-table th, .sub-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.sub-table th {
    background: #f8fafc;
    color: var(--navy-primary);
    font-weight: 700;
}

/* Live WhatsApp Chat Simulator */
.whatsapp-simulator-box {
    background: #efeae2;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 460px;
}

.sim-header {
    background: #075e54;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #075e54;
}

.sim-chat-window {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 16px 16px;
}

.sim-msg-user {
    align-self: flex-end;
    background: #dcf8c6;
    color: #111b21;
    padding: 10px 14px;
    border-radius: 12px 0 12px 12px;
    max-width: 80%;
    font-size: 0.92rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: pre-wrap;
}

.sim-msg-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #111b21;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    max-width: 85%;
    font-size: 0.92rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: pre-wrap;
    line-height: 1.5;
}

.sim-input-box {
    display: flex;
    padding: 10px 14px;
    background: #f0f2f5;
    gap: 8px;
}

.sim-input-box input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    outline: none;
}

/* --------------------------------------------------------------------------
   13. CLOUD VAULT PHOTO GALLERY
   -------------------------------------------------------------------------- */
.gallery-controls {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
}

.gallery-controls::-webkit-scrollbar {
    display: none;
}

.gallery-filter-btn {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #334155;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    max-width: 100%;
}

[data-theme="dark"] .gallery-filter-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F8FAFC;
}

.gallery-filter-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    color: #D4AF37;
    border-color: #D4AF37;
}

.gallery-filter-btn.active {
    background: #D4AF37 !important;
    color: #040711 !important;
    border-color: #D4AF37 !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.gallery-container, .gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: #000;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-tile:hover {
    transform: scale(1.03);
    border-color: var(--gold-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-tile:hover img {
    transform: scale(1.06);
}

.tile-caption {
    display: none !important;
}

/* --------------------------------------------------------------------------
   14. DEPARTMENT PORTAL
   -------------------------------------------------------------------------- */
.dept-workspace-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.dept-navigation {
    display: flex;
    background: var(--navy-primary);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dept-navigation::-webkit-scrollbar {
    display: none;
}

.dept-nav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.dept-nav-btn.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.05);
}

.dept-content-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    padding: 30px;
}

.dept-announcements {
    border-right: 1px solid var(--border-color);
    padding-right: 25px;
}

.announcement-card {
    background: var(--bg-slate);
    padding: 14px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    border-left: 3px solid var(--royal-blue);
}

.announcement-card .date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dept-chat-room {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chat-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.online-indicator {
    font-size: 0.78rem;
    color: #22C55E;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-bubble {
    background: var(--bg-slate);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    max-width: 90%;
}

.sender {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--royal-blue);
    display: block;
}

.time {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.chat-form {
    display: flex;
    gap: 10px;
    padding-top: 10px;
}

.chat-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   15. BOOKSTORE SECTION
   -------------------------------------------------------------------------- */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.book-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.book-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.book-header-badge {
    height: 160px;
    background: var(--navy-primary);
    color: var(--gold-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.oil-bg { background: #451A03; }
.audio-bg { background: #064E3B; }

.book-type-icon {
    font-size: 3rem;
    margin-bottom: 6px;
}

.book-body {
    padding: 22px;
}

.author {
    font-size: 0.85rem;
    color: var(--royal-blue);
    font-weight: 600;
}

.desc {
    font-size: 0.88rem;
    color: var(--text-slate);
    margin: 8px 0 16px;
}

.book-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-primary);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer-section {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold-primary);
    color: var(--navy-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   17. MODAL OVERLAYS & DIALOGS
   -------------------------------------------------------------------------- */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 9, 21, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.modal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalSlide 0.3s ease-out;
}

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

.modal-header {
    background: var(--navy-primary);
    color: #FFF;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 { color: #FFF; font-size: 1.15rem; }

.modal-close-btn {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control-input, .form-control-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.category-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-radio {
    flex: 1;
    min-width: 90px;
    padding: 9px;
    background: var(--bg-slate);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.cat-radio.active {
    background: rgba(28, 63, 170, 0.1);
    border-color: var(--royal-blue);
    color: var(--royal-blue);
}

.currency-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preset-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-chip {
    background: var(--bg-slate);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.paystack-secure-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin: 14px 0;
}

.receipt-card {
    text-align: center;
    padding: 15px 0;
}

.receipt-check-icon {
    font-size: 3.5rem;
    color: #22C55E;
    margin-bottom: 10px;
}

.receipt-meta {
    background: var(--bg-slate);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: left;
    font-size: 0.9rem;
}

.barcode-box {
    background: var(--bg-slate);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.barcode-icon {
    font-size: 3.2rem;
    color: var(--navy-primary);
}

/* Lightbox Card */
.lightbox-card {
    max-width: 850px;
    background: transparent;
    box-shadow: none;
    position: relative;
    max-height: 95vh;
}

.lightbox-card img {
    max-height: 70vh;
    border-radius: var(--radius-md);
    margin: 0 auto;
    object-fit: contain;
}

.lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-menu { gap: 24px; }
    .hero-layout { gap: 40px; }
    .pastor-layout { gap: 40px; }
    .btn-group-tight,
    .nav-actions .btn-group-tight {
        display: none !important;
    }
    .schedules-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .events-grid { grid-template-columns: 1fr 1fr; }
    .featured-event { grid-column: span 2; }
}

/* GLOBAL FILTER BAR (COMPACT ENCLOSED MOBILE SELECTOR & DESKTOP PILLS) */
.filter-bar-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.filter-mobile-box {
    display: none;
    align-items: center;
    gap: 10px;
    background: #0A1128;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.filter-label {
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.filter-select-dropdown {
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100%;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.filter-select-dropdown option {
    background: #0A1128;
    color: #FFFFFF;
}

.filter-desktop-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 992px) {
    .section-padding { padding: 36px 0 !important; }
    
    .filter-mobile-box { display: flex !important; }
    .filter-desktop-pills { display: none !important; }

    .section-header { margin-bottom: 18px !important; }
    .section-header .sub-title { font-size: 0.75rem !important; letter-spacing: 1.5px !important; margin-bottom: 2px !important; }
    .section-header .main-title { font-size: 1.6rem !important; margin-top: 2px !important; margin-bottom: 4px !important; }
    .section-header .sub-desc { font-size: 0.85rem !important; line-height: 1.4 !important; margin-top: 2px !important; }
    .heading-line { margin: 8px auto 16px !important; }
    
    .hero-layout,
    .dept-content-layout {
        grid-template-columns: 1fr !important;
    }

    /* SENIOR PASTOR SECTION MOBILE STACK */
    .pastor-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        width: 100% !important;
    }

    .pastor-media {
        width: 100% !important;
        max-width: 420px;
        margin: 0 auto;
    }

    .pastor-img-frame {
        width: 100% !important;
        height: auto !important;
    }

    .pastor-img-frame img {
        width: 100% !important;
        height: auto !important;
        max-height: 440px !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .pastor-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .pastor-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pastor-buttons .btn {
        width: 100%;
    }

    /* WORSHIP LOCATION BOX MOBILE STACK */
    .location-box {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: var(--radius-lg) !important;
    }

    .location-details {
        padding: 28px 20px 22px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .loc-badge {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 8px !important;
    }

    .location-heading {
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    .location-map-link {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .location-map-link span {
        display: inline !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .location-pointer-icon {
        font-size: 1.35rem !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }

    .location-details p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        word-break: normal !important;
    }

    .loc-contacts {
        margin: 0 0 16px 0 !important;
        width: 100% !important;
    }

    .loc-contacts a {
        font-size: 0.85rem !important;
        word-break: break-all !important;
    }

    /* Elegant Mobile Prayer Lines Layout */
    .prayer-lines-compact {
        margin: 12px 0 18px 0 !important;
        width: 100% !important;
    }

    .prayer-lines-label {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        letter-spacing: 1.2px !important;
        margin-bottom: 10px !important;
    }

    .prayer-pills-wrap {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .prayer-pill-gold {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(229, 195, 101, 0.35) !important;
        color: #FFFFFF !important;
        padding: 7px 12px !important;
        border-radius: 20px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        flex: 1 1 calc(50% - 6px) !important;
        box-sizing: border-box !important;
        transition: var(--transition) !important;
    }

    .prayer-pill-gold:last-child {
        flex: 1 1 100% !important;
    }

    .prayer-pill-gold i {
        color: #25D366 !important;
        font-size: 0.95rem !important;
    }

    .prayer-pill-gold:hover {
        background: var(--gold-primary) !important;
        color: #070D1D !important;
    }

    .prayer-pill-gold:hover i {
        color: #070D1D !important;
    }

    /* Mobile Get Directions Action Button */
    .loc-details-btn {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 12px 20px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        background: #E5C365 !important;
        color: #070D1D !important;
        border-radius: var(--radius-md) !important;
        margin-top: 4px !important;
        box-shadow: 0 4px 14px rgba(229, 195, 101, 0.3) !important;
        text-decoration: none !important;
    }

    .location-map-card {
        width: 100% !important;
        min-height: 220px !important;
        height: 220px !important;
        border-radius: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .map-card-img {
        width: 100% !important;
        min-height: 220px !important;
        height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .map-card-text {
        display: none !important; /* Hide duplicate address text on mobile */
    }

    .badge-maps {
        margin-bottom: 0 !important;
        align-self: center !important;
        padding: 9px 20px !important;
        font-size: 0.84rem !important;
        box-shadow: 0 6px 18px rgba(229, 195, 101, 0.5) !important;
    }

    .schedules-grid,
    .sermons-grid,
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-container { grid-template-columns: repeat(3, 1fr); }
    
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-col.brand-col { grid-column: span 3; }
    
    .dept-announcements {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .top-announcement-bar { padding: 8px 0; }
    .announcement-text { font-size: 0.75rem; text-align: center; width: 100%; }
    .bar-actions { display: none; }
    
    .navbar { position: relative; }


    .hero-section {
        min-height: calc(100vh - 65px);
        min-height: calc(100dvh - 65px);
        display: flex;
        align-items: center;
        padding: 35px 0;
    }
    .hero-heading { font-size: 2.1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        text-align: center;
    }

    .hero-card-widget { padding: 22px; }

    .schedules-grid,
    .sermons-grid,
    .events-grid,
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-event { grid-column: span 1; }

    .giving-banner {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
    }

    .banner-features { justify-content: center; }
    .giving-banner-action { width: 100%; }
    .giving-banner-action .btn { width: 100%; }

    .audio-widget-card { padding: 20px 16px; }
    .audio-player-core { padding: 18px 14px; }
    
    .now-playing { flex-direction: row; gap: 14px; }
    .audio-icon-box { width: 50px; height: 50px; font-size: 1.5rem; }

    .gallery-container, .gallery-grid-full { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .gallery-tile { height: auto; border-radius: 8px; }

    .devotional-card { padding: 24px 18px; }
    .newsletter-card { padding: 30px 18px; }
    .newsletter-form-box { flex-direction: column; }
    .newsletter-form-box .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-col.brand-col { grid-column: span 1; }
}

@media (max-width: 480px) {
    .brand-name { font-size: 1.15rem; }
    .brand-tagline { font-size: 0.6rem; }
    
    .hero-heading { font-size: 1.85rem; }
    .sub-title { font-size: 0.78rem; }
    
    .hero-metrics { grid-template-columns: 1fr 1fr 1fr; }
    .metric-value { font-size: 1.6rem; }
    .metric-label { font-size: 0.72rem; }

    .category-radio-group .cat-radio { flex: 1 1 45%; }
    .currency-row { flex-direction: column; }
    .preset-buttons { width: 100%; justify-content: space-between; }
    
    .gallery-container, .gallery-grid-full { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .gallery-tile { height: auto; border-radius: 6px; }
}



/* ==========================================
   AGHM CLEAN RESPONSIVE HEADER & NAVIGATION
   ========================================== */
.header,
.site-header,
.admin-header {
    background: var(--header-bg) !important;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform;
}

.header.header-pinned,
.site-header.header-pinned,
.admin-header.header-pinned {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.header.header-hidden,
.site-header.header-hidden,
.admin-header.header-hidden {
    transform: translateY(-100%) !important;
    box-shadow: none !important;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.logo-img {
    height: 42px !important;
    width: auto !important;
    max-height: 42px !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--header-text) !important;
    letter-spacing: 0.5px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.brand-sub {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: #D4AF37 !important;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* DESKTOP NAVIGATION (>1024px) */
@media (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }

    .mobile-cta-item {
        display: none !important;
    }

    .nav-actions .nav-btn-desktop {
        display: inline-flex !important;
    }

    .nav-menu {
        display: flex !important;
        align-items: center;
        gap: 2px;
        list-style: none;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
    }

    .nav-menu li {
        position: relative;
        white-space: nowrap;
    }

    .nav-menu li a {
        color: var(--header-text) !important;
        font-weight: 600 !important;
        font-size: 0.88rem !important;
        padding: 6px 10px !important;
        text-decoration: none !important;
        transition: all 0.2s ease;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        color: #D4AF37 !important;
        background: rgba(255, 255, 255, 0.08);
    }

    .dropdown-toggle i,
    .nav-menu .fa-chevron-down {
        font-size: 0.62rem !important;
        margin-left: 2px;
        opacity: 0.7;
        transition: transform 0.25s ease, opacity 0.25s ease;
        display: inline-block;
    }

    .dropdown:hover .dropdown-toggle i,
    .dropdown:hover .fa-chevron-down {
        opacity: 1;
        transform: rotate(180deg);
    }

    /* DROPDOWN MENUS */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--dropdown-bg) !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border-radius: 8px;
        min-width: 220px;
        padding: 6px 0;
        z-index: 1001;
        list-style: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        color: var(--dropdown-text) !important;
        padding: 8px 16px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 8px;
        font-size: 0.85rem !important;
        border-radius: 0 !important;
        width: 100%;
    }

    .dropdown-menu li a i {
        order: 2;
        margin-left: auto;
    }

    .dropdown-menu li a:hover {
        background: rgba(212, 175, 55, 0.15) !important;
        color: #D4AF37 !important;
    }
}

/* BODY SCROLL LOCK WHEN MOBILE MENU IS OPEN */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* MOBILE & TABLET NAVIGATION (<=1024px) */
@media (max-width: 1024px) {
    .nav-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .btn-group-tight,
    .nav-actions .btn-group-tight,
    .nav-actions .nav-btn-desktop {
        display: none !important; /* Hide floating buttons from top bar on mobile */
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(212, 175, 55, 0.4) !important;
        color: var(--header-text) !important;
        font-size: 1.3rem !important;
        width: 44px;
        height: 42px;
        border-radius: 8px !important;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .menu-toggle:hover,
    .menu-toggle:active {
        background: rgba(212, 175, 55, 0.2) !important;
        border-color: #D4AF37 !important;
        color: #D4AF37 !important;
    }

    .nav-menu {
        display: none;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--mobile-menu-bg) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 3px solid #D4AF37 !important;
        flex-direction: column !important;
        padding: 20px 24px 36px !important;
        gap: 8px !important;
        list-style: none !important;
        margin: 0 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95) !important;
        z-index: 999999 !important;
        max-height: 80vh !important;
        max-height: 80dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-menu li a {
        color: var(--header-text) !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding: 12px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .dropdown-toggle i,
    .nav-menu .fa-chevron-down {
        font-size: 0.7rem !important;
        opacity: 0.75;
        order: 2;
        margin-left: auto;
        transition: transform 0.25s ease !important;
    }

    .dropdown.active > .dropdown-toggle i,
    .dropdown.active > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg) !important;
        color: #D4AF37 !important;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(212, 175, 55, 0.12) !important;
        color: #D4AF37 !important;
    }

    .dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .dropdown-toggle .fa-chevron-down {
        padding: 6px 12px !important;
        margin-left: auto !important;
        font-size: 0.9rem !important;
        cursor: pointer !important;
        transition: transform 0.3s ease !important;
    }

    .dropdown.active > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg) !important;
        color: var(--gold-primary) !important;
    }

    .dropdown-menu {
        position: static !important;
        display: none !important;
        flex-direction: column !important;
        background: var(--bg-slate, rgba(0, 0, 0, 0.04)) !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid var(--gold-primary, #D4AF37) !important;
        padding-left: 8px !important;
        margin: 4px 0 8px 10px !important;
        border-radius: 0 8px 8px 0 !important;
    }

    [data-theme="dark"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .dropdown.active > .dropdown-menu {
        display: flex !important;
    }

    .dropdown-menu li {
        width: 100% !important;
    }

    .dropdown-menu li a {
        font-size: 0.9rem !important;
        padding: 10px 14px !important;
        color: var(--text-heading, #070D1D) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-weight: 500 !important;
    }

    [data-theme="dark"] .dropdown-menu li a {
        color: #F8FAFC !important;
    }

    .dropdown-menu li a:hover {
        color: var(--gold-primary, #D4AF37) !important;
        background: rgba(212, 175, 55, 0.12) !important;
    }

    .mobile-cta-item {
        display: block !important;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-give-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        border-radius: 30px !important;
        box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
    }
}

/* --------------------------------------------------------------------------
   HERO-01 ADAPTATION STYLES: AVATAR STACK & MARQUEE SLIDER
   -------------------------------------------------------------------------- */
.avatar-proof-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(13, 22, 41, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 18px 6px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(229, 195, 101, 0.3);
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.avatar-img:first-child {
    margin-left: 0;
}

.avatar-proof-info {
    display: flex;
    flex-direction: column;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #F59E0B;
    font-size: 0.75rem;
}

.rating-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.72rem;
    margin-left: 4px;
}

.proof-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Brand Marquee Slider */
.brand-slider-section {
    background: #040711;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}

.brand-slider-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.brand-slider-track:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0.85;
    transition: var(--transition);
}
.brand-item:hover {
    opacity: 1;
    color: var(--gold-primary);
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229, 195, 101, 0.12);
    border: 1px solid rgba(229, 195, 101, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   CUSTOM TOAST & POPUP MODAL STYLES
   -------------------------------------------------------------------------- */
.aghm-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.aghm-custom-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #070D1D;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-radius: 14px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aghm-custom-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.aghm-custom-toast .toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.aghm-custom-toast.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.aghm-custom-toast .toast-body {
    flex: 1;
    min-width: 0;
}

.aghm-custom-toast .toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #D4AF37;
    margin: 0 0 2px 0;
}

.aghm-custom-toast .toast-message {
    font-size: 0.78rem;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.4;
}

.aghm-custom-toast .toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.aghm-custom-toast .toast-close:hover {
    color: #ffffff;
}

/* Custom Modal Alert Overlay */
.aghm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 13, 29, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.aghm-modal-box {
    background: #0B132B;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    text-align: center;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.aghm-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px auto;
}

.aghm-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.aghm-modal-msg {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.aghm-modal-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    background: #D4AF37;
    color: #070D1D;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.aghm-modal-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Custom Input Icon Alignment & Placeholder Fix */
.input-with-icon, .whatsapp-field-wrap {
    position: relative !important;
    flex: 1 !important;
    width: 100% !important;
}

.input-lead-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--gold-primary) !important;
    font-size: 0.85rem !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.newsletter-input {
    width: 100% !important;
    padding-left: 42px !important;
    padding-right: 14px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--text-white) !important;
    font-size: 0.85rem !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.82rem !important;
}

.country-select option {
    background-color: #0b1329 !important;
    color: #ffffff !important;
    padding: 8px !important;
}

/* Vision, Nature, & Tenets Section Styles */
.vision-tenets-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .vision-tenets-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Dark Mode Contrast Fixes for Pastor Section & Buttons */
[data-theme="dark"] .main-title {
    color: #FFFFFF !important;
}

[data-theme="dark"] .pastor-quote {
    color: #F8FAFC !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: 4px solid var(--gold-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .pastor-body-text,
[data-theme="dark"] .pastor-body-text p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .btn-navy-outline {
    background: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .btn-navy-outline:hover {
    background: #FFFFFF !important;
    color: #070D1D !important;
    border-color: #FFFFFF !important;
}

[data-theme="dark"] .btn-navy-solid {
    background: #1C3FAA !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .btn-navy-solid:hover {
    background: #254EDC !important;
    box-shadow: 0 6px 18px rgba(28, 63, 170, 0.5) !important;
}





/* Sleek, proportional mobile buttons (not overly round or oversized) */
@media (max-width: 768px) {
    .btn,
    .gallery-filter-btn,
    .btn-compact,
    .btn-hero,
    .btn-newsletter-v2,
    .source-btn,
    .aghm-pill,
    .aghm-action-btn,
    .aghm-modal-btn {
        border-radius: 8px !important;
        padding: 9px 16px !important;
        font-size: 0.84rem !important;
        min-height: 38px !important;
        letter-spacing: 0.1px;
    }

    .btn-sm,
    .btn-xs {
        border-radius: 6px !important;
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
        min-height: 32px !important;
    }
}

