/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-blue: #4655c7;
    --bg-cream: #fbf7f2;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-cream);
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; }
a { text-decoration: none; color: inherit; }

/* NEW: Standardized Page Title (Use this class on all sub-pages) */
.page-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 40px;
}

.home-page-title {
    text-align: left;
    font-size: 4rem;
    margin-bottom: 40px;
}

/* =========================================
   2. HEADER & NAVIGATION (DESKTOP)
   ========================================= */
header.main-nav {
    background-color: var(--bg-cream);
    min-height: 200px;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- Logo Styling --- */
.nav-logo {
    position: absolute;
    left: 120px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    z-index: 1001;
}

.nav-logo img {
    height: 170px;
    width: auto;
    object-fit: contain;
    margin-right: 40px;
}

/* --- Navigation Links --- */
.nav-links { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.nav-btn {
    border: 1px solid #333;
    border-radius: 50px;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-btn:hover, .nav-btn.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* --- Mobile Menu Button (Hidden on Desktop) --- */
.menu-toggle {
    display: none;
    padding: 10px 30px;
    border: 2px solid var(--text-dark);
    background-color: white;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: var(--bg-cream);
}

/* =========================================
   3. MAIN CONTENT SECTIONS
   ========================================= */
main {
    flex: 1;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Hero Section --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-images img:nth-child(3) { grid-column: span 2; }
.hero-content h1 { font-size: 7rem; line-height: 0.9; margin-bottom: 20px; }
.scripture-box {
    background-color: var(--primary-blue);
    font-size:1.2rem;     
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-head);
}

/* --- Vision Section --- */
.vision-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vision-text { border: 1px solid #333; border-radius: 15px; padding: 30px; text-align: justify; }

/* --- Journey Section --- */
.journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.journey-card { border: 1px solid #ddd; padding: 20px; border-radius: 15px; background: white; }
.journey-card.blue { background-color: var(--primary-blue); color: white; display: flex; align-items: center; text-align: center; }

/* --- Impact Section --- */
.impact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.stats-row { display: flex; gap: 20px; margin-bottom: 60px; flex-wrap: wrap; }
.stat-card { background: white; border: 1px solid #ddd; border-radius: 10px; padding: 30px; text-align: center; flex: 1; min-width: 200px; }
.stat-card.blue { background-color: var(--primary-blue); color: white; }
.stat-number { font-size: 3.5rem; font-family: var(--font-head); font-weight: 700; }

.impact-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.story-card { 
    border: 1px solid #ddd; 
    border-radius: 20px; 
    padding: 20px; 
    text-align: center; 
    background: white;
    display: flex;         
    flex-direction: column; 
    height: 100%;          
}
.story-card img { border-radius: 50% 50% 10px 10px; height: 250px; object-fit: cover; margin-bottom: 15px; width: 100%; }

.story-footer {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-top: auto; 
    padding-top: 20px;
    color: var(--text-dark);
}

/* --- Join Us Section --- */
.join-header { font-size: 5rem; margin-bottom: 20px; }
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.join-card { border: 1px solid #333; border-radius: 15px; padding: 30px; background: white; }
.join-card.blue { background-color: var(--primary-blue); color: white; border: none; }
.join-card ul { list-style: none; margin-top: 15px; }
.join-card li { margin-bottom: 8px; position: relative; padding-left: 15px; }
.join-card li::before { content: "•"; position: absolute; left: 0; font-weight: bold; }

/* =========================================
   5. TRAVEL EXPENSES PAGE STYLES
   ========================================= */

/* --- General Layout --- */
section { margin-bottom: 60px; }
ul { list-style: disc; margin-left: 20px; padding-left: 20px; }
ul ul { list-style: circle; margin-top: 5px; }
li { margin-bottom: 8px; }

/* --- Top Section: 3 Blue Cards --- */
.expense-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blue-card {
    background-color: var(--primary-blue);
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
}

.blue-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.blue-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; border: 3px solid white; }
.blue-card p { font-size: 0.9rem; font-weight: 500; font-style: italic; }

/* --- Middle Section: Travel Highlight & Flight --- */
.expense-middle-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.travel-highlight h3 { text-align: center; margin-bottom: 20px; }

.highlight-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.highlight-images img:first-child { grid-row: span 2; height: 100%; object-fit: cover; }
.highlight-stack { display: flex; flex-direction: column; gap: 15px; }

.flight-expense .pricing-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-box-blue {
    background-color: var(--primary-blue);
    color: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
}

.pricing-box-blue .price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: 5px; }
.pricing-box-blue .per-person { font-size: 1.2rem; font-weight: 400; }
.pricing-box-blue .duration { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

.amenities-box { border: 2px solid #ddd; border-radius: 15px; padding: 25px; background: white; }
.amenities-box h3 { margin-bottom: 15px; }
.amenities-box ul { list-style: none; padding-left: 0; }
.amenities-box li::before { content: "• "; color: var(--primary-blue); font-weight: bold; margin-right: 5px; }
.amenities-box .fine-print { text-align: center; font-size: 0.8rem; font-style: italic; margin-top: 15px; color: #666; }

/* --- Bottom Section: Amenities & Community --- */
.expense-bottom-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    align-items: start;
}

.amenities-details h3 { margin-top: 20px; margin-bottom: 10px; }

.amenities-center {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
}

.amenities-box-white { border: 2px solid #ddd; border-radius: 15px; padding: 25px; background: white; height: fit-content; }
.amenities-box-white h3 { margin-bottom: 15px; text-align: center; line-height: 1.2; }
.amenities-box-white ul { list-style: none; padding-left: 0; }
.amenities-box-white li::before { content: "• "; color: var(--text-dark); font-weight: bold; margin-right: 5px; }

.community-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.community-images img:first-child { grid-row: span 2; height: 100%; object-fit: cover; }

/* --- Final Section: Leadership --- */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.local-leadership h3 { text-align: center; margin-bottom: 15px; }

.leadership-images { display: grid; grid-template-rows: auto auto auto; gap: 10px; }
.leadership-images img { width: 100%; object-fit: cover; border-radius: 10px; }
.leadership-images img:first-child { height: 300px; }
.leadership-images img:nth-child(2), .leadership-images img:nth-child(3) { height: 200px; }

.officials-section { display: flex; flex-direction: column; gap: 30px; }
.officials-content p { margin-top: 20px; text-align: justify; }

.officials-images { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.officials-images img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; }

/* --- Consultation Section --- */
.consult-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.contact-btn { background-color: var(--primary-blue); color: white; padding: 40px; border-radius: 15px; text-align: center; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; }
.contact-icon { font-size: 3rem; margin-bottom: 10px; }

/* --- Footer --- */
footer { background-color: #333; color: white; padding: 20px; text-align: center; margin-top: auto; }

/* =========================================
   6. MOBILE MEDIA QUERIES (TABLETS & BELOW)
   ========================================= */

@media (max-width: 900px) {
    /* --- Resizing Headers for Mobile --- */
    .page-title {
        font-size: 2.2rem; /* Matches the new size for Call & Vision */
        line-height: 1.2;
    }
    
    .home-page-title {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 40px;
}
    
    .flight-expense h2,
    .amenities-details h2,
    .officials-content h2,
    .impact-hero h2 {
        font-size: 2rem !important; 
        text-align: center;
    }

    .impact-hero h2 {
        font-size: 2.5rem !important;
        margin-bottom: 20px;
    }

    /* --- Collapsing Grids to Single Column --- */
    .expense-middle-grid,
    .expense-bottom-grid,
    .leadership-grid,
    .amenities-center,
    .impact-hero {
        grid-template-columns: 1fr;
    }

    /* --- Flexbox Fix for Pricing Cards --- */
    .flight-expense .pricing-container {
        flex-direction: column; /* Stacks blue boxes vertically */
    }

    /* --- Image & Layout Adjustments --- */
    .highlight-images,
    .community-images {
        grid-template-columns: 1fr 1fr;
    }

    .highlight-images img:first-child,
    .community-images img:first-child {
        grid-row: auto;
        height: 250px;
    }
    
    .highlight-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .leadership-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .leadership-images img:first-child {
        grid-column: span 2;
    }

    .officials-section {
        order: -1; /* Move text above images on mobile */
    }
}


/* =========================================
   7. PHONE SPECIFIC (MAX-WIDTH 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* --- Mobile Header Layout --- */
    header.main-nav {
        position: relative; 
        padding: 1rem 2rem;
        height: 200px;
    }

    .nav-logo {
        left: 20px; 
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 30px; 
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--bg-cream);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #ddd;
        z-index: 999;
    }

    .nav-links.active { display: flex; }

    .nav-btn {
        width: 80%;
        text-align: center;
        margin: 8px 0;
        padding: 12px;
    }

    /* --- Collapse Content Grids to Single Column --- */
    .hero-container, 
    .vision-layout, 
    .consult-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* --- Small Hero Text for Home Page --- */
    .hero-content h1 { 
        font-size: 2.2rem; /* Reduced for phone screens */
    }
}