/* ================================ Google Font ================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600&display=swap');

/* ================================ Navbar Styles ================================ */
.site-header {
    background-color: #fff;
    border-bottom: 3px solid #3cbcc3;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    position: relative;
}

.site-header .logo img {
    height: 28px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #000;
    font-family: 'Merriweather', serif;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s, font-weight 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #3cbcc3;
    font-weight: 600;
}

/* ================================
   Hamburger Menu
================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #000;
    margin: 4px 0;
    border-radius: 3px;
}

/* ================================ Global Styles ================================ */
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    background: #f8f8f8;
    color: #222;
    line-height: 1.6;
}

h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    text-align: left;
}

h3 {
    font-size: 1.3rem;
    margin: 10px 0 8px;
    text-align: left;
}

p {
    margin-bottom: 15px;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    background: #add8e6;
    color: black;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: lightslategray;
}

.btn.alt {
    background: #add8e6;
}

.btn.alt:hover {
    background: lightslategray;
}

/* ================================ Tablet & Mobile (max-width: 1024px) ================================ */
@media (max-width: 1024px) {

    .site-header .wrap {
        padding: 15px 30px;
        flex-direction: row;
    }

    .site-header .logo img {
        height: 26px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        z-index: 999;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 14px;
        border-bottom: 1px solid #eee;
        font-size: 17px;
    }

    .main-nav.show {
        display: flex;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 15px;
    }

    .btn {
        padding: 9px 18px;
        font-size: 15px;
    }
}

/* ================================ Phones (max-width: 768px) ================================ */
@media (max-width: 768px) {

    .site-header .logo img {
        height: 24px;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ================================ Extra Small Phones (max-width: 480px) ================================ */
@media (max-width: 480px) {

    .site-header .wrap {
        padding: 8px 15px;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 13px;
    }

    .btn {
        padding: 7px 14px;
        font-size: 13px;
    }
}

/* =========================
   HERO CAROUSEL (SHOW FULL IMAGE)
   ========================= */
.hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;              /* remove extra padding for exact fit */
    min-height: 70vh;        /* hero height */
    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    text-align: center;       /* center text inside */
    color: #fff;
    overflow: hidden;
    background-color: #000;   /* fallback for empty space */
}

/* Carousel image layers */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;     /* show full image */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

/* Active image */
.hero-bg.active {
    opacity: 1;
}

/* Homepage images */
.hero-bg.bg1 {
    background-image: url('../img/ofc_logo_1.png');
}

.hero-bg.bg2 {
    background-image: url('../img/v.png');
}

/* About page images */
.about-hero .hero-bg.bg1 {
    background-image: url('../img/ofc_logo_1.png');
}

.about-hero .hero-bg.bg2 {
    background-image: url('../img/v.png');
}

/* Foreground content */
.hero .lead {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    text-align: center;   /* center all text */
}

/* Hero title */
.hero .hero-title {
    margin: 0;
    font-size: 2.5rem;   /* adjust size as needed */
    color: #fff;
}

/* Hero paragraph */
.hero .hero-service {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/* Dark overlay (optional) */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);   /* adjust darkness */
    z-index: 1;
}


/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 1200px) {
    .hero .lead {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }

    .hero .lead {
        max-width: 90%;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
    }

    .hero .lead {
        font-size: 0.8rem;
    }
}
/* Tablet */
@media (max-width: 1024px) {
    .hero {
        min-height: 60vh;
    }

    .hero .lead {
        max-width: 90%;
        padding: 15px;
    }

    .hero .hero-title {
        font-size: 2.2rem;
    }

    .hero .hero-service {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }

    .hero .lead {
        max-width: 95%;
        padding: 10px;
    }

    .hero .hero-title {
        font-size: 1.8rem;
    }

    .hero .hero-service {
        font-size: 1rem;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
    }

    .hero .lead {
        padding: 8px;
    }

    .hero .hero-title {
        font-size: 1.5rem;
    }

    .hero .hero-service {
        font-size: 0.9rem;
    }
}

/* =========================
   Oasis Intro Section (White + Less Padding)
   ========================= */
.oasis-intro {
    position: relative;
    width: 100%;
    padding: 40px 30px;   /* reduced space */
    background-color: #ffffff;  /* pure white */
    color: #222;
    text-align: left;
}

.oasis-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;  /* reduced spacing */
    color: #004080;
}

.oasis-intro p {
    font-size: 1.1rem;
    line-height: 1.7;  /* slightly tighter */
    margin-bottom: 15px;
}

.oasis-intro .story-content {
    max-width: 1200px;
    margin: 0;
}



/* =========================
   HERO TEXT EXPAND ANIMATION
   ========================= */

/* Hidden state */
.hero-full {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease;
    margin-top: 0;
}

/* Open state */
.hero-full.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: 15px;
}


/* =========================
   READ MORE BUTTON
   ========================= */
.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #004080;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    background: lightslategrey;
    transform: translateY(-2px);
}
/* =========================
   RESPONSIVE MEDIA QUERIES - Oasis Intro & Read More
   ========================= */

/* Laptop / Desktop (base styles already cover this) */
@media (max-width: 1440px) {
    .oasis-intro {
        padding: 35px 25px;
    }

    .oasis-intro h2 {
        font-size: 1.9rem;
    }

    .oasis-intro p {
        font-size: 1.05rem;
    }

    .oasis-intro .story-content {
        max-width: 1000px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .oasis-intro {
        padding: 30px 20px;
    }

    .oasis-intro h2 {
        font-size: 1.7rem;
    }

    .oasis-intro p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .oasis-intro .story-content {
        max-width: 90%;
    }

    .read-more-btn {
        padding: 9px 18px;
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .oasis-intro {
        padding: 25px 15px;
    }

    .oasis-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .oasis-intro p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .oasis-intro .story-content {
        max-width: 95%;
    }

    .read-more-btn {
        width: 100%; /* full width for easy tapping */
        padding: 8px 16px;
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .oasis-intro {
        padding: 20px 10px;
    }

    .oasis-intro h2 {
        font-size: 1.3rem;
    }

    .oasis-intro p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .oasis-intro .story-content {
        max-width: 100%;
    }

    .read-more-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/* Hero Text Expand (no size changes needed, works as-is) */
/* The max-height and opacity transitions automatically adapt for all screens */



/* ================================ HOME PAGE ================================ */
/* ================================ Our Story Section ================================ */
.our-story {
    position: relative;
    width: 100%;
    padding: 80px 40px;
    background-color: #fffbea;
    background-image: radial-gradient(rgba(255, 235, 179, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #222;
    text-align: left;
}

.our-story .story-content {
    max-width: 1200px;
    margin: 0;
}

.our-story h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004080;
}

.our-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ================================ Sections & Cards ================================ */
.section {
    padding: 40px 20px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.pastors-cards .card {
    background: #fffbea;
    flex: 0 0 calc((100% - 60px)/3);
    max-width: calc((100% - 60px)/3);
}

.leaders-cards .card {
    background: #eaf6ff;
    flex: 0 0 calc((100% - 120px)/5);
    max-width: calc((100% - 120px)/5);
}

.card-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pastors-cards .card-img {
    height: 400px;
}

.leaders-cards .card-img {
    height: 220px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card h3 {
    margin: 0 0 8px 0;
}

.card p {
    margin: 0;
    color: #555;
}

/* ================================ Read More Button for Pastors ================================ */
.read-more-btn {
    display: inline-block;
    margin-top: 2px; /* space above button */
    padding: 10px 20px;
    background: lightblue;
    color: black;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: lightslategray;
}

/* ================================ Reveal Animations ================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger blocks in flex container */
.blocks .block.reveal:nth-child(1) { transition-delay: 0.1s; }
.blocks .block.reveal:nth-child(2) { transition-delay: 0.2s; }
.blocks .block.reveal:nth-child(3) { transition-delay: 0.3s; }

/* About Section */
.about {
    background: #fff;
    margin-bottom: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px;
}

.about p {
    max-width: 1700px;
    margin-top: 10px;
    text-align: left;
}

/* Blocks Section */
.blocks {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.block {
    flex: 1;
    background: lightcyan;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    flex-direction: column;
}

/* =========================
   RESPONSIVE MEDIA QUERIES - Home Page
   ========================= */

/* Laptop / Desktop (base styles already cover this) */
@media (max-width: 1440px) {
    .our-story {
        padding: 70px 30px;
    }

    .our-story h2 {
        font-size: 1.9rem;
    }

    .our-story p {
        font-size: 1.05rem;
    }

    .section {
        padding: 35px 15px;
    }

    .pastors-cards .card {
        flex: 0 0 calc((100% - 40px)/3);
        max-width: calc((100% - 40px)/3);
    }

    .leaders-cards .card {
        flex: 0 0 calc((100% - 80px)/5);
        max-width: calc((100% - 80px)/5);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .our-story {
        padding: 60px 25px;
    }

    .our-story h2 {
        font-size: 1.7rem;
    }

    .our-story p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cards {
        gap: 20px;
        justify-content: center;
    }

    .pastors-cards .card {
        flex: 0 0 calc((100% - 20px)/2);
        max-width: calc((100% - 20px)/2);
    }

    .leaders-cards .card {
        flex: 0 0 calc((100% - 60px)/3);
        max-width: calc((100% - 60px)/3);
    }

    .pastors-cards .card-img {
        height: 300px;
    }

    .leaders-cards .card-img {
        height: 180px;
    }

    .about {
        padding: 25px;
    }

    .blocks {
        flex-direction: column;
        gap: 20px;
    }

    .block {
        width: 100%;
        padding: 20px;
    }

    .read-more-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .our-story {
        padding: 50px 15px;
    }

    .our-story h2 {
        font-size: 1.5rem;
    }

    .our-story p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .pastors-cards .card,
    .leaders-cards .card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pastors-cards .card-img {
        height: 250px;
    }

    .leaders-cards .card-img {
        height: 160px;
    }

    .about {
        padding: 20px;
    }

    .blocks {
        flex-direction: column;
        gap: 15px;
    }

    .block {
        padding: 15px;
    }

    .read-more-btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .our-story {
        padding: 35px 10px;
    }

    .our-story h2 {
        font-size: 1.3rem;
    }

    .our-story p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .pastors-cards .card-img {
        height: 200px;
    }

    .leaders-cards .card-img {
        height: 140px;
    }

    .about {
        padding: 15px;
    }

    .blocks {
        gap: 10px;
    }

    .block {
        padding: 10px;
    }

    .read-more-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
}

/* ================================ Contact Page Styles ================================ */
.contact-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 20px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-form,
.contact-map {
    flex: 1 1 480px;
    min-height: 500px;
    box-sizing: border-box;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #222;
}

.contact-form label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 20px;
    padding: 12px;
    background: #004080;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #0066cc;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* ================================ Business Detail Page ================================ */
.business-detail-page {
    padding: 20px 40px;
    background: #f8f8f8;
}

.business-detail-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
}

.left-column {
    flex: 2;
    background: none;
    margin: 0;
}

.left-column h2 {
    color: #004080;
    margin: 0 0 8px;
}

.business-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.left-column p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #222;
    margin-bottom: 0;
}

.right-column {
    flex: 1;
    background: #e0f0ff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.business-map h3,
.business-contact-form h3 {
    color: #004080;
    margin-bottom: 8px;
}

.business-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: 0;
}

.business-contact-form {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.business-contact-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.business-contact-form input,
.business-contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.business-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.business-contact-form button {
    margin-top: 12px;
    padding: 12px;
    background: #004080;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.business-contact-form button:hover {
    background: #0066cc;
}

#formMessage.success {
    color: green;
    margin-top: 8px;
}

#formMessage.error {
    color: red;
    margin-top: 8px;
}

.business-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #004080;
    font-weight: bold;
    padding-bottom: 2px;
}

.business-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #004080;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.business-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ================================ Footer ================================ */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.site-footer {
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    width: 100%;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer .footer-item a {
    color: #fff;
    text-decoration: none;
}

.site-footer .footer-item a:hover {
    text-decoration: underline;
}

.footer-icon {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    margin-left: auto;
    white-space: nowrap;
    font-size: 0.9em;
}
/* ==============================
   RESPONSIVE MEDIA QUERIES - Contact & Business Pages
   ============================== */

/* Tablet */
@media (max-width: 1024px) {
    /* Contact Page */
    .contact-container {
        flex-direction: column;
        padding: 15px 20px;
    }

    .contact-form,
    .contact-map {
        flex: 1 1 100%;
        min-height: 400px;
    }

    /* Business Detail Page */
    .business-detail-container {
        flex-direction: column;
        gap: 20px;
    }

    .left-column,
    .right-column {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .right-column {
        max-width: 100%;
    }

    .business-map iframe {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Contact Page */
    .contact-container {
        padding: 10px 15px;
        gap: 15px;
    }

    .contact-form,
    .contact-map {
        min-height: 300px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 8px;
    }

    .contact-form button {
        padding: 10px;
        font-size: 0.95rem;
    }

    /* Business Detail Page */
    .business-detail-page {
        padding: 15px 10px;
    }

    .left-column p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .business-image {
        max-height: 350px;
    }

    .right-column {
        padding: 15px;
    }

    .business-contact-form input,
    .business-contact-form textarea {
        font-size: 0.95rem;
        padding: 8px;
    }

    .business-contact-form button {
        padding: 10px;
        font-size: 0.95rem;
    }

    .business-map iframe {
        height: 180px;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    /* Contact Page */
    .contact-container {
        padding: 8px 10px;
        gap: 10px;
    }

    .contact-form,
    .contact-map {
        min-height: 250px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.85rem;
        padding: 6px;
    }

    .contact-form button {
        padding: 8px;
        font-size: 0.85rem;
    }

    /* Business Detail Page */
    .business-detail-page {
        padding: 10px 5px;
    }

    .business-image {
        max-height: 250px;
    }

    .right-column {
        padding: 10px;
    }

    .business-contact-form input,
    .business-contact-form textarea {
        font-size: 0.85rem;
        padding: 6px;
    }

    .business-contact-form button {
        padding: 8px;
        font-size: 0.85rem;
    }

    .business-map iframe {
        height: 150px;
    }

    /* Footer */
    .site-footer .wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-copyright {
        margin-left: 0;
    }

    .footer-icon {
        width: 18px;
        height: 18px;
    }
}

/* ================================ Businesses Page ================================ */
.businesses-page {
    padding: 40px 20px;
    background: #f8f8f8;
}

.businesses-page h2 {
    color: #004080;
    margin-bottom: 30px;
    text-align: left;
}

.business-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.business-card {
    flex: 1 1 calc((100% - 80px)/5);
    background: #e0f0ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.business-card a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.business-card .card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.business-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.business-card .card-image img:hover {
    transform: scale(1.05);
}

.business-card h3 {
    font-size: 1.2rem;
    margin: 5px 0;
    color: #004080;
}

.business-card p {
    font-size: 0.95rem;
    color: #222;
    line-height: 1.4;
}
/* ================= EVENTS PAGE ================= */
.events-page {
    padding: 40px 20px;
    background: #f8f8f8;
}

.events-page h2 {
    color: #b38f00;
    margin-bottom: 30px;
    text-align: left;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.event-card {
    background: #fff8d6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: .3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.card-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

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

.event-card h3 {
    margin: 10px 0 6px 0;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.event-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

/* ================= GALLERY ================= */
.events-details-page {
    padding: 40px 20px;
    background: #f8f8f8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .3s;
}

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

/* ================= LIGHTBOX ================= */
#lightbox {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

#lb-close,
#lb-prev,
#lb-next {
    position: absolute;
    color: #fff;
    cursor: pointer;
}

#lb-close {
    top: 20px; right: 30px;
    font-size: 30px;
}

#lb-prev {
    left: 20px; top: 50%;
    font-size: 40px;
    transform: translateY(-50%);
}

#lb-next {
    right: 20px; top: 50%;
    font-size: 40px;
    transform: translateY(-50%);
}

#download-link {
    position: absolute;
    bottom: 20px; right: 30px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: #222; /* black text */
}

/* Delete button */
.ad-delete-btn {
    background: #ff3b3b;
    padding: 7px 10px;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ==============================
   RESPONSIVE MEDIA QUERIES - Businesses, Events, Gallery
   ============================== */

/* Tablet */
@media (max-width: 1024px) {
    /* Businesses Page */
    .business-cards {
        gap: 15px;
        justify-content: center;
    }

    .business-card {
        flex: 0 0 calc((100% - 40px)/3);
        max-width: calc((100% - 40px)/3);
    }

    .business-card .card-image {
        height: 130px;
    }

    .business-card h3 {
        font-size: 1.1rem;
    }

    .business-card p {
        font-size: 0.9rem;
    }

    /* Events Page */
    .event-cards {
        gap: 15px;
    }

    .event-card {
        padding: 12px;
    }

    .card-img {
        height: 130px;
    }

    .event-card h3 {
        font-size: 1rem;
    }

    .event-card p {
        font-size: 0.85rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }

    .gallery-item img {
        height: 180px;
    }

    #lightbox img {
        max-width: 85%;
        max-height: 70%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Businesses Page */
    .business-card {
        flex: 0 0 calc((100% - 20px)/2);
        max-width: calc((100% - 20px)/2);
    }

    .business-card .card-image {
        height: 120px;
    }

    .business-card h3 {
        font-size: 1rem;
    }

    .business-card p {
        font-size: 0.85rem;
    }

    /* Events Page */
    .event-card {
        padding: 10px;
    }

    .card-img {
        height: 120px;
    }

    .event-card h3 {
        font-size: 0.95rem;
    }

    .event-card p {
        font-size: 0.8rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 140px;
    }

    #lightbox img {
        max-width: 90%;
        max-height: 65%;
    }

    #lb-close {
        font-size: 25px;
        top: 15px;
        right: 20px;
    }

    #lb-prev, #lb-next {
        font-size: 35px;
    }

    #download-link {
        padding: 8px 12px;
        bottom: 15px;
        right: 20px;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    /* Businesses Page */
    .business-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .business-card .card-image {
        height: 100px;
    }

    .business-card h3 {
        font-size: 0.95rem;
    }

    .business-card p {
        font-size: 0.8rem;
    }

    /* Events Page */
    .event-card {
        padding: 8px;
    }

    .card-img {
        height: 100px;
    }

    .event-card h3 {
        font-size: 0.9rem;
    }

    .event-card p {
        font-size: 0.75rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    .gallery-item img {
        height: 120px;
    }

    #lightbox img {
        max-width: 95%;
        max-height: 60%;
    }

    #lb-close {
        font-size: 22px;
    }

    #lb-prev, #lb-next {
        font-size: 30px;
    }

    #download-link {
        padding: 6px 10px;
        bottom: 10px;
        right: 15px;
        font-size: 0.85rem;
    }

    .ad-delete-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
}



/* ================================ Sermons Section ================================ */
.sermons {
  text-align: center;
  padding: 40px 20px;
}

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

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

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  display: flex;
  flex-direction: column; /* stack video + text */
  padding-bottom: 8px;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.25);
  background-color: #cce6ff;
}

/* Wrap the iframe to crop extra spacing */
.video-frame {
  height: 315px;        /* same as visible video */
  overflow: hidden;     /* hides extra space inside iframe */
}

.video-card iframe {
  width: 100%;
  height: 320px;        /* slightly taller to fill container */
  border: none;
  display: block;
  margin: 0;
  padding: 0;
}

.video-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2px 10px 2px; /* very small gap between video and title */
  color: #222;
  text-align: left;
}

.video-text p {
  font-size: 0.9rem;
  color: #555;
  margin: 0 10px 6px;   /* small gap under title */
  text-align: left;
}


/* ================================ Calendar Section ================================ */
/* WRAPPER */
.calendar-wrapper {
    width: 95%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* LOGO */
.calendar-logo {
    text-align: center;
    margin-bottom: 20px;
}
.calendar-logo img {
    width: 100px;
    height: auto;
}

/* TITLE */
.calendar-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
}

/* NAV BUTTONS */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    border: 1px solid #ccc;
}

.prev-btn {
    background: #add8e6;
}
.prev-btn:hover {
    background: #e6e6e6;
}

.next-btn {
    background:#add8e6;
}
.next-btn:hover {
    background: #e6e6e6;
}

/* MONTH BUTTONS */
.month-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.month-btn {
    display: inline-block;
    margin: 3px;
    padding: 8px 12px;
    border-radius: 6px;
    background: lightgrey;
    border: 1px solid #ccc;
    text-decoration: none;
    color: black;
    font-weight: 500;
}
.month-btn:hover {
    background: #e6e6e6;
}

.month-btn.active {
    background: #add8e6;
}

/* MONTH TITLE */
.month-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* GRID */
.calendar-grid {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ececec;
}

.calendar-grid th {
    text-align: center;
    padding: 10px;
    background: lightblue;
    color: black;
}

.calendar-grid td {
    height: 120px;
    border: 1px solid #ececec;
    vertical-align: top;
    padding: 6px;
    color: black;
}

/* DAY NUMBER */
.day-number {
    font-weight: bold;
    margin-bottom: 6px;
    color: black;
}

/* EVENTS */
.event-yellow {
    margin-top: 4px;
    padding: 3px 6px;
    background: #FFF9C4; /* Light pastel yellow */
    border-left: 3px solid #F4D03F; /* Dark yellow */
    border-radius: 4px;
    font-size: 13px;
}

/* Blue */
.event-blue {
    margin-top: 4px;
    padding: 3px 6px;
    background: #BBDEFB; /* Light pastel blue */
    border-left: 3px solid #1976D2; /* Dark blue */
    border-radius: 4px;
    font-size: 13px;
}

/* Pink */
.event-pink {
    margin-top: 4px;
    padding: 3px 6px;
    background: #F8BBD0; /* Light pastel pink */
    border-left: 3px solid #C2185B; /* Dark pink */
    border-radius: 4px;
    font-size: 13px;
}

/* Green */
.event-green {
    margin-top: 4px;
    padding: 3px 6px;
    background: #C8E6C9; /* Light pastel green */
    border-left: 3px solid #388E3C; /* Dark green */
    border-radius: 4px;
    font-size: 13px;
}

/* Purple */
.event-purple {
    margin-top: 4px;
    padding: 3px 6px;
    background: #E1BEE7; /* Light pastel purple */
    border-left: 3px solid #7B1FA2; /* Dark purple */
    border-radius: 4px;
    font-size: 13px;
}

/* Grey */
.event-grey {
    margin-top: 4px;
    padding: 3px 6px;
    background: #ECEFF1; /* Light pastel grey */
    border-left: 3px solid #607D8B; /* Dark grey */
    border-radius: 4px;
    font-size: 13px;
}

/* Red */
.event-red {
    margin-top: 4px;
    padding: 3px 6px;
    background: #FFCDD2; /* Light pastel red */
    border-left: 3px solid #C62828; /* Dark red */
    border-radius: 4px;
    font-size: 13px;
}

/* Ivory */
.event-ivory {
    margin-top: 4px;
    padding: 3px 6px;
    background: #FFFFF0; /* Ivory */
    border-left: 3px solid #C0B283; /* Darker ivory/gold */
    border-radius: 4px;
    font-size: 13px;
}

/* Orange */
.event-orange {
    margin-top: 4px;
    padding: 3px 6px;
    background: #FFE0B2; /* Light pastel orange */
    border-left: 3px solid #EF6C00; /* Dark orange */
    border-radius: 4px;
    font-size: 13px;
}

/* Brown */
.event-brown {
    margin-top: 4px;
    padding: 3px 6px;
    background: #D7CCC8; /* Light pastel brown / mocha */
    border-left: 3px solid #5D4037; /* Dark brown */
    border-radius: 4px;
    font-size: 13px;
}

/* Floating Video Popup */
.floating-video {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 260px;
    background: #000;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    color: #fff;
    text-align: center;
}

.video-heading {
    font-size: 13px;       /* smaller heading */
    font-weight: 500;
    margin-bottom: 3px;    /* reduced spacing */
    color: #fff;
}

.floating-video video {
    width: 100%;
    border-radius: 2px;
}

/* Close button removed */
.close-video {
    display: none!important;
}


/* ============================
   GLOBAL REVEAL ANIMATIONS
============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth global transitions */
* {
  transition: 0.2s ease;
}

/* ============================
   HERO SECTION ANIMATIONS
============================ */
.hero-title {
  opacity: 0;
  animation: fadeDown 1.2s ease forwards;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-service {
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

.hero-preview {
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.5s;
}

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

/* ============================
   BUTTON ANIMATIONS
============================ */
.btn,
.read-more-btn {
  transform: translateY(0);
}

.btn:hover,
.read-more-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ============================
   CARD HOVER ANIMATIONS
============================ */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* ============================
   READ-MORE EXPANDING BLOCKS
============================ */
.hero-full,
.full-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.9s ease, opacity 0.9s ease;
  opacity: 0;
}

.hero-full.open,
.full-info.open {
  max-height: 2000px;
  opacity: 1;
}

/* ============================
   IMAGE FADE-IN ANIMATION
============================ */
img {
  opacity: 0;
  transform: scale(0.98);
  animation: imgFade 0.8s ease forwards;
}

@keyframes imgFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================
   FLOATING VIDEO ANIMATION
============================ */
.floating-video {
  opacity: 0;
  animation:fadeInVideo 1s ease forwards;
  animation-delay: 1s;
}

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

/* ============================
   Advertisments
============================ */

/* ===== ADVERTS PAGE ONLY ===== */

.adverts-page {
    padding: 40px;
    max-width: 1100px;
    margin: auto;
}

.adverts-page .ad-title {
    text-align: center;
    margin-bottom: 5px;
    font-size: 32px;
    font-weight: bold;
}

.adverts-page .ad-sub {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.adverts-page .ad-filter-bar {
    text-align: center;
    margin-bottom: 20px;
}

.adverts-page .ad-filter {
    padding: 8px 18px;
    margin: 5px;
    border: none;
    border-radius: 30px;
    background: #ddd;
    cursor: pointer;
    transition: 0.3s;
}

.adverts-page .ad-filter.active {
    background: #0066ff;
    color: white;
}

.adverts-page .ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.adverts-page .ad-card {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.adverts-page .ad-card:hover {
    transform: scale(1.03);
}

.adverts-page .ad-card img {
    width: 100%;
    border-radius: 10px;
}

/* POPUP */
.adverts-page .ad-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.adverts-page .ad-popup.open {
    visibility: visible;
    opacity: 1;
}

.adverts-page .ad-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* DELETE BUTTONS */
.adverts-page .ad-delete-form {
    margin-top: 10px;
    text-align: center;
}

.adverts-page .ad-delete-btn {
    background: #ff3b3b;
    border: none;
    padding: 8px 12px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.adverts-page .ad-delete-btn:hover {
    background: #cc0000;
}

.adverts-page .ad-delete-msg {
    background: #ffe6e6;
    color: #a10000;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* No Ads Message Box */
.ad-empty {
    background: #f4f8fb;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 25px;
    border-left: 5px solid #a3c7ff;
}

.ad-empty p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.ad-calendar-btn {
    display: inline-block;
    background: #add8ff;
    color: #003366;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.ad-calendar-btn:hover {
    background: #9cccff;
}
.ad-upload-msg {
    background: #e2ffe7;
    color: #0a7a1a;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ad-upload-box {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    margin: 20px auto;
}

/* UPLOAD PAGE */
.ad-upload-page {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.ad-upload-page .upload-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.ad-upload-page .upload-sub {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.upload-login-form,
.upload-form {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upload-login-form input[type=password],
.upload-form input[type=file],
.upload-form select {
    padding: 10px;
}

.upload-login-form button,
.upload-form button {
    background: #0066ff;
    border: none;
    padding: 12px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.upload-success {
    background: #d6ffe0;
    color: #0a8a1a;
    padding: 10px;
    border-radius: 5px;
}

.upload-error {
    background: #ffd6d6;
    color: #a10000;
    padding: 10px;
    border-radius: 5px;
}


/* =======================================
   DIAGONAL RIBBON — CENTERED TEXT ONLY
   ======================================= */

:root {
    --cs-bg: #ff3b30;          /* ribbon colour */
    --cs-color: #ffffff;       /* text colour */
    --cs-angle: 45deg;         /* diagonal angle */
    --cs-font-size: 20px;      /* bigger text */
    --cs-height: 55px;         /* ribbon thickness */
    --cs-width: 340px;         /* ribbon width */
    --cs-top: 40px;            /* distance from top */
    --cs-right: -80px;         /* how far the ribbon sticks out */
}

/* Fixed container */
#comingsoon-container {
    position: fixed;
    top: var(--cs-top);
    right: var(--cs-right);
    width: var(--cs-width);
    height: var(--cs-height);
    transform: rotate(var(--cs-angle));
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
}

/* The ribbon background */
#comingsoon-container .cs-label {
    background: var(--cs-bg);
    color: var(--cs-color);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;      /* vertically center */
    justify-content: center;  /* horizontally center */
    text-align: center;
    pointer-events: auto;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Centered text */
#comingsoon-container .cs-text {
    font-size: var(--cs-font-size);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}



/* banking*/
/* White background */
.bank-root {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Floating pastel particles — now MUCH slower */
.bank-root::before,
.bank-root::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(216, 234, 255, 0.6);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatBlobs 18s infinite ease-in-out alternate; /* slowed from 9s & 11s */
}

.bank-root::after {
    animation-duration: 22s; /* slower */
}

@keyframes floatBlobs {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-40px) translateX(30px); }
}

/* ------------------------- */
/* ALIVE CARD                */
/* ------------------------- */

.bank-card {
    width: 100%;
    max-width: 680px;
    padding: 45px;
    border-radius: 30px;
    background: #d8eaff;
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-align: center;
    color: #003366;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);

    /* Breathing effect — slower */
    animation: breathe 12s infinite ease-in-out; /* was 6s */
}

/* Soft breathing */
@keyframes breathe {
    0% { transform: scale(1); }
    50% { transform: scale(1.008); } /* calmer, smaller movement */
    100% { transform: scale(1); }
}

/* Animated glowing border — slower */
.bank-card::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 34px;
    background: linear-gradient(120deg, #a3caff, #ffffff, #a3caff);
    background-size: 300% 300%;
    z-index: -1;
    animation: borderGlow 14s infinite linear; /* was 6s */
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shimmer effect */
.bank-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    filter: blur(40px);
    transform: skewX(-20deg);
    animation: shimmer 50s infinite; 
}

@keyframes shimmer {
    0% { left: -200%; }
    70% { left: 120%; }
    100% { left: 140%; }
}

/* ------------------------- */
/* CONTENT                   */
/* ------------------------- */

.bank-card h2 {
    font-size: 34px;
    margin-bottom: 10px;
    font-weight: 800;
}

.bank-sub {
    opacity: 0.8;
    margin-bottom: 35px;
    font-size: 18px;
}

.bank-info {
    text-align: left;
    margin-bottom: 35px;
    font-size: 18px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    margin: 14px 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.label {
    font-weight: 700;
}

.value {
    font-weight: 500;
}

/* Button */
.copy-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    background: #003366;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.copied {
    display: none;
    margin-top: 20px;
    font-size: 16px;
    opacity: 0;
    transition: 0.4s;
    color: #003366;
}

.copied.show {
    display: block;
    opacity: 1;
}

.qr-container {
  text-align: center;
  margin: 30px 0 10px;
}

.qr-container img {
  width: 180px;
  height: auto;
  border-radius: 12px;
}


.qr-text {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: center; /* ensures center alignment */
  display: block;
  width: 100%;
}


/* ==========================
   RESPONSIVENESS: SERMONS, CALENDAR, ADVERTS, BANKING
========================== */

/* -------------------------
   SERMONS SECTION
-------------------------- */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .video-card iframe {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .video-card iframe {
        height: 200px;
    }
    .video-text h3 {
        font-size: 1rem;
    }
    .video-text p {
        font-size: 0.85rem;
    }
}

/* -------------------------
   CALENDAR SECTION
-------------------------- */
/* ===========================
   TABLET
=========================== */
@media (max-width: 1024px) {
    .calendar-wrapper {
        padding: 20px;
    }

    .calendar-title {
        font-size: 26px;
    }

    .month-title {
        font-size: 22px;
    }
}

/* ===========================
   MOBILE VERSION
=========================== */
@media (max-width: 768px) {

    /* Convert calendar table into stacked cards */
    .calendar-grid,
    .calendar-grid thead,
    .calendar-grid tbody,
    .calendar-grid th,
    .calendar-grid td,
    .calendar-grid tr {
        display: block;
        width: 100%;
    }

    /* Hide weekday row */
    .calendar-grid thead {
        display: none;
    }

    /* Day cards */
    .calendar-grid td {
        background: #f9f9f9;
        margin-bottom: 12px;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    /* 🔥 REMOVE EMPTY CELLS (fixes blank days) */
    .calendar-grid td:empty {
        display: none;
    }

    /* Day number */
    .day-number {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 6px;
    }

    /* Event styling */
    .event {
        font-size: 14px;
        padding: 6px 8px;
        border-radius: 6px;
        margin-bottom: 6px;
        display: block;
    }

    /* Month selector buttons */
    .month-buttons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .month-btn {
        padding: 8px;
        font-size: 14px;
    }

    /* Prev / Next buttons */
    .calendar-nav {
        display: flex;
        gap: 10px;
    }

    .nav-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
}

/* -------------------------
   ADVERTS SECTION
-------------------------- */
@media (max-width: 992px) {
    .adverts-page .ad-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .adverts-page .ad-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .adverts-page .ad-title {
        font-size: 26px;
    }
    .adverts-page .ad-sub {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .adverts-page .ad-grid {
        grid-template-columns: 1fr;
    }
    .adverts-page .ad-title {
        font-size: 22px;
    }
    .adverts-page .ad-sub {
        font-size: 0.85rem;
    }
    .ad-upload-page {
        padding: 15px;
    }
}

/* -------------------------
   BANKING SECTION
-------------------------- */
@media (max-width: 1024px) {
    .bank-card {
        padding: 35px;
    }
    .bank-card h2 {
        font-size: 28px;
    }
    .bank-sub, .bank-info {
        font-size: 16px;
    }
    .qr-container img {
        width: 150px;
    }
    .copy-btn {
        font-size: 16px;
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .bank-card {
        padding: 25px;
        border-radius: 20px;
    }
    .bank-card h2 {
        font-size: 24px;
    }
    .bank-sub, .bank-info {
        font-size: 15px;
    }
    .qr-container img {
        width: 130px;
    }
    .copy-btn {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .bank-card {
        padding: 20px;
        border-radius: 16px;
    }
    .bank-card h2 {
        font-size: 20px;
    }
    .bank-sub, .bank-info {
        font-size: 14px;
    }
    .bank-row {
        flex-direction: column;
        gap: 8px;
    }
    .copy-btn {
        padding: 10px;
        font-size: 13px;
    }
    .qr-container img {
        width: 100px;
    }
    .qr-text {
        font-size: 16px;
    }
}

/* -------------------------
   FLOATING VIDEO POPUP
-------------------------- */
@media (max-width: 768px) {
    .floating-video {
        width: 200px;
        bottom: 15px;
        right: 15px;
    }
    .floating-video .video-heading {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .floating-video {
        width: 160px;
        bottom: 10px;
        right: 10px;
    }
    .floating-video .video-heading {
        font-size: 11px;
    }
}

/* Desktop styles (default) */
body {
     font-size: 16px;
}
/* Tablet and below */
@media (max-width: 768px) {
     body {
         font-size: 15px;
     }
}
/* Mobile */
@media (max-width: 480px) {
     body {
         font-size: 14px;
     }
}

.whatsapp-btn {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 14px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}
.email-btn {
    display: block;
    background: #2b7cff;
    color: white;
    text-align: center;
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.email-btn:hover {
    background: #1f5fd1;
}

.website-btn {
    display: block;
    background: #111;
    color: white;
    text-align: center;
    padding: 14px;
    margin-bottom: 30px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.website-btn:hover {
    background: #000;
}