/*
  Palette: Lavender Dusk
  --color-bg-light: #F9F3E5; (Warm Sand)
  --color-bg-soft: #EADAF7; (Light Lavender)
  --color-accent-medium: #C3AED6; (Mid Lavender)
  --color-text-dark: #3F324D;
  --color-primary: #7E5A9B; (Deep Purple)
  --color-white: #FFFFFF;
  --color-black: #111111;
*/

:root {
    --color-bg-light: #F9F3E5;
    --color-bg-soft: #EADAF7;
    --color-accent-medium: #C3AED6;
    --color-text-dark: #3F324D;
    --color-primary: #7E5A9B;
    --color-white: #FFFFFF;
    --color-black: #111111;
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --shadow-dramatic: 0 24px 64px rgba(63, 50, 77, 0.22);
    --shadow-dramatic-hover: 0 32px 80px rgba(63, 50, 77, 0.30);
    --border-radius-card: 16px;
    --border-radius-btn: 8px;
}

/* --- Global Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: clamp(16px, 1.5vw, 18px);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-card);
}

/* --- Layout Components --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding-top: clamp(60px, 10vw, 100px);
    padding-bottom: clamp(60px, 10vw, 100px);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 24px;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-accent-medium);
}
.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(--color-primary);
}
.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-text-dark);
    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;
}
.desktop-nav .nav-list a {
    font-weight: 600;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    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(--color-primary);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: var(--shadow-dramatic);
}
.mobile-nav ul { list-style: none; padding: 20px; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { color: var(--color-white); font-weight: 600; }

/* --- Hero Section (Split Color) --- */
.hero-split-color {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
}
.hero-content-area {
    background: linear-gradient(135deg, var(--color-bg-soft), var(--color-accent-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
}
.hero-text-wrapper {
    max-width: 550px;
}
.hero-title {
    color: var(--color-text-dark);
    margin-bottom: 20px;
}
.hero-subtitle {
    margin-bottom: 30px;
    font-size: 1.1rem;
}
.hero-image-area {
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dramatic);
    color: var(--color-white);
}
.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dramatic);
    color: var(--color-primary);
}

/* --- Benefits Horizontal Scroll --- */
.section-benefits-hscroll {
    background-color: var(--color-bg-light);
}
.benefits-scroll-container {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-medium) transparent;
}
.benefits-scroll-wrapper {
    display: flex;
    gap: 24px;
    width: max-content;
}
.benefit-card-h {
    flex: 0 0 300px;
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card-h:hover {
    transform: translateY(-8px);
}
.benefit-title-h {
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder-gallery, .placeholder-gallery-alt {
    min-height: 250px;
    border-radius: var(--border-radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-gallery { background: linear-gradient(45deg, var(--color-accent-medium), var(--color-bg-soft)); }
.placeholder-gallery-alt { background: linear-gradient(45deg, var(--color-primary), var(--color-accent-medium)); }
.placeholder-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* --- CTA Banner --- */
.cta-banner-section {
    background: linear-gradient(110deg, var(--color-primary) 0%, var(--color-accent-medium) 100%);
    padding: 60px 20px;
    color: var(--color-white);
    border-radius: 48px;
    margin: 60px 20px;
}
.cta-banner-content { text-align: center; }
.cta-banner-title { color: var(--color-white); margin-bottom: 16px; }
.cta-banner-text { margin-bottom: 32px; opacity: 0.9; }

/* --- Testimonials List --- */
.testimonials-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}
.testimonial-item {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-bg-soft);
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: bold;
    display: block;
}
.testimonial-rating {
    color: #f5c518;
}
.testimonial-text {
    font-style: italic;
    color: #444;
}

/* --- Two Column Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-image img {
    box-shadow: var(--shadow-dramatic);
}
.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* --- Program Page: Numbered Sections --- */
.page-header-section {
    background: linear-gradient(135deg, var(--color-bg-soft), var(--color-accent-medium));
    text-align: center;
    padding: 80px 20px;
}
.page-title { color: var(--color-text-dark); }
.page-subtitle { max-width: 700px; margin: 16px auto 0; }
.numbered-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 80px;
}
.numbered-section-number {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 800;
    color: var(--color-accent-medium);
    line-height: 1;
}
.numbered-section-title {
    margin-bottom: 16px;
}
.numbered-section-image {
    margin-top: 24px;
    box-shadow: var(--shadow-dramatic);
}
.cta-section-alt {
    background-color: var(--color-bg-soft);
    text-align: center;
}

/* --- Mission Page: Grid Values --- */
.mission-story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.section-values {
    background-color: var(--color-bg-soft);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: var(--color-white);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    text-align: center;
}
.value-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}
.manifest-container {
    max-width: 800px;
    text-align: center;
}
.manifesto-quote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 4px solid var(--color-primary);
    padding-left: 24px;
    margin-top: 30px;
}

/* --- Contact Page --- */
.centered-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.form-title { text-align: center; margin-bottom: 30px; }
.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;
    border: 1px solid var(--color-accent-medium);
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--color-primary);
    border-color: transparent;
}
.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}
.contact-info-cards-section { background-color: var(--color-bg-soft); }
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.contact-info-card {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: var(--border-radius-card);
    text-align: center;
}
.contact-card-title { margin-bottom: 12px; }

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 900px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h1, .legal-page h2 { margin-bottom: 16px; margin-top: 32px; }
.legal-page p, .legal-page li { margin-bottom: 12px; }
.thank-you-icon { font-size: 4rem; margin-bottom: 20px; }
.thank-you-actions { margin-top: 40px; }
.action-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.next-steps { margin-top: 40px; background-color: var(--color-bg-soft); padding: 20px; border-radius: var(--border-radius-card); }

/* --- Footer --- */
.site-footer {
    background-color: var(--color-text-dark) !important;
    color: var(--color-white) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--color-white);
    margin-bottom: 16px;
}
.site-footer a {
    color: var(--color-accent-medium) !important;
}
.site-footer a:hover {
    color: var(--color-white) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li, .footer-contact p {
    margin-bottom: 8px;
}
.footer-copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--color-accent-medium); 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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept { background-color: var(--color-primary); color: var(--color-white); border: 1px solid var(--color-primary); }
.cookie-btn-decline { background-color: transparent; color: var(--color-white); border: 1px solid var(--color-white); }


/* --- Media Queries (Mobile First) --- */

@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); }
}

@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; }
}

@media (min-width: 768px) {
    .hero-split-color { grid-template-columns: 1fr 1fr; }
    .hero-image-area { min-height: auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-container { grid-template-columns: 1fr 1fr; }
    .two-col-section .two-col-container:nth-child(2n) .two-col-image { order: 2; } /* Example for alternating layout */
    .numbered-section { grid-template-columns: 150px 1fr; }
    .numbered-section.reverse .numbered-section-number { text-align: right; }
    .numbered-section.reverse { grid-template-columns: 1fr 150px; }
    .numbered-section.reverse .numbered-section-content { order: -1; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}