
/* =========================================
   CANAAN WORSHIP CENTER
   PEFA-INSPIRED CHURCH WEBSITE THEME
   Colors: Royal Blue, White and Gold
========================================= */

/* 1. GLOBAL STYLES */
:root {
    --primary: #123b70;
    --primary-dark: #082448;
    --primary-light: #eaf1fa;
    --gold: #d8ad50;
    --gold-light: #f4dfaa;
    --white: #ffffff;
    --text: #303b4a;
    --muted: #687587;
    --background: #f8f9fc;
    --border: #e3e8f0;
    --shadow: 0 12px 35px rgba(8, 36, 72, 0.10);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul,
ul.nav {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    transition: all 0.3s ease;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 95px 8%;
    color: var(--text);
    scroll-margin-top: 75px;
}

section p {
    max-width: 850px;
    text-align: center;
    margin-bottom: 25px;
    padding: 0 10px;
    line-height: 1.9;
}

/* 2. HEADER AND TEXT LOGO */

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    color: var(--white);
    padding: 25px 8%;
    background: linear-gradient(
        to bottom,
        rgba(5, 23, 47, 0.85),
        rgba(5, 23, 47, 0.15)
    );
}

/* Text-based church logo */
header .church-brand {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    flex-shrink: 0;
}

header .church-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--white);
    text-decoration: none;
}

header .brand-main {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-light);
}

header .brand-sub {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--white);
}

header .brand-pefa {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 5px;
    color: var(--gold);
}

header .church-name:hover .brand-main {
    color: var(--white);
}

/* Navigation */
header ul.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

header ul.nav li {
    margin: 0;
}

header ul.nav li a {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 5px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

header ul.nav li a:hover,
header ul.nav li a:focus-visible {
    background: var(--gold);
    color: var(--primary-dark);
}

/* 3. HERO / BANNER AREA */

.banner-area {
    position: relative;
    justify-content: center;
    min-height: 100vh;
    padding: 160px 8% 100px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.banner-area .banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url("images/a1.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.banner-area .banner-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 24, 51, 0.88),
        rgba(12, 48, 91, 0.70),
        rgba(5, 24, 51, 0.82)
    );
}

/* Keep hero content above the background */
.banner-area > :not(.banner-img) {
    position: relative;
    z-index: 1;
}

.banner-area h3 {
    font-size: 19px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    color: var(--gold-light);
}

.banner-area h1 {
    max-width: 1000px;
    margin: 0 auto 20px;
    font-size: clamp(36px, 5.3vw, 66px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-area h1 span {
    color: var(--gold);
}

.banner-area .hero-subtitle {
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.9;
}

.banner-area a.banner-btn {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--gold);
    border-radius: 5px;
    background: var(--gold);
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.banner-area a.banner-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

/* 4. SECTION HEADINGS */

.section-title {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 45px;
    padding-bottom: 17px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 4px;
    border-radius: 4px;
    background: var(--gold);
}

.section-title span {
    color: #b5872d;
}

/* 5. ABOUT US */

.about-area {
    background: var(--white);
}

ul.about-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 25px;
}

.about-content li {
    padding: 0;
    min-width: 0;
    background-clip: border-box;
    background-size: cover;
    background-position: center;
}

.about-left {
    flex: 1 1 300px;
    min-height: 400px;
    border-radius: 12px;
    background-image: url("images/2.jpg");
    box-shadow: var(--shadow);
}

.about-right {
    flex: 1.6 1 400px;
    padding: 20px 15px;
}

.about-right h2 {
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.4;
    color: var(--primary);
    margin-bottom: 22px;
}

.about-area p,
.about-right p {
    max-width: none;
    margin-bottom: 18px;
    padding: 0;
    text-align: left;
    line-height: 1.9;
    color: var(--muted);
}

.about-right p i {
    color: #b5872d;
    margin-right: 9px;
}

.about-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    border-radius: 5px;
    background: var(--primary);
    color: var(--white);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.about-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* 6. SCRIPTURE / INSPIRATION AREA */

.msg-area {
    position: relative;
    background:
        linear-gradient(
            rgba(5, 24, 51, 0.88),
            rgba(5, 24, 51, 0.88)
        ),
        url("images/a2.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.msg-content {
    width: 100%;
    max-width: 900px;
    padding: 15px;
}

.msg-content h2 {
    font-size: clamp(27px, 4vw, 38px);
    color: var(--gold);
    margin-bottom: 25px;
}

.msg-content p {
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 18px;
    line-height: 1.9;
}

.msg-content p strong {
    color: var(--gold-light);
    font-size: 15px;
}

/* 7. MINISTRIES */

.services-area {
    background: var(--background);
}

ul.services-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}

.services-content li {
    flex: 1 1 260px;
    min-width: 0;
    padding: 0 0 25px;
    overflow: hidden;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 5px 22px rgba(8, 36, 72, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-content li:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.services-content img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 22px;
}

.services-content li h4 {
    padding: 0 20px;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
}

.services-content li p {
    margin: 0;
    padding: 0 22px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
}

/* 8. CONTACT AREA */

.contact-area {
    background: var(--white);
}

ul.contact-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}

.contact-content li {
    flex: 1 1 230px;
    min-width: 0;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-content li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-content li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary-light);
    color: #b5872d;
    font-size: 28px;
}

.contact-content li h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.contact-content li p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    color: var(--muted);
}

.contact-content a {
    color: var(--primary);
    font-weight: 500;
}

.contact-content a:hover {
    color: #a47720;
    text-decoration: underline;
}

/* 9. FOOTER */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    background: var(--primary-dark);
    border-top: 4px solid var(--gold);
    padding: 42px 8%;
}

footer p {
    max-width: 850px;
    margin: 5px 0;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

footer p:first-child {
    color: var(--gold-light);
    font-weight: 500;
}

/* 10. TABLETS */

@media (max-width: 1000px) {
    header {
        padding: 22px 5%;
        gap: 15px;
    }

    header .brand-main {
        font-size: 23px;
    }

    header .brand-sub {
        font-size: 11px;
    }

    header ul.nav li a {
        padding: 8px 9px;
        font-size: 13px;
    }

    section {
        padding: 80px 5%;
    }

    .banner-area {
        min-height: 680px;
    }

    .about-left {
        flex: 1 1 280px;
        min-height: 350px;
    }

    .about-right {
        flex: 1.5 1 350px;
    }

    .services-content li {
        flex-basis: 280px;
    }

    .contact-content li {
        flex-basis: 240px;
    }
}

/* 11. MOBILE PHONES */

@media (max-width: 700px) {
    header {
        position: absolute;
        flex-direction: column;
        justify-content: center;
        padding: 18px 15px;
        gap: 13px;
        background: rgba(5, 23, 47, 0.72);
    }

    header .church-brand {
        margin: 0;
        text-align: center;
    }

    header .church-name {
        align-items: center;
    }

    header .brand-main {
        font-size: 24px;
    }

    header .brand-sub {
        font-size: 11px;
    }

    header .brand-pefa {
        font-size: 9px;
    }

    header ul.nav {
        justify-content: center;
        gap: 2px;
        width: 100%;
    }

    header ul.nav li a {
        padding: 7px 9px;
        font-size: 12px;
    }

    section {
        padding: 70px 22px;
    }

    .banner-area {
        min-height: 680px;
        padding: 200px 20px 80px;
    }

    .banner-area h3 {
        font-size: 15px;
        letter-spacing: 2px;
        line-height: 1.7;
    }

    .banner-area h1 {
        font-size: clamp(30px, 8vw, 43px);
        line-height: 1.3;
    }

    .banner-area .hero-subtitle {
        font-size: 14px;
        padding: 0;
    }

    .banner-area a.banner-btn {
        padding: 12px 23px;
        font-size: 12px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 32px;
    }

    ul.about-content {
        gap: 15px;
    }

    .about-left {
        flex-basis: 100%;
        min-height: 280px;
    }

    .about-right {
        flex-basis: 100%;
        padding: 10px 2px;
    }

    .about-right h2 {
        font-size: 26px;
    }

    .about-area p,
    .about-right p {
        display: block;
        font-size: 14px;
        line-height: 1.9;
    }

    .msg-area {
        background-attachment: scroll;
    }

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

    ul.services-content,
    ul.contact-content {
        gap: 22px;
    }

    .services-content li {
        flex-basis: 100%;
        padding-bottom: 25px;
    }

    .services-content img {
        height: 230px;
    }

    .contact-content li {
        flex-basis: 100%;
        padding: 28px 18px;
    }

    footer {
        padding: 35px 18px;
    }
}

/* 12. SMALL PHONES */

@media (max-width: 380px) {
    header {
        padding: 15px 8px;
    }

    header .brand-main {
        font-size: 21px;
    }

    header ul.nav li a {
        padding: 7px 6px;
        font-size: 11px;
    }

    .banner-area {
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner-area h1 {
        font-size: 29px;
    }

    section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 13. ACCESSIBILITY */

a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================
   ADDITIONAL CANAAN CHURCH FEATURES
===================================== */

/* TOP CONTACT BAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 10px 6%;
    background: #082448;
    color: #ffffff;
    font-size: 12px;
    flex-wrap: wrap;
}

.topbar div {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar a {
    color: #ffffff;
}

.topbar a i,
.topbar span i {
    color: #d8ad50;
    margin-right: 6px;
}

.topbar span {
    color: #f4dfaa;
}

/* HEADER DONATE LINK */
header .nav-donate {
    background: #d8ad50;
    color: #082448;
    border-radius: 25px;
    font-weight: 700;
}

header .nav-donate:hover {
    background: #ffffff;
    color: #082448;
}

/* HERO ADDITIONS */
.banner-area .hero-verse {
    max-width: 650px;
    margin: 0 auto 25px;
    font-size: 15px;
    font-style: italic;
    color: #f4dfaa;
}

.hero-whatsapp {
    display: inline-block;
    margin: 12px 0 0 10px;
    padding: 13px 24px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.hero-whatsapp:hover {
    background: #ffffff;
    color: #082448;
}

/* PASTOR'S WELCOME */
.pastor-area {
    background: #f2f6fc;
}

.pastor-container {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.pastor-photo {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #123b70, #082448);
    box-shadow: 0 12px 35px rgba(8, 36, 72, 0.13);
}

.pastor-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #f4dfaa;
    font-size: 14px;
}

.pastor-placeholder i {
    font-size: 80px;
}

.pastor-message h2 {
    color: #123b70;
    font-size: 30px;
    margin: 8px 0;
}

.pastor-message h4 {
    color: #a47720;
    font-size: 13px;
    margin-bottom: 20px;
}

.pastor-message p {
    text-align: left;
    padding: 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #687587;
}

.pastor-label {
    color: #a47720;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.pastor-signature {
    font-weight: 600;
    color: #123b70 !important;
}

/* SECTION INTRO TEXT */
.section-intro {
    max-width: 760px;
    color: #687587;
}

/* PHOTO GALLERY */
.gallery-area {
    background: #ffffff;
}

.gallery-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    background: #082448;
    box-shadow: 0 8px 22px rgba(8, 36, 72, 0.10);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item span {
    position: absolute;
    inset: auto 0 0;
    padding: 28px 16px 15px;
    background: linear-gradient(transparent, rgba(5, 24, 51, 0.92));
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.gallery-item span i {
    margin-right: 7px;
    color: #f4dfaa;
}

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

.gallery-note,
.map-note {
    margin-top: 22px;
    font-size: 12px;
    color: #687587;
}

/* PRAYER REQUEST SECTION */
.prayer-area {
    background: #f2f6fc;
}

.prayer-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 35px;
    width: 100%;
    max-width: 1100px;
    align-items: stretch;
}

.prayer-intro {
    padding: 38px 30px;
    border-radius: 14px;
    background: linear-gradient(145deg, #123b70, #082448);
    color: #ffffff;
    align-self: stretch;
}

.prayer-intro > i {
    color: #f4dfaa;
    margin: 0 8px 20px 0;
}

.prayer-intro .prayer-heart {
    color: #d8ad50;
}

.prayer-intro h2 {
    color: #ffffff;
    font-size: 27px;
    margin-bottom: 18px;
}

.prayer-intro p {
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.prayer-intro strong {
    color: #f4dfaa;
}

.prayer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(8, 36, 72, 0.06);
}

.prayer-form label {
    margin-top: 7px;
    color: #123b70;
    font-size: 13px;
    font-weight: 600;
}

.prayer-form input,
.prayer-form select,
.prayer-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9e0eb;
    border-radius: 6px;
    background: #fbfcfe;
    color: #303b4a;
    font: inherit;
    font-size: 13px;
}

.prayer-form input:focus,
.prayer-form select:focus,
.prayer-form textarea:focus {
    outline: 2px solid #d8ad50;
    border-color: #d8ad50;
}

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

.prayer-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    background: #128c52;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.prayer-submit:hover {
    background: #096b3c;
}

.form-note {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 11px;
    line-height: 1.7;
    color: #687587;
}

/* CONTACT ACTION LINKS */
.contact-action {
    display: inline-block;
    margin-top: 15px;
    padding: 9px 16px;
    border-radius: 5px;
    background: #123b70;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
}

.contact-action:hover {
    background: #d8ad50;
    color: #082448 !important;
}

/* LOCATION MAP */
.map-area {
    background: #ffffff;
}

.map-container {
    width: 100%;
    max-width: 1150px;
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(8, 36, 72, 0.10);
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

/* FOOTER ADDITIONS */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.footer-brand a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand a span {
    color: #f4dfaa;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 3px;
}

.footer-brand a strong {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 2px;
}

.footer-brand small {
    color: #d8ad50;
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.footer-links,
.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 15px 0;
}

.footer-links a {
    color: #ffffff;
    font-size: 12px;
}

.footer-links a:hover {
    color: #f4dfaa;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #f4dfaa;
}

.footer-social a:hover {
    background: #d8ad50;
    color: #082448;
}

footer .footer-blessing {
    color: #f4dfaa;
    font-style: italic;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #128c52;
    color: #ffffff;
    font-size: 29px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp:hover {
    background: #096b3c;
    color: #ffffff;
    transform: translateY(-3px);
}

/* TABLETS */
@media (max-width: 900px) {
    .pastor-container,
    .prayer-container {
        grid-template-columns: 1fr;
    }

    .pastor-photo {
        min-height: 350px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar {
        justify-content: center;
        text-align: center;
    }
}

/* MOBILE PHONES */
@media (max-width: 700px) {
    .topbar {
        padding: 10px 12px;
        gap: 8px;
        font-size: 11px;
    }

    .topbar div {
        justify-content: center;
        gap: 8px 15px;
    }

    .topbar span {
        display: block;
    }

    header {
        top: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        height: 240px;
    }

    .pastor-photo {
        min-height: 290px;
    }

    .pastor-message h2 {
        font-size: 26px;
    }

    .prayer-form,
    .prayer-intro {
        padding: 24px 18px;
    }

    .map-container iframe {
        min-height: 320px;
    }

    .footer-links {
        gap: 12px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        right: 15px;
        bottom: 15px;
    }
}

/* =========================================
   CANAAN WORSHIP CENTER - FEATURE CARDS
========================================= */

.quick-links {
    display: block;
    padding: 75px 5%;
    background: #f3f6fb;
    color: #172b46;
}

.quick-links-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* Individual cards */
.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 350px;
    padding: 35px 28px;
    overflow: hidden;
    background: #ffffff;
    color: #263750;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(8, 36, 72, 0.08);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Decorative gold accent */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #d8ad50;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(8, 36, 72, 0.15);
}

/* Icon circles */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: #eaf0fb;
    color: #123b70;
    font-size: 30px;
}

.live-icon {
    background: #e6f7ed;
    color: #13874d;
}

.donate-icon {
    background: #fff4dc;
    color: #a47720;
}

/* Small labels */
.feature-label {
    margin-bottom: 10px;
    color: #a47720;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Card headings */
.feature-card h3 {
    margin: 0 0 14px;
    color: #082448;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

/* Card descriptions */
.feature-card p {
    width: 100%;
    max-width: none;
    margin: 0 0 25px;
    padding: 0;
    color: #69778b;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
}

/* Buttons sit at the bottom of each card */
.feature-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 13px 19px;
    border: 1px solid #123b70;
    border-radius: 7px;
    background: #123b70;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.feature-btn:hover {
    background: #082448;
    border-color: #082448;
    color: #ffffff;
}

/* Live stream status */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    color: #13874d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #18a558;
    box-shadow: 0 0 0 4px #e0f5e8;
}

.live-btn {
    background: #13874d;
    border-color: #13874d;
}

.live-btn:hover {
    background: #096b3c;
    border-color: #096b3c;
}

/* Giving card */
.donate-btn {
    background: #d8ad50;
    border-color: #d8ad50;
    color: #082448;
}

.donate-btn:hover {
    background: #b88b2e;
    border-color: #b88b2e;
    color: #ffffff;
}

/* Tablets */
@media (max-width: 950px) {
    .quick-links {
        padding: 55px 5%;
    }

    .quick-links-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .feature-card {
        min-height: 330px;
        padding: 28px 23px;
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .quick-links {
        padding: 40px 20px;
    }

    .quick-links-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .feature-card {
        min-height: 0;
        padding: 28px 25px;
        border-radius: 14px;
    }

    .feature-card h3 {
        font-size: 21px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
}

/* =========================================
   CANAAN WORSHIP CENTER — GIVING & EVENTS
   PEFA NAVY BLUE + GOLD THEME
========================================= */

.giving-area,
.events-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 80px 6%;
    color: #17365d;
    background: #f4f7fc;
}

/* Section headings */
.giving-area .section-title,
.events-area .section-title {
    width: 100%;
    margin: 0 0 20px;
    color: #123b70;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.giving-area .section-title span,
.events-area .section-title span {
    color: #c99b3b;
}

/* Gold line under each heading */
.giving-area .section-title::after,
.events-area .section-title::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 5px;
    background: #d8ad50;
}

/* Introductory paragraphs */
.giving-area > p,
.events-area > .section-intro {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 35px;
    padding: 0;
    color: #627187;
    font-size: 15px;
    line-height: 1.9;
    text-align: center;
}

/* =========================================
   GIVING CARD
========================================= */

.giving-area .giving-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: 10px auto 0;
    padding: 42px 38px;
    background: #ffffff;
    border: 1px solid #e4eaf3;
    border-top: 5px solid #d8ad50;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(18, 59, 112, 0.10);
    text-align: center;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.giving-area .giving-message:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(18, 59, 112, 0.15);
}

/* Heart icon */
.giving-area .giving-message > .fa-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #fff4dc;
    color: #c99b3b;
    font-size: 32px;
}

/* Giving card title */
.giving-area .giving-message h3 {
    margin: 0 0 15px;
    color: #123b70;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* Giving card description */
.giving-area .giving-message p {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 25px;
    padding: 0;
    color: #627187;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

/* WhatsApp giving button */
.giving-area .giving-message .giving-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    background: #16864a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(22, 134, 74, 0.20);
    transition: background 0.25s ease,
                transform 0.25s ease;
}

.giving-area .giving-message .giving-btn:hover {
    transform: translateY(-2px);
    background: #106b3a;
    color: #ffffff;
}

.giving-area .giving-message .giving-btn .fa-whatsapp {
    font-size: 20px;
}

/* =========================================
   CHURCH ACTIVITIES — THREE CARDS
========================================= */

.events-area .events-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 0;
}

/* Individual activity cards */
.events-area .events-container .event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 300px;
    margin: 0;
    padding: 32px 25px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(18, 59, 112, 0.07);
    text-align: center;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* Gold line on top of cards */
.events-area .events-container .event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8ad50;
}

.events-area .events-container .event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 17px 38px rgba(18, 59, 112, 0.13);
}

/* Icon background */
.events-area .event-card .event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 17px;
    background: #eaf0fb;
    color: #123b70;
}

/* Actual Font Awesome icons */
.events-area .event-card .event-icon i {
    color: #123b70;
    font-size: 27px;
}

/* Activity titles */
.events-area .event-card h3 {
    width: 100%;
    margin: 0 0 13px;
    color: #123b70;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* Activity descriptions */
.events-area .event-card p {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
    padding: 0;
    color: #627187;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

/* Service time / meeting notes */
.events-area .event-card .event-note {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf0f5;
    color: #a47720;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .giving-area,
    .events-area {
        padding: 65px 5%;
    }

    .events-area .events-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .events-area .events-container .event-card {
        min-height: 280px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .giving-area,
    .events-area {
        padding: 48px 20px;
    }

    .giving-area .section-title,
    .events-area .section-title {
        font-size: 29px;
    }

    .giving-area > p,
    .events-area > .section-intro {
        font-size: 14px;
    }

    .giving-area .giving-message {
        padding: 30px 22px;
    }

    .giving-area .giving-message h3 {
        font-size: 21px;
    }

    .giving-area .giving-message .giving-btn {
        padding: 13px 19px;
    }

    .events-area .events-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .events-area .events-container .event-card {
        min-height: 0;
        padding: 30px 24px;
    }

    .events-area .event-card h3 {
        font-size: 19px;
    }
}
