/* 
Color Palette: Forest Green & Terracotta (No Blue)
Primary: #2E4F3B (Forest Green)
Secondary: #D96C4A (Terracotta)
Background: #F4EBD9 (Sand)
Text: #222222 (Charcoal)
*/

:root {
    --primary-color: #2E4F3B;
    --secondary-color: #D96C4A;
    --bg-color: #F4EBD9;
    --bg-light: #FFFFFF;
    --text-main: #222222;
    --text-muted: #555555;
    --white: #FFFFFF;
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-800 {
    max-width: 800px;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--bg-color);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.content-paragraph {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c05a3a;
}

.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(--white);
}

.btn-full {
    width: 100%;
}

/* Header Layout (Strictly as requested) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary-color);
    color: var(--white);
}

.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(--white);
}

.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;
    margin: 5px 0;
    background-color: var(--white);
    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:hover {
    color: var(--secondary-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(--primary-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);
}

@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); }
}

/* UNIQUE HERO: Floating Card */
.hero-floating-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-xl);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-wrapper {
    position: relative;
    z-index: 2;
}

.hero-floating-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 5px solid var(--secondary-color);
}

.hero-badge {
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    margin-top: var(--spacing-md);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* UNIQUE: Asymmetrical Split */
.split-layout-asym {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout-asym {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.image-decorative-border {
    position: relative;
    padding: 20px 0 0 20px;
}

.image-decorative-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
}

/* UNIQUE: 5 Cards Asymmetrical Grid */
.asym-grid-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .asym-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large:nth-child(1) { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    .asym-grid-5 {
        grid-template-columns: repeat(6, 1fr);
    }
    .card-large { grid-column: span 3; }
    .card-small { grid-column: span 2; }
}

.benefit-card-v3 {
    background: var(--white);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card-v3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 16px;
}

/* UNIQUE: Circular Stats */
.stats-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

@media (min-width: 576px) {
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stat-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    color: var(--text-muted);
}

/* UNIQUE: Masonry Testimonials */
.masonry-grid {
    column-count: 1;
    column-gap: 24px;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .masonry-grid { column-count: 2; }
}

@media (min-width: 1024px) {
    .masonry-grid { column-count: 3; }
}

.masonry-item {
    break-inside: avoid;
    background: var(--white);
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.quote-mark {
    font-size: 4rem;
    color: var(--bg-color);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    font-family: serif;
}

.testimonial-author {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

/* UNIQUE: Numbered Modules (Program) */
.page-header-minimal {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    text-align: center;
    background-color: var(--bg-color);
}

.module-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

@media (min-width: 768px) {
    .module-block {
        grid-template-columns: 100px 1fr;
        gap: 40px;
    }
    .module-block.reverse-layout {
        grid-template-columns: 1fr 100px;
        text-align: right;
    }
    .module-block.reverse-layout .module-number {
        grid-column: 2;
        grid-row: 1;
    }
    .module-block.reverse-layout .module-content {
        grid-column: 1;
        grid-row: 1;
    }
}

.module-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
    opacity: 0.3;
}

/* Image Break */
.program-image-break {
    margin: var(--spacing-lg) 0;
}

.image-banner-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    padding: 20px 40px;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
}

.faq-card {
    background: var(--white);
    padding: 24px;
    border-top: 3px solid var(--primary-color);
}

/* UNIQUE: Mission Storytelling */
.mission-hero-split {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .mission-hero-split { grid-template-columns: 1fr 1fr; }
}

.mission-hero-text {
    padding: var(--spacing-lg) 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
}

.mission-hero-text .page-title,
.mission-hero-text .page-subtitle {
    color: var(--white);
}

.mission-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.story-block {
    margin-bottom: var(--spacing-md);
    padding-left: 20px;
    border-left: 2px solid var(--secondary-color);
}

.story-year {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.story-image-inline {
    margin: var(--spacing-md) 0;
}

/* Values Grid */
.values-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .values-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.value-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
}

/* UNIQUE: Contact Layout */
.form-centered-wrapper {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.form-box {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .contact-cards-row { grid-template-columns: repeat(3, 1fr); }
}

.contact-info-card {
    background: var(--bg-color);
    padding: 24px;
    text-align: center;
}

/* Legal Pages */
.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 20px;
}

/* Thank You Page */
.success-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.next-steps-box {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-color);
}

.next-steps-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer (Hardcoded colors to prevent translation issues) */
.site-footer {
    background-color: #222222 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF !important;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-desc {
    color: #CCCCCC !important;
}

.footer-title {
    color: #FFFFFF !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.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: #D96C4A !important;
}

.footer-contact p {
    color: #CCCCCC !important;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444444 !important;
    color: #999999 !important;
    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: #222222;
    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-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;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: #FFFFFF;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

@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; }
}