/*
Theme Name: Oreteti Initiative
Description: A custom WordPress theme for Oreteti Initiative, a community-rooted non-profit organization in Northern Tanzania. Built with Elementor compatibility and designed for non-profit organizations.
Author: Kilo Code
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oreteti-initiative
Tags: nonprofit, charity, elementor-ready, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #F7F6F2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #2E7A4E;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: #333333;
}

/* Links */
a {
    color: #2E7A4E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F6B042;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2E7A4E;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: #F6B042;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 122, 78, 0.3);
}

.btn-accent {
    background-color: #F6B042;
    color: white;
}

.btn-accent:hover {
    background-color: #2E7A4E;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-large {
    padding: 10px 0;
}

.section-compact {
    padding: 60px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row + .row {
    margin-top: 30px;
}

.col {
    padding: 0 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-4 + .col-4 {
    margin-left: 30px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-logo {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E7A4E;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    margin: 0 20px 0 0;
}

.main-navigation a {
    color: #333333;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #2E7A4E;
}

/* Active menu item styling */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-ancestor > a {
    color: #2E7A4E;
    font-weight: 600;
    position: relative;
}

.main-navigation .current-menu-item > a::before,
.main-navigation .current-menu-parent > a::before,
.main-navigation .current-menu-ancestor > a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2E7A4E, #F6B042);
    border-radius: 1px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2E7A4E;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(46, 122, 78, 0.1);
    outline: 2px solid #2E7A4E;
    outline-offset: 2px;
}

.menu-toggle .fa-bars::before {
    content: '\f0c9';
}

.menu-toggle.toggled .fa-bars::before {
    content: '\f00d';
}

/* Submenu Styles */
.main-navigation .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.main-navigation li:hover .sub-menu,
.main-navigation li:focus-within .sub-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Position submenu under parent menu item */
.main-navigation li.menu-item-has-children {
    position: relative;
}

.main-navigation li.menu-item-has-children .sub-menu {
    left: 0;
    right: auto;
}

/* Always show parent menu items */
.main-navigation .menu-item-has-children > a {
    position: relative;
}

.main-navigation .menu-item-has-children > a::after {
    content: '▼';
    margin-left: 8px;
    font-size: 0.8em;
    opacity: 0.7;
    transition: all 0.3s ease;
    vertical-align: middle;
    display: inline-block;
    color: inherit;
}

.main-navigation li:hover .menu-item-has-children > a::after {
    transform: rotate(180deg);
    opacity: 1;
    color: #2E7A4E;
}

.main-navigation li.menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
}

.main-navigation .sub-menu li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
    background-color: rgba(46, 122, 78, 0.05);
    color: #2E7A4E;
    padding-left: 25px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 3;
    }

    .header-cta {
        display: none;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid #e0e0e0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-navigation.toggled {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .main-navigation li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .main-navigation a:hover,
    .main-navigation a:focus {
        background-color: rgba(46, 122, 78, 0.05);
        color: #2E7A4E;
    }

    /* Mobile Submenu */
    .main-navigation .sub-menu {
        position: static;
        display: none;
        background: rgba(46, 122, 78, 0.05);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }

    .main-navigation li.menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s ease;
    }

    .main-navigation li.menu-item-has-children.submenu-open > a::after {
        transform: rotate(180deg);
    }

    .main-navigation .sub-menu a {
        padding-left: 40px;
        font-size: 0.95rem;
    }

    /* Mobile CTA in menu */
    .main-navigation .header-cta-mobile {
        padding: 20px;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
    }

    .main-navigation .header-cta-mobile .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile active menu styling */
    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-parent > a,
    .main-navigation .current-menu-ancestor > a {
        background-color: rgba(46, 122, 78, 0.1);
        border-left: 3px solid #2E7A4E;
        padding-left: 17px;
    }
}

/* Hero Section */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F6B042;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #F6B042;
    color: white;
    border: 2px solid #F6B042;
}

.btn-primary:hover {
    background-color: white;
    color: #2E7A4E;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2E7A4E;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    margin: 10px auto 0;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    gap: 30px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2E7A4E;
}

.feature-item i {
    color: #F6B042;
    font-size: 1.2rem;
}

.about-image img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2E7A4E;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-info strong {
    display: block;
    color: #2E7A4E;
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F7F6F2 0%, #FFFFFF 100%);
}

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

.impact-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2E7A4E;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2E7A4E, #F6B042);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7A4E;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.newsletter-feature i {
    color: #F6B042;
    width: 20px;
}

.newsletter-form {
    max-width: 500px;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #F7F6F2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #2E7A4E;
}

.btn-solid {
    background: #F6B042;
    color: white;
    border: 2px solid #F6B042;
}

.btn-solid:hover {
    background: white;
    color: #2E7A4E;
    border-color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: #F6B042;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.card-title {
    color: #2E7A4E;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Counter Section */
.counter-section {
    background: #2E7A4E;
    color: white;
    text-align: center;
}

.counter {
    margin-bottom: 30px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #F6B042;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.post-card-content {
    padding: 20px;
}

.post-card h3 {
    color: #2E7A4E;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2E7A4E;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2E7A4E;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background: #2E7A4E;
    color: white;
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: #F6B042;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #F6B042;
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: white;
    font-size: 1rem;
}

.footer-section li {
    margin-bottom: 12px;
    line-height: 1.6;
}

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

.footer-section a {
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-section a:hover {
    color: #F6B042;
    transform: translateX(3px);
}

/* Footer contact info styling */
.footer-section p i {
    width: 18px;
    margin-right: 10px;
    color: #F6B042;
    opacity: 0.8;
}

/* Newsletter form in footer */
.footer-section .newsletter-form {
    margin-top: 20px;
}

.footer-section .newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-section .newsletter-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.footer-section .newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section .newsletter-input-group input:focus {
    border-color: #F6B042;
    outline: none;
}

.footer-section .newsletter-input-group .btn {
    padding: 12px 20px;
    background: #F6B042;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-section .newsletter-input-group .btn:hover {
    background: white;
    color: #2E7A4E;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: white;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #F6B042;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(246, 176, 66, 0.3);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #F6B042;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 70px 0;
    }

    .section-large {
        padding: 90px 0;
    }

    .section-compact {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-stats {
        gap: 15px;
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .row {
        flex-direction: column;
    }

    .col-4,
    .col-6,
    .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
    }

    .main-navigation li {
        margin: 0 0 10px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* New responsive styles */
    .about-features {
        flex-direction: column;
        gap: 15px;
        margin: 1.5rem 0;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .impact-card {
        padding: 35px 15px;
    }

    .impact-card {
        padding: 30px 20px;
    }

    .impact-number {
        font-size: 2rem;
    }

    .newsletter-features {
        gap: 10px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .partner-logo img {
        max-width: 110px;
    }

    .partner-logo img {
        max-width: 120px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-outline, .btn-solid {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .card {
        padding: 25px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .impact-card {
        padding: 25px 15px;
    }

    .impact-number {
        font-size: 2rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .partner-logo img {
        max-width: 100px;
    }
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility and UX improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for better accessibility */
.btn:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid #2E7A4E;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .card {
        border: 1px solid currentColor;
    }
}

/* Print styles */
@media print {
    .hero-section,
    .cta-section,
    .newsletter-section {
        display: none;
    }

    .section {
        padding: 20px 0;
    }

    .btn {
        display: none;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern animations and effects */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out;
}

/* Stagger animations */
.animate-stagger > * {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2E7A4E, #F6B042);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern button styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading support */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* WordPress Specific */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Block Editor Styles */
.block-editor-block-list__layout {
    font-family: 'Open Sans', sans-serif;
}

.block-editor-block-list__layout h1,
.block-editor-block-list__layout h2,
.block-editor-block-list__layout h3,
.block-editor-block-list__layout h4,
.block-editor-block-list__layout h5,
.block-editor-block-list__layout h6 {
    font-family: 'Merriweather', serif;
    color: #2E7A4E;
}

/* Loading states */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2E7A4E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}