/* 
   Color Palette: Earthy Vitality
   Colors: Forest Green (#5c2e54), Terracotta (#D96C4A), Sand (#F4EBD9), Dark Charcoal (#2C2C2C)
*/
:root {
    --color-primary: #5c2e54;
    --color-secondary: #D96C4A;
    --color-bg: #F4EBD9;
    --color-text: #2C2C2C;
    --color-white: #ffffff;
    --color-light: #f9f6f0;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    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;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.bg-light { background-color: var(--color-light); }

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #c05a3b;
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #224624;
}

.btn-full {
    width: 100%;
}

/* Header Layout (Strict Rules) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.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(--color-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(--color-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: 600;
    color: var(--color-text);
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--color-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(--color-white);
    box-shadow: 0 5px 10px 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 #eee;
}

.mobile-nav a {
    color: var(--color-text);
    font-weight: bold;
    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); }
}

/* --- VERSION 2 UNIQUE COMPONENTS --- */

/* 1. Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 60px 20px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(36px, 5vw, 54px);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        align-items: center;
    }
    .hero-content {
        width: 50%;
        padding: 80px 5% 80px 10%;
    }
    .hero-image-wrapper {
        width: 50%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* 2. Overlapping Stats */
.stats-overlap-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--color-secondary);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

@media (min-width: 576px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 3. 2x2 Grid Benefits */
.benefits-2x2-section {
    padding: 80px 0;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-box {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .grid-2x2 { grid-template-columns: 1fr 1fr; }
}

/* 4. Split Content with Accordion */
.content-split-accordion {
    padding: 80px 0;
    background-color: var(--color-white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.rounded-img {
    border-radius: 16px;
}

.shadow-img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.custom-accordion {
    margin-top: 30px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.accordion-title {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: 18px;
}

.accordion-content p {
    color: #666;
    margin: 0;
}

@media (min-width: 992px) {
    .split-layout { grid-template-columns: 1fr 1fr; }
}

/* 5. Masonry Reviews */
.masonry-reviews-section {
    padding: 80px 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.masonry-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: bold;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .masonry-grid { grid-template-columns: 1fr 1fr; }
    .masonry-card:nth-child(even) { transform: translateY(30px); }
}

/* 6. Numbered Modules (Program Page) */
.page-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    color: var(--color-white);
    font-size: clamp(32px, 5vw, 48px);
}

.page-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.numbered-modules-section {
    padding: 80px 0;
}

.numbered-module {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.module-number {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 60px;
    font-weight: bold;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-content {
    padding: 40px;
}

.module-content p {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .numbered-module { flex-direction: row; }
    .numbered-module.reverse { flex-direction: row-reverse; }
    .module-number { width: 200px; font-size: 80px; }
    .module-content { flex: 1; padding: 60px; }
}

/* 7. Parallax Divider */
.parallax-divider {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    position: relative;
    margin: 60px 0;
    border-radius: 16px;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(46, 92, 49, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.parallax-overlay h3 {
    color: var(--color-white);
    font-size: clamp(24px, 3vw, 36px);
    font-style: italic;
    max-width: 800px;
}

/* 8. Vertical Timeline (Mission Page) */
.mission-hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    position: relative;
}

.mission-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-section {
    padding: 80px 0;
}

.vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 4px;
    background: var(--color-primary);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border-radius: 50%;
    border: 4px solid var(--color-bg);
}

.timeline-date {
    font-weight: bold;
    color: var(--color-secondary);
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .vertical-timeline::before { left: 50%; transform: translateX(-50%); }
    .timeline-item { width: 50%; padding-left: 0; padding-right: 40px; }
    .timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 40px; }
    .timeline-item:nth-child(odd) .timeline-dot { right: -10px; left: auto; }
    .timeline-item:nth-child(even) .timeline-dot { left: -10px; }
    .timeline-item:nth-child(odd) { text-align: right; }
}

/* 9. Values Grid */
.values-section {
    padding: 80px 0;
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--color-primary);
}

@media (min-width: 768px) {
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }
}

/* 10. Sidebar Contact Layout */
.contact-sidebar-section {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-sidebar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
}

.contact-sidebar h3 {
    color: var(--color-white);
}

.contact-detail-item {
    margin-top: 25px;
}

.contact-detail-item strong {
    display: block;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.contact-main-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1fr 2fr; }
}

/* Forms */
.custom-form {
    max-width: 800px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
    background: var(--color-white);
}

.legal-content h1 { margin-bottom: 10px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 15px; font-size: 24px; }
.legal-content p { margin-bottom: 15px; }

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.thank-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.thank-you-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cta-center-section {
    margin-bottom: 30px;
}
/* Footer */
.site-footer {
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand p { margin-top: 15px; }
.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 10px; }
.footer-links a:hover, .footer-legal a:hover { text-decoration: underline; }

@media (min-width: 768px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: #1a1a1a;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    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: 14px; }
#cookie-banner a { color: var(--color-secondary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { background: var(--color-primary); color: #fff; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; }
.cookie-btn-decline { background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 16px; cursor: pointer; border-radius: 4px; }

@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; }
}