/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3e2b;
    background: #f9fef7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Nav - Flex for responsiveness */
header {
    background: #1e3a1e;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    border-bottom-color: #8bc34a;
}

/* Main content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2e6b2f, #4c9a2a);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Features - CSS Grid responsive */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.card {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ffb347;
    color: #2d3e2b;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #ff9f1c;
}

/* About page specific */
.about-hero, .mission {
    text-align: center;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Form page */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

form label {
    display: block;
    margin: 1rem 0 0.3rem;
    font-weight: 600;
}

form input, form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
}

form button {
    margin-top: 1.5rem;
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    background: #1e3a1e;
    color: #ddd;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    main {
        padding: 1rem;
    }
}