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

:root {
    --sage-green: #a8c5b8;
    --sage-dark: #7a9986;
    --sage-light: #d4e5de;
    --text-dark: #2c3e37;
    --text-medium: #5a6b64;
    --text-light: #8a9b94;
    --white: #ffffff;
    --off-white: #fafbfa;
    --border-light: #e5ede9;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Lato', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sage-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--sage-dark);
    outline: none;
}

.nav-links a.active {
    color: var(--sage-dark);
    border-bottom: 2px solid var(--sage-green);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--white) 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--sage-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: var(--sage-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(168, 197, 184, 0.2);
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(168, 197, 184, 0.3);
    outline: none;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sage-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--sage-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--sage-light);
}

.member-photo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.team-member h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.role {
    color: var(--sage-dark);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--white) 100%);
    min-height: calc(100vh - 200px);
}

.contact-section h1 {
    font-size: 3rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.contact-intro {
    font-size: 1.25rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: var(--sage-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
    background-color: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #c55a5a;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.submit-button {
    width: 100%;
    background-color: var(--sage-green);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(168, 197, 184, 0.2);
}

.submit-button:hover,
.submit-button:focus {
    background-color: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(168, 197, 184, 0.3);
    outline: none;
}

.success-message {
    max-width: 600px;
    margin: 2rem auto 0;
    background-color: #e8f5e9;
    border: 2px solid #81c784;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.success-message p {
    color: #2e7d32;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.938rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

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

    .tagline {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features h2,
    .team h2,
    .about-hero h1,
    .contact-section h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .feature-grid,
    .team-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }
}