body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
nav {
    background: #f2f2f2;
    padding: 15px 0;
}

/* Wrapper to contain logo and nav, centered */
.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; /* 50px gap between logo and nav links */
}

/* Logo image */
.logo-img {
    height: 100px; /* Adjust as needed */
    display: block;
}

/* Nav Links */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

nav .dropdown {
    position: relative;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

nav .dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
}


/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 26px;
    background: none;
    border: none;
    color: #333;
}

/* Mobile Nav Close Button */
.nav-close {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    display: none;

}


/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #f2f2f2;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        z-index: 9999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 26px;
        font-weight: bold;
        color: #111;
        text-decoration: none;
        margin-bottom: 20px;
        display: block;
    }

    .nav-close {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 32px;
        color: #333;
        cursor: pointer;
        background: none;
        border: none;
        z-index: 10000;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }
}


/* Content area */
.content {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

.button {
    display: inline-block;
    background-color: #222;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

.category-label {
    display: inline-block;
    padding: 5px 10px;
    color: white;
    border-radius: 3px;
    font-size: 0.85em;
    margin-right: 5px;
    margin-bottom: 10px;
}

.post-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.funders-section {
    margin-top: 60px;
    text-align: center;
}

.funder-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.funder-logo {
    max-height: 150px;
    width: auto;
}

/* === Info Page Styling === */

.info-page h1,
.info-page h2 {
    color: #111;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 15px;
}

.info-page p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}

.info-page ul {
    list-style: none;
    padding: 0;
}

.info-page ul li {
    margin-bottom: 5px;
    color: #333;
}

/* === Updated Team Section === */

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.team-member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.team-member .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.team-member .job-title {
    font-style: italic;
    color: #777;
    margin-bottom: 5px;
}

.team-member .description {
    font-size: 0.9em;
    color: #555;
}


.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #999;
}

.contact-form .button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form .button:hover {
    background-color: #555;
}


.contact-form select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}
.site-footer {
    background: #f2f2f2;
    padding: 60px 20px;
    margin-top: 80px;
    color: #111;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Footer inner container with vertical stacking */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Centered social icons above the form */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials img {
    width: 50px;
    height: 50px;
    filter: brightness(0); /* black */
}

/* Mailchimp form */
#mc_embed_signup {
    width: 100%;
    max-width: 500px;
}

#mc_embed_signup input[type="email"] {
    padding: 12px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    margin-bottom: 10px;
}

#mc_embed_signup .button {
    background-color: white;
    color: #111;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

#mc_embed_signup .button:hover {
    background-color: #ddd;
}

#mc_embed_signup h2,
#mc_embed_signup label,
#mc_embed_signup p {
    color: #111 !important;
}

