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

:root {
    --primary-color: #2d5f3f;
    --secondary-color: #7fb069;
    --accent-color: #e8a75d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

body.dark-mode {
    --text-dark: #ecf0f1;
    --bg-light: #1a1a1a;
    --bg-white: #2c2c2c;
    --border-color: #3a3a3a;
}

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

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

.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.primary-nav a {
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-nav a:hover,
.primary-nav a.active-link {
    color: var(--primary-color);
}

.theme-toggle {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--secondary-color);
}

.hero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.daily-tip-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 15px;
}

.tip-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-light);
}

.tip-icon {
    font-size: 3rem;
}

.tip-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid,
.categories-layout,
.posts-preview,
.blog-grid,
.team-grid,
.stats-grid,
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card,
.category-item,
.post-card,
.blog-article-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover,
.category-item:hover,
.post-card:hover,
.blog-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-item img,
.post-card img {
    border-radius: 10px;
    margin-bottom: 1rem;
}

.article-image {
    position: relative;
    margin-bottom: 1rem;
}

.article-image img {
    border-radius: 10px;
    width: 100%;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.article-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more,
.article-link {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more:hover,
.article-link:hover {
    color: var(--secondary-color);
}

.view-all-center {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary-color);
}

.newsletter-signup {
    background: var(--primary-color);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.site-footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

.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-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

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

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.accept-btn {
    background: var(--primary-color);
    color: var(--text-light);
}

.customize-btn {
    background: var(--secondary-color);
    color: var(--text-light);
}

.decline-btn {
    background: #ccc;
    color: var(--text-dark);
}

.page-header-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.team-member-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.member-role {
    padding: 0 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.member-bio {
    padding: 1rem 1.5rem 1.5rem;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.stat-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.movement-box,
.join-movement {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 4rem auto;
    max-width: 800px;
}

.movement-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
}

.reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.reason-card {
    text-align: center;
    padding: 2rem;
}

.reason-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-close {
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.post-article {
    background: var(--bg-white);
}

.post-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.post-meta-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.post-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.8rem;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.prev-post,
.next-post,
.back-to-blog {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 25px;
    font-weight: bold;
    transition: var(--transition);
}

.prev-post:hover,
.next-post:hover,
.back-to-blog:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primary-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-banner {
        grid-template-columns: 1fr;
    }
    
    .mission-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .post-footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}