/*
  Color Palette: Earthy Harmony
  - Primary Green: #2A4B35
  - Accent Orange: #E87A3D
  - Light Background: #F5F0E6
  - Dark Text: #333333
  - White: #FFFFFF
*/

:root {
    --primary-color: #2A4B35;
    --accent-color: #E87A3D;
    --background-color: #F5F0E6;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --card-bg-color: #FFFFFF;
    --border-color: #DDDDDD;
    --footer-bg-color: #1F3827;
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section-padding { padding: 60px 0; }
.section-padding-bottom { padding-bottom: 60px; }
.text-center { text-align: center; }
.section-title { margin-bottom: 30px; }
.section-intro { max-width: 800px; margin: 0 auto 40px; }

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--card-bg-color);
    padding: 15px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.hidden-toggle { display: none; }

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navigation-desktop ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navigation-desktop a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.navigation-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.navigation-desktop a:hover::after {
    width: 100%;
}

.navigation-mobile { display: none; }

@media (max-width: 768px) {
    .navigation-desktop { display: none; }
    .hamburger-menu { display: block; }

    .navigation-mobile {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-bg-color);
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .navigation-mobile ul {
        list-style: none;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .navigation-mobile a {
        display: block;
        padding: 10px;
        color: var(--text-color);
        font-weight: 500;
    }

    #menu-toggle:checked ~ .navigation-mobile {
        max-height: 500px;
    }
    
    #menu-toggle:checked ~ .hamburger-menu .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-toggle:checked ~ .hamburger-menu .line:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked ~ .hamburger-menu .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #d66a2e;
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-color);
}

.card-title {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .split-container > .split-image-wrapper {
        order: 1;
    }
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial-card footer {
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.cta-section .section-title, .cta-section h2 {
    color: var(--light-text-color);
}
.cta-section .btn-primary {
    background-color: var(--light-text-color);
    color: var(--primary-color);
}

/* --- Page Header --- */
.page-header-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header-section .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
}
.page-header-section .content-over-bg {
    position: relative;
    z-index: 2;
}
.page-header-section .page-title, .page-header-section .page-subtitle {
    color: var(--light-text-color);
}
.page-title { font-size: clamp(2.2rem, 5vw, 3rem); }

/* --- Timeline Section (Program Page) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--card-bg-color);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
@media (min-width: 768px) {.timeline-item:nth-child(even)::after { left: -10px; }}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg-color);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
}

/* --- FAQ Section (Program Page) --- */
.faq-container { max-width: 800px; }
.faq-accordion details {
    background: var(--card-bg-color);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.faq-accordion summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion p {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

/* --- Mission Page --- */
.mission-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image { border-radius: 12px; }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.manifesto-quote {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}
@media (min-width: 768px) {
    .mission-container { grid-template-columns: 2fr 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.info-item { margin-bottom: 20px; }
.info-item h3 { margin-bottom: 5px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 500; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}
.contact-form button { width: 100%; }
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

/* --- Legal & Thank You Pages --- */
.legal-container, .thank-you-section .container { max-width: 800px; }
.legal-section h2 { margin-top: 30px; }
.next-steps { margin-top: 40px; }
.next-steps-links { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 20px; }

/* --- Footer --- */
.site-footer-main {
    background-color: var(--footer-bg-color) !important;
    color: #CCCCCC !important;
    padding-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}
.footer-title {
    color: var(--light-text-color) !important;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.footer-about p, .footer-contact p {
    margin-bottom: 10px;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: #CCCCCC !important;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--accent-color) !important;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    text-align: center;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { font-weight: bold; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.cookie-btn-decline {
    background-color: #e0e0e0;
    color: var(--text-color);
}
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
.full-width-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}