:root {
    --green: #176b3a;
    --green-dark: #0f4328;
    --green-soft: #edf7ef;
    --green-pale: #f7fcf8;
    --text: #1d2a24;
    --muted: #63736b;
    --border: #dbe8df;
    --shadow: 0 14px 30px rgba(15, 67, 40, .08);
    --max: 1180px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden
}

a {
    color: var(--green);
    text-decoration: none
}

a:hover {
    text-decoration: none;
    color: var(--green-dark)
}

.wrapper {
    width: 100%;
    overflow-x: visible
}

.header {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 92px;
    width: auto;
    display: block
}

.navigation {
    background: #fff;
    position: relative;
    z-index: 20;
    padding-top: 30px;
}

.navigation ul {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 2.4rem
}

.navigation li {
    position: relative
}

.navigation a {
    font-size: 1.16rem;
    font-weight: 700;
    color: #1d2a24;
    display: block;
    padding: .4rem 0
}

.navigation a.current {
    color: var(--green)
}

.nav-arrow {
    display: inline-block;
    width: .55em;
    height: .55em;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
    margin-left: .38rem;
    margin-bottom: .18rem;
    vertical-align: middle
}

.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: -1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 165px;
    padding: .45rem 0 !important;
    z-index: 50;
    gap: 0 !important
}

.dropdown:hover .submenu {
    display: block !important
}

.submenu li {
    display: block
}

.submenu a {
    font-size: 1rem;
    padding: .65rem 1rem;
    white-space: nowrap
}

.submenu a:hover {
    background: var(--green-soft);
    color: var(--green)
}

.hero-banner {
    height: 82vh;
    min-height: 560px;
    background: url('images/1.png') center/cover no-repeat;
    margin-bottom: 3rem;
    display: flex;
    align-items: center
}


.hero-text {
    background: rgba(255, 255, 255, .88);
    padding: 2.2rem;
    border-radius: 18px;
    max-width: 585px;
    margin-left: calc((100vw - min(1180px, 100vw))/2 + 1rem);
    box-shadow: var(--shadow)
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.08;
    margin: 0 0 1.1rem;
    color: var(--green-dark)
}

.hero-text p {
    font-size: 1.08rem;
    margin-bottom: 1.4rem;
    color: #26352d
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.yellow-button,
.green-button,
.card-button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: .75rem 1rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer
}

.yellow-button {
    background: #ffd91f;
    color: #111
}

.green-button {
    background: #c7e84b;
    color: #111
}

.card-button {
    background: var(--green);
    color: #fff
}

.card-button:hover {
    background: var(--green-dark);
    color: #fff
}

.home-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem 4rem
}

.section h2 {
    text-align: center;
    color: var(--green-dark);
    font-size: 2rem;
    margin-bottom: 2rem
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem
}

.card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fbfdfb, #f1f8f3);
    border: 2px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center
}

.card h3 {
    font-size: 2rem;
    line-height: 1.05;
    margin: 1.35rem 1.3rem 2rem;
    color: var(--green-dark)
}

.card p {
    margin: 0 1.3rem 2rem;
    color: #34443b
}

.card .card-button {
    align-self: flex-start;
    margin: auto 1.3rem 1.3rem
}

.info-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem 4rem
}

.breadcrumb {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f0f3f1;
    padding: .45rem max(1rem, calc((100vw - var(--max))/2 + 1rem));
    font-size: .95rem;
    color: #53625a;
    margin-bottom: 2rem
}

.breadcrumb a {
    font-weight: 700;
    color: var(--green)
}

.breadcrumb span {
    margin: 0 .6rem;
    color: #78847d
}

.page-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start
}

.sidebar {
    position: relative
}

.about-page .sidebar {
    position: sticky;
    top: 110px;
}

.volunteer-page .sidebar {
    position: sticky;
    top: 110px;
}

.fundraise-page .sidebar {
    position: sticky;
    top: 110px;
}

.support-page .sidebar {
    position: sticky;
    top: 110px;
}

.volunteer-callout {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.volunteer-callout h2 {
    margin-top: 0;
}

.sidebar h2 {
    background: #e9f5ec;
    border: 1px solid var(--border);
    color: var(--green-dark);
    border-radius: 14px 14px 0 0;
    padding: 1.05rem 1.3rem;
    font-size: 1.15rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .08em
}

.sidebar a {
    display: block;
    background: #f7fcf8;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.3rem;
    color: #1d2a24;
    font-size: 1.05rem
}

.sidebar a:hover,
.sidebar a.current {
    background: #edf7ef;
    color: var(--green-dark);
    font-weight: 700
}

.page-content {
    min-width: 0
}

.page-content section {
    scroll-margin-top: 110px;
    margin-bottom: 3rem
}

.page-content h1 {
    font-size: 2.55rem;
    line-height: 1.1;
    color: var(--green-dark);
    margin: .15rem 0 1rem
}

.page-content h2 {
    color: var(--green-dark);
    font-size: 1.65rem;
    margin: 0 0 .9rem
}

.page-content h3 {
    color: var(--green-dark)
}

.lead {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1.08rem
}

.simple-text {
    max-width: 880px
}

.section-divider {
    border-top: 1px solid var(--border);
    padding-top: 2rem
}

.four-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.volunteer-page .four-card-grid {
    grid-template-columns: 1fr;
}

.small-card,
.support-choice,
.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow)
}

.small-card {
    background: var(--green-pale)
}

.support-choice {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.5rem
}

.volunteer-feature {
    background: var(--green-pale);
    border-radius: 16px;
    padding: 1.4rem;
    margin-top: 1.25rem;
}

.volunteer-feature h3 {
    margin: 0 0 .65rem;
    color: var(--green-dark);
    font-size: 1.55rem;
}

.volunteer-feature p {
    margin: 0 0 1rem;
    color: #2a3a31;
}

.volunteer-feature img {
    height: 180px;
}

.support-choice img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 12px
}

.contact-form {
    display: grid;
    gap: .75rem;
    max-width: 720px;
    padding-top: 20px;
}

.contact-form label {
    font-weight: 700;
    color: var(--green-dark)
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .8rem;
    font: inherit
}

.form-button {
    width: 100%;
    font-size: 1rem
}

.team-intro {
    max-width: 850px
}

.profile-section {
    margin-top: 4rem
}

.profile-section h2 {
    margin-bottom: 2rem
}

.profile-grid {
    display: grid;
    gap: 1.8rem;
    margin-top: 1rem
}

.board-grid {
    grid-template-columns: repeat(6, 1fr)
}

.board-grid .profile-card:nth-child(1) {
    grid-column: 2 / span 2
}

.board-grid .profile-card:nth-child(2) {
    grid-column: 4 / span 2
}

.board-grid .profile-card:nth-child(3) {
    grid-column: 1 / span 2
}

.board-grid .profile-card:nth-child(4) {
    grid-column: 3 / span 2
}

.board-grid .profile-card:nth-child(5) {
    grid-column: 5 / span 2
}

.manager-grid,
.people-two {
    grid-template-columns: repeat(2, 1fr)
}

.profile-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    background: #eef3ef
}

.profile-card.wide img {
    aspect-ratio: 4/3
}

.profile-card h3 {
    margin: .8rem 0 .2rem;
    color: #1d2a24
}

.profile-card p {
    margin: .15rem 0;
    color: var(--muted);
    font-size: .95rem
}

.profile-card .role {
    color: var(--green-dark);
    font-weight: 700
}

.footer {
    background: #12492d;
    color: #fff;
    margin-top: 2rem;
    padding: 2.6rem 1rem 0
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem
}

.footer h3 {
    color: #fff;
    margin-top: 0
}

.footer p {
    margin: .3rem 0;
    color: #e9f5ec
}

.social-icons {
    display: flex;
    gap: .7rem;
    margin-top: 1rem
}

.social-icons img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain
}

.copyright-bar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #0b2f1d;
    color: #dceee2;
    text-align: center;
    padding: 1rem;
    font-size: .95rem
}

@media(max-width:850px) {
    .header {
        justify-content: center
    }

    .navigation ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem
    }

    .hero-banner {
        height: auto;
        min-height: 620px
    }

    .hero-text {
        margin: 1rem;
        max-width: none
    }

    .hero-text h1 {
        font-size: 2.35rem
    }

    .card-container,
    .footer-grid,
    .page-grid,
    .manager-grid,
    .people-two,
    .support-choice,
    .four-card-grid {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static
    }

    .board-grid {
        grid-template-columns: 1fr
    }

    .board-grid .profile-card:nth-child(n) {
        grid-column: auto
    }

    .breadcrumb {
        padding: .45rem 1rem
    }
}


.support-choice {
    min-height: 280px;
    margin-top: 1.25rem;
}

.support-choice img {
    height: 180px;
}

.contact-page .page-grid {
    grid-template-columns: 1fr;
}

.contact-page .sidebar {
    display: none;
}

.contact-page .page-content {
    display: flex;
    justify-content: center;
}

.contact-page #message {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.form-button {
    background: var(--green-dark);
    color: white;
}