* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #7cb342;
    --accent-color: #558b2f;
    --bg-light: #f1f8e9;
    --bg-white: #ffffff;
    --text-dark: #1b5e20;
    --text-light: #558b2f;
    --shadow: rgba(45, 80, 22, 0.15);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.main-header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--secondary-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section,
.contact-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Malaysian_rainforest.jpg/1920px-Malaysian_rainforest.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.85) 0%, rgba(85, 139, 47, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
}

.intro-section {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(124, 179, 66, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.intro-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

.feature-card-large:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-card-large:nth-child(even) > * {
    direction: ltr;
}

.feature-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card-large:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.feature-link:hover {
    color: var(--primary-color);
}

.articles-preview {
    padding: 6rem 0;
    background: var(--bg-white);
}

.articles-preview h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 4rem;
}

.articles-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.article-main {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.article-main:hover {
    transform: translateY(-5px);
}

.article-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-main-content {
    padding: 2rem;
}

.article-main-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.article-main-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-main-content h3 a:hover {
    color: var(--accent-color);
}

.article-main-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-side {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.article-side:hover {
    transform: translateX(5px);
}

.article-side h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.article-side h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-side h4 a:hover {
    color: var(--accent-color);
}

.article-side p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-hero {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Sustainable_living_concept.jpg/1920px-Sustainable_living_concept.jpg');
}

.contact-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-family: 'Crimson Text', serif;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 25px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(45, 80, 22, 0.2);
}

.contact-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-square {
    width: 90px;
    height: 90px;
    background: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.icon-circle {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.icon-circle svg {
    width: 36px;
    height: 36px;
}

.contact-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-email {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.contact-email:hover {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.faq-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.faq-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 4rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cookie-btn.accept {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.cookie-btn.accept:hover {
    background: #6ba03a;
}

.cookie-btn.reject {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: var(--bg-white);
}

.main-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.9;
}

.article-page {
    padding: 4rem 0;
    background: var(--bg-white);
}

.article-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-header h1 {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.article-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
}

.article-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .burger-menu {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 20px var(--shadow);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .feature-card-large:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .articles-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        max-width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .intro-content h2,
    .articles-preview h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
}
