/* --------------------------------------------------------------------------
   BRAND COLORS (Consistent with ImpactWay's identity)
   -------------------------------------------------------------------------- */
:root {
    --color-primary-green: #1D4733; /* Grounding Green */
    --color-secondary-blue: #38A3A5; /* Tranquil Blue (Used sparingly for contrast) */
    --color-accent-gold: #FFC300; /* Sunset Gold */
    --color-neutral-clay: #F0EAD6; /* Earthy Clay */
    --color-dark-text: #2c3e50; /* Dark text for readability */
    --color-light-bg: #FAF3E0; /* Light background for sections */
}

/* --------------------------------------------------------------------------
   BASE STYLES & TYPOGRAPHY
   -------------------------------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-dark-text);
    margin: 0;
    padding: 0;
    background-color: white;
}

main {
    padding-top: 80px; /* Offset for fixed header */
}

h1, h2, h3, h4 {
    font-family: Georgia, serif; /* Using serif for headings for a sophisticated feel */
    color: var(--color-primary-green);
    margin-top: 0;
}

h1 { font-size: 2.5em; color: var(--color-accent-gold); }
h2 { font-size: 2em; margin-bottom: 30px; text-align: center; }
h4 { font-size: 1.25em; margin-bottom: 10px; }

p.lead-text {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--color-dark-text);
}

section {
    padding: 80px 5%;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION (APPLIED TO ALL PAGES)
   -------------------------------------------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

#logo img {
    height: 40px;
}

nav a {
    text-decoration: none;
    color: var(--color-primary-green);
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-accent-gold);
}

.cta-button {
    background-color: var(--color-primary-green);
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--color-secondary-blue);
}

/* --------------------------------------------------------------------------
   SHARED CONTENT LAYOUTS (Used across multiple pages)
   -------------------------------------------------------------------------- */

/* Standard Card/Summary Layout (for Dual-Model, Programs, etc.) */
.program-summary {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    flex: 1;
    min-width: 300px; /* Ensures cards are readable */
    padding: 30px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Specific styling for the dual-model cards on about-us.html */
.dual-model-card.nonprofit {
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.dual-model-card.llc {
    box-shadow: 0 4px 15px rgba(11, 83, 69, 0.2);
}

.dual-model-card.nonprofit h4 {
    color: #3498DB; /* Blue for Nonprofit focus */
}

.dual-model-card.llc h4 {
    color: var(--color-primary-green); /* Green for Platform/Profit focus */
}

.dual-model-card ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

/* --------------------------------------------------------------------------
   ABOUT US PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */

/* Hero Banner */
.hero-banner {
    background-color: var(--color-neutral-clay);
    padding: 60px 5%;
    text-align: center;
}

/* Manifesto Styling */
.manifesto {
    margin-top: 40px;
    border-left: 5px solid var(--color-secondary-blue);
    padding-left: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.manifesto h3 {
    color: var(--color-secondary-blue);
}

/* Founder Section */
.founder-section {
    background-color: #F8F8F8;
}

.founder-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image-container {
    flex: 1;
    min-width: 250px;
}

.founder-image-container img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    height: 250px;
}

.founder-text {
    flex: 2;
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--color-primary-green);
    color: white;
    font-size: 0.85em;
}

/* --------------------------------------------------------------------------
   RESPONSIVENESS (Mobile Optimization)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding-top: 5px;
        padding-bottom: 10px;
    }
    
    nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 8px;
    }

    .program-summary {
        flex-direction: column;
    }

    .founder-content {
        flex-direction: column;
        text-align: center;
    }

    .founder-image-container {
        min-width: 150px;
        max-width: 200px;
        order: -1; /* Move image to the top on mobile */
    }
}