/*
* Palette: Pastel Serenity
* Primary: #B1A2CA (Soft Lavender)
* Secondary: #F4C2C2 (Gentle Pink)
* Background: #FDFBFD (Off-White)
* Text: #4B425A (Dark Muted Purple)
*/

:root {
    --color-primary: #B1A2CA;
    --color-secondary: #F4C2C2;
    --color-background: #FDFBFD;
    --color-background-light: #F7F5FA;
    --color-text: #4B425A;
    --color-text-light: #6D637F;
    --color-white: #ffffff;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
    --header-height: 70px;
}

/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    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 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--color-background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.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-text);
}

.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);
    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;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--color-text-light);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.desktop-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.desktop-nav .nav-list a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-background-light);
}

.mobile-nav li a {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
}

@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); }
}

/* --- Hero Section (Vertical) --- */
.hero-vertical {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: var(--color-background-light);
}
.hero-image-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-image {
    display: block;
    width: 100%;
}
.hero-content-container {
    text-align: center;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.hero-content-container .container {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 800px;
}
.hero-title {
    color: var(--color-text);
}
.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Horizontal Scroll Gallery --- */
.scroll-gallery-container {
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}
.scroll-gallery-container::-webkit-scrollbar {
    height: 8px;
}
.scroll-gallery-container::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}
.scroll-gallery {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}
.scroll-card {
    flex: 0 0 320px;
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--color-background-light);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}
.card-title {
    margin-bottom: 10px;
}

/* --- Split Info Section --- */
.info-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.info-split-image {
    border-radius: 12px;
    overflow: hidden;
}
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checklist {
    list-style-type: '✓';
    padding-left: 20px;
}
.checklist li {
    padding-left: 10px;
    margin-bottom: 10px;
    color: var(--color-text);
}
@media (min-width: 768px) {
    .info-split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FAQ List Section --- */
.faq-container {
    max-width: 800px;
}
.faq-item {
    border-bottom: 1px solid #e0d8f0;
    padding: 20px 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    color: var(--color-text);
    cursor: pointer;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.cta-container {
    text-align: center;
}
.cta-title {
    color: var(--color-white);
}
.cta-text {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}
.cta-section .btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.cta-section .btn-secondary:hover {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

/* --- Page Header --- */
.page-header {
    background-color: var(--color-background-light);
    text-align: center;
    padding: 60px 0;
}
.page-title {
    margin-bottom: 10px;
}
.page-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- CSS Tabs (Program Page) --- */
.css-tabs-container {
    width: 100%;
}
.css-tabs-container input[type="radio"] {
    display: none;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--color-background-light);
}
.tabs-nav input[type="radio"] {
    display: none;
}
.tab-label {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tabs-nav input[type="radio"]:checked + .tab-label {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.tabs-content {
    padding-top: 30px;
}
.tab-panel {
    display: none;
}
#tab1:checked ~ .tabs-content #content1,
#tab2:checked ~ .tabs-content #content2,
#tab3:checked ~ .tabs-content #content3,
#tab4:checked ~ .tabs-content #content4 {
    display: block;
}
.tab-title {
    margin-bottom: 20px;
}
.content-image {
    margin-top: 20px;
    border-radius: 8px;
}

/* --- Storytelling (Mission Page) --- */
.story-alternating-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.story-alternating-block:last-child {
    margin-bottom: 0;
}
.story-image-container {
    border-radius: 12px;
    overflow: hidden;
}
@media (min-width: 992px) {
    .story-alternating-block {
        grid-template-columns: 1fr 1fr;
    }
    .story-alternating-block.reverse .story-image-container {
        order: 2;
    }
}

/* --- Values Grid (Mission Page) --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e0d8f0;
}
.value-title {
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
}
.contact-info-card {
    background-color: var(--color-background-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}
.contact-info-title {
    margin-bottom: 8px;
}
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}
@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Legal & Thank You Pages --- */
.legal-content h1, .legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-container {
    text-align: center;
    max-width: 600px;
}
.thank-you-icon {
    font-size: 4rem;
    color: var(--color-primary);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.whats-next {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-background-light);
}
.next-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-text) !important;
    color: #ccc !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;
    margin-bottom: 15px;
}
.site-footer p, .site-footer a {
    color: #ccc !important;
}
.site-footer a:hover {
    color: var(--color-secondary) !important;
}
.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #5a526a;
    text-align: center;
    padding: 20px 0;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .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;
    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-text);
    color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--color-white); }
#cookie-banner a { color: var(--color-secondary); font-weight: bold; }
.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: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.cookie-btn-decline {
    background-color: #777;
    color: var(--color-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; }
}