body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0 5%;
    padding: 0;
    background-color: #f4f7f3;
    color: #333;
}

nav {
    background-color: #2c5530;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;  /* Ensure nav starts from left edge */
    margin: 0;  /* Remove margin from nav */
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 2rem;
    font-weight: 500;
}

nav a:hover {
    color: #a7c957;
}

.header-container {
    position: relative;
    text-align: center;
    color: white;
}

.header-image {
    width: 100%;
    height: auto;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.header-subtext {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75em;
    color: #2c5530;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content {
    max-width: 800px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
}

/* Grid layout for resources */
.resources-wrapper {
    width: 100%;
    max-width: 1200px;  /* Wider than content to accommodate cards */
    margin: 0 auto;
    padding: 20px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resources-section {
    margin-bottom: 3rem;
    width: 100%
}

.resources-section-title {
    color: #2c5530; 
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2c5530;
    font-size: 1.5rem;
}

/* Card styling */
.resources-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;  /* This is important for link cards */
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
}

.resources-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.resources-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0;
    background-color: #f5f5f5;
}

.resources-card-content {
    padding: 1.5rem;
    background: white;
}

.resources-card-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.resources-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.resources-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* This creates a 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

.mission {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

footer {
    background-color: #2c5530;
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 1rem;
    }
}