body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh; /* Ensures the body takes at least the full height of the viewport */
    display: flex;
    flex-direction: column;
}

header {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-logo {
    max-width: 100px;
    margin-bottom: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111;
}

main {
    padding: 20px;
    flex: 1; /* Ensures the main content takes up the remaining space */
}

.about-content {
    padding: 20px;
}

.about-story {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.story-text {
    flex: 1;
    margin-right: 20px;
}

.story-images {
    flex: 1;
}

.image-grid {
    display: flex;
    justify-content: space-between;
}

.grid-image {
    width: 100%;
    max-width: calc(33.333% - 10px); /* Adjust for spacing */
    height: auto; /* Keeps the aspect ratio */
    border-radius: 8px; /* Optional: Add border radius for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for a subtle 3D effect */
}

@media (max-width: 768px) {
    .about-story {
        flex-direction: column;
        align-items: center;
    }

    .story-text {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .image-grid {
        flex-direction: column;
        align-items: center;
    }

    .grid-image {
        max-width: 100%;
        margin-bottom: 10px;
    }
}


.about-hero {
    background-color: #e0e0e0;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.board-of-trustees {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 60px; /* Adjusted margin-bottom to ensure space for the footer */
}

.trustees-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.trustee {
    display: none;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.trustee.active {
    display: flex;
}

.trustee-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.trustee h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.trustee p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 30px; /* Added height to the footer */
}
