/* Palette: Pastel Terracotta & Cream */
:root {
    --primary-color: #E59866; /* Soft Orange/Terracotta */
    --secondary-color: #FAD7A0; /* Pastel Yellow/Cream */
    --accent-color: #E74C3C; /* Soft Red for highlights */
    --dark-bg: #2C2521; /* Dark Brown/Charcoal */
    --light-bg: #FDF5E6; /* Very Light Beige/Off-white */
    --text-dark: #3D352E;
    --text-light: #FDF5E6;
    --border-color: #D5D5D5;
    --border-color-dark: #554a43;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: clamp(16px, 2vw, 18px);
}

h1, h2, h3 {
    margin: 0 0 16px 0;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

p { margin: 0 0 16px 0; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }
ul { list-style-position: inside; padding-left: 0; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}
.dark-section .section-title, .dark-section .section-subtitle {
    color: var(--text-light);
}
.dark-section a {
    color: var(--secondary-color);
}
.dark-section a:hover {
    color: var(--primary-color);
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-title {
    color: var(--text-dark);
    margin-bottom: 8px;
}
.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    color: var(--text-light);
}
.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(--primary-color);
}
.logo:hover {
    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(--text-light);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}
.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 {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after {
    width: 100%;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--dark-bg);
}
.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}
.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color-dark);
}
.mobile-nav a {
    color: var(--text-light);
    font-size: 1.2rem;
    display: block;
    width: 100%;
}

@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 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.dark-section .btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.dark-section .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

/* --- Hero Section (Asymmetric) --- */
.hero-section-asymmetric {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}
.hero-container-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}
.hero-content-asymmetric {
    z-index: 2;
}
.hero-title {
    color: var(--primary-color);
}
.hero-image-wrapper-asymmetric {
    position: relative;
}
.hero-image-asymmetric {
    border-radius: 24px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) {
    .hero-container-asymmetric {
        grid-template-columns: 1fr 1.2fr;
        gap: 64px;
    }
    .hero-image-wrapper-asymmetric {
        transform: translateX(15%);
    }
}

/* --- Benefits Section (Asymmetric Grid) --- */
.benefits-grid-asymm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card-asymm {
    background-color: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}
.benefit-card-asymm:hover {
    transform: translateY(-5px);
}
.benefit-card-asymm .card-title {
    color: var(--primary-color);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .benefits-grid-asymm {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card {
        grid-column: 1 / -1;
    }
}
@media (min-width: 1024px) {
    .benefits-grid-asymm {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-card {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

/* --- Two Column Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-image {
    border-radius: 24px;
}
.styled-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}
.styled-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.dark-section .styled-list li::before {
    color: var(--secondary-color);
}

@media (min-width: 768px) {
    .two-col-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Quote Section --- */
.quote-section {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}
.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-icon {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.5;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}
.quote-text {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 24px;
}
.quote-author {
    font-weight: 600;
    font-style: normal;
}

/* --- Testimonials Section --- */
.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color-dark);
    padding: 24px;
    border-radius: 16px;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    flex-shrink: 0;
}
.testimonial-name {
    margin: 0;
    font-weight: bold;
}
.testimonial-rating {
    color: var(--secondary-color);
    font-size: 14px;
}
.testimonial-text {
    font-style: italic;
    margin: 0;
}

@media (min-width: 768px) {
    .testimonials-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--primary-color);
    padding: 40px 0;
    color: var(--dark-bg);
}
.stats-bar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}
.stat-label {
    font-size: 1rem;
    font-weight: 500;
}

/* --- Inner Page Hero --- */
.section-hero-inner {
    padding: 60px 0;
    text-align: center;
}
.page-title { margin-bottom: 16px; }
.page-subtitle { max-width: 800px; margin: 0 auto; opacity: 0.9; }

/* --- Program Page (Numbered Sections) --- */
.numbered-section-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
    align-items: center;
}
.numbered-section-number {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.3;
}
.numbered-section-content {
    flex: 1;
}
.content-image-rounded {
    border-radius: 24px;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .numbered-section-item {
        flex-direction: row;
        gap: 48px;
        text-align: left;
    }
    .numbered-section-item.reverse {
        flex-direction: row-reverse;
        text-align: right;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}
.cta-container {
    text-align: center;
    color: var(--dark-bg);
}
.cta-container h2 {
    color: var(--dark-bg);
}
.cta-container .btn-primary {
    background-color: var(--dark-bg);
    color: var(--text-light);
}
.cta-container .btn-primary:hover {
    background-color: #000;
}

/* --- Mission Page (Split Layout & Values) --- */
.split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.split-layout-image {
    border-radius: 24px;
}
@media (min-width: 992px) {
    .split-layout-container {
        grid-template-columns: 1fr 1.2fr;
    }
}
.values-section {
    background-color: #fff;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}
.value-title {
    color: var(--primary-color);
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Contact Page --- */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-submit-btn {
    width: 100%;
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    color: var(--primary-color);
}
.contact-info-block p {
    margin: 0;
}
@media (min-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 40px;
}
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}
.thank-you-divider {
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 32px auto;
    border-radius: 3px;
}
.thank-you-links {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer h3 {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.footer-logo {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    font-weight: bold;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 10px;
}
.site-footer a {
    color: var(--text-light) !important;
}
.site-footer a:hover {
    color: var(--secondary-color) !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-color-dark);
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
}
.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-bg);
    color: var(--text-light);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    border-top: 2px solid var(--primary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#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-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--border-color-dark);
    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; }
}