/*
 * Design System:
 * design-style: soft-organic
 * border-style: sharp
 * shadow-style: dramatic
 * color-mode: light
 *
 * Color Palette: Pastel Lavender & Rose
 * Primary: #D8BFD8 (Thistle)
 * Secondary: #E6E6FA (Lavender)
 * Accent: #FFC0CB (Pink)
 * Text: #4B3A4B (Dark Purple)
 * Background: #FFF9FB (Snowy Mint)
*/

:root {
    --color-primary: #D8BFD8;
    --color-secondary: #E6E6FA;
    --color-accent: #FFC0CB;
    --color-text: #4B3A4B;
    --color-background: #FFF9FB;
    --color-white: #FFFFFF;
    --color-dark: #333333;
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--color-accent);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    font-size: 1.1rem;
    color: #666;
}


/* --- Header --- */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 15px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-text);
}
.logo:hover { text-decoration: none; }

.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-dark);
    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;
}
.desktop-nav .nav-list a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    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-white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-secondary);
    text-align: center;
}
.mobile-nav li a {
    font-size: 1.2rem;
    color: var(--color-text);
    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;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0; /* sharp */
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-background) 70%);
}

.hero-grid-overlap {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}

.hero-image-container-overlap {
    position: relative;
    z-index: 1;
}
.hero-image-overlap {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 24px 64px rgba(75, 58, 75, 0.3); /* dramatic */
}

.hero-content-overlap {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 32px;
}

@media (min-width: 992px) {
    .hero-grid-overlap {
        grid-template-columns: 1.2fr 1fr;
    }
    .hero-content-overlap {
        margin-left: -100px;
        box-shadow: 0 32px 80px rgba(75, 58, 75, 0.35); /* dramatic */
        padding: 48px;
    }
}

/* --- Timeline Section --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 18px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 4px solid var(--color-background);
    z-index: 1;
}

/* --- Accordion FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion details {
    margin-bottom: 16px;
    border: 1px solid var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
.faq-accordion details:hover {
    box-shadow: 0 24px 64px rgba(0,0,0,0.22); /* dramatic */
}
.faq-accordion summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
}
.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}
.faq-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid var(--color-secondary);
}

/* --- Numbered Steps Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.step-card {
    padding: 24px;
    text-align: center;
    position: relative;
}
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-secondary);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.8;
}
.step-title {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Stats Bar Section --- */
.section-stats {
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 40px 0;
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
}
.stat-item .stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    display: block;
}
.stat-item .stat-label {
    font-size: 1rem;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.placeholder-gallery {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    min-height: 250px;
    color: var(--color-text);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

/* --- Inner Page Hero --- */
.section-hero-inner {
    padding: 60px 0;
    background: linear-gradient(120deg, var(--color-secondary) 0%, var(--color-background) 100%);
    text-align: center;
}
.page-title { margin-bottom: 8px; }
.page-subtitle { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }

/* --- Program Page: Accordion --- */
.program-accordion { max-width: 900px; margin: 0 auto; }
.program-accordion details {
    margin-bottom: 20px;
    background: var(--color-white);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.program-accordion summary {
    padding: 24px;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    list-style: none;
}
.program-content {
    padding: 24px;
    border-top: 1px solid var(--color-secondary);
}
.program-content p { margin-bottom: 16px; }

/* --- Program Page: CTA Image --- */
.section-cta-image { padding: 80px 0; }
.cta-container-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.cta-image-block img { box-shadow: 0 24px 64px rgba(0,0,0,0.22); }
.cta-content-block { text-align: center; }
@media (min-width: 992px) {
    .cta-container-split { grid-template-columns: 1fr 1.2fr; }
    .cta-content-block { text-align: left; }
}

/* --- Mission Page: Vertical Storytelling --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 80px;
}
.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.story-placeholder {
    background: var(--color-primary);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.values-list {
    list-style: none;
    padding-left: 0;
}
.values-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}
.values-list li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}
@media (min-width: 992px) {
    .story-block { grid-template-columns: repeat(2, 1fr); gap: 64px; }
    .story-block-reverse .story-image-container { order: 2; }
}

/* --- Contact Page --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form-container {
    background-color: var(--color-white);
    padding: 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.contact-heading { margin-bottom: 24px; }
.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-primary);
    border-radius: 0; /* sharp */
    font-size: 1rem;
    background-color: var(--color-background);
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--color-accent);
    border-color: var(--color-accent);
}
.btn-full { width: 100%; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-title { font-size: 1.2rem; margin-bottom: 8px; }
@media (min-width: 992px) {
    .contact-layout-split { grid-template-columns: 3fr 2fr; }
}

/* --- Legal & Thank You Pages --- */
.section-legal, .section-thank-you { padding: 80px 0; }
.legal-content h2 { margin-top: 32px; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.thank-you-container { text-align: center; }
.thank-you-title { color: var(--color-accent); }
.next-steps { margin-top: 48px; }
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-text) !important;
    color: var(--color-secondary) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h3 { color: var(--color-white) !important; }
.site-footer p, .site-footer a { color: var(--color-secondary) !important; }
.site-footer a:hover { color: var(--color-accent) !important; }
.footer-logo { font-size: 1.8rem; margin-bottom: 8px; }
.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 8px; }
.footer-bottom {
    background-color: #3a2e3a !important;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* --- 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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--color-dark);
    color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
#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(--color-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;
    cursor: pointer;
    font-weight: 600;
    border-radius: 0; /* sharp */
    transition: background-color 0.3s;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-text);
}
.cookie-btn-accept:hover { background-color: #ff9fbe; }
.cookie-btn-decline {
    background-color: #666;
    color: var(--color-white);
}
.cookie-btn-decline:hover { background-color: #888; }
@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; }
}