/* ===== REDEFINITION MINISTRIES — Brand System Overrides ===== */
/* Integrates with design-system.css — must be loaded AFTER it */
@import url('./design-system.css');

:root {
    /* Legacy aliases → new brand values */
    --primary-dark: #0F2347;
    --primary-navy: #1A3A6E;
    --accent-gold: #E87722;
    --accent-amber: #F59340;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-dark: #374151;
    --gradient-gold: linear-gradient(135deg, #C55F10 0%, #E87722 60%, #F59340 100%);
    --gradient-dark: linear-gradient(135deg, #0F2347 0%, #1A3A6E 100%);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 0 20px rgba(232, 119, 34, 0.3);
}

/* Body defaults for public pages */
body:not(.admin-body) {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
}

:root {
    --primary-dark: #0F172A;
    --primary-navy: #1E293B;
    --accent-gold: #D97706;
    --accent-amber: #F59E0B;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-dark: #374151;
    --gradient-gold: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 0 20px rgba(217, 119, 6, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--white);
    overflow-x: hidden;
}



/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-weight: 700;

    line-height: 1.2;

}



h1 {

    font-size: 4rem;

    letter-spacing: -0.02em;

}



h2 {

    font-size: 3rem;

    margin-bottom: 1.5rem;

}



.highlight {

    color: var(--accent-gold);

    position: relative;

    display: inline-block;

}



/* Navigation */

.navbar {

    position: fixed;

    top: 0;

    width: 100%;

    z-index: 1000;

    padding: 1rem 0;

    transition: all 0.3s ease;

    background: transparent;

}



.navbar.scrolled {

    background: rgba(15, 23, 42, 0.95);

    backdrop-filter: blur(10px);

    padding: 0.5rem 0;

    /* Mobile: show pastor-image as background and overlay content */
    .pastor-grid {
        position: relative;
    }

    .pastor-image {
        width: 100%;
        min-height: 320px;
        background-size: cover;
        background-position: center;
        border-radius: 16px;
    }

    .pastor-image img {
        display: none;
    }

    .pastor-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.45);
        color: #ffffff;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        max-width: 92%;
        box-shadow: 0 8px 30px rgba(2, 6, 23, 0.5);
    }

    .pastor-content h2,
    .pastor-content p,
    .pastor-content .section-tag {
        color: #FFFFFF;
    }

    box-shadow: var(--shadow-md);

}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
}

.home-page .navbar {
    background: blue;
}

.home-page .navbar.scrolled {
    background: rgba(15, 23, 42, 0.6);
    box-shadow: none;
}

.home-page .navbar.nav-visible {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-md);
}

.home-page .logo-icon img {
    width: 90px;
    height: 35px;
    object-fit: contain;
}

.home-page .search-btn {
    border: 2px solid #DC2626;
    background: transparent;
    color: #FFFFFF;
}

.home-page .search-btn:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: #F87171;
}

.home-page .giving-btn {
    background: #F59E0B;
    color: #FFFFFF;
}

.home-page .giving-btn:hover {
    filter: brightness(1.05);
}

.home-page .live-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-page .live-indicator.active {
    animation: pulse-redgreen 1.4s infinite;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12);
}

@keyframes pulse-redgreen {

    0%,
    100% {
        background: #EF4444;
        transform: scale(1);
    }

    50% {
        background: #10B981;
        transform: scale(1.2);
    }
}

.home-page .hamburger {
    min-width: 36px;
    min-height: 36px;
}

.home-page .hamburger span {
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 1px;
}

.home-page .mobile-menu {
    background: rgba(15, 23, 42, 0.95);
}



.nav-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 0 2rem;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo a {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    text-decoration: none;

}



.logo {

    display: flex;

    align-items: center;

    gap: 0.75rem;

}



.logo-icon {

    position: relative;

    width: 38px;

    height: 38px;

    flex-shrink: 0;

}



.logo-icon img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}



.logo-text {

    display: flex;

    flex-direction: column;

    gap: 0.1rem;

}



.logo-name {

    font-size: 1rem;

    font-weight: 700;

    color: var(--white);

    line-height: 1.1;

}



.logo-tagline {

    font-size: 0.7rem;

    color: var(--accent-gold);

    font-weight: 500;

    line-height: 1;

}



.logo-icon i {

    position: absolute;

    font-size: 2rem;

}



.logo-icon .fa-fire {

    color: var(--accent-gold);

    top: 0;

    left: 0;

    animation: flameFlicker 2s infinite;

}



.logo-icon .fa-dove {

    color: var(--white);

    bottom: -5px;

    right: -5px;

    font-size: 1.2rem;

}



.logo-text {

    display: flex;

    flex-direction: column;

}



.logo-name {

    font-size: 0.95rem;

    font-weight: 800;

    letter-spacing: 2px;

    background: var(--gradient-gold);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.logo-tagline {

    font-size: 0.65rem;

    letter-spacing: 3px;

    color: var(--white);

}



.nav-links {

    display: flex;

    gap: 2rem;

    align-items: center;

}



.nav-links a {

    color: var(--white);

    text-decoration: none;

    font-weight: 500;

    transition: all 0.3s ease;

    position: relative;

}



.nav-links a:hover,

.nav-links a.active {

    color: var(--accent-gold);

}



.nav-buttons {

    display: flex;

    gap: 1rem;

    align-items: center;

    flex-wrap: wrap;

}



.nav-buttons button,

.nav-buttons .giving-btn,

.nav-buttons .live-btn {

    white-space: nowrap;

    flex-shrink: 0;

}



.nav-links a::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--accent-gold);

    transition: width 0.3s ease;

}



.nav-links a:hover::after,

.nav-links a.active::after {

    width: 100%;

}



/* Dropdown */
.dropdown {

    position: relative;

}

/* User initial badge in nav */
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none
}

.user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45), 0 0 14px rgba(255, 255, 255, 0.06) inset;
}

.dropdown-toggle i {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem
}



.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 0;

    background: var(--primary-navy);

    min-width: 200px;

    border-radius: 8px;

    padding: 0.5rem 0;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.3s ease;

    box-shadow: var(--shadow-md);

}



.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}



.dropdown-menu a {

    display: block;

    padding: 0.5rem 1rem;

    color: var(--white);

}



/* Navigation Buttons */

.live-btn,
.giving-btn {

    padding: 0.5rem 1.25rem;

    border-radius: 50px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    border: none;

    font-size: 0.9rem;

}



.live-btn {

    background: rgba(220, 38, 38, 0.2);

    color: #EF4444;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.live-indicator {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    display: inline-block;

}



.live-indicator.active {

    background: #EF4444;

    animation: pulse 1.5s infinite;

}



.live-indicator.inactive {

    background: #6B7280;

}



.giving-btn {

    background: var(--gradient-gold);

    color: var(--white);

}



.giving-btn:hover {

    transform: translateY(-2px);

    box-shadow: var(--shadow-gold);

}



/* Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.875rem 2rem;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.3s ease;

    cursor: pointer;

    border: none;

    font-size: 1rem;

}



.btn-primary {

    background: var(--gradient-gold);

    color: var(--white);

}



.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: var(--shadow-gold);

}



.btn-outline {

    background: transparent;

    border: 2px solid var(--accent-gold);

    color: var(--white);

}



.btn-outline:hover {

    background: var(--accent-gold);

    transform: translateY(-2px);

}



.section-header {

    margin-bottom: 2rem;
    color: var(--navy-blue);

}



.section-header h2 {

    font-size: 2.5rem;

    letter-spacing: -0.02em;

}



.card-panel {

    background: rgba(15, 23, 42, 0.9);

    border: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(16px);

    border-radius: 28px;

    padding: 2rem;

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);

}



.card-panel img {

    border-radius: 20px;

}



.sermon-card.card-panel,

.event-card.card-panel,

.testimony-card.card-panel,

.resources-text.card-panel,

.resources-preview.card-panel {

    background: rgba(15, 23, 42, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.12);

}



.pastor-content.card-panel,

.about-text.card-panel,

.about-image.card-panel {

    padding: 2.2rem;

}



.about-image.card-panel {

    padding: 1.5rem;

}



.resources-preview.card-panel {

    padding: 1.5rem;

}



.hero-video-section {

    position: relative;

    min-height: 100vh;

    height: 100vh;

    max-height: 1200px;

    overflow: hidden;

    background: url('../images/hero-bg.jpg') center center / cover no-repeat;

}



#heroVideo {

    display: none;

}



.hero-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.5) 100%);

}



.hero-content {

    position: absolute;

    top: 42%;

    left: 50%;

    transform: translate(-50%, -42%);

    text-align: center;

    z-index: 3;

    width: 100%;

    max-width: 900px;

    padding: 0 2rem;

}



.hero-main-title {

    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;

    letter-spacing: 0.08em;

    margin: 0 0 1rem;

    color: #FFFFFF;

    line-height: 1.2;

    white-space: normal;

    word-wrap: break-word;

    overflow-wrap: break-word;

    hyphens: auto;

}



.hero-subheading {

    font-size: clamp(0.95rem, 2.5vw, 1.3rem);

    letter-spacing: 0.15em;

    color: #F59E0B;

    margin-bottom: 2.5rem;

    font-weight: 700;

    text-transform: uppercase;

}



.hero-search-bar {

    position: relative;

    max-width: 600px;

    margin: 0 auto 3rem;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 0;

}



.search-input {

    padding: 1.1rem 1.5rem;

    background: rgba(255, 255, 255, 0.05);

    border: 1.5px solid rgba(255, 255, 255, 0.2);

    border-radius: 12px 0 0 12px;

    color: #FFFFFF;

    font-size: 1rem;

    letter-spacing: 0.05em;

    transition: all 0.3s ease;

}



.search-input::placeholder {

    color: rgba(255, 255, 255, 0.5);

}



.search-input:focus {

    outline: none;

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.35);

    box-shadow: inset 0 0 20px rgba(245, 158, 11, 0.08);

}



.search-btn {

    padding: 1.1rem 1.8rem;

    background: rgba(255, 255, 255, 0.05);

    border: 1.5px solid rgba(255, 255, 255, 0.2);

    border-radius: 0 12px 12px 0;

    color: #FFFFFF;

    cursor: pointer;

    transition: all 0.3s ease;

}



.search-btn:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(245, 158, 11, 0.3);

}



.search-results {

    position: absolute;

    top: calc(100% + 0.5rem);

    left: 0;

    right: 0;

    max-height: 400px;

    background: rgba(15, 23, 42, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;

    overflow-y: auto;

    display: none;

    z-index: 500;

    backdrop-filter: blur(16px);

}



.search-results.show {

    display: block;
}



.search-result-item {

    padding: 1rem 1.5rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    cursor: pointer;

    transition: background 0.2s ease;

}



.search-result-item:hover {

    background: rgba(245, 158, 11, 0.08);

}



.search-result-title {

    color: #FFFFFF;

    font-weight: 600;

    margin-bottom: 0.25rem;

}



.search-result-type {

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.85rem;

}



.hero-feature-cards {

    display: grid;

    grid-template-columns: repeat(4, minmax(150px, 1fr));

    gap: 1rem;

    max-width: 1000px;

    margin: 0 auto;

}

.hero-feature-cards::-webkit-scrollbar {

    display: none;

}



.feature-card {

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(24px);

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 16px;

    padding: 1.1rem 1rem;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 0.6rem;

    cursor: pointer;

    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);

    position: relative;

    overflow: hidden;

    min-height: 120px;

    justify-content: center;

}



@media (max-width: 860px) {

    .hero-feature-cards {

        grid-template-columns: repeat(2, minmax(120px, 1fr));

        gap: 0.95rem;

        max-width: 100%;

    }



    .feature-card {

        padding: 1.2rem 1rem;

        min-height: 140px;

    }

}



@media (max-width: 640px) {

    .hero-feature-cards {

        grid-template-columns: repeat(2, minmax(100px, 1fr));

        gap: 0.8rem;

    }



    .feature-card {

        padding: 1rem 0.95rem;

        min-height: 130px;

    }



    .feature-icon {

        font-size: 2rem;

    }



    .feature-label {

        font-size: 0.85rem;

    }

}



.feature-card::before {

    content: '';

    position: absolute;

    inset: 0;

    background: rgba(245, 158, 11, 0.08);

    opacity: 0;

    transition: opacity 0.35s ease;

    pointer-events: none;

}



.feature-card:hover::before {

    opacity: 1;

}



.feature-card:hover {

    transform: translateY(-10px) scale(1.03);

    border-color: rgba(245, 158, 11, 0.28);

    box-shadow: 0 22px 60px rgba(245, 158, 11, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);

}



.feature-card:focus {

    outline: 3px solid rgba(245, 158, 11, 0.7);

    outline-offset: 4px;

}



.feature-icon {

    font-size: 2.4rem;

    color: #F59E0B;

    transition: all 0.35s ease;

}



.feature-card:hover .feature-icon {

    transform: scale(1.15);

    filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.45));

}



.feature-label {

    font-size: 0.95rem;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.9);

    font-weight: 700;

}



.feature-card[data-feature="watch"] {

    border-color: rgba(59, 130, 246, 0.3);

}



.feature-card[data-feature="give"] {

    border-color: rgba(245, 158, 11, 0.3);

}



.feature-card[data-feature="about"] {

    border-color: rgba(34, 197, 94, 0.3);

}



.feature-card[data-feature="events"] {

    border-color: rgba(236, 72, 153, 0.3);

}





.feature-label {

    font-size: 0.95rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    color: #FFFFFF;

    transition: color 0.35s ease;

}



.hero-nav-dots {

    position: absolute;

    left: 2rem;

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    z-index: 4;

}



.dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);

    cursor: pointer;

    transition: all 0.3s ease;

    border: 2px solid transparent;

}



.dot:hover {

    background: rgba(255, 255, 255, 0.6);

}



.dot.active {

    background: #F59E0B;

    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);

    width: 16px;

    height: 16px;

    margin-left: -2px;

}



.scroll-down-btn {

    position: absolute;

    bottom: 3rem;

    left: 50%;

    transform: translateX(-50%);

    width: 52px;

    height: 52px;

    border: 2px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    color: #FFFFFF;

    cursor: pointer;

    display: grid;

    place-items: center;

    font-size: 1.4rem;

    transition: all 0.35s ease;

    z-index: 4;

}



.scroll-down-btn:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(245, 158, 11, 0.4);

    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);

}



.scroll-down-btn i {

    animation: bounce-arrow 2s infinite;

}



@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}

/*=====================================
    PASTOR SECTION
======================================*/

.pastor-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pastor-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 70px;
    align-items: center;
}

/*=====================================
    PASTOR SECTION
======================================*/

.pastor-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pastor-grid {
    display: grid;
    grid-template-columns: minmax(380px, 460px) 1fr;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.pastor-image {
    position: relative;
    justify-content: center;
    display: flex;
}

.pastor-image img {
    width: 100%;
    max-width: 420px;
    /* Adjust between 400px–450px if you want */
    height: auto;
    display: block;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.pastor-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -30px;
    bottom: -30px;
    background: #F59E0B;
    border-radius: 30px;
    opacity: .12;
    z-index: -1;
}

.pastor-content h2 {
    font-size: 2.6rem;
    margin: 18px 0;
    line-height: 1.2;
}

.pastor-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff3e0;
    color: #F59E0B;
    font-weight: 600;
    letter-spacing: .5px;
}

.highlight {
    color: #F59E0B;
}

.pastor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    transition: .3s;
}

.stat:hover {
    transform: translateY(-6px);
}

.stat h4 {
    color: #F59E0B;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat p {
    margin: 0;
    color: #666;
    font-size: .95rem;
}

.pastor-image img {
    width: 100%;
    display: block;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.pastor-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -30px;
    bottom: -30px;
    background: #F59E0B;
    border-radius: 30px;
    opacity: .12;
    z-index: -1;
}

.pastor-content h2 {
    font-size: 2.6rem;
    margin: 18px 0;
    line-height: 1.2;
}

.pastor-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff3e0;
    color: #F59E0B;
    font-weight: 600;
    letter-spacing: .5px;
}

.highlight {
    color: #F59E0B;
}

.pastor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    transition: .3s;
}

.stat:hover {
    transform: translateY(-6px);
}

.stat h4 {
    color: #F59E0B;
    font-size: 2rem;
    margin-bottom: 8px;
}

.stat p {
    margin: 0;
    color: #666;
    font-size: .95rem;
}




@keyframes visionary-image-float {

    0%,
    100% {

        transform: translateY(0) scale(1);

    }

    50% {

        transform: translateY(-10px) scale(1.01);

    }

}



/* ===============================
   ABOUT PREVIEW
=================================*/

.about-preview {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(rgba(8, 15, 35, 0.85), rgba(8, 15, 35, 0.85)),
        url('../../uploads/ministry/2.png') center center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

/* Orange light effect */
.about-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(245, 158, 11, 0.12),
            transparent 45%);
    pointer-events: none;
}

.about-preview .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-preview-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text {
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .9);
}

.highlight {
    color: #F59E0B;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: left;
    /* Keep text inside the cards left-aligned */
}

.about-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    transition: all .3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .12);
}

.about-card h3 {
    color: #F59E0B;
    font-size: 1.2rem;
    margin-bottom: .8rem;
}

.about-card p {
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
}

.about-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-top: 2.5rem;
}

.about-actions .btn {
    min-width: 210px;
}

/* Optional if you decide to use value pills again */
.about-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.value-pill {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: .8rem 1.4rem;
    border-radius: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.value-pill i {
    color: #F59E0B;
}

/* Responsive */

@media (max-width: 992px) {

    .about-preview {
        padding: 90px 0;
    }

    .about-text h2 {
        font-size: 2.4rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .about-preview {
        padding: 70px 0;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}


.sermons-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #081523 0%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.sermons-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .08);
    top: -180px;
    right: -120px;
    filter: blur(80px);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.section-header p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.sermon-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 22px;

    overflow: hidden;

    transition: .35s;

    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.sermon-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, .12);
}

.sermon-image {
    position: relative;
    overflow: hidden;
}

.sermon-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .4s;
}

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

.sermon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2));
    opacity: 0;
    transition: .3s;
}

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

.media-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #F59E0B;
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
}

.play-sermon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 24px;

    background: transparent;
    color: #F59E0B;

    border: 2px solid #F59E0B;
    border-radius: 50px;

    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;

    transition: all .3s ease;
}

.play-sermon:hover {
    background: #F59E0B;
    color: #fff;
    border-color: #F59E0B;
    transform: translateY(-2px);
}

.sermon-info {
    padding: 24px;
}

.sermon-info h3 {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.5;
}

.preacher,
.sermon-date {
    color: rgba(255, 255, 255, .82);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.preacher i,
.sermon-date i {
    color: #F59E0B;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 22px;
    padding: 12px 22px;

    background: rgba(255, 255, 255, .04);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;

    transition: all .3s ease;
}

.download-btn:hover {
    background: #F59E0B;
    border-color: #F59E0B;
    color: #fff;
}

.sermons-slider {

    display: flex;

    gap: 2rem;

    align-items: stretch;

    justify-content: center;
}

/*==========================
    RESOURCES SECTION
===========================*/

.resources-section {
    position: relative;
    background: #fff;
    padding: 110px 0;
    overflow: hidden;
}

/* Decorative circles */

.resources-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .08);
    top: -120px;
    right: -120px;
}

.resources-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .05);
    bottom: -80px;
    left: -80px;
}

.resources-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
}

.resources-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;

    max-width: 1050px;
    margin: 0 auto;

    align-items: center;
}

.resources-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px;

    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 18px;

    transition: .3s;
}

.resource-item:hover {
    border-color: #F59E0B;
    transform: translateY(-5px);
}

.resource-item i {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #FFF7ED;
    color: #F59E0B;
}

.resources-info p {
    color: #64748B;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

@media (max-width:768px) {

    .resources-section {
        padding: 60px 20px;
    }

    .resources-layout {
        display: flex;
        flex-direction: column;
        gap: 35px;
        width: 100%;
    }

    .resources-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        order: 1;
    }

    .resources-info {
        order: 2;
        text-align: center;
        width: 100%;
    }

    .resources-info p {
        font-size: 1rem;
        line-height: 1.9;
        margin-bottom: 2rem;
    }

    .resources-info .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .resources-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

.events-section {
    padding: 90px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.event-card {
    display: flex;
    gap: 25px;
    padding: 28px;
    border-radius: 20px;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: .35s ease;
    align-items: flex-start;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

.event-date {
    min-width: 78px;
    height: 90px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.event-date .month {
    margin-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d5d5d5;
}

.event-content {
    flex: 1;
    min-width: 0;
}

.event-content h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1f1f1;
    font-size: 15px;
}

.event-meta i {
    color: var(--primary-color);
    width: 18px;
}

.btn-event {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-event:hover {
    background: transparent !important;
    color: var(--primary-color) !important;
}

.btn-event i {
    transition: transform .3s ease;
}


@media (max-width:768px) {

    .events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .event-card-full {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 18px;
    }

    .event-image {
        width: 100%;
    }

    .event-image img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

    .event-info {
        padding: 20px;
    }

    .event-info h3 {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .event-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
    }

    .event-meta span {
        font-size: .9rem;
    }

    .event-info p {
        font-size: .92rem;
        line-height: 1.6;
    }

    .btn-event-detail {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

}

.location-section {

    padding: 5rem 0;

    background: rgba(15, 23, 42, 0.9);

}



.location-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 2.5rem;

}



.location-map iframe {

    min-height: 320px;

    border-radius: 24px;

}



.testimonies-section {

    padding: 5rem 0 6rem;

    background: transparent;

}



.testimonies-carousel {

    display: flex;

    gap: 1.5rem;

    overflow-x: auto;

    padding: 1rem 0;

}



.testimony-card {

    flex: 0 0 320px;

    min-width: 320px;

    padding: 1.75rem;

}


.add-testimony-card {
    cursor: pointer;
    border: 1px dashed rgba(255, 255, 255, .15);
    transition: .35s ease;
}

.add-testimony-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.add-testimony-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px 25px;
}

.plus-icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: .3s ease;
}

.plus-icon i {
    font-size: 26px;
    color: var(--primary-color);
}

.add-testimony-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 22px;
}

.add-testimony-card p {
    color: #bfbfbf;
    line-height: 1.7;
    font-size: 15px;
    max-width: 250px;
}

.add-testimony-card:hover .plus-icon {
    background: var(--primary-color);
}

.add-testimony-card:hover .plus-icon i {
    color: #fff;
}


/* Pastor Section */

.pastor-section {

    padding: 6rem 0;

    background: var(--primary-navy);

}



.pastor-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.pastor-image {

    position: relative;

    border-radius: 20px;

    overflow: hidden;

}



.pastor-image img {

    width: 100%;

    border-radius: 20px;

    transition: transform 0.5s ease;

}



.pastor-image:hover img {

    transform: scale(1.05);

}



.image-glow {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: radial-gradient(circle at center, transparent 0%, rgba(217, 119, 6, 0.2) 100%);

    pointer-events: none;

}



.section-tag {

    display: inline-block;

    padding: 0.25rem 1rem;

    background: rgba(217, 119, 6, 0.2);

    color: var(--accent-gold);

    border-radius: 50px;

    font-size: 0.875rem;

    font-weight: 600;

    margin-bottom: 1rem;

}



.pastor-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1rem;

    margin-top: 2rem;

}



.stat h4 {

    font-size: 2rem;

    color: var(--accent-gold);

}



.stat p {

    font-size: 0.875rem;

    color: var(--gray-light);

}



/* Spiritual Icons */

.spiritual-icons {

    display: flex;

    gap: 2rem;

    margin: 2rem 0;

}



.icon-item {

    text-align: center;

}



.icon-item i {

    font-size: 2.5rem;

    color: var(--accent-gold);

    margin-bottom: 0.5rem;

    display: block;

}



.icon-item span {

    font-size: 0.875rem;

    font-weight: 500;

}



/* Sermons Slider */

.sermons-section {

    padding: 6rem 0;

    background: var(--primary-dark);

}



.sermons-slider-container {

    position: relative;

    overflow: hidden;

    padding: 0 3rem;

}

.sermons-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    pointer-events: none;
    /* background: linear-gradient(270deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 1)); */
}



.sermons-slider {

    display: flex;

    gap: 2rem;

    overflow-x: auto;

    overflow-y: hidden;

    scroll-behavior: smooth;

    scroll-snap-type: x proximity;

    scrollbar-width: none;

    -ms-overflow-style: none;

    cursor: grab;

    -webkit-overflow-scrolling: touch;

}



.sermons-slider::-webkit-scrollbar {

    display: none;

}



.sermon-card {

    flex: 0 0 300px;

    background: var(--primary-navy);

    border-radius: 15px;

    overflow: hidden;

    transition: transform 0.3s ease;

    scroll-snap-align: start;

}

.sermons-slider:active {

    cursor: grabbing;

}



.sermon-card:hover {

    transform: translateY(-10px);

}



.sermon-image {

    position: relative;

    height: 140px;

    overflow: hidden;

}



.sermon-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.sermon-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.sermon-card:hover .sermon-overlay {

    opacity: 1;

}



.play-sermon {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    background: var(--accent-gold);

    border: none;

    cursor: pointer;

    transition: transform 0.3s ease;

}



.play-sermon:hover {

    transform: scale(1.1);

}



.play-sermon i {

    color: var(--white);

    font-size: 1.5rem;

}



.sermon-info {

    padding: 0.75rem 1rem;

}



.sermon-info h3 {

    font-size: 1rem;

    margin-bottom: 0.3rem;

}



.sermon-download-icon {

    position: absolute;

    top: 10px;

    right: 10px;

    width: 34px;

    height: 34px;

    border-radius: 50%;

    background: var(--accent-gold);

    color: var(--white);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 5;

    opacity: 0;

    transform: scale(0.7);

    transition: all 0.25s ease;

    text-decoration: none;

    font-size: 0.9rem;

}



.sermon-download-icon.show {

    display: flex;

    opacity: 1;

    transform: scale(1);

}



.sermon-download-icon:hover {

    background: #fdd98f;

}



.slider-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(217, 119, 6, 0.8);

    border: none;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.3s ease;

    z-index: 10;

}



.slider-btn:hover {

    background: var(--accent-gold);

}



.prev-btn {

    left: 0;

}



.next-btn {

    right: 0;

}



/* Resources Section */

.resources-section {

    padding: 6rem 0;

    background: var(--primary-navy);

    position: relative;

    overflow: hidden;

}



.resources-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.resources-features {

    list-style: none;

    margin: 2rem 0;

}



.resources-features li {

    margin-bottom: 1rem;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.resources-features li i {

    color: var(--accent-gold);

}



.resources-preview img {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow-lg);

}



/* Events Section */

.events-section {

    padding: 6rem 2rem;
    /* add horizontal padding so content isn't flush to the viewport */

    background: var(--primary-dark);

}






.events-grid::-webkit-scrollbar {

    display: none;

}





.event-card {

    flex: 0 0 360px;

    min-width: 360px;

    background: var(--primary-navy);

    border-radius: 15px;

    padding: 1.5rem;

    display: flex;

    gap: 1rem;

    transition: transform 0.3s ease;

}



.event-card:hover {

    transform: translateY(-5px);

}



.event-date {

    text-align: center;

    padding: 1rem;

    background: rgba(217, 119, 6, 0.1);

    border-radius: 10px;

    min-width: 80px;

}



.event-date .day {

    font-size: 2rem;

    font-weight: 800;

    color: var(--accent-gold);

    display: block;

}



.event-date .month {

    font-size: 0.875rem;

}



.event-details h3 {

    margin-bottom: 0.5rem;

}



.event-details p {

    margin-bottom: 0.5rem;

    font-size: 0.875rem;

    color: var(--gray-light);

}






/* Location Section */

.location-section {

    padding: 6rem 0;

    background: var(--primary-navy);

}



.location-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 3rem;

}



.location-info p {

    margin-bottom: 1rem;

}



.location-info i {

    color: var(--accent-gold);

    margin-right: 0.5rem;

    width: 25px;

}



.location-map iframe {

    border-radius: 15px;

}



/* Testimonies Section */

.testimonies-section {
    padding: 6rem 0;
    background: var(--primary-dark);
}

.testimonies-carousel {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 1.2rem;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

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

.testimonies-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
    padding-right: 0.5rem;
    animation: scroll-testimonies 24s linear infinite;
    will-change: transform;
}

.testimony-card {
    flex: 0 0 min(270px, 78vw);
    width: min(270px, 78vw);
    min-height: 150px;
    aspect-ratio: auto;
    background: rgba(255, 255, 255, 0.07);
    padding: 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    position: relative;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08), 0 18px 45px rgba(2, 6, 23, 0.22);
    backdrop-filter: blur(10px);
}

.testimony-card--timeline {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 150px;
    padding: 1.1rem;
    border-radius: 16px;
}

.testimony-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimony-body {
    flex: 1;
}

.testimony-card--timeline h3 {
    color: #f8fafc;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.testimony-card--timeline p {
    margin-bottom: 0.6rem;
    line-height: 1.55;
    color: #d9e2ef;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimony-location {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.testimony-location:hover {
    color: #fdd98f;
    text-decoration: underline;
}

.testimony-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.95rem;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.08);
}

.add-testimony-card {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.add-testimony-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.add-testimony-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}

.plus-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-gold);
}

.add-testimony-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.add-testimony-card p {
    color: #dbe4f0;
    margin: 0;
    line-height: 1.6;
}

.testimonies-carousel:hover .testimonies-track {
    animation-play-state: paused;
}

@keyframes scroll-testimonies {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



/* Livestream Modal - Responsive Video Container */

.livestream-modal .modal-content {

    width: min(95%, 900px);

    max-width: 900px;

    margin: 2vh auto;

    max-height: 92vh;

    padding: 1.5rem 1.75rem;

}



.livestream-modal #livestreamContent {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.video-container,

.audio-container {

    width: 100%;

    margin: 0;

    border-radius: 12px;

    overflow: hidden;

}



.video-container {

    aspect-ratio: 16 / 9;

    min-height: 320px;

    max-height: 62vh;

}



.livestream-modal iframe,

.livestream-modal video {

    width: 100%;

    height: 100%;

    display: block;

}



.livestream-note,

.livestream-offline,

.livestream-header {

    margin: 0;

}



.livestream-offline,

.livestream-header {

    text-align: center;

}



.livestream-modal .modal-content {

    overflow: hidden;

}



.video-container iframe,

.video-container video {

    width: 100%;

    height: 100%;

    display: block;

}



.audio-container audio {

    width: 100%;

}



/* Location and Testimonies Sections - Better Padding */

.location-section .container,

.testimonies-section .container {

    padding: 0 2rem;

}



@media (max-width: 768px) {

    .location-section .container,

    .testimonies-section .container {

        padding: 0 1.5rem;

    }

}



/* Sermon Section - Better Heading Spacing */

.sermons-section {

    padding: 5rem 2rem;

}



.sermons-section .section-header {

    padding: 0 1rem;

    margin-left: auto;

    margin-right: auto;

}



@media (max-width: 768px) {

    .sermons-section {

        padding: 3rem 1.5rem;

    }

}



/* Overrides: make events section horizontally scrollable on homepage and ensure rectangle cards */

.events-section .events-grid {

    display: flex;

    gap: 1rem;

    overflow-x: auto;

    padding-bottom: 1rem;

    scroll-behavior: smooth;

}



.events-section .events-grid::-webkit-scrollbar {
    display: none;
}

.events-section .event-card {

    flex: 0 0 270px;

    min-width: 270px;

    height: 165px;

    border-radius: 14px;

    padding: 1rem;

}



.events-slider-container {

    position: relative;

    overflow: hidden;

    padding: 0 3rem;

}



.events-section .event-date {

    padding: 0.6rem;

    min-width: 56px;

}



.events-section .event-date .day {

    font-size: 1.4rem;

}



.events-section .event-date .month {

    font-size: 0.7rem;

}



.events-section .event-content h3 {

    font-size: 1rem;

    margin-bottom: 0.5rem;

    line-height: 1.3;

}



.events-section .event-meta {

    gap: 0.4rem;

    margin-bottom: 0.5rem;

}



.events-section .event-meta span {

    font-size: 0.8rem;

}



.events-section .btn-event {

    font-size: 0.85rem;

}



.event-prev-btn {

    left: 0;

}



.event-next-btn {

    right: 0;

}



/* Mobile menu: hide by default, only show when `.active` is added */

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
}



.mobile-menu-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    width: 100%;

    margin-bottom: 1.5rem;

}



.mobile-menu-header .logo {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    color: var(--white);

    font-size: 1rem;

}



.mobile-menu-header .close-menu {

    background: transparent;

    border: none;

    color: var(--white);

    font-size: 2rem;

    line-height: 1;

    cursor: pointer;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.mobile-menu {

    position: fixed;

    top: 0;

    right: -100%;

    width: 85%;

    max-width: 360px;

    height: 100%;

    background: var(--primary-navy);

    z-index: 2000;

    transition: right 0.3s ease;

    padding: 1.5rem;

}



.mobile-menu.active {

    right: 0;

}



@media (max-width: 640px) {

    .contact-page .container {

        padding: 0 1rem;

    }

    .contact-page .contact-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    .contact-page .contact-info,

    .contact-page .contact-form {

        padding: 1.5rem;

        width: 100%;

    }

    .contact-page .contact-form form input,

    .contact-page .contact-form form textarea {

        font-size: 0.95rem;

    }

    .contact-page .section-header h2 {

        font-size: 2rem;

    }

    .contact-page .contact-info h3 {

        font-size: 1.4rem;

    }

    .hero-content {

        top: 48%;

        transform: translate(-50%, -48%);

        padding: 0 1rem;

    }

    .hero-main-title {

        white-space: normal;

        font-size: 2rem;
        word-wrap: break-word;

        overflow-wrap: break-word;

        hyphens: auto;

    }

    .hero-subheading {

        margin-bottom: 1.5rem;

        font-size: 1rem;

    }

    .nav-container {

        gap: 0.5rem;

    }

    .nav-buttons {

        justify-content: flex-end;

        width: 100%;

    }

    .hamburger {

        margin-left: 0;

        order: 2;

    }

    .hero-search-bar {

        display: grid;

        grid-template-columns: 1fr;

        max-width: 100%;

    }

    .search-input {

        border-radius: 12px 12px 0 0;

        min-width: 0;

    }

    .search-btn {

        width: 100%;

        border-radius: 0 0 12px 12px;

        padding: 1rem 1rem;

        min-width: 0;

    }

    .hero-feature-cards {

        grid-template-columns: 1fr;

        gap: 0.75rem;

        padding: 0 0.5rem 1rem;

    }

    .feature-card {

        min-height: auto;

        padding: 1rem;

    }

    .contact-page .container {

        padding: 0 1rem;

    }

    .contact-page .contact-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }

    .contact-page .contact-info,

    .contact-page .contact-form {

        padding: 1.5rem;

    }

    .contact-page .contact-form form input,

    .contact-page .contact-form form textarea {

        font-size: 0.95rem;

    }

    .contact-page .section-header h2 {

        font-size: 2rem;

    }

    .contact-page .contact-info h3 {

        font-size: 1.4rem;

    }

}



/* Scroll to top button */

.scroll-to-top-btn {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 44px;

    height: 44px;

    border-radius: 10px;

    background: rgba(17, 24, 39, 0.95);

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.06);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 2000;

}

.scroll-to-top-btn.show {
    display: grid;
    box-shadow: var(--shadow-md);
}





/* Modal Content */

.modal {

    display: none;

    position: fixed;

    z-index: 2000;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.8);

    backdrop-filter: blur(5px);

}



.modal-content {
    background: #fff;
    width: min(92%, 650px);
    margin: 5vh auto;
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .15);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

@media(max-width:768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 94%;
        border-radius: 22px;
    }
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: .75rem;
}

.modal-header p {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 480px;
    margin: auto;
}

.modal-description {

    margin-bottom: 1.5rem;

    color: rgba(0, 0, 0, 0.75);

    line-height: 1.8;

}

#testimonyForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.form-group label {
    font-size: .95rem;
    font-weight: 600;
    color: #1E293B;
}

.form-group label span {
    color: #94A3B8;
    font-weight: 400;
}

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 18px 20px;

    border: 1px solid #CBD5E1;

    border-radius: 16px;

    background: #F8FAFC;

    font-size: 16px;

    transition: .3s;

    box-sizing: border-box;

    resize: vertical;
}

.form-group textarea {
    min-height: 180px;
}

.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: #EA580C;

    background: #fff;

    box-shadow: 0 0 0 5px rgba(249, 115, 22, .12);
}

.submit-group {
    margin-top: 1rem;
}

.btn-primary {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: .7rem;

    width: 100%;

    height: 60px;

    border: none;

    border-radius: 16px;

    background: linear-gradient(135deg, #EA580C, #F97316);

    color: #fff;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

    box-shadow: 0 18px 40px rgba(234, 88, 12, .25);
}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: 0 24px 50px rgba(234, 88, 12, .35);
}

.modal-grid {

    display: grid;

    gap: 1.5rem;

}


.donation-summary {

    background: rgba(255, 255, 255, 0.05);

    padding: 1.25rem;

    border-radius: 16px;

    margin-bottom: 1.5rem;

}



.donation-summary ol {

    margin: 0;

    padding-left: 1.25rem;

    color: rgba(255, 255, 255, 0.75);

}



.bank-details {

    background: rgba(255, 255, 255, 0.05);

    padding: 1.5rem;

    border-radius: 16px;

    margin-bottom: 1.5rem;

}



.bank-detail-row {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 0.8rem;

    color: rgba(255, 255, 255, 0.8);

}



.bank-detail-row strong {

    color: #FFFFFF;

}



.copy-button,

.btn-outline {

    width: 100%;

    justify-content: center;

}



.copy-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

    padding: 0.9rem 1rem;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.04);

    color: #FFFFFF;

    cursor: pointer;

    transition: all 0.25s ease;

    margin-top: 1rem;

}



.copy-button:hover {

    background: rgba(255, 255, 255, 0.1);

    transform: translateY(-1px);

}



.modal-note {

    color: rgba(255, 255, 255, 0.65);

    margin-top: 1rem;

    font-size: 0.95rem;

}



.livestream-header h2,

.livestream-header p,

.livestream-offline h3,

.livestream-offline p {

    margin: 0;

}



.livestream-header p,

.livestream-offline p {

    color: rgba(255, 255, 255, 0.75);

}



.livestream-loading,

.livestream-offline {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    padding: 2rem 1rem;

    text-align: center;

    color: rgba(255, 255, 255, 0.85);

}



.livestream-loading i,

.livestream-offline i {

    font-size: 2rem;

    color: #D97706;

}



.video-container iframe {

    min-height: 320px;

}



.close {

    position: absolute;

    right: 1rem;

    top: 1rem;

    font-size: 1.5rem;

    cursor: pointer;

    color: var(--white);

}



.giving-options {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

    margin: 2rem 0;

}



.giving-option {

    flex: 1;

    min-width: 130px;

    padding: 1rem;

    background: rgba(217, 119, 6, 0.16);

    border: 1px solid rgba(245, 158, 11, 0.35);

    border-radius: 14px;

    cursor: pointer;

    color: var(--white);

    transition: all 0.3s ease;

    text-align: center;

    white-space: normal;

}



.giving-option:hover,

.giving-option.active {

    background: rgba(245, 158, 11, 0.28);

    transform: translateY(-2px);

    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.16);

    border-color: rgba(245, 158, 11, 0.55);

}



#givingDetails {

    margin-top: 1.5rem;

}



#givingDetails .bank-details p,

#givingDetails label {

    word-break: break-word;

}



#givingDetails input,

#givingDetails textarea {

    width: 100%;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    color: #FFFFFF;

    padding: 0.95rem 1rem;

    margin-bottom: 1rem;

}



#givingDetails input[type="file"] {

    padding: 0.5rem 0.75rem;

}



.contact-page {

    position: relative;

}



.contact-page .container {

    padding-left: 2rem;

    padding-right: 2rem;

}



.contact-page .contact-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2.5rem;

}



.contact-page .contact-info,

.contact-page .contact-form {

    padding: 1.75rem;

    background: rgba(15, 23, 42, 0.9);

    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, 0.08);

}



.contact-page .contact-form form input,

.contact-page .contact-form form textarea {

    width: 100%;

}



.admin-contact-indicator {

    position: absolute;

    right: 2rem;

    bottom: 2rem;

    z-index: 20;

}



.admin-contact-indicator a {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    background: rgba(217, 119, 6, 0.95);

    color: #FFFFFF;

    padding: 0.85rem 1.2rem;

    border-radius: 999px;

    font-weight: 700;

    box-shadow: 0 16px 40px rgba(217, 119, 6, 0.22);

    text-decoration: none;

}



.feature-label {

    font-size: 0.95rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    color: #FFFFFF;

    transition: color 0.35s ease;

    text-align: center;

    word-break: break-word;

}



.giving-option {

    flex: 1;

    padding: 1rem;

    background: rgba(217, 119, 6, 0.2);

    border: 1px solid var(--accent-gold);

    border-radius: 10px;

    cursor: pointer;

    color: var(--white);

    transition: all 0.3s ease;

}



.giving-option:hover {

    background: var(--accent-gold);

}



.bank-details {

    background: rgba(255, 255, 255, 0.05);

    padding: 1rem;

    border-radius: 10px;

    margin-bottom: 1rem;

}



/* ========================= */

/* FOOTER - Premium & Modern */

/* ========================= */



.footer {

    background: var(--primary-dark);

    color: var(--white);

    padding: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    position: relative;

}



.footer-inner {

    max-width: 1320px;

    margin: 0 auto;

    padding: 0 1rem;

}

/* ===== Team/Theme Variables ===== */
:root {
    --gradient-white-team: linear-gradient(135deg, #FFFFFF 0%, #1E3A8A 100%);
    --team-dark-surface: #111827;
    --team-dark-outline: rgba(255, 255, 255, 0.14);
    --team-white-surface: rgba(255, 255, 255, 0.94);
    --team-white-outline: rgba(30, 58, 138, 0.28);
    --team-circle-size: 48px;
}

/* ===== Footer Team Selector ===== */
/* .footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    margin: 2rem 0;
} */

/* ===== New Compact Footer Layout ===== */
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 3.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-signup-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.footer-signup-form {
    width: 100%;
}

.footer-signup-input-wrap {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-signup-input-wrap .newsletter-input {
    flex: 1 1 220px;
    min-width: 0;
}

.footer-signup-input-wrap .newsletter-btn {
    width: auto;
    min-width: 130px;
    padding: 0 1.5rem;
    font-size: 0.95rem;
}

.footer-link-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 2.75rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: flex-start;
}

.footer-column-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-column-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.footer-column-links li a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column-links li a:hover {
    color: var(--accent-gold);
}

.footer-contact-column {
    display: none;
}

.footer-compact-bar {
    background: transparent;
    border-top: none;
    padding: 2rem 1rem 3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.footer-compact-bar p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-size: 0.92rem;
}

.footer-social-copyright {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.footer-social-copyright .social-icon {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    border-width: 1.25px;
}

.footer-compact-bar .copyright-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-compact-bar .copyright-right a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-compact-bar .copyright-right a:hover {
    color: var(--accent-gold);
}

.footer-theme-section {
    padding: 2rem 0;
    text-align: center;
}

.theme-selector-container {
    display: inline-block;
}

.theme-selector-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.2rem;
    display: block;
}

.footer-team-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-circle {
    width: var(--team-circle-size);
    height: var(--team-circle-size);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: none;
    padding: 0;
    font-family: inherit;
}

.team-circle.team-dark {
    background: var(--team-dark-surface);
    border-color: var(--team-dark-outline);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.team-circle.team-white {
    background: var(--team-white-surface);
    border-color: var(--team-white-outline);
    background-image: var(--gradient-white-team);
    background-size: cover;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.team-circle.active {
    transform: scale(1.12);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.2);
    border-color: #F59E0B;
}

.team-circle.team-white.active {
    box-shadow: 0 0 0 10px rgba(30, 58, 138, 0.22), inset 0 0 0 2px rgba(30, 58, 138, 0.3);
    border-color: #1E3A8A;
}

.footer-team-selector .team-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.theme-separator {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* ===== White Team Mode ===== */
body.white-team {
    --site-background: #F8FAFC;
    --site-text: #0F172A;
}

body.white-team .footer {
    background: #F8FAFC;
    color: #0F172A;
    border-top: 1px solid rgba(30, 58, 138, 0.14);
}

body.white-team .footer-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(30, 58, 138, 0.12) 50%, transparent 100%);
}

body.white-team .theme-selector-title,
body.white-team .footer-team-selector .team-label {
    color: #0F172A;
    opacity: 0.75;
}

body.white-team .theme-separator {
    color: rgba(30, 58, 138, 0.25);
}

body.white-team .footer-newsletter-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(30, 58, 138, 0.12) 100%);
}

body.white-team .footer-column-title,
body.white-team .footer-ministry-name,
body.white-team .footer-ministry-tagline,
body.white-team .footer-ministry-description,
body.white-team .footer-contact-info,
body.white-team .footer-column-links a,
body.white-team .footer-services-list {
    color: #0F172A;
}

body.white-team .footer-social-icons-group a {
    color: #1E3A8A;
    border-color: rgba(30, 58, 138, 0.2);
}

body.white-team .footer-team-selector .team-circle.team-dark {
    background: rgba(30, 58, 138, 0.08);
    border-color: rgba(30, 58, 138, 0.25);
    background-image: none;
}

body.white-team .footer-team-selector .team-circle.team-white {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

body.white-team .footer-team-selector .team-dark.active {
    box-shadow: 0 0 0 10px rgba(30, 58, 138, 0.18);
    border-color: #1E3A8A;
}

@media (max-width: 900px) {
    .footer-theme-section {
        padding: 1.5rem 0;
    }

    .theme-selector-title {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .team-circle {
        width: 44px;
        height: 44px;
    }

    .footer-team-selector .team-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .footer-divider {
        margin: 1.5rem 0;
    }

    .footer-theme-section {
        padding: 1rem 0;
    }

    .theme-selector-title {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .team-circle {
        width: 40px;
        height: 40px;
    }

    .footer-team-selector {
        gap: 0.75rem;
    }

    .footer-team-selector .team-label {
        font-size: 0.75rem;
    }
}



/* ===== Newsletter Subscription Bar ===== */

.footer-newsletter-bar {

    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);

    border-bottom: 1px solid rgba(245, 158, 11, 0.2);

    padding: 3rem 1rem;

    margin-bottom: 0;

}



.footer-newsletter-wrapper {

    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: minmax(260px, 1fr) auto minmax(300px, 1fr);

    gap: 3rem;

    align-items: center;

}

.footer-divider,
.footer-divider::after {
    content: '';
}

.newsletter-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 auto;
}



.newsletter-left {

    animation: fadeInUp 0.8s ease-out;

}



.newsletter-heading {

    font-size: 1.8rem;

    font-weight: 800;

    color: var(--white);

    margin-bottom: 0.75rem;

    letter-spacing: -0.01em;

}



.newsletter-subtext {

    font-size: 0.95rem;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.6;

    margin: 0;

}



.newsletter-right {

    animation: fadeInUp 0.8s ease-out 0.1s both;

}



.footer-newsletter-form {

    width: 100%;

}



.newsletter-input-wrap {

    display: grid;

    grid-template-columns: 1fr 52px;

    gap: 0.75rem;

    position: relative;

}



.newsletter-input {

    width: 100%;

    padding: 1rem 1.5rem;

    border: 1px solid rgba(245, 158, 11, 0.3);

    background: rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    color: var(--white);

    font-size: 0.95rem;

    transition: all 0.3s ease;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

}



.newsletter-input::placeholder {

    color: rgba(255, 255, 255, 0.5);

}



.newsletter-input:focus {

    outline: none;

    border-color: rgba(245, 158, 11, 0.6);

    background: rgba(255, 255, 255, 0.12);

    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15);

}



.newsletter-btn {

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: var(--accent-gold);

    color: var(--primary-dark);

    cursor: pointer;

    display: grid;

    place-items: center;

    font-size: 1.1rem;

    transition: all 0.3s ease;

    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);

}



.newsletter-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);

}



.newsletter-btn:active {

    transform: translateY(0);

}



/* ===== Five Column Grid Layout ===== */

.footer-columns-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 2rem;

    padding: 3.5rem 1rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

}



.footer-column {

    animation: fadeInUp 0.8s ease-out backwards;

}



.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-column:nth-child(5) {
    animation-delay: 0.5s;
}



/* Column Titles */

.footer-column-title,

.footer-ministry-name {

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--white);

    margin-bottom: 1.5rem;

    letter-spacing: 0.02em;

    position: relative;

    display: inline-block;

}



.footer-column-title::after {

    content: '';

    position: absolute;

    bottom: -8px;

    left: 0;

    width: 35px;

    height: 2px;

    background: var(--accent-gold);

    border-radius: 1px;

    opacity: 0.7;

    transition: width 0.3s ease;

}



.footer-column-title:hover::after {

    width: 50px;

}



/* ===== Column 1: Brand & Logo ===== */

.footer-column-brand {

    grid-column: span 1;

}



.footer-logo-container {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

    margin-bottom: 1.5rem;

}



.footer-logo-mark {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: rgba(245, 158, 11, 0.12);

    border: 1px solid rgba(245, 158, 11, 0.3);

    display: grid;

    place-items: center;

    color: var(--accent-gold);

    font-size: 1.5rem;

    flex-shrink: 0;

    transition: all 0.3s ease;

}



.footer-column-brand:hover .footer-logo-mark {

    background: rgba(245, 158, 11, 0.18);

    border-color: rgba(245, 158, 11, 0.5);

    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);

    transform: translateY(-2px);

}



.footer-logo-text {

    flex: 1;

}



.footer-ministry-name {

    font-size: 1.05rem;

    margin-bottom: 0.35rem;

    margin-top: 0;

}



.footer-ministry-tagline {

    font-size: 0.75rem;

    color: rgba(245, 158, 11, 0.8);

    letter-spacing: 0.1em;

    text-transform: uppercase;

    margin: 0;

    font-weight: 600;

}



.footer-ministry-description {

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.68);

    line-height: 1.7;

    margin-bottom: 1.5rem;

    padding: 1rem 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

}



/* Social Icons Group */

.footer-social-icons-group {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}



.social-icon {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    border: 1.5px solid var(--accent-gold);

    background: transparent;

    color: var(--accent-gold);

    display: grid;

    place-items: center;

    text-decoration: none;

    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;

    font-size: 1rem;

}



.social-icon::before {

    content: '';

    position: absolute;

    width: 100%;

    height: 100%;

    background: var(--accent-gold);

    border-radius: 50%;

    top: 0;

    left: 0;

    z-index: -1;

    transform: scale(0);

    transition: transform 0.3s ease;

}



.social-icon:hover {

    color: var(--primary-dark);

    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4), inset 0 0 20px rgba(245, 158, 11, 0.2);

}



.social-icon:hover::before {

    transform: scale(1);

}



/* ===== Column Links (2, 3, 5) ===== */

.footer-column-links {

    list-style: none;

    padding: 0;

    margin: 0;

    display: grid;

    gap: 0.85rem;

}



.footer-column-links li a {

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    font-size: 0.9rem;

    line-height: 1.6;

    transition: all 0.3s ease;

    display: inline-block;

    position: relative;

}



.footer-column-links li a::before {

    content: '→';

    margin-right: 0;

    opacity: 0;

    transform: translateX(-8px);

    transition: all 0.3s ease;

    position: absolute;

    left: -12px;

}



.footer-column-links li a:hover {

    color: var(--accent-gold);

    padding-left: 12px;

}



.footer-column-links li a:hover::before {

    opacity: 1;

    transform: translateX(0);

}



/* ===== Column 4: Ministry Services ===== */

.footer-services-list {

    list-style: none;

    padding: 0;

    margin: 0;

    display: grid;

    gap: 1rem;

}



.footer-services-list li {

    display: flex;

    align-items: flex-start;

    gap: 0.85rem;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;

    line-height: 1.6;

    transition: all 0.3s ease;

    padding: 0.75rem;

    border-radius: 8px;

    cursor: pointer;

}



.footer-services-list li:hover {

    background: rgba(245, 158, 11, 0.08);

    color: var(--white);

    padding-left: 1.25rem;

}



.footer-services-list i {

    color: var(--accent-gold);

    font-size: 1.1rem;

    flex-shrink: 0;

    margin-top: 2px;

    transition: all 0.3s ease;

}



.footer-services-list li:hover i {

    transform: scale(1.15) rotate(10deg);

}



/* ===== Column 5: Contact Info ===== */

.footer-contact-info {

    display: grid;

    gap: 1rem;

}



.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 0.75rem;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;

    line-height: 1.5;

    margin: 0;

    transition: all 0.3s ease;

}



.contact-item:hover {

    color: var(--white);

    padding-left: 0.5rem;

}



.contact-item i {

    color: var(--accent-gold);

    font-size: 1rem;

    flex-shrink: 0;

    margin-top: 2px;

}



.contact-item a {

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    transition: color 0.3s ease;

}



.contact-item a:hover {

    color: var(--accent-gold);

}



/* ===== Elegant Callout Box ===== */

.footer-callout-box {

    margin: 0;

    padding: 2rem 1rem;

    background: transparent;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    text-align: center;

    animation: fadeInUp 0.8s ease-out 0.6s both;

}



.callout-text {

    font-size: 1.25rem;

    font-weight: 600;

    color: var(--white);

    margin: 0;

    letter-spacing: -0.01em;

    line-height: 1.6;

    padding: 1.5rem 2rem;

    border: 1px solid rgba(245, 158, 11, 0.25);

    border-radius: 12px;

    background: rgba(245, 158, 11, 0.05);

    transition: all 0.3s ease;

    max-width: 600px;

    margin: 0 auto;

    position: relative;

}



.callout-text::before,

.callout-text::after {

    content: '✦';

    color: var(--accent-gold);

    margin: 0 0.75rem;

    opacity: 0.6;

    font-size: 0.9rem;

}



.callout-text:hover {

    border-color: rgba(245, 158, 11, 0.5);

    background: rgba(245, 158, 11, 0.1);

    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.12);

}



/* ===== Copyright Bar ===== */

.footer-copyright-bar {

    background: rgba(15, 23, 42, 0.6);

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    padding: 2rem 1rem;

    display: grid;

    grid-template-columns: auto 1fr auto;

    gap: 2rem;

    align-items: center;

    animation: fadeInUp 0.8s ease-out 0.7s both;

}



.copyright-left,

.copyright-center,

.copyright-right {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    flex-wrap: wrap;

}



.copyright-left a,

.copyright-right a {

    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    font-size: 0.85rem;

    transition: all 0.3s ease;

    position: relative;

}



.copyright-left a:hover,

.copyright-right a:hover {

    color: var(--accent-gold);

}



.copyright-left a::after,

.copyright-right a::after {

    content: '';

    position: absolute;

    bottom: -3px;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--accent-gold);

    transition: width 0.3s ease;

}



.copyright-left a:hover::after,

.copyright-right a:hover::after {

    width: 100%;

}



.separator {

    color: rgba(255, 255, 255, 0.3);

}



.copyright-center p {

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.85rem;

    margin: 0;

}



/* Admin Badge - "AD" */

.admin-badge {

    width: 42px;

    height: 42px;

    background: var(--accent-gold);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary-dark);

    text-decoration: none;

    font-weight: 800;

    font-size: 0.9rem;

    letter-spacing: 0.05em;

    transition: all 0.3s ease;

    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);

    opacity: 0.6;

}



.admin-badge:hover {

    opacity: 1;

    transform: scale(1.1);

    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);

}



/* ===== Animations ===== */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* ===== Responsive Design ===== */

@media (max-width: 1024px) {

    .footer-columns-grid {

        grid-template-columns: repeat(3, 1fr);

        gap: 1.5rem;

        padding: 2.5rem 1rem;

    }



    .footer-newsletter-wrapper {

        grid-template-columns: 1fr;

        gap: 2rem;

    }



    .newsletter-heading {

        font-size: 1.5rem;

    }



    .newsletter-input-wrap {

        grid-template-columns: 1fr 48px;

    }



    .newsletter-btn {

        width: 48px;

        height: 48px;

        font-size: 1rem;

    }

}



@media (max-width: 768px) {

    .footer-newsletter-bar {

        padding: 2rem 1rem;

    }



    .footer-newsletter-wrapper {

        grid-template-columns: 1fr;

        gap: 1.5rem;

    }



    .newsletter-heading {

        font-size: 1.3rem;

    }



    .newsletter-subtext {

        font-size: 0.85rem;

    }



    .footer-columns-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 1.5rem;

        padding: 2rem 1rem;

    }



    .footer-column-brand {

        grid-column: span 2;

    }



    .footer-logo-container {

        gap: 0.75rem;

    }



    .footer-copyright-bar {

        grid-template-columns: 1fr;

        gap: 1rem;

        padding: 1.5rem 1rem;

    }



    .copyright-left,

    .copyright-center,

    .copyright-right {

        justify-content: center;

        gap: 0.75rem;

    }



    .callout-text {

        font-size: 1rem;

        padding: 1rem 1.5rem;

    }



    .newsletter-heading {

        text-align: center;

    }



    .newsletter-subtext {

        text-align: center;

    }

}



@media (max-width: 480px) {

    .footer-columns-grid {

        grid-template-columns: 1fr;

        gap: 1.5rem;

        padding: 1.5rem 1rem;

    }



    .footer-column-brand {

        grid-column: span 1;

    }



    .footer-column-title,

    .footer-ministry-name {

        font-size: 1rem;

        margin-bottom: 1rem;

    }



    .footer-column-links,

    .footer-services-list {

        gap: 0.75rem;

    }



    .footer-column-links li a,

    .footer-services-list li {

        font-size: 0.85rem;

    }



    .newsletter-heading {

        font-size: 1.2rem;

    }



    .newsletter-subtext {

        font-size: 0.8rem;

    }



    .callout-text {

        font-size: 0.95rem;

        padding: 0.85rem 1rem;

    }



    .callout-text::before,

    .callout-text::after {

        content: '';

        margin: 0;

    }



    .copyright-center p {

        font-size: 0.75rem;

    }



    .copyright-left a,

    .copyright-right a {

        font-size: 0.75rem;

    }



    .social-icon {

        width: 40px;

        height: 40px;

        font-size: 0.9rem;

    }

}



/* Animations */

@keyframes pulse {

    0%,
    100% {

        opacity: 1;

        transform: scale(1);

    }

    50% {

        opacity: 0.5;

        transform: scale(1.1);

    }

}



@keyframes flameFlicker {

    0%,
    100% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.1);

        opacity: 0.8;

    }

}



/* Scroll to Top Button */

.scroll-to-top-btn {

    position: fixed;

    bottom: 2rem;

    right: 2rem;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: rgba(245, 158, 11, 0.15);

    border: 1.5px solid rgba(245, 158, 11, 0.35);

    color: #F59E0B;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);

    opacity: 0;

    visibility: hidden;

    z-index: 999;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}



.scroll-to-top-btn:hover {

    background: rgba(245, 158, 11, 0.25);

    border-color: rgba(245, 158, 11, 0.55);

    transform: translateY(-4px);

    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);

}



.scroll-to-top-btn:active {

    transform: translateY(-2px);

}



.scroll-to-top-btn.show {

    opacity: 1;

    visibility: visible;

}





/* Tablet Responsive */

@media (max-width: 992px) {

    .about-preview-content {

        grid-template-columns: 1fr;

        gap: 2rem;

    }



    .about-text,

    .about-image {

        max-width: 100%;

    }



    .about-highlights {

        grid-template-columns: 1fr;

    }



    .about-actions {

        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;

        gap: 1rem;

    }



    .about-actions .btn {

        width: auto;

        min-width: 220px;

        flex: 1 1 220px;

        justify-content: center;

    }



    .about-overlay-card {

        position: static;

        width: 100%;

        margin-top: 1.5rem;

        right: auto;

        bottom: auto;

    }

}



/* Mobile Responsive */

@media (max-width: 768px) {

    .scroll-to-top-btn {

        bottom: 1.5rem;

        right: 1.5rem;

        width: 45px;

        height: 45px;

        font-size: 1rem;

    }



    h1 {

        font-size: 2rem;

    }



    h2 {

        font-size: 1.75rem;

    }

    .nav-container {

        padding: 0 1rem;

        gap: 0.75rem;

    }



    .nav-links {

        display: none;

    }



    .nav-buttons {

        display: flex;

        align-items: center;

        gap: 0.6rem;

        flex-wrap: wrap;

        justify-content: center;

        flex: 1 1 auto;

        min-width: 0;

    }



    .live-btn,

    .giving-btn {

        padding: 0.45rem 0.75rem;

        font-size: 0.78rem;

    }



    .hamburger {

        display: flex;

        flex-direction: column;

        cursor: pointer;

        align-items: center;

        justify-content: center;

        flex-shrink: 0;

        min-width: 30px;

        min-height: 32px;

        margin-left: 0.3rem;

    }



    .hamburger span {

        width: 18px;

        height: 2px;

        background: var(--white);

        margin: 3px 0;

        transition: 0.3s;

    }



    .pastor-grid,

    .resources-content,

    .location-grid {

        grid-template-columns: 1fr;

    }



    .about-preview-content {

        grid-template-columns: 1fr;

        gap: 2rem;

    }



    .about-text,

    .about-image {

        max-width: 100%;

    }


    .about-highlights {

        grid-template-columns: 1fr;

    }



    .about-actions {

        flex-direction: column;

        flex-wrap: nowrap;

        justify-content: center;

        align-items: center;

        gap: 0.65rem;

        margin-top: 1.5rem;

    }



    .about-actions .btn {

        width: 100%;

        max-width: 320px;

        min-width: 0;

        flex: none;

        justify-content: center;

        padding: 0.7rem 1.5rem;

        font-size: 0.92rem;

    }



    .about-card {

        padding: 1.25rem;

    }



    .about-highlights {

        margin: 1.5rem 0;

        gap: 1rem;

    }



    .about-overlay-card {

        position: static;

        width: 100%;

        margin-top: 1.5rem;

        right: auto;

        bottom: auto;

    }



    .about-badge {

        position: absolute;

        top: 1rem;

        left: 1rem;

    }




    .events-grid .event-card {

        flex: 0 0 230px;

        min-width: 230px;

        height: 150px;

        padding: 0.85rem;

    }



    .events-slider-container {

        padding: 0 2.25rem;

    }



    .sermons-slider-container {

        padding: 0;

    }



    .giving-options {

        flex-direction: column;

    }



    .hero-main-title {
        font-size: 1.3rem;

        line-height: 1.2;

        max-width: 100%;

        white-space: normal;

        word-wrap: break-word;

        overflow-wrap: break-word;

        hyphens: auto;

        letter-spacing: 0.04em;

    }



    .hero-subheading {

        font-size: 0.88rem;

    }



    .hero-search-wrapper {

        max-width: 100%;

        padding: 0 0.5rem;

    }



    .hero-feature-cards {

        display: grid;

        grid-template-columns: repeat(2, minmax(100px, 1fr));

        gap: 0.8rem;

        padding: 0 0.5rem 1rem;

        margin: 0;

    }



    .hero-feature-cards::-webkit-scrollbar {

        display: none;

    }



    .feature-card {

        padding: 1rem 0.9rem;

        min-height: 125px;

    }



    .feature-icon {

        font-size: 1.7rem;

    }



    .feature-label {

        font-size: 0.85rem;

    }



    .hero-content {

        top: 32%;

        transform: translate(-50%, -32%);

        max-width: 100%;

        padding: 0 1rem;

    }


    @media (max-width: 992px) {

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

        .pastor-section .container {
            padding: 0 20px;
        }

        .pastor-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.5rem;
        }

        .pastor-image {
            width: 100%;
            display: flex;
            justify-content: center;
            order: 1;
            margin: 0 auto;
            padding: 0;
        }

        .pastor-image img {
            width: 100%;
            max-width: 380px;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 20px;
        }

        .pastor-content {
            order: 2;
            width: 100%;
            text-align: center;
            margin: 0;
        }

        .pastor-content h2 {
            font-size: 2rem;
        }

        .pastor-content p {
            font-size: 1rem;
            line-height: 1.8;
        }

        .pastor-stats {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.6rem;
            margin-top: 1.5rem;
        }

        .stat {
            padding: 0.8rem 0.45rem;
            border-radius: 14px;
        }

        .stat h4 {
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .stat p {
            font-size: 0.72rem;
            line-height: 1.3;
        }

    }



    .mobile-menu {

        width: 100%;

        max-width: 100%;

        padding: 1.5rem;

    }



    .mobile-menu-links {

        gap: 1rem;

    }



    .mobile-menu-section-title {

        color: rgba(255, 255, 255, 0.7);

        font-size: 0.82rem;

        text-transform: uppercase;

        letter-spacing: 0.12em;

        margin: 1rem 0 0.5rem;

    }

}



.mobile-menu {

    position: fixed;

    top: 0;

    right: -100%;

    width: 80%;

    max-width: 350px;

    height: 100%;

    background: var(--primary-navy);

    z-index: 2000;

    transition: right 0.3s ease;

    padding: 2rem;

}



.mobile-menu.active {

    right: 0;

}



.mobile-menu-links {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-top: 2rem;

}



.mobile-menu-links a {

    color: var(--white);

    text-decoration: none;

    font-size: 1.1rem;

    padding: 0.5rem 0;

}







@media (max-width: 640px) {

    .hero-main-title {

        white-space: normal;


        word-wrap: break-word;

        overflow-wrap: break-word;

        hyphens: auto;

    }

    .hero-content {

        top: 48%;

        transform: translate(-50%, -48%);

        padding: 0 1rem;

    }

}



.mobile-menu {

    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);

}

.mobile-menu-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.mobile-menu-header .close-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2rem;

    line-height: 1;

    padding: 0;

}



/* Final mobile navigation override for all pages */
@media (max-width: 900px) {

    .live-btn,
    .giving-btn {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.78rem !important;
    }

    .hamburger {
        order: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin-left: auto !important;
    }

    .hamburger span {
        width: 20px !important;
        height: 2px !important;
        background: var(--white) !important;
    }

    .sermons-slider-container {
        padding: 0 0.4rem;
    }

    .sermons-slider {
        flex-wrap: nowrap;
        gap: 0.8rem;
        padding: 0.7rem 0.1rem 0.8rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .sermons-slider::-webkit-scrollbar {
        display: none;
    }

    .sermon-card {
        flex: 0 0 84%;
        min-width: 84%;
        max-width: 84%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        scroll-snap-align: start;
        padding: 0;
    }

    .sermon-image {
        height: 130px;
    }

    .sermon-overlay {
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .play-sermon {
        width: 50px;
        height: 50px;
    }

    .sermon-info h3 {
        font-size: 1rem;
    }

    .sermon-info .preacher,
    .download-btn {
        font-size: 0.82rem;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
    }

    .prev-btn {
        left: 0.6rem;
    }

    .next-btn {
        right: 0.6rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none !important;
    }

    .nav-buttons {
        justify-content: flex-end !important;
        gap: 0.5rem !important;
        margin: 0 !important;
        flex: 1 1 auto !important;
    }

    .hamburger {
        order: 2 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

html,

html,

body {

    overflow-y: auto !important;

}



.pastor-section,

.about-preview,

.sermons-section,

.resources-section,

.events-section,

.location-section,

.testimonies-section {

    display: block !important;

    opacity: 1 !important;

    visibility: visible !important;

    transform: none !important;

}

@media (min-width: 901px) {

    .navbar .nav-container {

        display: flex;

        align-items: center;

        justify-content: space-between;

    }



    .hamburger {

        display: none !important;

    }



    .nav-buttons {

        order: 2;

        margin: 0;

        justify-content: flex-end;

    }



    .logo {

        order: 0;

    }



    .nav-links {

        order: 1;

        margin-left: 2rem;

    }

}








/* ============================================================
   REDEFINITION MINISTRIES — Design System Overrides
   Applied AFTER all existing styles to unify brand
   ============================================================ */

/* ── Body & Base Typography ─────────────────────────────────── */
body {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
}

/* ── Section Background System ──────────────────────────────── */
/* Alternate section backgrounds: white → blue → white → blue */

/* Pastor / About preview section → white bg with blue accent */
.pastor-section {
    background: #ffffff !important;
    color: #111827 !important;
}

.pastor-section h2,
.pastor-section h3 {
    color: #1A3A6E !important;
}

.pastor-section p {
    color: #4B5563 !important;
}

.pastor-section .section-tag {
    color: #E87722 !important;
}

/* Sermons section → deep blue */
.sermons-section {
    background: linear-gradient(135deg, #0F2347 0%, #1A3A6E 60%, #22477F 100%) !important;
    color: #ffffff !important;
}

.sermons-section h2,
.sermons-section .section-tag {
    color: #ffffff !important;
}

.sermons-section .section-tag {
    color: rgba(249, 147, 64, 0.9) !important;
}

/* Resources section → white */
.resources-section {
    background: #F9FAFB !important;
    color: #111827 !important;
}

.resources-section h2 {
    color: #1A3A6E !important;
}

.resources-section .section-tag {
    color: #E87722 !important;
}

/* Events section → deep blue */
.events-section {
    background: linear-gradient(135deg, #0F2347 0%, #1A3A6E 100%) !important;
    color: #ffffff !important;
}

.events-section h2 {
    color: #ffffff !important;
}

.events-section .section-tag {
    color: rgba(249, 147, 64, 0.9) !important;
}

/* Location section → white */
.location-section {
    background: #ffffff !important;
    color: #111827 !important;
}

.location-section h2 {
    color: #1A3A6E !important;
}

.location-section .section-tag {
    color: #E87722 !important;
}

/* Testimonies section → gradient blue */
.testimonies-section {
    background: linear-gradient(135deg, #1A3A6E 0%, #0F2347 100%) !important;
    color: #ffffff !important;
}

.testimonies-section h2 {
    color: #ffffff !important;
}

.testimonies-section .section-tag {
    color: rgba(249, 147, 64, 0.9) !important;
}

/* ── Section Headers ─────────────────────────────────────────── */
.section-tag {
    color: #E87722 !important;
    font-family: 'Archivo', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.section-header h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
}

/* ── Card Upgrades ────────────────────────────────────────────── */
.sermon-card,
.resource-card,
.event-card {
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
    overflow: hidden;
}

.sermon-card:hover,
.resource-card:hover,
.event-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16) !important;
}

/* ── Button Upgrades ─────────────────────────────────────────── */
.btn,
.btn-primary {
    font-family: 'Archivo', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #C55F10 0%, #E87722 60%, #F59340 100%) !important;
    box-shadow: 0 4px 18px rgba(232, 119, 34, 0.4) !important;
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(232, 119, 34, 0.5) !important;
}

.btn-outline {
    border-color: #1A3A6E !important;
    color: #1A3A6E !important;
    border-radius: 999px !important;
}

.btn-outline:hover {
    background: #1A3A6E !important;
    color: #ffffff !important;
}

/* ── Navbar Override ──────────────────────────────────────────── */
/* Use the new ds-navbar styles; hide legacy navbar class duplicates */
.navbar.scrolled {
    background: rgba(15, 35, 71, 0.97) !important;
    backdrop-filter: blur(12px) !important;
}

.nav-links a.active {
    color: #F59340 !important;
}

.nav-links a:hover {
    color: #ffffff !important;
}

.giving-btn {
    background: linear-gradient(135deg, #C55F10 0%, #E87722 100%) !important;
    box-shadow: 0 4px 16px rgba(232, 119, 34, 0.4) !important;
    border-radius: 999px !important;
}

.giving-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 24px rgba(232, 119, 34, 0.55) !important;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(180deg, #0F2347 0%, #0A1829 100%) !important;
    font-family: 'Archivo', sans-serif !important;
}

.footer-newsletter-bar {
    background: linear-gradient(135deg, #1A3A6E 0%, #0F2347 100%) !important;
}

.newsletter-btn {
    background: linear-gradient(135deg, #C55F10 0%, #E87722 100%) !important;
}

/* ── Accent Color ─────────────────────────────────────────────── */
/* Replace all gold/amber accents with brand orange */
.highlight,
.accent-gold,
[style*="#D97706"],
[style*="#F59E0B"] {
    color: #E87722 !important;
}

/* ── Admin pages body override ────────────────────────────────── */
body.admin-body {
    background: #F9FAFB !important;
    color: #1F2937 !important;
    font-family: 'Archivo', sans-serif !important;
}

/* ── Contact / Inner Page Hero Strip ─────────────────────────── */
.page-hero,
.contact-hero,
.about-hero,
.resources-hero,
.events-hero {
    background: linear-gradient(135deg, #0F2347 0%, #1A3A6E 60%, #2C5EA8 100%) !important;
    color: #ffffff !important;
    font-family: 'Archivo', sans-serif !important;
}

.page-hero h1,
.contact-hero h1,
.about-hero h1,
.resources-hero h1 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* ── Wide-screen Container Enhancement ───────────────────────── */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .nav-container {
        max-width: 1480px;
    }

    .section-header {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1560px;
    }

    .nav-container {
        max-width: 1760px;
    }
}

/* ── Admin nav link color override ───────────────────────────── */
.admin-nav-links a.active {
    background: rgba(232, 119, 34, 0.15) !important;
    color: #F59340 !important;
}

.admin-nav-links a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* ======================================================================
   Site-wide footer fixes (moved out of animations.css so about.php and
   the course/lesson pages, which don't load animations.css, get them too)
   ====================================================================== */
/* ── Footer: newsletter input floats to the edge ─────────────── */
.footer-newsletter-wrapper {
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 560px) !important;
}

.newsletter-right {
    width: 100%;
    justify-self: end;
}

.footer-newsletter-form,
.newsletter-input-wrap {
    width: 100%;
}

@media (max-width: 900px) {
    .footer-newsletter-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* ── Footer: social icons centred (desktop + mobile) ─────────── */
.footer-copyright-bar .footer-social-icons-group {
    justify-content: center;
    justify-self: center;
}

@media (max-width: 900px) {
    .footer-copyright-bar .footer-social-icons-group {
        width: 100%;
        justify-content: center;
    }
}

/* ── Footer copyright bar: true center for the social icons ─── */
.footer-copyright-bar {
    grid-template-columns: 1fr auto 1fr !important;
}

.footer-copyright-bar .copyright-center {
    text-align: right;
}

@media (max-width: 900px) {
    .footer-copyright-bar {
        grid-template-columns: 1fr !important;
    }
