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

:root {
    --primary: #2d5a27;
    --primary-light: #3d7a37;
    --primary-dark: #1d4a17;
    --accent: #d4a574;
    --accent-light: #e4c594;
    --text: #2d3748;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-alt: #f8f6f3;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-light);
}

/* Header & Navigation */
header {
    background: var(--primary);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo .highlight {
    color: var(--accent);
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* Mission Bar */
.mission-bar {
    background: var(--accent);
    padding: 1.5rem 2rem;
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section.alt-bg {
    background: var(--bg-alt);
    max-width: 100%;
}

.content-section.alt-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.about-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-light);
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.resource-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
    color: var(--text-light);
}

.resource-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.resource-card li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.guide-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.guide-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.guide-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.coming-soon {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Forms Grid */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-card ul {
    list-style: none;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.form-card li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.disclaimer-box {
    background: #fff9e6;
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.disclaimer-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.disclaimer-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.link-card h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    padding: 1rem;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .highlight {
    color: var(--accent);
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.nonprofit {
    margin-top: 1rem;
    font-style: italic;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .forms-grid,
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .about-grid,
    .resource-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

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

    nav ul {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 8rem 1rem 4rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .forms-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
