
 /* ===========================
   GLOBAL STYLES
=========================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f4ff;
}

.fade-in {
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   NAVIGATION BAR
=========================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #002b80;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 12px;
}

.church-name {
    font-size: 22px;
    font-weight: bold;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

nav a:hover {
    color: #ff1a1a;
}

.give-btn {
    background: #ff1a1a;
    padding: 10px 18px;
    border-radius: 5px;
}

/* Hamburger */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 12px;
    background: #ff1a1a;
    border-radius: 5px;
    color: white;
}

/* ===========================
   MOBILE MENU
=========================== */
@media (max-width: 900px) {

    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #002b80;
        text-align: center;
        padding: 22px 0;
        border-radius: 0 0 10px 10px;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 9999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        margin: 12px 0;
        font-size: 18px;
    }
}

/* ===========================
   HERO VIDEO SECTION
=========================== */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    background: rgba(0,0,0,0.45);
    padding: 40px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 50px;
}

.hero-overlay p {
    font-size: 22px;
}

/* CTA Button */
.cta-btn {
    padding: 12px 25px;
    background: #ff1a1a;
    border-radius: 6px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.cta-btn:hover {
    background: #cc0000;
}

/* ===========================
   SLIDESHOW SECTION
=========================== */
.slideshow {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 60px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #000;
}

.slides-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Slideshow Text */
.slide-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.55);
    color: white;
    padding: 12px 20px;
    font-size: 24px;
    border-radius: 6px;
}

/* Slideshow Arrows */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 26, 26, 0.8);
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 999;
}

.slide-btn:hover {
    background: #cc0000;
}

.prev { left: 15px; }
.next { right: 15px; }

@media (max-width: 700px) {
    .slides-container { height: 300px; }
    .slide-text {
        font-size: 16px;
        bottom: 20px;
        left: 20px;
    }
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    color: #002b80;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-section {
    padding: 60px 20px;
    text-align: center;
}

.about-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-card {
    background: white;
    width: 280px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.about-card h2 {
    color: #ff1a1a;
}

/* ===========================
   MINISTRIES PAGE
=========================== */

.ministries-section {
    padding: 60px 20px;
    text-align: center;
}

.ministries-section h1 {
    font-size: 36px;
    color: #002b80;
}

.ministries-section .intro {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #333;
    font-size: 18px;
}

.ministries-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ministry-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    animation: fadeInUp .8s ease both;
}

.ministry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ministry-img {
    height: 200px;
    overflow: hidden;
}

.ministry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ministry-card h2 {
    margin-top: 12px;
    color: #002b80;
}

.more-btn {
    margin: 15px 0 20px;
    padding: 10px 20px;
    background: #ff1a1a;
    color: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.more-btn:hover {
    background: #cc0000;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 30000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn .3s ease-out;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 30px;
}

.modal-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 12px;
    overflow: hidden;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===========================
   COOKIE CONSENT BANNER
=========================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #002b80;
    color: white;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    font-size: 15px;
    z-index: 99999;
}

.cookie-banner button {
    background: #ff1a1a;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #cc0000;
}

.cookie-banner.hide {
    display: none;
}
/* ===========================
   COOKIE CONSENT BANNER
=========================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #002b80;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    z-index: 99999;
}

.cookie-banner button {
    background: #ff1a1a;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #cc0000;
}
/* ==========================================
   FAITH SECTION — Mission, Vision, Values
========================================== */
.faith-section {
    padding: 60px 20px;
    background: #f8faff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #002b80;
    text-align: center;
    margin-top: 40px;
}

.section-text,
.section-subtext {
    text-align: center;
    max-width: 900px;
    margin: 10px auto 25px;
    font-size: 18px;
    color: #333;
}

/* GRID FOR VALUES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.value-card h3 {
    color: #ff1a1a;
    margin-bottom: 12px;
}

.value-card details {
    margin-top: 10px;
    background: #eef3ff;
    padding: 10px;
    border-radius: 6px;
}

/* ABC OF SALVATION */
.abc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.abc-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.abc-card h3 {
    color: #002b80;
}

/* Salvation Box */
.salvation-box {
    margin-top: 40px;
    background: #002b80;
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

/* Verses list */
.verses li {
    list-style: none;
    text-align: center;
    font-size: 18px;
}


/* Mobile */
@media (max-width: 900px) {
    .ministries-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================
   CONTACT PAGE
=========================== */
.contact-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    width: 260px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ===========================
   GIVING PAGE
=========================== */
.give-section {
    padding: 60px 20px;
    text-align: center;
}

#givingForm {
    max-width: 350px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

#givingForm input {
    padding: 14px;
    margin: 10px 0;
    border: 2px solid #002b80;
    border-radius: 6px;
}

#givingForm button {
    padding: 14px;
    background: #ff1a1a;
    border-radius: 6px;
    border: none;
    color: white;
    font-size: 18px;
}

/* ===========================
   LEADERS PAGE
=========================== */
.leaders-section {
    padding: 60px 20px;
    text-align: center;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: 0.3s;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.leader-photo {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    padding: 16px;
}

.leader-info h3 {
    color: #002b80;
    margin: 0;
}

.leader-info .title {
    color: #ff1a1a;
    font-weight: 600;
}

.bio-btn {
    background: #002b80;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: white;
    max-width: 900px;
    margin: 60px auto;
    padding: 24px;
    border-radius: 10px;
}

/* ===========================
   EVENTS PAGE
=========================== */
.events-section,
.past-events {
    padding: 60px 20px;
    text-align: center;
}

.events-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-date {
    background: #ff1a1a;
    color: white;
    width: 70px;
    text-align: center;
    padding: 10px 0;
    border-radius: 10px;
}

.day { font-size: 28px; font-weight: bold; }
.month { font-size: 16px; }

.event-info h2 {
    color: #002b80;
    margin: 0 0 5px;
}

/* Past events dimmed */
.event-card.past {
    background: #eaeaea;
    opacity: 0.75;
}

/* Responsive Events */
@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   SERMONS PAGE
=========================== */

.sermons-section {
    padding: 60px 20px;
    text-align: center;
}

.sermons-section h1 {
    font-size: 36px;
    color: #002b80;
}

.sermons-section .intro {
    font-size: 18px;
    color: #333;
    max-width: 700px;
    margin: 0 auto 40px;
}

.sermons-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sermon-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: 0.3s;
}

.sermon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.sermon-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sermon-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sermon-info {
    padding: 18px;
    text-align: left;
}

.sermon-info h2 {
    color: #002b80;
    margin: 0 0 8px;
}

.speaker {
    color: #ff1a1a;
    font-size: 15px;
    margin-bottom: 6px;
}

.date {
    color: #555;
    font-size: 14px;
    margin-bottom: 14px;
}

.sermon-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #002b80;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.sermon-btn:hover {
    background: #001f5a;
}

/* Responsive */
@media (max-width: 900px) {
    .sermons-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   GALLERY PAGE
=========================== */
.gallery-section {
    padding: 60px 20px;
    text-align: center;
}

.gallery-section h1 {
    font-size: 36px;
    color: #002b80;
    margin-bottom: 8px;
}

.gallery-section .intro {
    max-width: 900px;
    margin: 0 auto 30px;
    color: #333;
    font-size: 18px;
}

/* grid */
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    cursor: zoom-in;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

/* hover zoom */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 30000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(12,12,12,0.85);
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.lightbox .lb-inner {
    max-width: 1100px;
    max-height: 85vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lightbox img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lb-caption {
    color: #fff;
    font-size: 15px;
    opacity: 0.9;
    text-align: center;
}

/* Controls */
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255,255,255,0.06);
    border: none;
    color: white;
    font-size: 32px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

.lb-close { right: 22px; top: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: rgba(255,255,255,0.12); }

/* show */
.lightbox.show {
    display: flex;
}

/* Responsive */
@media (max-width: 1000px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .lb-prev, .lb-next {
        font-size: 24px;
        padding: 8px 10px;
    }
}
/* ===========================
   LIVESTREAM PAGE
=========================== */

.livestream-section {
    padding: 60px 20px;
    text-align: center;
}

.livestream-section h1 {
    font-size: 36px;
    color: #002b80;
}

.livestream-section .intro {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #333;
}

/* Countdown */
.countdown-box {
    background: #002b80;
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto 40px;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#countdown span {
    font-size: 26px;
    font-weight: bold;
}

/* Video Container */
.live-video-container {
    max-width: 900px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.live-video-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Live Button */
.live-btn {
    display: inline-block;
    margin-top: 25px;
    background: #ff1a1a;
    padding: 14px 28px;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.live-btn:hover {
    background: #cc0000;
}

/* Responsive */
@media (max-width: 700px) {
    .live-video-container iframe {
        height: 260px;
    }

    .countdown-box {
        font-size: 18px;
    }
}
/* ===========================
   LIVESTREAM PAGE
=========================== */

.livestream-section {
    padding: 60px 20px;
    text-align: center;
}

.livestream-section h1 {
    font-size: 36px;
    color: #002b80;
}

.livestream-section .intro {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #333;
}

/* Countdown */
.countdown-box {
    background: #002b80;
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto 40px;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#countdown span {
    font-size: 26px;
    font-weight: bold;
}

/* Video Container */
.live-video-container {
    max-width: 900px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.live-video-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Live Button */
.live-btn {
    display: inline-block;
    margin-top: 25px;
    background: #ff1a1a;
    padding: 14px 28px;
    border-radius: 6px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.live-btn:hover {
    background: #cc0000;
}

/* Responsive */
@media (max-width: 700px) {
    .live-video-container iframe {
        height: 260px;
    }

    .countdown-box {
        font-size: 18px;
    }
}

/* ===========================
   HOMEPAGE UPGRADE (Hero, Sections)
=========================== */

/* containers */
.container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero tweaks (uses your existing .hero and .hero-video) */
.home-hero { min-height: 80vh; display:flex; align-items:center; justify-content:center; }
.home-hero-overlay { max-width: 980px; padding: 36px; border-radius:12px; }
.home-hero-overlay .lead { font-size: 20px; margin: 12px 0 18px; color: #f1f4ff; }

/* hero CTA buttons */
.hero-ctas { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn { display:inline-block; text-decoration:none; padding:10px 18px; border-radius:8px; font-weight:700; }
.btn.primary { background:#ff1a1a; color:#fff; }
.btn.outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.14); }
.btn.donate { background:#002b80; color:#fff; }

/* home sections */
.home-section { padding:60px 0; background:transparent; }
.section-head { text-align:center; margin-bottom:28px; }
.section-head h2 { color:#002b80; font-size:32px; margin:0; }
.section-head p { color:#333; max-width:800px; margin:8px auto 0; }

/* cards grid */
.cards { display:flex; gap:18px; justify-content:center; flex-wrap:wrap; align-items:stretch; }
.card { background:#fff; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,0.08); overflow:hidden; width:100%; max-width:360px; display:flex; flex-direction:column; }
.card img { width:100%; height:160px; object-fit:cover; }
.card-body { padding:18px; flex:1; display:flex; flex-direction:column; gap:8px; }
.link-cta { color:#002b80; font-weight:700; text-decoration:none; margin-top:auto; }

/* event card specifics */
.event-card { display:flex; gap:14px; align-items:flex-start; padding:12px; }
.event-date-box { background:#ff1a1a; color:#fff; padding:10px; border-radius:8px; text-align:center; width:70px; flex-shrink:0; }
.event-date-box .day { display:block; font-size:22px; font-weight:800; }
.event-date-box .month { display:block; font-size:12px; text-transform:uppercase; }

/* ministries layout */
.ministry-card { text-align:left; }
.ministry-card h3 { margin:0 0 6px; color:#002b80; }

/* sermon preview */
.sermon-wrap { display:flex; gap:22px; align-items:flex-start; justify-content:center; flex-wrap:wrap; }
.sermon-player { width: 640px; max-width: 100%; border-radius:10px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,0.14); }
.sermon-player iframe { width:100%; height:360px; display:block; }
.sermon-meta { max-width:420px; }

/* pastor welcome split */
.split { display:flex; gap:28px; align-items:center; justify-content:center; flex-wrap:wrap; }
.photo-col img { width: 360px; max-width:100%; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,0.12); }

/* testimonials */
.testimonial-slider { position:relative; max-width:900px; margin:0 auto; min-height:140px; }
.testimonial { display:none; text-align:center; padding:20px; font-size:18px; color:#333; }
.testimonial.active { display:block; }
.testimonial footer { margin-top:10px; color:#777; font-weight:700; }

/* CTA stripe */
.cta-stripe { background:linear-gradient(90deg,#002b80,#003399); color:#fff; padding:28px 0; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.cta-inner h3 { margin:0; font-size:20px; }

/* footer year */
footer { padding:18px; text-align:center; background:#002b80; color:#fff; margin-top:18px; }

/* responsive */
@media (max-width: 980px) {
  .sermon-player iframe { height:260px; }
  .photo-col img { width:280px; }
}

@media (max-width: 700px) {
  .cards { flex-direction:column; align-items:center; }
  .sermon-wrap { flex-direction:column; }
  .split { flex-direction:column; }
  .hero-overlay { padding:20px; }
}
/* ===========================
   PREMIUM 4-COLUMN FOOTER
=========================== */

.footer {
    background: #002b80;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h3, 
.footer-col h4 {
    margin-bottom: 12px;
    color: white;
}

.footer-col p {
    color: #e0e7ff;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #e0e7ff;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #ff1a1a;
}

/* Social icons */
.socials {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.social-circle {
    background: white;
    color: #002b80;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.social-circle:hover {
    background: #ff1a1a;
    color: white;
}

/* Bottom Section */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.25);
    color: #cbd5ff;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .socials {
        justify-content: center;
    }
}
/* ===========================
   FOOTER SOCIAL ICONS + NEWSLETTER
=========================== */

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #002b80;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: .25s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #ff1a1a;
    color: white;
}

/* Specific brand colors (optional) */
.fb:hover { background: #1877f2; }
.ig:hover { background: #E1306C; }
.yt:hover { background: #cc0000; }
.wa:hover { background: #25D366; }

/* Newsletter box */
.newsletter-box {
    margin-top: 18px;
    background: rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 10px;
}

.newsletter-box h4 {
    margin: 0 0 6px;
    color: #fff;
}

.newsletter-box p {
    color: #e0e7ff;
    margin-bottom: 10px;
}

#newsletterForm {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

#newsletterEmail {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    outline: none;
}

#newsletterForm button {
    background: #ff1a1a;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#newsletterForm button:hover {
    background: #cc0000;
}

.newsletter-response {
    font-size: 14px;
    color: #e0e7ff;
}
/* ============================
  FAITH HERO (bg) + VALUES + ABC
============================ */
.faith-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 40px;
  overflow: hidden;
}

.faith-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center center;
  filter: saturate(0.95) contrast(0.9) brightness(0.55);
  transform: scale(1.03);
  will-change: transform;
  transition: transform 0.8s ease;
}

.faith-hero:hover .faith-hero-bg{ transform: scale(1.05); }

.faith-hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding:60px 20px;
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:center;
  text-align:center;
}

.faith-top{
  display:flex;
  gap:18px;
  width:100%;
  max-width:1100px;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
}

.mission-card, .vision-card{
  background: rgba(255,255,255,0.06);
  padding:18px;
  border-radius:10px;
  width:420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(2px);
  transition: transform .35s ease, box-shadow .35s ease;
}

.mission-card:hover, .vision-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.mission-card h3, .vision-card h3{
  margin:6px 0 10px;
  font-size:20px;
  color:#fff;
}

.mission-card p, .vision-card p{
  color: #f1f6ff;
  font-size:16px;
}

/* icon */
.icon{ width:36px; height:36px; color:#ff1a1a; display:inline-block; vertical-align:middle; margin-right:10px; }

/* hero actions */
.faith-actions{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:6px; }
.btn { display:inline-block; padding:12px 18px; border-radius:8px; text-decoration:none; font-weight:700; }
.btn.primary{ background:#ff1a1a; color:#fff; }
.btn.outline{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.18); }
.btn.ghost{ background: rgba(255,255,255,0.08); color:#fff; border:1px solid rgba(255,255,255,0.06); }
.btn.small{ background: #002b80; color:#fff; }

/* VALUES */
.values-section{ padding:40px 20px 60px; background:#fff; margin-bottom:20px; border-top: 6px solid #002b80; }
.values-title{ text-align:center; color:#002b80; font-size:28px; margin-bottom:6px; }
.values-sub{ text-align:center; color:#333; margin-bottom:18px; }

.values-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:18px;
  margin-top:20px;
}

.value{
  background:#fff;
  padding:16px;
  border-radius:10px;
  box-shadow:0 8px 22px rgba(0,0,0,0.06);
}

.value-head{ display:flex; gap:10px; align-items:center; }
.value .tag{
  width:46px; height:46px; background:#ff1a1a; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; border-radius:8px;
  font-size:18px;
}

/* details styles */
.value details{ margin-top:10px; }
.value summary{ cursor:pointer; font-weight:700; margin-bottom:6px; }
.verse-list{ margin:6px 0 0; padding-left:16px; color:#333; }

/* ABC */
.abc-section{ padding:36px 20px 60px; background:#f7fbff; }
.abc-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:12px; margin-top:18px; }
.abc{ background:#fff; padding:14px; border-radius:10px; box-shadow:0 6px 18px rgba(0,0,0,0.06); }
.prayer-box{ margin-top:18px; padding:18px; border-radius:8px; background:#002b80; color:#fff; }

/* responsiveness */
@media (max-width:900px){
  .mission-card, .vision-card{ width:100%; }
  .faith-hero-inner{ padding:32px 18px; }
}
/* ===========================
   COOKIE CONSENT — GOOGLE STYLE
=========================== */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 420px;
    background: #ffffff;
    color: #333;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: none; /* hidden until JS shows */
    align-items: center;
    gap: 12px;
    z-index: 99999;
    animation: fadeUp 0.45s ease-out;
}

.cookie-banner p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
}

.cookie-banner a {
    color: #002b80;
    text-decoration: underline;
}

.cookie-banner button {
    background: #002b80;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.cookie-banner button:hover {
    background: #001f5a;
}

/* animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
/* ======================================
   PREMIUM FULL-WIDTH HERO FOR LEADERS PAGE
====================================== */
.leader-hero {
    position: relative;
    height: 65vh;
    min-height: 420px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.leader-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) contrast(1.1);
    transform: scale(1.05);
    transition: transform 1.2s ease;
}

.leader-hero:hover .leader-hero-bg {
    transform: scale(1.08);
}

.leader-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.leader-hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 10px;
}

.leader-hero-content .title {
    font-size: 22px;
    color: #ffdfdf;
    font-weight: 600;
}

.leader-hero-content .intro {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .leader-hero {
        height: 55vh;
    }
    .leader-hero-content h1 {
        font-size: 30px;
    }
    .leader-hero-content .title {
        font-size: 18px;
    }
}
/* MODAL: allow full bio, scroll if long */
#bioModal {
  display: none;
  position: fixed;
  z-index: 30000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}

#bioModal.show { display: flex; }

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 840px;
  max-height: 85vh;            /* limit modal height */
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  padding: 28px 36px;
  box-sizing: border-box;
}

/* modal body area that can scroll */
#modalBio {
  margin-top: 18px;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  overflow-y: auto;            /* ENABLE vertical scroll inside modal */
  max-height: calc(85vh - 300px); /* leave space for header/photo/buttons */
  padding-right: 8px;
}

/* modal photo */
.modal-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* keeps correct aspect ratio */
  object-position: center;
}

/* make modal heading look good */
#modalName {
  text-align: center;
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
}

.modal-title {
  text-align: center;
  color: #555;
  margin-top: 6px;
  font-weight: 600;
}

/* small screens: adjust */
@media (max-width: 700px) {
  .modal-content { padding: 18px; max-width: 95%; }
  .modal-photo { width: 120px; height: 120px; }
  #modalBio { max-height: calc(85vh - 260px); font-size: 15px; }
}

/* ===========================
   PREMIUM BUTTON ANIMATIONS
=========================== */

.btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.28s ease-in-out;
    transform: translateY(0);
}

/* Hover: Lift + Glow + Soft Bounce */
.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

/* Buttons Specific Glow Colors */
.btn.primary:hover {
    box-shadow: 0 0 18px rgba(255, 26, 26, 0.65);
}

.btn.outline:hover {
    box-shadow: 0 0 16px rgba(255,255,255,0.45);
}

.btn.small:hover {
    box-shadow: 0 0 14px rgba(0,43,128,0.55);
}

.btn.donate:hover {
    box-shadow: 0 0 18px rgba(0,43,128,0.55);
}

/* Ripple Click Effect */
.btn:active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: rippleAnim 0.55s ease-out forwards;
}

@keyframes rippleAnim {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(22);
    }
}

/* Bounce subtle exit when hover ends */
.btn {
    transition: transform 0.25s cubic-bezier(.43,1.46,.68,.87), box-shadow 0.25s ease;
}

/* Delay variations (optional) */
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .30s; }
.delay-3 { transition-delay: .45s; }

/* ===========================
   BUTTON HOVER ANIMATIONS
=========================== */
.btn,
.link-cta {
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover,
.link-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
/* Leader Hero Styling */
.leader-hero {
    position: relative;
    min-height: 420px;
    color: white;
    padding: 70px 20px;
    text-align: center;
    overflow: hidden;
}

.leader-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top; /* keeps faces visible */
    filter: brightness(0.55);
    z-index: -1;
}

.leader-hero-inner {
    max-width: 900px;
    margin: auto;
}

.leader-hero-inner h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.hero-bio-btn {
    margin-top: 18px;
}


/* ============================
  MINISTRIES: HERO, GRID, MODAL & FORM
   (Drop this into your style.css)
============================ */

/* HERO — fullscreen, soft parallax-ready */
.ministries-hero{
  position: relative;
  min-height: 48vh;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  overflow:hidden;
  background-image: url('ministries-hero.jpg'); /* replace file if needed */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* soft parallax via transform (improves perf vs background-attachment) */
  will-change: transform;
  transition: transform 0.2s ease-out;
}

/* overlay for better contrast */
.ministries-hero::before{
  content: "";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
  z-index:1;
}

.ministries-hero-overlay{
  position: relative;
  z-index:2;
  max-width:1100px;
  padding: 36px;
  text-align:center;
  border-radius: 12px;
}

.ministries-hero h1{
  margin:0 0 8px;
  font-size: 38px;
  letter-spacing: .2px;
}

.ministries-hero p{
  margin:0;
  font-size: 18px;
  line-height:1.5;
  color: rgba(255,255,255,0.94);
}

/* MINISTRIES SECTION base */
.ministries-section{
  padding: 56px 18px;
  background: #f7fbff;
  text-align:center;
}

.ministries-section h1{
  color: #002b80;
  font-size: 32px;
  margin-bottom:8px;
}

.ministries-section .intro{
  color:#333;
  margin-bottom:30px;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

/* GRID: 3 x 3 responsive */
.ministries-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width:1200px;
  margin: 0 auto;
  align-items:start;
  padding: 6px;
}

/* single card */
.ministry-card{
  background:#fff;
  border-radius:12px;
  box-shadow: 0 10px 28px rgba(15,30,60,0.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}

.ministry-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(12,28,60,0.12);
}

.ministry-img{
  height:180px;
  overflow:hidden;
  background: #e9eefc;
}

.ministry-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .6s ease;
}

.ministry-card:hover .ministry-img img{
  transform: scale(1.06);
}

.ministry-card h2{
  margin:14px 18px 8px;
  color:#002b80;
  font-size:20px;
}

.ministry-card .more-btn{
  margin:12px 18px 18px;
  padding:10px 14px;
  border:none;
  background:#ff1a1a;
  color:#fff;
  font-weight:700;
  border-radius:8px;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ministry-card .more-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* JOIN TEAM section */
.join-team{
  padding: 48px 18px;
  background: #fff;
  text-align:center;
}

.join-team h2{ color:#002b80; font-size:28px; margin-bottom:6px; }
.join-team p{ color:#444; margin-bottom:18px; max-width:880px; margin-left:auto; margin-right:auto; }

/* form */
.team-form{
  max-width:820px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:12px;
}

.form-row{ display:flex; gap:12px; }
.form-row input{ flex:1; }

.team-form input[type="text"],
.team-form input[type="email"],
.team-form input[type="tel"],
.team-form select,
.team-form textarea{
  padding:12px 14px;
  border-radius:8px;
  border: 1px solid rgba(0,43,128,0.12);
  font-size:15px;
  outline:none;
  box-shadow: none;
}

.team-form textarea{
  min-height:110px;
  resize:vertical;
}

/* small helper for phone */
.team-form input[type="tel"]{
  max-width:320px;
}

/* submit */
.team-form .btn.primary{
  align-self:center;
  padding:12px 28px;
  border-radius:10px;
}

/* accessible focus */
.team-form input:focus,
.team-form select:focus,
.team-form textarea:focus,
.more-btn:focus,
.btn:focus{
  box-shadow: 0 6px 18px rgba(0,43,128,0.12);
  border-color: #002b80;
}

/* MODAL styling (ministryModal) */
.modal {
  display: none;
  position: fixed;
  z-index: 40000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  align-items:center;
  justify-content:center;
  padding:28px;
}

.modal.show { display:flex; }

.modal-content {
  background:#fff;
  width:100%;
  max-width:840px;
  border-radius:12px;
  padding:20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
  text-align:left;
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.modal-photo{ flex:0 0 220px; border-radius:10px; overflow:hidden; background:#f2f6ff; }
.modal-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

.modal-content h2{ margin:0 0 8px; color:#002b80; }
.modal-content p{ color:#333; line-height:1.6; }

/* close icon */
.modal-close{
  position:absolute;
  right:26px;
  top:18px;
  font-size:28px;
  cursor:pointer;
  color:#fff;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .ministries-grid{ grid-template-columns: repeat(2, 1fr); }
  .modal-content{ flex-direction:column; align-items:center; text-align:center; }
  .modal-photo{ width:100%; max-width:420px; height:260px; }
  .form-row{ flex-direction:column; }
}

@media (max-width: 640px){
  .ministries-grid{ grid-template-columns: 1fr; gap:14px; }
  .ministries-hero h1{ font-size: 28px; }
  .ministries-hero p{ font-size:16px; }
  .modal-photo{ height:200px; }
}
/* ============================
   MINISTRIES HERO — PERFECT FIT
============================ */

.ministries-hero{
  position: relative;
  width:100%;
  min-height: 50vh;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  overflow:hidden;

  /* Use your uploaded hero image */
  background-image: url('ministries-hero.jpg');
  background-size: cover;         /* Ensures full coverage */
  background-position: center;    /* Prevents heads from cutting off */
  background-repeat: no-repeat;
}

/* Dark overlay */
.ministries-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
  z-index:1;
}

.ministries-hero-overlay{
  position:relative;
  z-index:2;
  text-align:center;
  padding:40px 20px;
  max-width:900px;
}

.ministries-hero-overlay h1{
  font-size:40px;
  margin-bottom:8px;
}

.ministries-hero-overlay p{
  font-size:18px;
  opacity:0.95;
}
/* ============================
   MINISTRY CARD IMAGE FIX
============================ */

.ministry-img {
    width: 100%;
    height: 220px;       /* Ensures uniform image box size */
    overflow: hidden;
    border-radius: 10px 10px 0 0;  /* Smooth rounded top */
}

.ministry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* Fills area without stretching */
    object-position: center;  /* Centers important subject */
    display: block;
}
/* ============================================
   🔥 FINAL OVERRIDE: FORCE MINISTRY PHOTOS TO FIT
============================================ */

.ministries-grid .ministry-card .ministry-img {
    width: 100%;
    height: 240px !important;   /* force height */
    overflow: hidden !important;
    border-radius: 10px 10px 0 0;
}

.ministries-grid .ministry-card .ministry-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;    /* fill area, no stretch */
    object-position: center !important;
    display: block !important;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
/* Ministries preview – force 3 in one row */
.ministry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Responsive fallback */
@media (max-width: 900px) {
  .ministry-cards {
    grid-template-columns: 1fr;
  }
}
/* Latest sermon layout */
.sermon-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: center;
}

/* Make iframe responsive */
.sermon-player iframe {
  width: 100%;
  height: 360px;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 900px) {
  .sermon-wrap {
    grid-template-columns: 1fr;
  }

  .sermon-player iframe {
    height: 240px;
  }
}
/* Full width vision & mission */
.faith-hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.faith-hero .container {
  max-width: 1200px; /* keeps content readable */
  margin: 0 auto;
}
/* ===========================
   FULL-WIDTH TESTIMONIALS
=========================== */
.testimonials {
  width: 100%;
  background: #f7f9ff;
  padding: 70px 0;
}

.testimonials .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Testimonial text */
.testimonial {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

.testimonial footer {
  margin-top: 12px;
  font-weight: 700;
  color: #002b80;
}
/* Fix testimonial names visibility */
.testimonial footer {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
  color: #002b80; /* strong church blue */
}
.testimonial footer {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 16px;
  color: #002b80;
  letter-spacing: 0.5px;
}

/* ===========================
   FULL-WIDTH CTA STRIPE
=========================== */
.cta-stripe {
  width: 100%;
  background: linear-gradient(90deg, #002b80, #0039b3);
  padding: 45px 0;
}

.cta-stripe .container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-inner h3 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}

/* Buttons alignment */
.cta-actions {
  display: flex;
  gap: 14px;
}
@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* ===========================
   FORCE TESTIMONIAL VISIBILITY
=========================== */

.testimonials {
  background: #f8faff; /* light background */
}

.testimonial {
  display: none;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  color: #222 !important; /* FORCE text color */
}

.testimonial.active {
  display: block;
}

.testimonial p {
  color: #222 !important;
  font-size: 18px;
  line-height: 1.6;
}

.testimonial footer {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #002b80 !important; /* FORCE name color */
  display: block;
}
/* ==================================
   FIX TESTIMONIAL NAMES VISIBILITY
================================== */

.testimonial footer {
  display: block !important;
  margin-top: 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #002b80 !important; /* church blue */
  opacity: 1 !important;
  visibility: visible !important;
}
/* =========================================
   FORCE TESTIMONIAL NAME VISIBILITY (FINAL)
========================================= */

.testimonial {
  color: #222 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonial p {
  color: #222 !important;
}

.testimonial footer {
  display: block !important;
  margin-top: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #002b80 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 10 !important;
}
/* ================================
   TESTIMONIAL NAME — FORCE VISIBLE
================================ */

.testimonial-name {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #002b80;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 9999;
}

/* Ensure testimonial itself is visible */
.testimonial {
  opacity: 1 !important;
  visibility: visible !important;
}
/* ===========================
   SERMON THUMBNAIL LINK
=========================== */

.video-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

/* Hover zoom */
.video-thumb:hover img {
  transform: scale(1.05);
}

/* Play icon */
.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}

.video-thumb:hover .play-icon {
  background: rgba(0,0,0,0.55);
  transform: scale(1.05);
}
/* ===========================
   SEE ALL SERMONS – PREMIUM BUTTON
=========================== */

.sermons-btn {
  background: linear-gradient(135deg, #ff1a1a, #cc0000);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(255, 26, 26, 0.45);
  transition: all 0.3s ease;
  border: none;
}

/* Hover effect */
.sermons-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 26, 26, 0.65);
  background: linear-gradient(135deg, #e60000, #b30000);
}

/* Click effect */
.sermons-btn:active {
  transform: translateY(-1px);
}
/* ===========================
   MAP SECTION – PREMIUM
=========================== */
.map-section {
  padding: 80px 20px;
}

.map-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Overlay info card */
.map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  max-width: 320px;
  backdrop-filter: blur(6px);
}

.map-overlay h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.map-overlay p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .map-wrapper iframe {
    height: 320px;
  }

  .map-overlay {
    position: static;
    border-radius: 0;
    max-width: 100%;
  }
}
/* Gallery Head */
.gallery-head {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.gallery-head h1 {
  font-size: 38px;
  color: #002b80;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.gallery-head .intro {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Disclaimer Box */
.gallery-disclaimer {
  background: #f8faff;
  border-left: 4px solid #ff1a1a;
  padding: 18px 22px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.gallery-disclaimer strong {
  display: block;
  color: #002b80;
  font-size: 16px;
  margin-bottom: 6px;
}

.gallery-disclaimer p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
  .gallery-head h1 {
    font-size: 30px;
  }
}
.gallery-disclaimer {
  max-width: 900px;
  margin: 25px auto 0;
  padding: 22px;
  background: #f8faff;
  border-left: 5px solid #002b80;
  border-radius: 8px;
}

.gallery-disclaimer h3 {
  margin-top: 0;
  color: #002b80;
}

.gallery-disclaimer p {
  color: #444;
  line-height: 1.6;
}
/* ===========================
   MOBILE RESPONSIVENESS FIX
=========================== */
@media (max-width: 900px) {

  /* GENERAL */
  body {
    overflow-x: hidden;
  }

  .container {
    width: 92%;
  }

  /* HEADER */
  header {
    padding: 12px 16px;
  }

  .church-name {
    font-size: 18px;
  }

  /* HERO */
  .hero {
    height: 75vh;
  }

  .hero-overlay h1 {
    font-size: 32px;
  }

  .hero-overlay .lead {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }

  /* EVENTS & MINISTRIES CARDS */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 100%;
  }

  /* SERMON SECTION */
  .sermon-wrap {
    flex-direction: column;
  }

  .sermon-player iframe,
  .video-thumb img {
    width: 100%;
    height: auto;
  }

  .sermon-meta {
    text-align: center;
  }

  /* MISSION / VISION */
  .faith-top {
    flex-direction: column;
  }

  .mission-card,
  .vision-card {
    width: 100%;
  }

  /* VALUES GRID */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* ABC SECTION */
  .abc-grid {
    grid-template-columns: 1fr;
  }

  /* TESTIMONIALS */
  .testimonial {
    font-size: 16px;
    padding: 14px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  /* CTA STRIPE */
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* FOOTER */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}
img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}
@media (max-width: 768px) {

  .hero-overlay h1 {
    font-size: 2rem;
    text-align: center;
  }

  .hero-overlay .lead {
    font-size: 1rem;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {

  .cards,
  .ministry-cards,
  .events-cards {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 200px;
    object-fit: cover;
  }
}
@media (max-width: 768px) {

  .sermon-wrap {
    flex-direction: column;
  }

  .sermon-meta {
    text-align: center;
  }
}
@media (max-width: 768px) {

  .menu-icon {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    color: #fff;
  }
}
/* ===== MOBILE HERO FIX ===== */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-overlay {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    z-index: 10001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #002b80;
  }

  .nav-links.show {
    display: flex;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

.hero,
.home-hero,
.hero-video {
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 768px) {

  .nav-links {
    display: flex;
    flex-direction: column;
    background: #002b80;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 22px 0;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.45s cubic-bezier(.4,0,.2,1),
                opacity 0.35s ease;
  }

  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 18px;
  }
}
/* FIX MOBILE ZOOM EFFECT */
@media (max-width: 768px) {

  .home-section,
  .values-section,
  .abc-section,
  .cta-stripe,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .card {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
  }
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
/* ======================================
   FINAL MOBILE OVERFLOW FIX (INDEX ONLY)
====================================== */

@media (max-width: 768px) {

  /* Stop browser auto-zoom */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Containers never exceed screen */
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 🔥 FIX: Latest Sermon zoom */
  .sermon-wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
  }

  .sermon-player,
  .sermon-meta {
    width: 100%;
  }

  .sermon-player iframe,
  .video-thumb img {
    width: 100%;
    height: auto;
  }

  /* 🔥 FIX: Upcoming Events zoom */
  .cards {
    flex-direction: column !important;
    width: 100%;
  }

  .event-card {
    width: 100%;
    flex-direction: row;
    box-sizing: border-box;
  }

  /* Prevent any card overflow */
  .card {
    max-width: 100%;
  }
}
/* ===============================
   🔒 FINAL MOBILE ZOOM FIX (INDEX)
================================ */

/* Prevent horizontal overflow globally */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Ensure all sections stay within screen */
.home-section,
.container {
  max-width: 100%;
  overflow-x: hidden;
}

/* EVENTS – force stacking on mobile */
@media (max-width: 768px) {
  .events-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
  }

  .event-card {
    width: 100% !important;
  }
}

/* LATEST SERMON – stop zoom */
@media (max-width: 768px) {
  .sermon-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .sermon-player,
  .sermon-meta {
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-thumb img {
    width: 100% !important;
    height: auto !important;
  }
}
.video-frame {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.live-status.live {
  background: rgba(255, 26, 26, 0.15);
  color: #ff1a1a;
}

.live-status .dot {
  width: 10px;
  height: 10px;
  background: #ff1a1a;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}
.live-hero {
  text-align: center;
  padding: 50px 20px 20px;
}

.live-hero h1 {
  font-size: 36px;
  color: #002b80;
  margin-bottom: 8px;
}

.live-hero p {
  font-size: 18px;
  color: #555;
}
.live-video-container {
  max-width: 1000px;
  margin: 20px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  background: #000;
}
.offline-box {
  margin-top: 30px;
  padding: 24px;
  background: #111;
  color: white;
  border-radius: 14px;
}
.live-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 34px;
  font-size: 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff1a1a, #cc0000);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(255, 26, 26, 0.55);
}
@media (max-width: 768px) {
  .live-hero h1 {
    font-size: 26px;
  }

  .live-video-container {
    border-radius: 10px;
  }

  .live-btn {
    width: 100%;
    text-align: center;
  }
}
/* Premium livestream container */
.livestream-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f8faff, #ffffff);
}

/* Video box */
.live-video-container {
  max-width: 960px;
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

/* Mobile video height fix */
@media (max-width: 768px) {
  .live-video-container iframe {
    height: 260px;
  }
}
/* LIVE STATUS BADGE */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin: 15px auto 25px;
  justify-content: center;
  width: fit-content;
}

.live-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.live-status.offline {
  background: #eee;
  color: #555;
}

.live-status.offline .dot {
  background: gray;
}

.live-status.live {
  background: rgba(255,26,26,0.15);
  color: #ff1a1a;
}

.live-status.live .dot {
  background: #ff1a1a;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}

/* VIDEO */
.live-video-wrapper iframe,
.offline-box iframe {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  border: none;
}

.offline-box {
  display: none;
  margin-top: 20px;
  background: #000;
  color: white;
  padding: 20px;
  border-radius: 14px;
}

@media (max-width: 700px) {
  .live-video-wrapper iframe,
  .offline-box iframe {
    height: 260px;
  }
}
/* =========================
   PREMIUM GIVING PAGE
========================= */

.give-section {
  background: #f4f6f8;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.give-section .give-card {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  padding: 35px 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.give-section h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.give-section p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

.give-section input {
  width: 100%;
  padding: 14px 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fafafa;
}

.give-section input:focus {
  outline: none;
  border-color: #0a7cff;
  background: #fff;
}

.give-section button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #0a7cff, #004bb5);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.give-section button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(10, 124, 255, 0.3);
}

.give-note {
  margin-top: 15px;
  font-size: 13px;
  color: #777;
}
/* ===========================
   OUR LEADERS — COUPLE STYLE
=========================== */
.leaders-feature {
  padding: 70px 20px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.leaders-wrap {
  width: 94%;
  max-width: 1100px;
  margin: 0 auto;
}

.leaders-head {
  text-align: center;
  margin-bottom: 30px;
}

.leaders-head h2 {
  font-size: 36px;
  color: #002b80;
  margin-bottom: 6px;
}

.leaders-head p {
  font-size: 17px;
  color: #555;
}

.leaders-couple {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.leaders-photos {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.leaders-photos img {
  width: 240px;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
}

.leaders-photos img:hover {
  transform: scale(1.03);
}

.leaders-message {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.leaders-message p {
  margin-bottom: 16px;
}

/* Mobile responsive */
@media (max-width: 700px) {
  .leaders-photos {
    flex-direction: column;
    align-items: center;
  }

  .leaders-photos img {
    width: 90%;
    max-width: 320px;
    height: auto;
  }

  .leaders-couple {
    padding: 25px;
  }
}

