/* 
   Color Palette: Earthy Wellness (No Blue)
   Primary: Forest Green (#4a432e)
   Secondary: Terracotta (#C86B53)
   Accent: Sand (#E8D8C8)
   Background: Off-White (#F9F8F6)
   Text: Dark Charcoal (#2C2C2C)
*/

:root {
    --primary: #4a432e;
    --secondary: #643427;
    --accent: #E8D8C8;
    --bg-color: #F9F8F6;
    --text-main: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1.2rem; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--white); }
.bg-dark { background-color: var(--primary); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark p { color: var(--white); }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b05a44;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* =========================================
   MANDATORY HEADER STYLES
   ========================================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary);
    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(--accent);
}

.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);
}

.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); }
}

/* =========================================
   INDEX.HTML UNIQUE COMPONENTS (V3)
   ========================================= */

/* Floating Hero */
.hero-floating {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(46, 74, 61, 0.7); /* Primary color overlay */
}

.floating-card {
    background: var(--white);
    padding: 50px;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-radius: 20px;
}

/* Asymmetrical Split */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

/* Asymmetrical Grid (5 Cards) */
.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .asym-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .asym-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-large {
        grid-row: span 2;
    }
    .card-wide {
        grid-column: span 2;
    }
}

.asym-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 3px solid var(--accent);
}

/* Clip-path Feature */
.clip-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .clip-container {
        grid-template-columns: 1fr 1fr;
    }
}

.clip-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Grid FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-item {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* =========================================
   PROGRAM.HTML COMPONENTS
   ========================================= */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 60px;
}

.page-header h1 { color: var(--white); }
.subtitle { font-size: 1.2rem; opacity: 0.9; }

/* Numbered Modules */
.num-module {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .num-module {
        grid-template-columns: 100px 1fr;
        gap: 40px;
    }
    .num-module.reverse {
        grid-template-columns: 1fr 100px;
        text-align: right;
    }
    .num-module.reverse .num-indicator {
        order: 2;
    }
    .num-module.reverse .num-content {
        order: 1;
    }
}

.num-indicator {
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
}

.num-content h2 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

/* Circular Stats */
.stats-circle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-circle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.circle-stat .circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 0 auto 20px;
}

.circle-stat p {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Image Banner */
.image-banner {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

.banner-overlay {
    background: rgba(46, 74, 61, 0.85);
    padding: 40px;
    color: var(--white);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-overlay h3 { color: var(--white); }

/* =========================================
   MISSION.HTML COMPONENTS
   ========================================= */
/* Vertical Storytelling */
.story-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

@media (min-width: 768px) {
    .story-row {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .story-row.reverse .story-text { order: 2; }
    .story-row.reverse .story-image { order: 1; }
}

.year-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--accent);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 600px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-box {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
}

/* =========================================
   CONTACT.HTML COMPONENTS
   ========================================= */
.form-wrapper-centered {
    max-width: 800px;
    margin: 0 auto 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    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;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-cards-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .contact-cards-bottom {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

.contact-card h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

/* =========================================
   LEGAL & THANK YOU PAGES
   ========================================= */
.legal-container {
    max-width: 800px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--secondary);
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* =========================================
   MANDATORY FOOTER STYLES
   ========================================= */
.site-footer {
    background-color: #1A2A22 !important; /* Hardcoded dark green */
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.site-footer h4 {
    color: #E8D8C8 !important; /* Hardcoded accent */
    margin-bottom: 20px;
}

.site-footer p, .site-footer a {
    color: #CCCCCC !important;
}

.site-footer a:hover {
    color: #FFFFFF !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.85rem;
    margin-top: 20px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   MANDATORY COOKIE BANNER STYLES
   ========================================= */
#cookie-banner {
    position: fixed; 
    bottom: 0; left: 0; right: 0; 
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--primary);
    color: var(--white);
    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 -5px 15px 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);
    font-size: 0.9rem;
}

#cookie-banner a {
    color: var(--accent);
    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: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--secondary);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

@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; }
}