/* =========================================================
   GLOBAL MINISTRIES
   MAIN WEBSITE STYLES
========================================================= */


/* =========================================================
   1. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #F6F3FA;
    color: #2E1757;
    line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   ADMIN DASHBOARD
========================================================= */

.admin-page {
    min-height: 100vh;
    background: #F1EDF6;
}

.admin-shell {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 64px 0;
}

.admin-login-card,
.admin-dashboard {
    background: #ffffff;
    border: 1px solid #E3DCEE;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(36, 16, 64, 0.10);
}

.admin-login-card {
    width: min(440px, 100%);
    margin: 40px auto;
    padding: 38px;
}

.admin-logo { margin-bottom: 32px; }
.admin-login-card h1, .admin-header h1 { font-family: Georgia, "Times New Roman", serif; color: #3B1D6E; }
.admin-login-card > p { margin: 10px 0 25px; }
.admin-login-card label { display: block; margin: 18px 0 7px; font-weight: 700; }
.admin-login-card input { width: 100%; min-height: 48px; border: 1px solid #D5CBE4; border-radius: 8px; padding: 12px; }
.admin-login-card .password-field { position: relative; }
.admin-login-card .password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: none; cursor: pointer; font-size: 16px; padding: 4px; line-height: 1; color: #6E6790; z-index: 1; }
.admin-login-card .password-toggle:hover { color: #3B1D6E; }
.admin-login-card input[type="password"] { padding-right: 44px; }
.admin-login-card button[type="submit"] { width: 100%; margin-top: 25px; }
.admin-message { min-height: 24px; margin: 16px 0; color: #087438; font-weight: 600; }
.admin-message.is-error { color: #b3261e; }

.admin-debug {
    margin: 10px 0;
    padding: 12px 16px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    font-size: 13px;
    color: #4b3b00;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-debug button {
    margin-left: auto;
}

.admin-dashboard { padding: 35px; }
.admin-header { display: flex; justify-content: space-between; gap: 24px; align-items: start; border-bottom: 1px solid #e2eaf0; padding-bottom: 25px; }
.admin-header h1 { margin-top: 18px; }
.admin-header-actions, .admin-card-actions, .admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-secondary-button { background: #e9f0f5; color: #3B1D6E; }
.admin-tabs { margin: 20px 0; }
.admin-tab { cursor: pointer; border: 1px solid #D6CDE4; background: #fff; border-radius: 99px; padding: 9px 14px; color: #3B1D6E; font-weight: 700; }
.admin-tab.active { background: #3B1D6E; border-color: #3B1D6E; color: #fff; }
.admin-tab span { background: #ffd34f; color: #3B1D6E; border-radius: 99px; padding: 1px 7px; margin-left: 5px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.admin-registration-card { border: 1px solid #E3DCEE; border-radius: 14px; padding: 22px; color: #244a6d; }
.admin-registration-card h2 { margin: 9px 0 14px; color: #3B1D6E; font-size: 22px; }
.admin-registration-card p { margin: 7px 0; }
.admin-type { display: inline-block; background: #fff4c9; color: #695000; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.admin-description { border-top: 1px solid #EAE4F2; margin-top: 14px !important; padding-top: 14px; }
.admin-registration-card small { display: block; margin-top: 12px; color: #7C7392; }
.admin-card-actions { margin-top: 20px; }
.admin-card-actions .btn { padding: 10px 14px; }
.admin-reject-button { background: #fff0ef; color: #a92b23; border: 1px solid #f0c4c0; }
.admin-empty { grid-column: 1 / -1; padding: 40px; text-align: center; background: #F6F3FA; border-radius: 12px; }

/* Pastor portal */
.pastor-text-button { display: block; margin: 18px auto 0; border: 0; background: transparent; color: #3B1D6E; font-weight: 700; cursor: pointer; }
.pastor-portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 28px; }
.pastor-portal-card { border: 1px solid #E3DCEE; border-radius: 14px; padding: 25px; }
.pastor-portal-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.pastor-portal-heading h2 { margin: 4px 0 0; color: #3B1D6E; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.pastor-availability { color: #087438; font-weight: 700; white-space: nowrap; }
.pastor-availability input { accent-color: #087438; }
.pastor-profile-form { display: grid; gap: 7px; }
.pastor-profile-form label { font-weight: 700; margin-top: 8px; }
.pastor-profile-form input, .pastor-profile-form textarea { width: 100%; min-height: 46px; border: 1px solid #D5CBE4; border-radius: 8px; padding: 11px; }
.pastor-profile-form textarea { min-height: 110px; resize: vertical; }
.pastor-profile-form button { justify-self: start; margin-top: 14px; }
.pastor-visibility-label { display: flex !important; align-items: center; gap: 8px; margin-top: 4px !important; font-weight: 600 !important; }
.pastor-visibility-label input { width: auto !important; min-height: auto !important; }
.pastor-notification-count { border-radius: 99px; background: #fff4c9; color: #695000; font-size: 12px; font-weight: 800; padding: 5px 9px; white-space: nowrap; }
.pastor-portal-note { color: #7C7392; margin: -5px 0 12px; }
.pastor-request { border-top: 1px solid #EAE4F2; padding: 16px 0; }
.pastor-request.is-new { border-left: 3px solid #ffd34f; padding-left: 12px; }
.pastor-request div { display: flex; justify-content: space-between; gap: 10px; color: #3B1D6E; }
.pastor-request span, .pastor-request p { color: #7C7392; font-size: 13px; }
.pastor-request p { margin: 7px 0; white-space: pre-wrap; }
.pastor-request button { border: 1px solid #D6CDE4; border-radius: 8px; background: #fff; color: #3B1D6E; cursor: pointer; font-weight: 700; padding: 7px 10px; }
.pastor-empty { color: #7C7392; padding: 18px 0; }

.pastor-post-form { display: grid; gap: 7px; margin-top: 10px; }
.pastor-post-form label { font-weight: 700; margin-top: 8px; }
.pastor-post-form input, .pastor-post-form textarea { width: 100%; min-height: 46px; border: 1px solid #D5CBE4; border-radius: 8px; padding: 11px; }
.pastor-post-form textarea { min-height: 100px; resize: vertical; }
.pastor-post-form button { justify-self: start; margin-top: 14px; }
.post-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pastor-posts-list { margin-top: 24px; }
.pastor-post-item { border-top: 1px solid #EAE4F2; padding: 16px 0; }
.pastor-post-item:first-child { border-top: none; }
.pastor-post-item h4 { margin: 0 0 6px; color: #3B1D6E; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.pastor-post-item p { margin: 0; color: #6F6A88; font-size: 14px; line-height: 1.6; }
.pastor-post-item small { color: #8F88A8; font-size: 12px; }
.pastor-post-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0; color: #4E4866; font-size: 13px; font-weight: 600; }
.pastor-post-actions { margin-top: 10px; display: flex; gap: 8px; }
.pastor-post-actions button { border: 1px solid #D6CDE4; border-radius: 8px; background: #fff; color: #3B1D6E; cursor: pointer; font-weight: 700; padding: 6px 10px; font-size: 12px; }
.pastor-post-actions .post-delete { background: #fff0ef; color: #a92b23; border-color: #f0c4c0; }
.pastor-post-image { max-width: 100%; max-height: 220px; border-radius: 10px; margin-top: 10px; display: block; }

.pastor-benefits-card {
    background: linear-gradient(135deg, #3B1D6E, #5B2E9E);
    color: #ffffff;
    border: none;
}

.pastor-benefits-content h2 {
    color: #ffffff;
    margin: 8px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.pastor-benefits-content ul {
    margin: 0 0 20px;
    padding-left: 20px;
    line-height: 1.8;
    color: #DCD4E7;
}

.pastor-benefits-content li {
    margin-bottom: 10px;
    font-size: 14px;
}

.pastor-benefits-content li strong {
    color: #ffd34f;
}

.pastor-audio-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pastor-audio-wrapper audio {
    width: 100%;
    margin-bottom: 8px;
}

.pastor-audio-note {
    margin: 0;
    color: #BDB3CC;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 600px) {
    .admin-shell { padding: 25px 0; }
    .admin-login-card, .admin-dashboard { padding: 24px 20px; }
    .admin-header { flex-direction: column; }
    .pastor-portal-grid { grid-template-columns: 1fr; }
    .pastor-portal-heading { flex-direction: column; }
}


/* =========================================================
   2. CONTAINER
========================================================= */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   3. HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #241040;

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

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.header-container {
    min-height: 88px;

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

    gap: 30px;
}


/* =========================================================
   4. LOGO
========================================================= */

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

    min-width: 150px;

    line-height: 0.85;
}

.logo-main {
    color: #ffd34f;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: 1px;
}

.logo small {
    margin-top: 9px;

    color: #BDB3CC;

    font-size: 7px;
    letter-spacing: 2px;
}


/* =========================================================
   5. NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 27px;
}

.main-nav a {
    position: relative;

    color: #e7edf3;

    font-size: 14px;
    font-weight: 600;

    padding: 32px 0;

    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffd34f;
}


/* ACTIVE NAVIGATION */

.main-nav a.active {
    color: #ffd34f;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 22px;

    height: 2px;

    background: #ffd34f;
}


/* =========================================================
   6. REGISTER BUTTON
========================================================= */

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffd34f;
    color: #241040;

    padding: 14px 25px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.header-button:hover {
    background: #ffe17a;

    transform: translateY(-2px);
}

.header-button-secondary {
    background: #ffffff;
    color: #241040;
    border: 2px solid #241040;
}

.header-button-secondary:hover {
    background: #F0EAF6;
    border-color: #3B1D6E;
}

.header-button-install {
    background: #087438;
    color: #ffffff;
    border: 2px solid #087438;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-button-install:hover {
    background: #065a2b;
    border-color: #065a2b;
    transform: translateY(-2px);
}


/* =========================================================
   7. MAIN
========================================================= */

main {
    min-height: 70vh;
}


/* =========================================================
   8. FOOTER
========================================================= */

.site-footer {
    background: #241040;

    color: #BDB3CC;

    padding: 30px 0;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   9. RESPONSIVE HEADER
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-button {
        padding: 12px 18px;
    }
}


@media (max-width: 850px) {

    .header-container {
        min-height: auto;

        padding: 18px 0;

        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;

        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 15px 22px;
    }

    .main-nav a {
        padding: 5px 0;
    }

    .main-nav a.active::after {
        bottom: 0;
    }

    .header-button {
        padding: 12px 18px;
        font-size: 13px;
    }

}


@media (max-width: 500px) {

    .logo-main {
        font-size: 20px;
    }

    .logo small {
        font-size: 6px;
    }

    .header-button {
        padding: 10px 15px;

        font-size: 12px;
    }

    .main-nav {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;
    }

    .main-nav a {
        white-space: nowrap;
    }

}
/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(26, 12, 54, 0.78),
            rgba(26, 12, 54, 0.88)
        ),
        url("images/hero.jpg") center center / cover no-repeat;

    overflow: hidden;
}


/* DARK OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 211, 79, 0.12),
            transparent 35%
        );
}


/* HERO CONTAINER */

.hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    min-height: 680px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 820px;

    color: white;
}


/* SMALL LABEL */

.hero-label {
    display: inline-block;

    margin-bottom: 22px;

    color: #ffd34f;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* MAIN HEADING */

.hero h1 {
    margin-bottom: 25px;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 1.02;

    font-weight: 700;

    letter-spacing: -2px;
}


/* DESCRIPTION */

.hero-content > p {
    max-width: 680px;

    margin-bottom: 35px;

    color: #DCD4E7;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


.hero-btn {
    display: inline-flex;

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

    min-height: 54px;

    padding: 14px 25px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


/* PRIMARY BUTTON */

.hero-btn.primary {
    background: #ffd34f;

    color: #241040;
}


.hero-btn.primary:hover {
    background: #ffe17a;

    transform: translateY(-3px);
}


/* SECONDARY BUTTON */

.hero-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.75);

    color: white;

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


.hero-btn.secondary:hover {
    background: white;

    color: #241040;

    transform: translateY(-3px);
}


/* =========================================================
   HERO TRUST MESSAGE
========================================================= */

.hero-trust {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 38px;
}


.hero-trust span {
    font-size: 21px;
}


.hero-trust p {
    color: #b8c7d3;

    font-size: 13px;

    margin: 0;
}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .hero {
        min-height: 620px;
    }

    .hero-container {
        min-height: 620px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 65px);

        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
    }

}


@media (max-width: 450px) {

    .hero {
        min-height: 650px;
    }

    .hero-container {
        min-height: 650px;
    }

    .hero-label {
        font-size: 11px;

        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 43px;
    }

}
/* =========================================================
   FIND A CHURCH
========================================================= */

.churches {
    background: #F6F3FA;
}


/* =========================================================
   SEARCH
========================================================= */

.church-search {
    display: grid;

    grid-template-columns: 1fr 1fr auto;

    gap: 12px;

    margin: 40px auto 50px;

    max-width: 1000px;

    padding: 12px;

    background: white;

    border: 1px solid #E7E1F0;

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.search-field {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border: 1px solid #dce4eb;

    border-radius: 10px;

    background: #fff;
}


.search-field span {
    font-size: 17px;
}


.search-field input {
    width: 100%;

    border: none;

    outline: none;

    padding: 14px 5px;

    color: #2E1757;

    background: transparent;
}


.search-field input::placeholder {
    color: #8a9bab;
}


.search-button {
    border: none;

    border-radius: 10px;

    padding: 0 25px;

    background: #2E1757;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.3s ease;
}


.search-button:hover {
    background: #0b2c4b;
}


/* =========================================================
   CHURCH GRID
========================================================= */

.church-grid {
    display: grid;

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

    gap: 28px;
}


.church-card {
    overflow: hidden;

    background: white;

    border: 1px solid #E8E2F1;

    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.church-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   CHURCH IMAGE
========================================================= */

.church-card-image {
    position: relative;

    height: 220px;

    overflow: hidden;
}


.church-card-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.church-status {
    position: absolute;

    top: 15px;

    right: 15px;

    padding: 7px 12px;

    border-radius: 20px;

    background: #ffffff;

    color: #138a45;

    font-size: 11px;

    font-weight: 800;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   CHURCH CONTENT
========================================================= */

.church-card-content {
    padding: 25px;
}


.church-country {
    color: #c08b00;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


.church-card h3 {
    margin: 8px 0 10px;

    color: #2E1757;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;
}


.church-card-content > p {
    margin-bottom: 18px;

    color: #63778a;

    font-size: 14px;

    line-height: 1.7;
}


.church-meta {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 20px;

    color: #718397;

    font-size: 12px;
}


.church-link {
    color: #2E1757;

    font-size: 14px;

    font-weight: 800;

    transition: color 0.3s ease;
}


.church-link:hover {
    color: #c08b00;
}


/* =========================================================
   SECTION CTA
========================================================= */

.section-cta {
    margin-top: 55px;

    padding: 40px;

    text-align: center;

    background: #F0ECF5;

    border-radius: 18px;
}


.section-cta h3 {
    margin-bottom: 8px;

    color: #2E1757;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 26px;
}


.section-cta p {
    margin-bottom: 22px;

    color: #63778a;
}


/* =========================================================
   GENERAL BUTTON
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 24px;

    border-radius: 28px;

    background: #ffd34f;

    color: #241040;

    font-weight: 700;

    transition: transform 0.3s ease;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-secondary {
    background: #ffffff;
    color: #3B1D6E;
    border: 2px solid #3B1D6E;
}


.btn-secondary:hover {
    background: #F0EAF6;
    transform: translateY(-2px);
}


/* =========================================================
   CHURCH RESPONSIVE
======================================================== */

@media (max-width: 900px) {

    .church-grid {
        grid-template-columns: 1fr 1fr;
    }

    .church-search {
        grid-template-columns: 1fr;
    }

    .search-button {
        min-height: 50px;
    }

}


@media (max-width: 600px) {

    .church-grid {
        grid-template-columns: 1fr;
    }

    .church-card-image {
        height: 230px;
    }

    .section-cta {
        padding: 30px 20px;
    }

}
/* ==========================================
   CHURCH DIRECTORY
========================================== */

.church-directory {
    background: #f5f8fc;
}

.church-search {
    max-width: 900px;
    margin: 40px auto 60px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    background: #ffffff;
    border: 1px solid #dfe6ee;
    border-radius: 50px;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.search-box span {
    font-size: 20px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    color: #123f6d;
    background: transparent;
}

.search-box input::placeholder {
    color: #8a98a8;
}


/* CHURCH GRID */

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


/* CHURCH CARD */

.church-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e4eaf1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.church-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}


/* CHURCH IMAGE */

.church-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

.church-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    color: #00a651;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* CHURCH INFORMATION */

.church-info {
    padding: 28px;
}

.church-info .section-label {
    font-size: 11px;
}

.church-info h3 {
    margin: 10px 0;
    font-size: 24px;
    color: #0d467b;
}

.church-info p {
    color: #6F6A88;
    line-height: 1.7;
}

.church-pastor {
    font-weight: 600;
    color: #3A2168 !important;
    margin-bottom: 12px;
}


.church-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #EAE6F0;
    border-bottom: 1px solid #EAE6F0;
}

.church-details span {
    color: #6F6A88;
    font-size: 14px;
}


/* CHURCH SOCIAL LINKS */

.church-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.church-social-link {
    display: inline-block;
    padding: 6px 12px;
    background: #F0EAF6;
    color: #3B1D6E;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

.church-social-link:hover {
    background: #3B1D6E;
    color: #ffffff;
}


/* VIEW CHURCH */

.church-link {
    display: inline-block;
    color: #0d467b;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.church-link:hover {
    color: #e0a900;
}


/* REGISTER CHURCH */

.register-church {
    margin-top: 70px;
    padding: 45px;
    background: #3B1D6E;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.register-church h3 {
    color: #ffffff;
    font-size: 30px;
    margin: 10px 0;
}

.register-church p {
    color: #c8d6e5;
    max-width: 650px;
    line-height: 1.7;
}


/* MOBILE */

@media (max-width: 900px) {

    .church-grid {
        grid-template-columns: 1fr 1fr;
    }

    .register-church {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .church-search {
        flex-direction: column;
        align-items: stretch;
    }

    .church-grid {
        grid-template-columns: 1fr;
    }

    .register-church {
        padding: 30px;
    }

    .register-church h3 {
        font-size: 24px;
    }

}
/* ==========================================
   FIND A PASTOR
========================================== */

.pastor-directory {
    background: #ffffff;
}

.pastor-search {
    max-width: 1000px;
    margin: 40px auto 55px;

    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

.pastor-search .search-box {
    min-height: 54px;
}


/* PASTOR GRID */

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


/* PASTOR CARD */

.directory-pastor-card {
    background: #F7F4FB;
    border: 1px solid #E8E2F1;
    border-radius: 14px;
    overflow: hidden;

    transition: 0.3s ease;
}

.directory-pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}


/* CARD TOP */

.directory-pastor-top {
    min-height: 130px;

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

    position: relative;

    background:
        linear-gradient(
            135deg,
            #3B1D6E,
            #5B2E9E
        );
}


/* AVATAR */

.directory-pastor-avatar {
    width: 80px;
    height: 80px;

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

    background: #ffffff;

    border-radius: 50%;

    font-size: 40px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}


/* STATUS */

.pastor-status {
    position: absolute;

    top: 12px;
    right: 12px;

    background: #ffffff;

    color: #079447;

    padding: 6px 10px;

    border-radius: 18px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
}


/* PASTOR INFORMATION */

.directory-pastor-info {
    padding: 18px;
}

.directory-pastor-info .section-label {
    font-size: 10px;
}

.directory-pastor-info h3 {
    margin: 6px 0 4px;

    color: #33196B;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 19px;
}

.pastor-church {
    margin-bottom: 10px;

    color: #6d7f91;

    font-size: 13px;
    font-weight: 600;
}

.pastor-phone {
    margin-bottom: 8px;

    color: #3B1D6E;

    font-size: 13px;
    font-weight: 700;
}

.pastor-church-till {
    margin-bottom: 8px;

    color: #087438;

    font-size: 13px;
    font-weight: 700;
}

.pastor-prayer-availability {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -6px 0 10px;
    font-size: 11px;
    font-weight: 700;
}

.pastor-prayer-availability span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pastor-prayer-availability.is-available { color: #087438; }
.pastor-prayer-availability.is-available span { background: #16a34a; box-shadow: 0 0 0 3px #dcfce7; }
.pastor-prayer-availability.is-unavailable { color: #6E6790; }
.pastor-prayer-availability.is-unavailable span { background: #94a3b8; }

.pastor-request-button {
    display: block;
    width: 100%;
    margin-top: 14px;
    text-align: center;
}

.pastor-request-unavailable {
    display: block;
    margin-top: 14px;
    color: #7A7392;
    font-size: 11px;
    font-weight: 700;
}

.pastor-giving-info {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    font-size: 12px;
    color: #4b3b00;
}

.pastor-giving-info .giving-label {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.pastor-giving-info span {
    display: inline-block;
    margin-right: 8px;
}

.pastor-talk-button {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    background: #ffffff;
    color: #3B1D6E;
    border: 2px solid #3B1D6E;
}


.pastor-talk-button:hover {
    background: #F0EAF6;
    transform: translateY(-2px);
}

.pastor-giving-button {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    background: #087438;
    color: #ffffff;
    border: 2px solid #087438;
}

.pastor-giving-button:hover {
    background: #065a2b;
    border-color: #065a2b;
    transform: translateY(-2px);
    color: #ffffff;
}


/* DETAILS */

.pastor-details {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 17px 0;

    border-top: 1px solid #E6E0EF;
    border-bottom: 1px solid #E6E0EF;

    color: #6E6790;

    font-size: 13px;
}


/* VIEW LINK */

.pastor-view-link {
    display: inline-block;

    margin-top: 20px;

    color: #33196B;

    font-size: 14px;
    font-weight: 800;

    transition: 0.3s ease;
}

.pastor-view-link:hover {
    color: #d29b00;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .pastor-directory-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pastor-search {
        grid-template-columns: 1fr;
    }

    .pastor-search .btn {
        min-height: 52px;
    }

}


@media (max-width: 600px) {

    .pastor-directory-grid {
        grid-template-columns: 1fr;
    }

    .directory-pastor-top {
        min-height: 190px;
    }

}
/* ==========================================
   PRAYER REQUEST
========================================== */

.prayer-request {
    background: #F3EFF8;
}

.prayer-request-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: stretch;
}


/* LEFT MESSAGE */

.prayer-message {
    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #3B1D6E;
    border-radius: 24px;

    color: white;
}

.prayer-icon {
    width: 65px;
    height: 65px;

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

    margin-bottom: 25px;

    background: rgba(255, 211, 79, 0.15);

    border-radius: 50%;

    font-size: 30px;
}

.prayer-message h3 {
    margin-bottom: 18px;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    line-height: 1.2;
}

.prayer-message > p {
    color: #D3CAE1;

    line-height: 1.8;
}


/* PRAYER POINTS */

.prayer-points {
    margin-top: 30px;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.prayer-point {
    display: flex;
    align-items: center;

    gap: 12px;
}

.prayer-point span {
    width: 25px;
    height: 25px;

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

    background: #ffd34f;
    color: #3B1D6E;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 900;
}

.prayer-point p {
    margin: 0;

    color: #d8e3ec;

    font-size: 14px;
}


/* FORM CARD */

.prayer-form-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border: 1.5px solid #EAE4F2;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(59, 29, 110, 0.06);
}


/* PRIVATE CHECKBOX */

.prayer-private {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 5px 0 25px;

    color: #6F6A88;

    font-size: 13px;

    cursor: pointer;
}

.prayer-private input {
    width: 16px;
    height: 16px;
}


/* SUBMIT */

.prayer-submit {
    width: 100%;

    border: none;

    cursor: pointer;

    min-height: 54px;
}


/* SUCCESS MESSAGE */

.prayer-request-message {
    margin-top: 20px;

    font-weight: 700;

    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .prayer-request-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .prayer-message,
    .prayer-form-card {
        padding: 28px 22px;
    }

    .prayer-message h3 {
        font-size: 27px;
    }

}
#prayerSuccess {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    background: #e8f5e9;
    color: #16803c;
    border-radius: 8px;
    font-weight: 600;
}
/* ==========================================
   LIVE PRAYER
========================================== */

.live-prayer {
    background: #FAF8FC;
    padding: 80px 0;
}

.live-prayer-card {
    max-width: 1050px;
    margin: 40px auto 0;
    padding: 48px;
    background: #ffffff;
    border: 1.5px solid #EAE4F2;
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(59, 29, 110, 0.07);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-prayer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(59, 29, 110, 0.11);
}

.live-prayer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #6C38CC 0%, #FFD34F 100%);
    border-radius: 6px 0 0 6px;
}

.live-prayer-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #E8F8F0;
    border: 1.5px solid #A8E6CF;
    color: #0C6E3D;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.live-status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.live-prayer-main h3 {
    margin: 0 0 12px 0;
    font-size: 30px;
    font-weight: 800;
    color: #2D1854;
    line-height: 1.2;
    border-bottom: none;
    padding-bottom: 0;
}

.live-prayer-main p {
    margin: 0 0 20px 0;
    font-size: 15.5px;
    color: #645780;
    line-height: 1.6;
}

.live-prayer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.live-prayer-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F4EFFB;
    border: 1.5px solid #E5DDF0;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    color: #3B1D6E;
    transition: all 0.2s ease;
}

.live-prayer-details span:hover {
    background: #6C38CC;
    color: #ffffff;
    border-color: #6C38CC;
}

.live-prayer-main button[type="button"] {
    min-width: 220px;
    min-height: 54px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFD34F 0%, #F5C02A 100%);
    color: #2D1854;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 192, 42, 0.35);
    transition: all 0.25s ease;
}

.live-prayer-main button[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 192, 42, 0.5);
}

/* RIGHT WIDGET */

.live-prayer-widget {
    background: linear-gradient(135deg, #3B1D6E 0%, #5B2E9E 100%);
    border-radius: 22px;
    padding: 32px 28px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(59, 29, 110, 0.25);
}

.live-prayer-hero-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 211, 79, 0.2);
    border: 2px solid #FFD34F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
    box-shadow: 0 0 24px rgba(255, 211, 79, 0.35);
}

.live-prayer-widget h4 {
    margin: 0 0 6px 0;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
}

.live-prayer-widget p {
    margin: 0 0 16px 0;
    font-size: 13.5px;
    color: #D6CBE8;
}

.live-prayer-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #FFD34F;
    margin-bottom: 18px;
}

.live-prayer-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.live-prayer-checklist li {
    font-size: 13.5px;
    color: #E7DFFA;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-prayer-checklist li:last-child {
    margin-bottom: 0;
}

@media (max-width: 850px) {
    .live-prayer-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 30px;
    }
}


/* CARD HEADER */

.live-prayer-header {
    min-height: 180px;

    position: relative;

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

    background:
        linear-gradient(
            135deg,
            #3B1D6E,
            #5B2E9E
        );
}


/* AVATAR */

.live-pastor-avatar {
    width: 105px;
    height: 105px;

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

    background: #ffffff;

    border-radius: 50%;

    font-size: 52px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}


/* AVAILABLE BADGE */

.available-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 7px 11px;

    background: #ffffff;

    color: #008a45;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;
}


/* INFORMATION */

.live-prayer-info {
    padding: 28px;
}

.live-prayer-info .section-label {
    font-size: 10px;
}

.live-prayer-info h3 {
    margin: 8px 0 5px;

    color: #33196B;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;
}

.live-church-name {
    margin-bottom: 8px;

    color: #6F6A88;

    font-size: 14px;

    font-weight: 600;
}

.live-location {
    color: #738397;

    font-size: 13px;
}


/* BUTTON */

.live-prayer-button {
    width: 100%;

    margin-top: 22px;

    text-align: center;

    display: block;
}


/* NOTE */

.live-prayer-note {
    max-width: 850px;

    margin: 55px auto 0;

    padding: 28px 32px;

    background: #ffffff;

    border-left: 4px solid #ffd34f;

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.live-prayer-note strong {
    display: block;

    margin-bottom: 8px;

    color: #33196B;
}

.live-prayer-note p {
    margin: 0;

    color: #6E6790;

    line-height: 1.7;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .live-prayer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .live-prayer-grid {
        grid-template-columns: 1fr;
    }

    .live-prayer-status {
        flex-direction: column;

        text-align: center;

        border-radius: 18px;
    }

    .live-prayer-header {
        min-height: 200px;
    }

    .live-prayer-note {
        padding: 24px;
    }

}
/* ==========================================
   CONTACT US SECTION
========================================== */

.contact-section,
#contact {
    background: #FAF8FC;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 45px;
    align-items: start;
    max-width: 1100px;
    margin: 40px auto 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 28px;
    background: #ffffff;
    border: 1.5px solid #EAE4F2;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(59, 29, 110, 0.04);
    transition: all 0.28s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(108, 56, 204, 0.09);
    border-color: #D0C2EB;
}

.contact-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6C38CC 0%, #4B2099 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(108, 56, 204, 0.28);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
}

.contact-info h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #2D1854;
}

.contact-info p {
    margin: 0;
    font-size: 14.5px;
    color: #645780;
    line-height: 1.6;
}

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================
   PASTOR DASHBOARD
========================================== */

.pastor-dashboard {
    background: #F3EFF8;
}


/* DASHBOARD LAYOUT */

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}


/* SIDEBAR */

.dashboard-sidebar {
    background: #3B1D6E;
    border-radius: 20px;
    padding: 30px 20px;
    color: #ffffff;
    position: sticky;
    top: 100px;
}

.dashboard-profile {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dashboard-avatar {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;

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

    background: #ffffff;
    border-radius: 50%;

    font-size: 42px;
}

.dashboard-profile h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 20px;
}

.dashboard-profile p {
    margin: 0;
    color: #b9cad9;
    font-size: 13px;
}


/* MENU */

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 25px;
}

.dashboard-menu a {
    padding: 13px 14px;
    border-radius: 10px;

    color: #d8e4ee;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.dashboard-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


/* CONTENT */

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* WELCOME */

.dashboard-welcome {
    background: #ffffff;
    border: 1px solid #E7E1F0;
    border-radius: 20px;
    padding: 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.dashboard-welcome h3 {
    margin: 8px 0;
    color: #33196B;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.dashboard-welcome p {
    margin: 0;
    color: #6c7d8e;
}


/* AVAILABILITY */

.availability-control {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.availability-control > span {
    color: #68798b;
    font-size: 13px;
}

.availability-control strong {
    color: #008a45;
    font-size: 13px;
}


/* SWITCH */

.availability-switch {
    position: relative;
    display: inline-block;

    width: 48px;
    height: 26px;
}

.availability-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.availability-slider {
    position: absolute;
    inset: 0;

    background: #cbd5df;
    border-radius: 30px;

    cursor: pointer;
    transition: 0.3s;
}

.availability-slider::before {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    background: #ffffff;
    border-radius: 50%;

    transition: 0.3s;
}

.availability-switch input:checked + .availability-slider {
    background: #00a651;
}

.availability-switch input:checked + .availability-slider::before {
    transform: translateX(22px);
}


/* STATISTICS */

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

.dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #E7E1F0;
    border-radius: 18px;
    padding: 25px;

    text-align: center;
}

.dashboard-stat-card > span {
    display: block;
    font-size: 25px;
    margin-bottom: 8px;
}

.dashboard-stat-card strong {
    display: block;
    color: #33196B;
    font-size: 30px;
}

.dashboard-stat-card p {
    margin: 5px 0 0;
    color: #7A7392;
    font-size: 13px;
}


/* PANELS */

.dashboard-panel {
    background: #ffffff;
    border: 1px solid #E7E1F0;
    border-radius: 20px;
    padding: 30px;
}

.dashboard-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 25px;
}

.dashboard-panel-heading h3 {
    margin: 7px 0 0;

    color: #33196B;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;
}

.dashboard-panel-heading > a {
    color: #33196B;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* PRAYER REQUEST LIST */

.prayer-request-list {
    display: flex;
    flex-direction: column;
}

.dashboard-prayer-item {
    padding: 18px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    border-bottom: 1px solid #e8edf2;
}

.dashboard-prayer-item:last-child {
    border-bottom: none;
}

.dashboard-prayer-item strong {
    color: #3A2168;
    font-size: 14px;
}

.dashboard-prayer-item p {
    margin: 5px 0 0;
    color: #7A7392;
    font-size: 13px;
}

.dashboard-prayer-item > span {
    color: #8998a7;
    font-size: 12px;
    white-space: nowrap;
}


/* PROFILE DETAILS */

.dashboard-profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dashboard-profile-details > div {
    padding: 18px;

    background: #f7f9fb;

    border-radius: 12px;
}

.dashboard-profile-details span {
    display: block;
    margin-bottom: 7px;

    color: #7a8998;
    font-size: 12px;
}

.dashboard-profile-details strong {
    color: #3A2168;
    font-size: 14px;
}


/* CHURCH */

.registered-badge {
    padding: 7px 12px;

    background: #e8f7ee;
    color: #008a45;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 800;
}

.dashboard-description {
    color: #687b8e;
    line-height: 1.7;
}

.dashboard-action {
    display: inline-block;
    margin-top: 10px;

    color: #33196B;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .dashboard-welcome {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-details {
        grid-template-columns: 1fr;
    }

    .dashboard-menu {
        grid-template-columns: 1fr;
    }

    .dashboard-panel,
    .dashboard-welcome {
        padding: 22px;
    }

    .dashboard-prayer-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}
/* ==========================================
   CHURCH REGISTRATION
========================================== */

.registration {
    background: #ffffff;
}

.registration-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: stretch;
}


/* INFORMATION */

.registration-info {
    padding: 40px;

    background: #3B1D6E;

    border-radius: 24px;

    color: #ffffff;
}

.registration-info h3 {
    margin: 10px 0 18px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 32px;
    line-height: 1.2;
}

.registration-info > p {
    color: #D3CAE1;

    line-height: 1.8;
}


/* BENEFITS */

.registration-benefits {
    display: flex;
    flex-direction: column;

    gap: 22px;

    margin-top: 32px;
}

.registration-benefit {
    display: flex;
    align-items: flex-start;

    gap: 13px;
}

.registration-benefit > span {
    flex-shrink: 0;

    width: 27px;
    height: 27px;

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

    background: #ffd34f;

    color: #3B1D6E;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 900;
}

.registration-benefit strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 14px;
}

.registration-benefit p {
    margin: 0;

    color: #bfcfdd;

    font-size: 13px;

    line-height: 1.6;
}


/* FORM CARD */

.registration-card,
.prayer-form-card,
.contact-form-card {
    padding: 42px;
    background: #ffffff;
    border: 1.5px solid #EAE4F2;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(59, 29, 110, 0.06);
    transition: box-shadow 0.3s ease;
}

.registration-card:hover,
.prayer-form-card:hover,
.contact-form-card:hover {
    box-shadow: 0 18px 48px rgba(59, 29, 110, 0.09);
}

/* FORM GRID */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* FORM INPUTS & CONTROL SYSTEM */

.registration-card input[type="text"],
.registration-card input[type="email"],
.registration-card input[type="tel"],
.registration-card textarea,
.registration-card select,
.prayer-form-card input[type="text"],
.prayer-form-card input[type="email"],
.prayer-form-card input[type="tel"],
.prayer-form-card textarea,
.prayer-form-card select,
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea,
.contact-form-card select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 1.5px solid #DED6E9;
    border-radius: 12px;
    background: #ffffff;
    color: #2D1854;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.registration-card textarea,
.prayer-form-card textarea,
.contact-form-card textarea,
.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.registration-card select,
.prayer-form-card select,
.contact-form-card select,
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%3C6C38CC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
    cursor: pointer;
}

.registration-card input:focus,
.registration-card textarea:focus,
.registration-card select:focus,
.prayer-form-card input:focus,
.prayer-form-card textarea:focus,
.prayer-form-card select:focus,
.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #6C38CC;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(108, 56, 204, 0.12), 0 4px 14px rgba(108, 56, 204, 0.08);
}

.registration-card input::placeholder,
.prayer-form-card input::placeholder,
.contact-form-card input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9C93B0;
    font-weight: 400;
}

/* LABELS & FORM GROUPS */

.form-group label,
.registration-card label,
.prayer-form-card label,
.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    color: #2D1854;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.optional-label {
    font-weight: 400;
    color: #8C83A3;
    font-size: 13px;
    margin-left: 4px;
}

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

/* SECTION HEADERS INSIDE FORMS */

form h3,
.registration-card h3 {
    margin: 32px 0 20px 0;
    font-size: 18px;
    font-weight: 800;
    color: #2D1854;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #F0EBFA;
    padding-bottom: 10px;
}

form h3:first-child,
.registration-card h3:first-child {
    margin-top: 0;
}

/* FILE INPUT CUSTOM STYLING */

input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    background: #FAF8FC;
    border: 1.5px dashed #C8BBE0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #554A6E;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

input[type="file"]:hover {
    border-color: #6C38CC;
    background: #F4EFFB;
}

input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, #6C38CC 0%, #4B2099 100%);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-right: 14px;
    box-shadow: 0 3px 10px rgba(108, 56, 204, 0.2);
    transition: all 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(108, 56, 204, 0.3);
}

/* CHECKBOX GRID CARDS */

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin: 15px 0 28px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #FAF8FC;
    border: 1.5px solid #E5DDF0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.checkbox-item:hover {
    border-color: #6C38CC;
    background: #F4EFFB;
    transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6C38CC;
    cursor: pointer;
    border-radius: 4px;
}

.checkbox-item span {
    font-size: 14px;
    font-weight: 600;
    color: #2D1854;
}

/* SUBMIT BUTTONS & SUCCESS MESSAGES */

.registration-submit,
.contact-form-card button[type="submit"],
.prayer-form-card button[type="submit"] {
    margin-top: 28px;
}

.contact-form-card button[type="submit"],
.prayer-form-card button[type="submit"],
.registration-submit button[type="submit"] {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFD34F 0%, #F5C02A 100%);
    color: #2D1854;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 192, 42, 0.35);
    transition: all 0.25s ease;
}

.contact-form-card button[type="submit"]:hover,
.prayer-form-card button[type="submit"]:hover,
.registration-submit button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 192, 42, 0.5);
}

#contactSuccess,
#prayerSuccess,
#registrationSuccess,
#pastorRegistrationSuccess {
    margin-top: 20px;
    padding: 16px 20px;
    background: #E8F8F0;
    border: 1.5px solid #A8E6CF;
    border-radius: 14px;
    color: #0C6E3D;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(12, 110, 61, 0.08);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 850px) {

    .registration-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .registration-info,
    .registration-card {
        padding: 28px 22px;
    }

    .registration-info h3 {
        font-size: 27px;
    }

}
/* ==========================================
   CHURCH DIRECTORY
========================================== */

.church-directory {
    background: #F3EFF8;
}


/* SEARCH */

.church-search {
    max-width: 850px;
    margin: 35px auto 50px;

    display: flex;
    gap: 12px;
}

.church-search input {
    flex: 1;

    min-height: 52px;

    padding: 0 18px;

    border: 1px solid #DED6E9;
    border-radius: 10px;

    background: #ffffff;

    color: #3A2168;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    box-sizing: border-box;
}

.church-search input:focus {
    border-color: #5B2E9E;

    box-shadow:
        0 0 0 3px rgba(91, 46, 158, 0.08);
}

.church-search button {
    min-width: 120px;

    border: none;

    cursor: pointer;
}


/* CHURCH GRID */

.church-grid {
    display: grid;

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

    gap: 28px;
}


/* CHURCH CARD */

.church-card {
    background: #ffffff;

    border: 1px solid #E7E1F0;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);

    transition: 0.3s ease;
}

.church-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.09);
}


/* IMAGE */

.church-card-image {
    height: 210px;

    position: relative;

    overflow: hidden;
}

.church-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

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


/* STATUS */

.church-status {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 7px 11px;

    background: #ffffff;

    color: #008a45;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* CONTENT */

.church-card-content {
    padding: 28px;
}

.church-card-content h3 {
    margin: 8px 0 7px;

    color: #33196B;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
}

.church-card-content > p:not(.church-location) {
    color: #7A7392;

    font-size: 13px;

    line-height: 1.7;
}

.church-location {
    margin: 0 0 10px;

    color: #60758a;

    font-size: 13px;

    font-weight: 600;
}


/* BUTTON */

.church-card-button {
    display: inline-block;

    margin-top: 15px;

    color: #33196B;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s ease;
}

.church-card-button:hover {
    color: #00a651;
}


/* NO RESULTS */

.no-church-results {
    max-width: 600px;

    margin: 30px auto;

    padding: 35px;

    background: #ffffff;

    border-radius: 15px;

    text-align: center;

    border: 1px solid #E7E1F0;
}

.no-church-results h3 {
    margin-bottom: 8px;

    color: #33196B;
}

.no-church-results p {
    margin: 0;

    color: #7A7392;
}


/* REGISTER CTA */

.church-directory-cta {
    max-width: 850px;

    margin: 60px auto 0;

    padding: 40px;

    background: #3B1D6E;

    border-radius: 22px;

    text-align: center;

    color: #ffffff;
}

.church-directory-cta h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
}

.church-directory-cta p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #c7d6e2;

    line-height: 1.7;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .church-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .church-grid {
        grid-template-columns: 1fr;
    }

    .church-search {
        flex-direction: column;
    }

    .church-search button {
        width: 100%;
    }

    .church-card-image {
        height: 230px;
    }

    .church-directory-cta {
        padding: 30px 22px;
    }

}
/* ==========================================
   EVENT LINK BUTTON
========================================== */

.event-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

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

    background: #6B3FA0;
    color: #ffffff;

    border: 2px solid #6B3FA0;
    border-radius: 8px;

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

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.event-link:hover {
    background: #084298;
    color: #ffffff;

    transform: translateY(-2px);
}
/* ==========================================
   SERMON LISTEN BUTTON
========================================== */

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

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

    background: #6B3FA0;
    color: #ffffff;

    border: 2px solid #6B3FA0;
    border-radius: 8px;

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

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.sermon-link:hover {
    background: #084298;
    color: #ffffff;

    transform: translateY(-2px);
}
/* ==========================================
   FOOTER LINKS - SIMPLE HIGHLIGHT
========================================== */

.site-footer .footer-links a {
    color: #dbeafe;
    font-weight: 600;
    text-decoration: none;
}

.site-footer .footer-links a:hover {
    color: #ffd34e;
    text-decoration: underline;
}
/* ==========================================
   GIVE SECTION LABEL
========================================== */

.give-section .section-label,
.give .section-label,
.give-content .section-label {
    display: inline-block;

    color: #ffd34e !important;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 12px;

    opacity: 1;
}
/* ==========================================
   GIVE SECTION - SUPPORT LABEL
========================================== */

.give-label {
    display: inline-block;

    background: #ffd34e;
    color: #082b4c;

    padding: 8px 18px;

    border-radius: 20px;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 16px;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   SERMONS
========================================= */

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

.sermon-card {
    background: #ffffff;
    border: 1px solid #E8E2F1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.sermon-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

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

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

.sermon-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd34f;
    color: #241040;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sermon-content {
    padding: 25px;
}

.sermon-content .section-label {
    font-size: 11px;
}

.sermon-content h3 {
    margin: 8px 0 10px;
    color: #33196B;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.sermon-content p {
    color: #6F6A88;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

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

@media (max-width: 600px) {
    .sermons-grid {
        grid-template-columns: 1fr;
    }
    .sermon-image {
        height: 220px;
    }
}

/* ==========================================
   CHAT WIDGET
========================================= */

.platform-benefits {
    background: linear-gradient(180deg, #F5F0FC 0%, #ffffff 100%);
    padding: 70px 0 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.benefit-card {
    background: #ffffff;
    border: 2px solid #E8E2F1;
    border-radius: 22px;
    padding: 36px 26px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
    border-color: #5B2E9E;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    margin: 0 0 14px;
    color: #3B1D6E;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.benefit-card p {
    margin: 0;
    color: #4E4866;
    font-size: 15px;
    line-height: 1.8;
}

.platform-audio-wrapper {
    margin-top: 48px;
    padding: 30px;
    background: #ffffff;
    border: 2px solid #5B2E9E;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.platform-audio-wrapper audio {
    width: 100%;
    max-width: 520px;
    margin-bottom: 12px;
    height: 44px;
}

.platform-audio-note {
    margin: 0;
    color: #5B2E9E;
    font-size: 15px;
    font-weight: 700;
}

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

@media (max-width: 600px) {
    .platform-benefits {
        padding: 50px 0 60px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
    }
    .benefit-card {
        padding: 28px 20px;
    }
    .benefit-icon {
        font-size: 42px;
    }
    .benefit-card h3 {
        font-size: 20px;
    }
    .platform-audio-wrapper {
        padding: 22px 18px;
        margin-top: 36px;
    }
}

.platform-audio-wrapper {
    margin-top: 40px;
    padding: 24px;
    background: #F7F4FB;
    border: 2px dashed #c7d2db;
    border-radius: 16px;
    text-align: center;
}

.platform-audio-wrapper audio {
    width: 100%;
    max-width: 500px;
    margin-bottom: 10px;
}

.platform-audio-note {
    margin: 0;
    color: #6E6790;
    font-size: 13px;
}

/* ==========================================
   CRUSADES & ANNOUNCEMENTS
========================================= */

.crusades {
    background: #ffffff;
}

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

.crusade-card {
    background: #F7F4FB;
    border: 1px solid #E8E2F1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: 0.3s ease;
}

.crusade-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.crusade-image {
    height: 200px;
    overflow: hidden;
}

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

.crusade-content {
    padding: 22px;
}

.crusade-content h3 {
    margin: 0 0 8px;
    color: #3B1D6E;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.crusade-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    color: #4E4866;
    font-size: 13px;
    font-weight: 600;
}

.crusade-content p {
    margin: 0;
    color: #6F6A88;
    font-size: 14px;
    line-height: 1.7;
}

.crusade-empty {
    grid-column: 1 / -1;
    color: #7C7392;
    text-align: center;
    padding: 40px 20px;
}

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

@media (max-width: 600px) {
    .crusades-grid {
        grid-template-columns: 1fr;
    }
    .crusade-image {
        height: 220px;
    }
}

/* ==========================================
   IMAGE LIGHTBOX
========================================= */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 12, 54, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px;
}

.lightbox-overlay[hidden] {
    display: none;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ffd34f;
}

@media (max-width: 600px) {
    .lightbox-overlay {
        padding: 20px;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 32px;
    }
}

/* ==========================================
   PRAYER ROOM MODAL
========================================= */

.prayer-room-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 12, 54, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    padding: 30px;
}

.prayer-room-overlay[hidden] {
    display: none;
}

.prayer-room-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.prayer-room-modal h2 {
    margin: 0 0 8px;
    color: #3B1D6E;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    text-align: center;
}

.prayer-room-status {
    text-align: center;
    color: #008a45;
    font-weight: 700;
    margin: 0 0 18px;
}

.prayer-timer {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    color: #3B1D6E;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}

.prayer-room-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.prayer-room-actions input {
    flex: 1;
    min-height: 48px;
    border: 1px solid #D5CBE4;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #2E1757;
    background: #F6F3FA;
}

.prayer-room-actions input:focus {
    outline: none;
    border-color: #5B2E9E;
    box-shadow: 0 0 0 3px rgba(91, 46, 158, 0.08);
}

.prayer-room-feed {
    border-top: 1px solid #EAE6F0;
    padding-top: 16px;
}

.prayer-room-empty {
    color: #7A7392;
    text-align: center;
    font-size: 14px;
}

.prayer-room-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f3f6;
}

.prayer-room-item:last-child {
    border-bottom: none;
}

.prayer-room-item strong {
    display: block;
    color: #3B1D6E;
    font-size: 14px;
    margin-bottom: 4px;
}

.prayer-room-item p {
    margin: 0;
    color: #4E4866;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.prayer-room-item small {
    color: #8F88A8;
    font-size: 11px;
}

.prayer-room-close {
    position: absolute;
    top: 12px;
    right: 18px;
    color: #3B1D6E;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.prayer-room-close:hover {
    color: #c08b00;
}

@media (max-width: 600px) {
    .prayer-room-overlay {
        padding: 15px;
    }
    .prayer-room-modal {
        padding: 22px 18px;
    }
    .prayer-room-modal h2 {
        font-size: 22px;
    }
    .prayer-timer {
        font-size: 36px;
    }
}

/* ==========================================
   GIVING MODAL
========================================= */

.giving-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 12, 54, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    padding: 30px;
}

.giving-overlay[hidden] {
    display: none;
}

.giving-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    max-width: 520px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.giving-modal h2 {
    margin: 0 0 8px;
    color: #3B1D6E;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    text-align: center;
}

.giving-subtitle {
    text-align: center;
    color: #6E6790;
    margin: 0 0 22px;
    font-size: 14px;
}

.giving-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.giving-item label {
    display: block;
    font-weight: 700;
    color: #3B1D6E;
    margin-bottom: 6px;
    font-size: 14px;
}

.giving-copy-row {
    display: flex;
    gap: 10px;
}

.giving-copy-row input {
    flex: 1;
    min-height: 48px;
    border: 1px solid #D5CBE4;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #2E1757;
    background: #F6F3FA;
}

.giving-copy-btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 700;
    background: #3B1D6E;
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.giving-copy-btn:hover {
    background: #5B2E9E;
}

.giving-close {
    position: absolute;
    top: 12px;
    right: 18px;
    color: #3B1D6E;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.giving-close:hover {
    color: #c08b00;
}

@media (max-width: 600px) {
    .giving-overlay {
        padding: 15px;
    }
    .giving-modal {
        padding: 22px 18px;
    }
    .giving-modal h2 {
        font-size: 22px;
    }
}

/* ==========================================
   CHAT WIDGET
========================================= */

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9997;
    font-family: Arial, Helvetica, sans-serif;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #3B1D6E;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.chat-toggle:hover {
    background: #5B2E9E;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.30);
}

.chat-toggle-icon {
    font-size: 20px;
}

.chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 480px;
    max-height: calc(100vh - 100px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-panel[hidden] {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #3B1D6E;
    color: #ffffff;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-family: Georgia, "Times New Roman", serif;
}

.chat-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-pastor-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.chat-pastor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.chat-pastor-card:hover {
    background: #F7F4FB;
    border-color: #E8E2F1;
}

.chat-pastor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #E8E2F1;
    flex-shrink: 0;
}

.chat-pastor-details {
    flex: 1;
    min-width: 0;
}

.chat-pastor-details strong {
    display: block;
    color: #3B1D6E;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-pastor-details span {
    color: #6E6790;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.chat-pastor-phone {
    color: #3B1D6E !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.chat-empty {
    text-align: center;
    color: #7A7392;
    padding: 30px 10px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .chat-widget {
        bottom: 10px;
        right: 10px;
    }
    .chat-toggle {
        padding: 12px 16px;
        font-size: 14px;
    }
    .chat-panel {
        width: calc(100vw - 20px);
        height: calc(100vh - 80px);
        bottom: 60px;
        right: 0;
        border-radius: 16px;
    }
}

.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.phone-input-group select {
    width: auto;
    min-width: 120px;
    max-width: 160px;
    flex-shrink: 0;
}

.phone-input-group input {
    flex: 1;
    min-height: 48px;
}

@media (max-width: 600px) {
    .phone-input-group {
        flex-direction: column;
    }
    .phone-input-group select {
        max-width: none;
        width: 100%;
    }
}

