/* General Styles */
/* Visually hidden utility for accessible, non-visible headings and labels */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

/* Navbar Container (with white padding above and below) */
.navbar-container {
    background: #fff; /* Pure white */
    padding-top: 5px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: stretch;
    background-color: #4da3ff; /* Light blue */
    height: 100px;
    padding: 0;
    border-radius: 8px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    background: #fff; /* Optional: white background for logo area */
    padding: 0 24px;
}

.navbar-logo a {
    text-decoration: none;
    display: block;
}

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

.navbar-links {
    list-style: none;
    display: flex;
    align-items: flex-end; /* Move links to the bottom of the blue bar */
    margin: 0;
    padding: 0 32px;
    flex: 1;
    justify-content: flex-end;
    height: 100%;
}

.navbar-links li {
    margin-left: 32px;
}

.navbar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem; /* Slightly bigger */
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.navbar-links a:hover {
    background: #2176c7; /* Darker blue on hover */
    color: #fff;
}

.navbar-links a.active {
    background: #3694e0; /* Mid-tone blue for active state */
    color: #fff;
}

.navbar-links .donate-btn {
    background: #007f35;
    color: #fff !important;
    font-weight: bold;
    border-radius: 4px;
    padding: 8px 20px;
    margin-left: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    text-decoration: none;
    display: inline-block;
}
.navbar-links .donate-btn:hover {
    background: #005f4a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    text-decoration: none;
}

/* Section Styles */
.section {
    max-width: 1200px;
    margin: 48px auto;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section h2 {
    margin-top: 0;
    color: #4da3ff;
}

.section h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.section h3:first-of-type {
    margin-top: 0;
}

/* Hero Image */
.hero-image {
    max-width: 100%;
    margin: 0px 0px 48px 0px;
    text-align: center;
    padding: 0 0px;
}

.hero-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}

.mission-content p {
    text-align: justify;
}

@media (max-width: 700px) {
    .hero-photo {
        width: 100%;
    }
    
    .hero-image {
        padding: 0 16px;
    }
}

/* Projects Section Image */
.projects-photo {
    float: right;
    margin-left: 32px;
    width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 700px) {
    .projects-photo {
        float: none;
        display: block;
        margin: 24px auto 24px auto;
        max-width: 80vw;
    }
}

/* General link styling for text content within sections */
.section a {
    color: #4da3ff;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

/* Utility class for clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* Responsive Navbar */
@media (max-width: 900px) {
    .navbar {
        height: 100px;
    }
    .navbar-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0;
        align-items: center;
        justify-items: center;
        padding: 0 16px;
    }
    .navbar-links a {
        font-size: 0.9rem;
        padding: 4px 12px;
    }
    .navbar-logo {
        padding: 0 12px;
    }
    /*
    .logo-img {
        height: 60px;
    }
    */
    /*
    .navbar-links {
        flex-direction: column;
        width: 100%;
        padding: 0 12px;
        height: auto;
        align-items: flex-start;
    }
    .navbar-links li {
        margin: 12px 0 0 0;
    }
    */
}

/* People Grid Styles */
.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-items: center;
    align-items: start;
    margin-top: 32px;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.person-photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 16px;
    background: #eaeaea;
}

.person h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #333;
    text-align: center;
}

/* Person Card Styles (for team page with bios) */
.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.person-card .person-photo {
    width: 180px;
    height: 225px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    background: #eaeaea;
}

.person-card h3 {
    margin: 0 0 16px 0;
    font-size: 1.25rem;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.person-bio {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    max-width: 100%;
}

@media (max-width: 900px) {
    .people-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .person-card {
        max-width: 100%;
    }
    
    .person-card .person-photo {
        width: 160px;
        height: 200px;
    }
}
/* Footer Styles */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    color: #888888;
    padding: 32px 24px 16px 24px;
    font-size: 1rem;
    border-top: 1px solid #eaeaea;
    margin-top: 48px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 0;
    min-width: 220px;
    margin: 0 16px;
}

.footer-left {
    text-align: left;
}

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

.footer-center a {
    color: #4da3ff;
    text-decoration: none;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}

.back-to-top {
    margin-top: 16px;
    font-size: 0.95em;
}

.back-to-top a {
    color: #4da3ff;
    text-decoration: none;
    font-weight: 500;
}

.back-to-top a:hover {
    text-decoration: underline;
}

/* Footer bottom section for back-to-top link */
.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 16px;
}
@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .footer-col {
        margin: 12px 0;
        min-width: 0;
    }
    .footer-questions {
        order: 1;
        margin-bottom: 16px;
        width: 100%;
    }
    .footer-left {
        order: 2;
        text-align: center !important;
    }
    .footer-left * {
        text-align: center !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-right {
        order: 3;
    }
    .footer-bottom {
        order: 4;
        margin-top: 24px;
    }
    .footer-right div {
        text-align: center !important;
    }
}

.footer-left strong {
    margin-bottom: 0;
    padding-bottom: 0;
    display: inline;
}
@media (max-width: 900px) {
    .footer-left strong {
        margin-bottom: 0;
        padding-bottom: 0;
        display: inline;
    }
}
