/* Color Palette: Earthy Vision */
:root {
    --primary-color: #D97958; /* Terracotta */
    --secondary-color: #4A3F35; /* Dark Brown */
    --accent-color: #E8C8A4; /* Beige */
    --bg-color: #FDFBF8; /* Off-white */
    --bg-light: #F5F1ED;
    --text-color: #333333;
    --text-light: #FFFFFF;
    --border-color: #ddd;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

.section-padding-light {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px 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;
    z-index: 100;
    color: var(--secondary-color);
}

.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(--secondary-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: 500;
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--secondary-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    display: block;
}

@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);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #c56a4a;
    color: var(--text-light);
    transform: translateY(-2px);
}

.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(--text-light);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: url('img/bg.jpg') no-repeat center center/cover;
}

.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: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Intro Section --- */
.intro-section .section-intro-text {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}

/* --- 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-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- 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-container.reverse {
        grid-template-columns: 1fr 1fr;
    }
    .split-container.reverse .split-content {
        order: 2;
    }
    .split-container.reverse .split-image {
        order: 1;
    }
}

.split-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--bg-color);
    padding: 25px;
    border-left: 5px solid var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-container {
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 30px;
    border-radius: 8px;
}

.cta-title {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-text {
    margin-bottom: 30px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: #ccc !important;
    padding: 50px 0 0;
}

.site-footer a:hover {
    color: var(--text-light) !important;
}

.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: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-heading {
    color: var(--text-light) !important;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc !important;
}

.footer-links a:hover {
    color: var(--text-light) !important;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding: 20px 0;
    text-align: center;
}

/* --- Page Header --- */
.page-header {
    background-color: var(--bg-light);
    text-align: center;
}

.page-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
}

/* --- Program Page: Timeline --- */
.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(--bg-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--bg-light);
    position: relative;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        left: 0 !important;
    }
    .timeline-item::after, .timeline-item:nth-child(even)::after {
        left: 10px;
    }
}

/* --- Program Page: Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

/* --- Program Page: FAQ --- */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item h4 {
    color: var(--secondary-color);
}

/* --- Mission Page --- */
.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.values-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.manifesto-content blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 25px;
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* --- Contact Page --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 2fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-item h4 {
    color: var(--primary-color);
}

/* --- Legal & Thank You Pages --- */
.legal-page h2 {
    margin-top: 30px;
}

.thank-you-actions {
    margin-top: 40px;
}

.action-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.next-steps {
    margin-top: 50px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--secondary-color);
    color: var(--text-light);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.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(--text-light);
}
.cookie-btn-decline {
    background-color: #777;
    color: var(--text-light);
}
@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; }
}