/*
    Design System:
    - design-style: soft-organic
    - border-style: pill
    - shadow-style: dramatic
    - color-mode: dark
*/

/* Color Palette: Pastel Sunset on Dark */
:root {
    --bg-dark: #1a1a1d;
    --bg-card: #2c2c34;
    --text-light: #f0e9f2;
    --text-muted: #a9a9b1;
    --primary-accent: #ff8c69; /* Soft Coral/Peach */
    --secondary-accent: #b794f4; /* Soft Lavender */
    --border-color: #444;
    --shadow-color: rgba(0, 0, 0, 0.25);
    --font-family-sans: 'Helvetica Neue', Arial, sans-serif;
}

/* --- General Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .container {
        padding: 0 24px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-light);
}

h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
p { margin-bottom: 16px; color: var(--text-muted); }
ul, ol { padding-left: 20px; }

.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 48px auto; color: var(--text-muted); }

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(26, 26, 29, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.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(--text-light);
    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(--text-light);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 50px;
}

.menu-checkbox { display: none; }

.desktop-nav { display: block; }
.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.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-accent);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 69px;
    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(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul { list-style: none; }
.mobile-nav li {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav a { color: var(--text-light); font-size: 18px; }

@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: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.btn-primary {
    background-color: var(--primary-accent);
    color: var(--bg-dark);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 140, 105, 0.2);
}
.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--border-color);
}

/* --- Hero Section (Circle Image) --- */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(160deg, var(--bg-dark), #212125);
}
.hero-container-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}
.hero-content { max-width: 650px; }
.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.15rem);
    margin: 24px 0 32px;
}
.hero-image-wrapper {
    max-width: 350px;
}
.hero-circle-img {
    border-radius: 50%;
    border: 8px solid var(--bg-card);
    box-shadow: 0 24px 64px var(--shadow-color);
}
@media (min-width: 992px) {
    .hero-container-circle {
        flex-direction: row;
        text-align: left;
        gap: 60px;
    }
    .hero-content { flex: 1; }
    .hero-image-wrapper { flex-basis: 40%; max-width: 450px; }
}

/* --- Benefits Section (Asymmetrical Grid) --- */
.benefits-section { background-color: #212125; }
.benefits-grid-asymm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card-asymm {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 36px;
    box-shadow: 0 24px 64px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}
.benefit-card-asymm:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.benefit-card-asymm h3 { color: var(--primary-accent); }
.benefit-card-asymm h4 { color: var(--secondary-accent); }
@media (min-width: 768px) {
    .benefits-grid-asymm { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .benefits-grid-asymm { grid-template-columns: repeat(4, 1fr); }
    .featured-card { grid-column: span 2; grid-row: span 2; }
    .featured-card h3 { font-size: 1.8rem; }
}

/* --- Numbered Steps Section --- */
.steps-container {
    display: grid;
    gap: 32px;
}
.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.step-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    color: var(--secondary-accent);
    line-height: 1;
    opacity: 0.5;
}
.step-content h3 { margin-top: 8px; }
@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}
@media (min-width: 1024px) {
    .steps-container { grid-template-columns: repeat(4, 1fr); }
}

/* --- Two-Column Image Section --- */
.two-col-section { background-color: #212125; }
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.two-col-image img { border-radius: 36px; }
.two-col-content ul {
    list-style: none;
    padding-left: 0;
}
.two-col-content li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}
.two-col-content li::before {
    content: '✓';
    color: var(--primary-accent);
    position: absolute;
    left: 0;
    top: 0;
}
@media (min-width: 768px) {
    .two-col-container { grid-template-columns: 1fr 1fr; }
}

/* --- Accordion FAQ Section --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    background-color: var(--bg-card);
    border-radius: 36px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s;
}
.faq-item[open] { background-color: #33333b; }
.faq-question {
    padding: 24px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* remove marker */
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--secondary-accent);
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 24px 24px;
    border-top: 1px solid var(--border-color);
}

/* --- Testimonials Section --- */
.testimonials-section { background-color: #212125; }
.testimonials-stack {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 36px;
    box-shadow: 0 24px 64px var(--shadow-color);
}
.testimonial-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-accent);
    opacity: 0.5;
}
.testimonial-name { font-weight: bold; color: var(--text-light); margin: 0; }
.testimonial-rating { color: var(--primary-accent); }
.testimonial-text { font-style: italic; color: var(--text-muted); }

/* --- Program Page: Numbered Sections --- */
.page-header { background: linear-gradient(160deg, var(--bg-dark), #212125); padding-bottom: 40px; text-align: center; }
.page-title { margin-bottom: 16px; }
.page-subtitle { max-width: 800px; margin: 0 auto; }
.numbered-container { display: flex; flex-direction: column; gap: 64px; }
.numbered-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.numbered-item-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--border-color);
    line-height: 1;
}
.inline-image { border-radius: 36px; margin-bottom: 24px; }
@media (min-width: 992px) {
    .numbered-item {
        flex-direction: row;
        gap: 64px;
        align-items: flex-start;
    }
    .numbered-item-number { flex-basis: 100px; text-align: right; }
    .numbered-item-content { flex: 1; }
}
.cta-section { background-color: #212125; }

/* --- Mission Page: Story & Team --- */
.story-content p { font-size: 1.1rem; }
.story-image-wrapper { margin-top: 48px; }
.story-image { border-radius: 36px; }
.values-section { background-color: #212125; }
.values-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.value-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 36px;
    text-align: center;
    box-shadow: 0 24px 64px var(--shadow-color);
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact Page --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 36px;
    box-shadow: 0 24px 64px var(--shadow-color);
}
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
}
.form-group textarea { border-radius: 28px; }
.contact-details .contact-detail-item { margin-bottom: 24px; }
.contact-details h3 { color: var(--primary-accent); }
@media (min-width: 992px) {
    .contact-layout-split { grid-template-columns: 3fr 2fr; }
}

/* --- Legal & Thank You Pages --- */
.legal-page h2 { margin-top: 40px; }
.legal-page ul { margin-bottom: 16px; }
.thank-you-section { padding: 100px 0; }
.thank-you-content { margin-top: 48px; }
.thank-you-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }

/* --- Footer --- */
.site-footer {
    background-color: #111 !important; /* !important to override browser styles */
    color: var(--text-muted) !important;
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-container h4 { color: var(--text-light); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-contact address { font-style: normal; }
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}
@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;
    background-color: var(--bg-card);
    color: var(--text-light);
    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;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-accent); color: var(--bg-dark); }
.cookie-btn-decline { background-color: var(--border-color); 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; }
}