body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #3d4a3e;
    background-color: #f9f8f5;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    margin-top: 0;
}

h1 {
    font-size: 48px;
    color: #5a8a5a;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    color: #5a8a5a;
    line-height: 1.3;
}

h3 {
    font-size: 22px;
    color: #5a8a5a;
}

h4 {
    font-size: 18px;
    color: #5a8a5a;
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.8;
}

a {
    color: #5a8a5a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a7a4a;
}

button, input[type="submit"] {
    cursor: pointer;
}

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

/* Header Styles */
header {
    background-color: #ffffff;
    border-bottom: 2px solid #d4e5d4;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
    color: #5a8a5a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: #4a7a4a;
}

nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #3d4a3e;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #5a8a5a;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #3d4a3e;
    padding: 0;
    line-height: 1;
}

.burger-menu:hover {
    color: #5a8a5a;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #3d4a3e;
    padding: 0;
    line-height: 1;
}

.close-menu:hover {
    color: #5a8a5a;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 6rem 2rem 2rem 2rem;
        gap: 1rem;
        z-index: 999;
    }

    nav.mobile-active a {
        font-size: 18px;
        padding: 0.75rem 0;
        border-bottom: 1px solid #d4e5d4;
    }

    nav.mobile-active a:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d4e5d4 0%, #e8f0e8 100%);
    padding: 4rem 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease-in;
}

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

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

.hero p {
    font-size: 18px;
    color: #3d4a3e;
    margin-bottom: 2rem;
}

/* Section Styles */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

/* About Section */
.about-section {
    background-color: #ffffff;
}

.about-section p {
    color: #3d4a3e;
}

/* Topics Section */
.topics-section {
    background-color: #f9f8f5;
}

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

.topic-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #5a8a5a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(90, 138, 90, 0.1);
}

.topic-card h3 {
    margin-top: 0;
}

.topic-card p {
    color: #3d4a3e;
}

/* Tips Section */
.tips-section {
    background-color: #ffffff;
}

.tips-list {
    margin-top: 2rem;
}

.tip-item {
    background-color: #f9f8f5;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-top: 3px solid #8cb28c;
}

.tip-item h3 {
    margin-top: 0;
}

.tip-item p {
    color: #3d4a3e;
}

/* Tools Section */
.tools-section {
    background-color: #f9f8f5;
}

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

.tool-category {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tool-category h3 {
    margin-top: 0;
}

.tool-category ul {
    list-style-position: inside;
    margin-top: 1rem;
    padding: 0;
}

.tool-category li {
    margin-bottom: 0.5rem;
    color: #3d4a3e;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-container {
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-container p {
    text-align: center;
    color: #3d4a3e;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #3d4a3e;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d4e5d4;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #3d4a3e;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #5a8a5a;
    box-shadow: 0 0 0 3px rgba(90, 138, 90, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Open Sans', sans-serif;
}

input::placeholder,
textarea::placeholder {
    color: #a8b8a8;
}

/* Button Styles */
button,
input[type="submit"],
input[type="button"] {
    background-color: #5a8a5a;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Open Sans', sans-serif;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #4a7a4a;
    transform: translateY(-2px);
}

button:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0);
}

.privacy-link {
    display: block;
    margin-top: 1rem;
    font-size: 13px;
    color: #7a8a7a;
    text-align: center;
}

.privacy-link a {
    color: #5a8a5a;
    text-decoration: none;
}

.privacy-link a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #3d4a3e;
    color: #d4e5d4;
    padding: 3rem 2rem 1rem;
    margin-top: 2rem;
}

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

.footer-column h4 {
    font-family: 'Merriweather', serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 18px;
    margin-top: 0;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column a {
    color: #d4e5d4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-info {
    font-size: 13px;
    color: #b8c5b8;
    line-height: 1.6;
}

.footer-info p {
    margin: 0.25rem 0;
}

.footer-bottom {
    border-top: 1px solid #5a8a5a;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 13px;
    color: #b8c5b8;
    margin: 0 auto;
    max-width: 1200px;
}

/* Image Styles */
.image-placeholder {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 2.5rem 1.5rem;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 18px;
    }

    .topics-grid,
    .tools-container {
        grid-template-columns: 1fr;
    }

    .topic-card,
    .tool-category {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-container {
        padding: 0 1rem;
    }

    nav.mobile-active {
        padding: 5rem 1.5rem 1.5rem 1.5rem;
    }

    .close-menu {
        right: 1.5rem;
    }
}

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

    .logo {
        font-size: 22px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    section {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
    }

    button,
    input[type="submit"],
    input[type="button"] {
        padding: 0.65rem 1.5rem;
        font-size: 15px;
    }

    input,
    textarea,
    select {
        padding: 0.65rem;
        font-size: 16px;
    }

    label {
        font-size: 14px;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    .footer-info,
    .footer-column a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    nav.mobile-active {
        padding: 4rem 1rem 1rem 1rem;
    }

    .close-menu {
        right: 1rem;
        top: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Print Styles */
@media print {
    header,
    footer {
        background-color: #f9f8f5;
        color: #3d4a3e;
        border: 1px solid #d4e5d4;
    }

    a {
        color: #5a8a5a;
    }

    button,
    input[type="submit"],
    .burger-menu {
        display: none;
    }
}