:root {
    /* Palette - From Logo */
    --color-primary: #045340;
    /* Deep Teal */
    --color-secondary: #fcaa00;
    /* Bright Yellow/Orange */
    --color-accent: #71a040;
    /* Olive Green */
    --color-sand: #f9f4ee;
    /* Cream/Off-white */
    --color-text: #1A1A1A;
    --color-text-soft: #4A4A4A;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Manrope', sans-serif;

    /* Spacing */
    --spacing-container: 2rem;
    --spacing-section: 10rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-sand);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.container.full-width {
    max-width: 100%;
    padding: 0 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 0 2rem 0;
    z-index: 100;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 100%;
    padding: 0 3rem;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    line-height: 0;
    display: block;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.nav-list {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-left .nav-list {
    justify-content: flex-start;
}

.nav-right .nav-list {
    justify-content: flex-end;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.header.scrolled .nav-list a {
    color: var(--color-text);
}

.nav-list a:hover {
    color: var(--color-secondary);
}

.btn-outlined {
    border: 1px solid var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header.scrolled .btn-outlined {
    border-color: var(--color-text);
}

.btn-outlined:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.header.scrolled .btn-outlined:hover {
    background: var(--color-text);
    color: var(--color-sand);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 83, 64, 0.2) 0%, rgba(3, 60, 46, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--color-sand);
    max-width: 1200px;
}

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.75rem;
    opacity: 0.9;
    max-width: 700px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: var(--spacing-container);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-sand);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--color-sand);
}

/* Mission */
.section {
    padding: var(--spacing-section) 0;
}

.mission-section {
    padding: 12rem 0;
}

.mission-statement {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.4;
    font-weight: 500;
    max-width: 1200px;
    letter-spacing: -0.01em;
}

.highlight {
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 600;
}

/* Pillars */
.section-header {
    margin-bottom: 6rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5rem 4rem;
}

.pillar-card {
    border-top: 3px solid rgba(4, 82, 66, 0.3);
    padding-top: 2.5rem;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-top-color: var(--color-secondary);
}

.pillar-number {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}

.pillar-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.pillar-desc {
    font-family: var(--font-body);
    color: var(--color-text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Impact */
.impact-section {
    position: relative;
    color: var(--color-sand);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: left;
}

.impact-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.impact-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(4, 83, 64, 0.98) 0%, rgba(4, 83, 64, 0.9) 40%, rgba(4, 83, 64, 0.5) 70%, rgba(4, 83, 64, 0.2) 100%);
    z-index: 2;
}

.impact-container {
    position: relative;
    z-index: 3;
}

.impact-text {
    max-width: 700px;
}

.impact-text h2 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.impact-text p {
    font-family: var(--font-body);
    font-size: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

.stat-row {
    display: flex;
    gap: 5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-secondary);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-top: 0.5rem;
}


/* About Section */
.about-section {
    background-color: var(--color-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    align-items: start;
}

.about-header {
    position: relative;
}

.eyebrow-dark {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 2rem;
}

.about-header h2 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-content p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-soft);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Team */
.team-section {
    background-color: var(--color-sand);
}

.team-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 4rem;
}

.team-member:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.team-member:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.team-member:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.team-member:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.team-member:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.team-member {
    border-top: 3px solid rgba(4, 83, 64, 0.3);
    padding-top: 2.5rem;
}

.member-number {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}

.team-member.has-photo {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 2rem;
    align-items: center;
}

.team-member.has-photo .member-photo {
    grid-column: 1;
    grid-row: 1;
}

.team-member.has-photo .member-info {
    grid-column: 2;
    grid-row: 1;
}

.member-photo {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(4, 83, 64, 0.05) 0%, rgba(113, 160, 64, 0.05) 100%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.role {
    font-family: var(--font-body);
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-soft);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #022c24;
    color: var(--color-sand);
    padding: 8rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    margin-bottom: 5rem;
}

.footer-cta h2 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.footer-cta p {
    font-family: var(--font-body);
    opacity: 0.85;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
}

.contact-item p {
    font-family: var(--font-body);
    opacity: 0.9;
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-item a {
    color: var(--color-sand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

.contact-note {
    font-family: var(--font-body);
    font-size: 0.7rem;
    opacity: 0.5;
    font-style: italic;
    margin-top: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.social-link {
    color: var(--color-sand);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-sand);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member:nth-child(1),
    .team-member:nth-child(2) {
        grid-column: span 1;
    }

    .team-member:nth-child(3) {
        grid-column: 1;
    }

    .team-member:nth-child(4) {
        grid-column: 2;
    }

    .team-member:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 6rem;
    }

    .header-container {
        padding: 0 var(--spacing-container);
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mission-section {
        padding: 8rem 0;
    }

    .mission-statement {
        font-size: 2rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 3rem;
    }

    .pillar-content h3 {
        font-size: 1.75rem;
    }

    .pillar-desc {
        font-size: 1rem;
    }

    /* Mobile menu overlay - combine both navs into one fullscreen menu */
    .nav-left,
    .nav-right {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 90;
        pointer-events: none;
    }

    /* Only show nav-left when active, hide nav-right on mobile */
    .nav-left.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-right.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Combine all menu items into nav-left display */
    .nav-left.active {
        gap: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-list li {
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-left.active .nav-list li {
        animation: fadeInUp 0.5s ease forwards;
    }

    .nav-left.active .nav-list li:nth-child(1) { animation-delay: 0.1s; }
    .nav-left.active .nav-list li:nth-child(2) { animation-delay: 0.2s; }

    .nav-list a {
        font-size: 2rem;
        color: var(--color-primary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav-list a:hover {
        color: var(--color-secondary);
    }

    .nav-list .btn-outlined {
        border: 2px solid var(--color-primary);
        padding: 0.75rem 2.5rem;
        display: inline-block;
        border-radius: 2px;
    }

    .nav-list .btn-outlined:hover {
        background: var(--color-primary);
        color: var(--color-white);
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 100;
        background: none;
        border: none;
    }

    .mobile-menu-btn .line {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-primary);
        margin-bottom: 6px;
        transition: all 0.3s ease;
    }

    .header.scrolled .mobile-menu-btn .line {
        background: var(--color-primary);
    }

    .mobile-menu-btn.active .line:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .line:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .impact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .impact-text {
        max-width: 100%;
    }

    .impact-text h2 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .impact-text p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .stat-row {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-val {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .impact-visual {
        height: 300px;
        width: 100%;
    }

    .team-list {
        grid-template-columns: 1fr;
    }

    .team-member:nth-child(1),
    .team-member:nth-child(2),
    .team-member:nth-child(3),
    .team-member:nth-child(4),
    .team-member:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }

    .team-member.has-photo {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
    }

    .team-member.has-photo .member-photo {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .team-member.has-photo .member-info {
        grid-column: 1;
        grid-row: 2;
        text-align: center;
    }

    .member-photo {
        width: 200px;
        height: 200px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-header {
        position: relative;
        top: 0;
    }

    .about-header h2 {
        font-size: 2.5rem;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .team-card h4 {
        font-size: 1.75rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-cta h2 {
        font-size: 2.5rem;
    }

    .footer-cta p {
        font-size: 1.1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}