/* =========================
   RESET
========================= */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fbf9f6;
    color: #2c2c2c;
    line-height: 1.7;
}


/* =========================
   LAYOUT CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

header {
    background: #0f3b2e;
    padding: 16px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    color: #f5e8dc;
    text-decoration: none;
    margin-left: 25px;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    font-weight: 500;
}

.nav a:hover {
    color: #d4a373;
}

.nav a.active {
    color: #d4a373;
    font-weight: 600;
}

/* =========================
   BRAND
========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand:hover {
    opacity: 0.9;
    transition: 0.2s ease;
}

.brand img {
    height: 40px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f5e8dc;
    line-height: 1.1;
    letter-spacing: 1px;
}

.brand-text span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
}


/* =========================
   HERO (INDEX ONLY)
========================= */

.hero-text {
    max-width: 560px;
}

.hero {
    position: relative;
    height: 68vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: url("images/home-hero.jpg") no-repeat;
    background-size: auto 95%;
    background-position: 85% center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #fbf9f6 36%,
        rgba(251,249,246,0.85) 55%,
        rgba(251,249,246,0.25) 72%,
        rgba(251,249,246,0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: #0f3b2e;
    margin-bottom: 28px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 38px;
}




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

.buttons a {
    padding: 14px 32px;
    margin-right: 15px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
}


.btn-primary {
    background: #d4a373;
    color: white;
}

.btn-primary:hover {
    background: #c49063;
}

.btn-secondary {
    background: #0f3b2e;
    color: white;
}

.btn-secondary:hover {
    background: #0c2f24;
}



/* =========================
   GENERAL SECTIONS
========================= */

section.content {
    padding: 90px 0;
}

section.content:nth-child(even) {
    background-color: #f2ede7;
}

.page-title,
h2 {
    font-family: 'Playfair Display', serif;
    color: #0f3b2e;
}

.page-title {
    font-size: 2.28rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.28rem;
    margin-bottom: 20px;
}

.content p {
    margin-bottom: 25px;
}


/* =========================
   PROGRAMS PAGE ONLY
========================= */

.programs-page .program-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.programs-page .program-text {
    max-width: 520px;
}

.programs-page .program-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    display: block;
}

.programs-page .program-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: #0f3b2e;
    margin: 15px 0;
}


/* =========================
   ABOUT — MISSION & VISION
========================= */

.mission-vision {
    padding: 100px 0;
    background: #f2ede7;
}

.mv-grid {
    display: flex;
    gap: 80px;
}

.mv-box {
    flex: 1;
}

.mv-box h2 {
    margin-bottom: 20px;
}

@media (max-width: 900px) {

    .mv-grid {
        flex-direction: column;
        gap: 50px;
    }

}

/* =========================
   ABOUT PAGE
========================= */

.purpose-section {
    position: relative;
    padding: 100px 0;
    background: url("images/about-hero.jpg") no-repeat;
    background-size: auto 90%;
    background-position: right center;
}

.purpose-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #fbf9f6 40%,
        rgba(251,249,246,0.85) 60%,
        rgba(251,249,246,0.3) 75%,
        rgba(251,249,246,0) 100%
    );
}

.purpose-content {
    position: relative;
    z-index: 2;
}

.purpose-text {
    max-width: 600px;
}

.center {
    text-align: center;
    margin-bottom: 40px;
}



/* MOBILE FIXES */
@media (max-width: 900px) {

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

}


/* =========================
   CARDS
========================= */

.cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.card {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0f3b2e;
}


/* =========================
   CONTACT
========================= */
/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 90px 0;
}

.contact-section p {
    margin-bottom: 28px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-card {
    padding: 40px;
    border-radius: 8px;
}

.info-card {
    background: #f2ede7;
}

.info-card h3 {
    margin-top: 25px;
    color: #0f3b2e;
    font-size: 1.1rem;
}

.info-card p {
    margin-bottom: 14px;
}

.form-card {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.form-card form {
    display: flex;
    flex-direction: column;
}

.form-card input,
.form-card textarea {
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-card textarea {
    min-height: 130px;
    resize: vertical;
}

.form-card button {
    background: #d4a373;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.form-card button:hover {
    background: #c49063;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #0f3b2e;
    color: #f5e8dc;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}


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

@media (max-width: 900px) {

    section.content {
        padding: 55px 0;
    }

    .hero {
        height: auto;
        padding: 100px 0;
        background-position: center;
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.28rem;
    }

    /* Programs stacking */
    .programs-page .program-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .programs-page .program-text {
        order: 1;
    }

    .programs-page .program-image {
        order: 2;
    }

    .programs-page .page-title {
        font-size: 1.9rem;
    }


    /* Cards */

    .cards {
        flex-direction: column;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Navigation */
    .menu-toggle {
        display: block;
        font-size: 28px;
        color: #f5e8dc;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #0f3b2e;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }
    
 .nav a.active {
    color: #d4a373;
    font-weight: 600;
}

    .nav-links a {
        text-align: center;
        padding: 12px 0;
        margin: 0;
    }
    
    


.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #d4a373;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}


}

@media (min-width: 901px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        gap: 25px;
    }
}


/* =========================
   PARTNERSHIPS PAGE
========================= */

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.partner-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.partner-card img {
    background: #f3f5f4;
    padding: 10px;
    border-radius:50%;
}

.partner-card img {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.partner-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #0f3b2e;
    margin-bottom: 15px;
}

.framework-list {
    margin-top: 25px;
    margin-bottom: 40px;
}

.framework-list li {
    margin-bottom: 12px;
}

.cta-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* Mobile */
@media (max-width: 900px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* Engagement List */
.framework-list {
    margin-top: 25px;
    margin-bottom: 50px;
    padding-left: 20px;
}

.framework-list li {
    margin-bottom: 12px;
}

/* Initiate Card */
.initiate-card {
    padding: 30px 0;
    margin-top: 50px;
    max-width: 600px;
}

.initiate-card h3 {
    font-family: 'Playfair Display', serif;
    color: #0f3b2e;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.initiate-section {
    margin-top: 50px;
    max-width: 100%;
}

.initiate-section p {
    margin-bottom: 18px;
}


/* Engagement section wider layout */
.alt-bg .container {
    max-width: 1100px;
}

.framework-list,
.initiate-section p {
    max-width: 900px;
}


/* Proper Button Style */
.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    background: #d4a373;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #c49063;
}

/* Reduce excessive padding */
.content {
    padding: 70px 0;
}

/* Slightly tighten engagement spacing */
.framework-list {
    margin-top: 20px;
    margin-bottom: 40px;
}

.initiate-section {
    margin-top: 40px;
}

/* Initiate Section (No heavy card) */
.initiate-section {
    margin-top: 50px;
    max-width: 650px;
}

.initiate-section h3 {
    font-family: 'Playfair Display', serif;
    color: #0f3b2e;
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.initiate-section p {
    margin-bottom: 18px;
}

.thank-you-hero {
    background: #f6f4f1;
    padding: 120px 0;
}


/* =========================
   WHERE WE WORK – FINAL CLEAN VERSION
========================= */

.where-work {
    display: flex;
    align-items: center;
    gap: 50px;
}

.where-text {
    flex: 1.2;
}

.where-map {
    flex: 0.8;
}

.where-map img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
}

/* Mobile */
@media (max-width: 900px) {

    .where-work {
        flex-direction: column;
    }

    .where-map {
        margin-top: 15px;
        text-align: center;
    }

    .where-map img {
        width: 98%;
        max-width: 400px;
    }

}