/* 
Color Palette: Forest Green & Warm Sand
Primary: #2c3c5f
Secondary: #97BC62
Accent: #D4A373
Background: #FAFAFA
Text: #333333
*/

:root {
    --primary: #2c3c5f;
    --secondary: #629fbc;
    --accent: #D4A373;
    --bg-color: #FAFAFA;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { margin-bottom: 15px; }

.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-submit {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background-color: #1e421f; }

.btn-secondary {
    background-color: var(--accent);
    color: var(--white);
}
.btn-secondary:hover { background-color: #b88a5e; }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Header Layout (Strict Rules) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    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);
    z-index: 100;
}

.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);
    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;
    transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--secondary); }

.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(--white);
    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;
    border-bottom: 1px solid var(--border);
}

@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);
    }
}

/* --- VERSION 4 UNIQUE LAYOUTS --- */

/* Hero V4 Grid */
.hero-v4 {
    padding: 60px 0;
    background-color: var(--white);
}
.hero-v4-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-v4-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-image-wrapper {
        position: relative;
        padding-right: 40px;
    }
    .hero-img-overlap {
        border-radius: 8px;
        box-shadow: 20px 20px 0 var(--secondary);
    }
}
.badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}
.intro-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}
.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}
.intro-content {
    column-count: 1;
    column-gap: 40px;
}
@media (min-width: 768px) {
    .intro-content { column-count: 2; }
}

/* Benefits 2x2 Grid */
.benefits-section {
    padding: 80px 0;
    background-color: var(--white);
}
.benefits-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-2x2 { grid-template-columns: 1fr 1fr; }
}
.benefit-card-v4 {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid var(--accent);
    transition: transform 0.3s;
}
.benefit-card-v4:hover {
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
    opacity: 0.5;
    margin-bottom: 15px;
}

/* Split Info Section */
.split-info-section {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
}
.split-info-section h2 { color: var(--white); }
.split-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-info-grid { grid-template-columns: 1fr 1fr; }
}
.split-image img {
    border-radius: 8px;
    border: 10px solid rgba(255,255,255,0.1);
}
.split-text .btn-outline {
    border-color: var(--white);
    color: var(--white);
    margin-top: 20px;
}
.split-text .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Stats Grid V4 */
.gallery-stats-section {
    padding: 80px 0;
}
.stats-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .stats-grid-v4 { grid-template-columns: repeat(3, 1fr); }
}
.stat-box {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 10px; }

/* Numbered Modules (Program) */
.numbered-modules-section {
    padding: 80px 0;
}
.numbered-module {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
@media (min-width: 768px) {
    .numbered-module {
        grid-template-columns: 150px 1fr;
        align-items: start;
    }
    .reverse-module {
        grid-template-columns: 1fr 150px;
    }
    .reverse-module .module-number {
        order: 2;
        text-align: right;
    }
    .reverse-module .module-content {
        order: 1;
    }
}
.module-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--secondary);
    line-height: 1;
    opacity: 0.3;
}
.module-number-small {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
}
.with-image {
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .with-image { grid-template-columns: 1fr 1fr; align-items: center; }
}
.module-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Grid */
.faq-grid-section {
    padding: 60px 0 100px;
    background-color: var(--white);
}
.faq-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .faq-grid-v4 { grid-template-columns: 1fr 1fr; }
}
.faq-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

/* Mission Split Section */
.mission-split-section {
    padding: 80px 0;
}
.mission-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .mission-split-grid { grid-template-columns: 40% 1fr; }
}
.sticky-image {
    position: sticky;
    top: 100px;
    border-radius: 8px;
}
.margin-top-large {
    margin-top: 50px;
}
.values-list-v4 {
    list-style: none;
}
.values-list-v4 li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
}
.values-list-v4 strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Manifesto */
.manifesto-section {
    padding: 60px 0 100px;
}
.manifesto-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-radius: 12px;
}
.manifesto-box h2 { color: var(--accent); }
.manifesto-text {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Center Layout */
.contact-center-layout {
    padding: 80px 0;
}
.form-wrapper-center {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.form-intro {
    margin-bottom: 30px;
    color: var(--text-light);
}
.contact-form {
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    background-color: var(--primary);
    color: var(--white);
}
.btn-submit:hover { background-color: #1e421f; }

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-info-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
}
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}
.small-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
    background-color: var(--white);
}
.legal-container {
    max-width: 800px;
}
.legal-container h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}
.legal-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}
.legal-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.text-center { text-align: center; }
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}
.next-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.thank-you-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    padding: 60px 0 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a:hover {
    text-decoration: underline;
}
.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* 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;
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(0); 
    transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--secondary); color: #fff; }
.cookie-btn-decline { background-color: transparent; border: 1px solid #fff; color: #fff; }

@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; }
}