:root {
    --primary: #5ab027;
    --secondary: #2074b5;
    --accent: #f26722;
    --background: #f6fbf4;
    --card-bg: #fff;
    --footer-bg: #252525;
    --footer-text: #d4d4d4;
    --text: #1a2c18;
    --muted: #7d8b7c;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
}

header {
    background: var(--card-bg);
    padding: 0;
    box-shadow: 0 4px 16px rgba(90,176,39,0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 1.2rem 2rem;
}
.navbar .logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
    text-decoration: none;
}
.navbar nav a {
    color: var(--muted);
    margin-left: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 0.2rem;
}
.navbar nav a.active,
.navbar nav a:hover {
    color: var(--primary);
}
.navbar nav a.active::after {
    content: '';
    display: block;
    width: 110%;
    height: 2px;
    background: var(--primary);
    margin-top: 2px;
    border-radius: 1px;
    position: absolute;
    left: -5%;
}

.hero {
    background: linear-gradient(120deg, var(--primary) 20%, var(--secondary) 90%);
    color: white;
    text-align: center;
    padding: 4rem 2rem 3rem 2rem;
    position: relative;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}
.hero p {
    font-size: 1.3rem;
    margin: 0 auto 1.2rem auto;
    max-width: 650px;
    line-height: 1.5;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.quick-links {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    margin: 3rem 0 2rem 0;
}
.quick-link {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.quick-link:hover {
    background: var(--secondary);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: -3rem auto 2.5rem auto;
    position: relative;
    z-index: 1;
}
.card {
    flex: 1 1 280px;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(90,176,39,0.13);
    padding: 2rem 1.6rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 260px;
    transition: transform 0.18s;
}
.card:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 8px 32px rgba(32,116,181,0.12);
}
.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.7rem;
}
.card-desc {
    font-size: 1.06rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
}
.card-link {
    margin-top: auto;
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.03em;
    font-size: 1rem;
    transition: color 0.2s;
}
.card-link:hover {
    color: var(--accent);
}

.about-section {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 2px 18px rgba(90,176,39,0.07);
}
.about-section h2 {
    color: var(--primary);
    margin-top: 1.5rem;
}
.about-section ul {
    padding-left: 1.2rem;
}
.about-section li {
    margin-bottom: 0.7rem;
}
.about-section p {
    font-size: 1.1rem;
    color: var(--muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
    max-width: 400px;
}
.contact-form label {
    font-weight: 600;
    color: var(--primary);
}
.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #c8dbc3;
    border-radius: 0.8rem;
    font-size: 1rem;
    background: #f9fcf8;
    resize: vertical;
}
.contact-form button {
    margin-top: 1.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.9rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
}
.contact-form button:hover {
    background: var(--secondary);
}

@media (max-width: 800px) {
    .cards {
        flex-direction: column;
        gap: 1.3rem;
        margin: -2.3rem auto 2.5rem auto;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .hero {
        padding: 3rem 1rem 2rem 1rem;
    }
    .about-section {
        padding: 1.3rem 0.7rem;
    }
}

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.2rem 0 1.5rem 0;
    text-align: center;
    font-size: 1rem;
    margin-top: 2.5rem;
}
.footer-credit {
    color: #89c87a;
    font-weight: 600;
    margin-left: 0.7rem;
}
.footer-links {
    margin: 1.2rem 0 0.7rem 0;
}
.footer-link {
    color: #ccc;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.1rem;
}
.footer-link:hover {
    color: var(--primary);
}

/* Responsive hamburger nav - robust and green */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 1.2rem 2rem;
    position: relative;
}
.nav-links {
    display: flex;
    align-items: center;
    transition: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    margin-left: auto;
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    z-index: 1101;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--primary);
    border-radius: 3px;
    position: relative;
    transition: all 0.25s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -9px; }
.hamburger::after { top: 9px; }

@media (max-width: 800px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.2rem;
        width: 100%;
        background: var(--card-bg);
        position: absolute;
        left: 0;
        top: 100%;
        padding: 0.5rem 2rem 1rem 2rem;
        box-shadow: 0 4px 16px rgba(90,176,39,0.10);
        z-index: 1001;
        border-radius: 0 0 16px 16px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .navbar nav a, .nav-links a {
        margin: 0.7rem 0 0 0;
        padding: 0.7rem 0.6rem;
        font-size: 1.15rem;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
}
