* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
nav {
    background-color: #2d6a4f;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

nav .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

nav .logo span {
    color: #b7e4c7;
}

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

nav .nav-links a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #b7e4c7;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero .btn {
    display: inline-block;
    background-color: #fff;
    color: #2d6a4f;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #40916c;
    margin: 0.5rem auto 0;
}

/* Post Cards */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-card .post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.single-post .post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.single-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card .post-content {
    padding: 1.5rem;
}

.post-card .post-category {
    display: inline-block;
    background-color: #d8f3dc;
    color: #2d6a4f;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.post-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1b4332;
}

.post-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.post-card .read-more {
    color: #2d6a4f;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-card .read-more:hover {
    color: #40916c;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.single-post h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.single-post .post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.single-post .post-body h2 {
    font-size: 1.5rem;
    color: #2d6a4f;
    margin: 2rem 0 1rem;
}

.single-post .post-body h3 {
    font-size: 1.2rem;
    color: #40916c;
    margin: 1.5rem 0 0.8rem;
}

.single-post .post-body p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.single-post .post-body ul,
.single-post .post-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.single-post .post-body li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.single-post .post-body blockquote {
    border-left: 4px solid #2d6a4f;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f0f7f4;
    font-style: italic;
    color: #555;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-nav a {
    color: #2d6a4f;
    font-weight: 600;
}

.post-nav a:hover {
    color: #40916c;
}

/* About Page */
.about-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.about-section h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.about-section .author-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #f0f7f4;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.about-section .author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    flex-shrink: 0;
}

/* Contact Page */
.contact-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
}

.contact-section h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 1rem;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    height: 200px;
    resize: vertical;
}

.contact-form button {
    background-color: #2d6a4f;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #40916c;
}

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.legal-page h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 1.5rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    color: #2d6a4f;
    margin: 2rem 0 0.8rem;
}

.legal-page p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-page ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* Categories Page */
.categories-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.categories-section h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 2rem;
}

.category-card {
    background: #f0f7f4;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2d6a4f;
}

.category-card h2 {
    font-size: 1.3rem;
    color: #2d6a4f;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
}

/* Resources Page */
.resources-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.resources-section h1 {
    font-size: 2.2rem;
    color: #1b4332;
    margin-bottom: 2rem;
}

.resource-item {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.resource-item h3 {
    color: #2d6a4f;
    margin-bottom: 0.5rem;
}

.resource-item p {
    color: #666;
    margin-bottom: 0.5rem;
}

.resource-item .resource-link {
    color: #2d6a4f;
    font-weight: 600;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 10px;
}

.newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter .newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter input {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    width: 300px;
}

.newsletter button {
    background-color: #fff;
    color: #2d6a4f;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter button:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #1b4332;
    color: #fff;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #b7e4c7;
}

.footer-section a {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #2d6a4f;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2d6a4f;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    nav .nav-links.active {
        display: flex;
    }

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

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

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .about-section .author-box {
        flex-direction: column;
        text-align: center;
    }

    .post-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter input {
        width: 100%;
    }
}
