* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif';
}

/* This block defines your color codes so you can reuse them anywhere */
:root {
    --bg-cream: #FAF6ED;
    --white: #FFFFFF;
    --text-dark: #1F1F1F;
    --text-muted: #4B4B4B;
    --accent-green: #1B5E3A;
    --accent-yellow: #EBC154;
    --border-muted: #E2DDD5;
    --transition-smooth: all 0.3s ease;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.5;
}

/* ===================================================================
2. Header & Navigation Bar
====================================================================== */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-muted);
    position: relative;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* Box 1 (Left Side Group): Snaps flush against the right edge line */
.brand-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

#menu-toggle {
    display: none; /* Keeps the raw structural checkbox invisble */
}

.menu-icon {
    display: none; /* Hidden on widescreen computer displays by default */
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    transition: var(--transition-smooth);
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}
.brand-titles h1 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop links flex layout settings */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
    color: var(--accent-green);
}

/*======================================================
3. HERO IMAGE BANNER
======================================================== */
.hero-banner {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

/* Container holding the background slides */
.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual slider layer rules */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeSlider 15s infinite ease-in-out;
}

.slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('https://unsplash.com');
}

.slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('https://unsplash.com');
}

.slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('https://unsplash.com');
}


/* Staggering the animation timing so images slide in one after the other */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

/* The loop transition animation rule */
@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1); }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; transform: scale(1.04); } /* Subtle zoom effect as it moves away */
    100% { opacity: 0; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 550px;
}

.hero-content h2 {
    font-size: 3.2rem; /* Made slightly larger and bolder */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /*Drop shadow so words never blend into background colours */
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    background-color: #dfb342;
}

.dove-graphic {
    position: absolute;
    right: 25%;
    top: 20%;
    width: 150px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

/*========================================================
4. DASHBOARD CONTENT DISPLAY GRID (3-COLUMS)
========================================================== */
.dashboard-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1.1fr;
    gap: 35px;
}

.column-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
}

/* Video Wrapper */
.video-player-container {
    background-color: #000;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Event Banner Split Card Layout */
.event-banner-card {
    background-color: var(--accent-green);
    color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    height: calc(100% - 45px);
    transition: var(--transition-smooth);
}

.theme-full-bg {
    background:url('images/June\ 2026.jpeg') no-repeat center center/contain;
    position: relative;
}

/* Forces the layout to take full height and balances padding */
.theme-full-bg .event-details-box {
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px; /* Keeps the card perfectly square and aligned */
}

.theme-full-bg  h4,
.theme-full-bg h3 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.9);
}
.event-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27,94,58,0.2);
}

.event-speaker-img {
    width: 40%;
    background: url('https://unsplash.com') no-repeat center center/cover;
}

.event-details-box {
    width: 60%;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-details-box h4 {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 5px;
    color: var(--white);
    text-transform: uppercase;
}

.event-details-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.event-data-stamp {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    align-self: flex-start;
    margin-top: 15px;
}

/* Action Matrix Grid */
.icons-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.icon-tile-item {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: 6px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.icon-tile-item:hover {
    transform: scale(1.03);
    border-color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.icon-tile-item i {
    font-size: 1.8rem;
    color: #BC8F8F;
    transition: var(--transition-smooth);
}

.icon-tile-item:hover i {
    color: var(--accent-green);
}

.icon-tile-item span {
    font-size: 0.85rem;
    font-weight:600;
    color: var(--text-muted);
}

/* ===============================================================
5. ENGAGEMENT BAR (SOCIAL LINKS & NEWSLETTER)
================================================================== */
.engagement-bar {
    background-color: var(--bg-cream);
    border-top: 1px solid var(--border-muted);
    border-bottom: 1px solid var(--border-muted);
    padding: 30px 0;
}

.engagement-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.success-alert {
    display: none;
    color: var(--accent-green);
    font-weight: 700;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.social-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.social-circle-link {
    width: 35px;
    height: 35px;
    background-color: var(--text-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.social-circle-link:hover {
    background-color: var(--accent-green);
    transform: translateY(-3px) rotate(360deg);
}

.newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 460px;
}

.newsletter-box label {
    font-size: 0.95rem;
    font-weight: 700;
}

.input-group-row {
    display: flex;
    width: 100%;
}

.input-group-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-muted);
    background-color: var(--white);
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.input-group-row input:focus {
    border-color: var(--accent-green);
}

.signup-btn {
    background-color: #4c8465;
    color: var(--white);
    border: none;
    padding: 0 22px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.signup-btn:hover {
    background-color: var(--accent-green);
}

/* ======================================================
    6. FOOTER SYSTEM (4-COLUMNS)
========================================================= */
footer {
    background-color: var(--bg-cream);
    padding: 60px 0;
    border-top: 1px solid var(--border-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.2fr 1.8fr;
    gap: 40px;
    align-items: start;
}

.footer-logo-col {
    display: flex;
    justify-content: flex-start;
}
.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-data-item {
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.footer-data-item i {
    color: var(--accent-green);
    width: 15px;
    text-align: center;
    margin-top: 3px;
}

.service-time-block {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.day-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.time-label {
    font-size: 0.85rem;
    color: var(--text-muted)
}

.embedded-map-box {
    width: 100%;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid var(--border-muted);
}

.statement-text-column {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 30px;
    border-left: 2px solid var(--accent-yellow);
}

.statement-text-column p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--accent-green);
    font-style: italic;
}

/* Adds a decorative star character at the end of the text string */
.margin-top-tweak {
    margin-top:15px;
}

/* =======================================================
7. MOBILE RESPONSIVENESS RULES MEDIA QUERIES
========================================================== */
@media(max-width: 992px) {
    .dashboard-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Turns on the hamburger icon lines on phone screens */
    }

    .engagement-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-content h2 {
        font-size:2.2rem;
    }
}

/* ==========================================================
8. REUSUABLE SUBPAGE & INNER LAYOUT STYLES
=============================================================*/
.subpage-hero {
    background: linear-gradient(rgba(27, 94,58,0.85), rgba(27,94,58,0.85)), url('https://unsplash.com');
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.subpage-hero h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subpage-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Two-Column Layout (Content on Left, Interactive Card on Right) */
.inner-split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.article-content p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

/*Sidebar Information Cards */
.sidebar-info-card {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    margin-top: 25px;
}

.sidebar-info-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    border-bottom: 3px solid var(--accent-yellow);
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Form Styling Rules for the Contact Page */
.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-muted);
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
    background-color: var(--white);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent-green);
}

.submit-form-btn {
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.submit-form-btn:hover {
    background-color: #124027;
}

/* ====================================================
    8. REPONSIVE MOBILE NAVIGATION HEADER
    ===================================================
/* The hidden mobile menu toggle checkbox */
#menu-toggle {
    display: none;
}

/* The mobile menu burger button (hidden on desktops by default) */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Shows the hamburger bar button on phones */
        margin-left:auto; /* This forces the burger icon to slide completely to the right edge */
        text-align: right;
    }

    nav {
        width: 100%;
    }

    /* Converts your nav link struture list into an absolute mobile dropdown drawer */
    .menu-section nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px; /* Sits perfectly beneath your 100px header line */
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-muted);
        padding: 25px;
        gap: 18px;
        max-height: 0; /* Keeps the dropdown hidden until checked */
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 12px 20px rgba(0,0,0, 0.06);
        z-index: 999;
    }

    /* Slides open the absolute mobile panel block when checked */
    #menu-toggle:checked ~ nav ul {
        max-height: 320px;
        opacity: 1;
    }
}

/* =======================================================
    9. SECURE ONLINE GIVING PAGE STYLES
    ====================================================== */
.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 850px) {
    .donation-grid {
        grid-template-columns: 1fr; /* Stacks column forms smoothly on tablet sizes */
    }
}

/* Informative Tithing Column Cards */
.donation-info-card {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.donation-info-card h3 {
    color: var(--accent-green);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.donation-info-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Secure Bank Transfer Grid Matrix Blocks */
.bank-details-box {
    background-color: var(--bg-cream);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-yellow);
    margin-bottom: 15px;
}

.bank-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
    margin: 5px 0;
}

/* Card Payment Choice Interactive Row Toggles */
.giving-options-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.amount-btn {
    flex: 1;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-muted);
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.amount-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Extra padlock icon header formatting inside giving panels */
.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #EAF7ED;
    color: #1e6837;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}