/* Earthy Palette */
:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #D2B48C; /* Tan */
    --accent-color: #A0522D; /* Sienna */
    --background-color: #F5F5DC; /* Beige */
    --text-color: #3D2B1F; /* Bistre */
    --white-color: #FFFFFF;
    --light-gray: #f9f9f9;
    --footer-bg: #3D2B1F;
    --footer-text: #F5F5DC;
    
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-secondary: 'Georgia', serif;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

ul {
    list-style: none;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
}

/* Header */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 100;
}

.logo:hover {
    text-decoration: none;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-weight: bold;
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    font-weight: bold;
    color: var(--text-color);
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hero Section */
.hero-fullscreen {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}
.split-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse;
}
@media(min-width: 992px) {
    .reverse-on-mobile {
        display: grid;
        flex-direction: initial;
    }
}


/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--accent-color);
    color: var(--white-color);
}
.cta-container { text-align: center; }
.cta-title, .cta-container p { color: var(--white-color); }
.cta-title { margin-bottom: 20px; }
.cta-container .btn-secondary {
    border-color: var(--white-color);
    color: var(--white-color);
}
.cta-container .btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--accent-color);
}

/* Page Hero */
.page-hero {
    background-color: var(--light-gray);
    text-align: center;
    padding: 40px 0;
}
.page-title { margin-bottom: 10px; }
.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Program Timeline */
.program-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.program-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 18px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    padding-left: 60px;
}
.timeline-marker {
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    z-index: 1;
}
.timeline-content {
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 6px;
}
.timeline-title {
    margin-top: 0;
}

/* FAQ Section */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white-color);
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.faq-question {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: block;
}
.faq-answer {
    padding: 0 20px 20px;
}

/* Mission Page */
.values-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}
.value-card {
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
}
.manifesto-section { background-color: var(--light-gray); }
.manifesto-text blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media(min-width: 992px) {
    .contact-grid-container {
        grid-template-columns: 2fr 1fr;
    }
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-submit-btn { width: 100%; }
.contact-info-item { margin-bottom: 20px; }
.contact-info-item h3 { color: var(--text-color); }

/* Legal & Thank You Pages */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-content h2 { margin-top: 30px; }
.thank-you-links { margin-top: 30px; display: flex; gap: 15px; justify-content: center; }

/* Footer */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 40px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.footer-heading {
    color: var(--white-color) !important;
    margin-bottom: 15px;
}
.site-footer p, .site-footer a {
    color: var(--footer-text) !important;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
}
.footer-bottom p {
    margin: 0;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--text-color);
    color: var(--white-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--white-color); }
#cookie-banner a { color: var(--secondary-color); 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: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: #777;
    color: var(--white-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; }
}

.content-image {
    max-width: 100%;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}