/*
    Color Palette: Pastel Lavender & Pink Palette
    --primary-color: #D8BFD8; (Thistle)
    --secondary-color: #FFC0CB; (Pink)
    --text-color: #4B0082; (Indigo)
    --bg-color: #FFF0F5; (LavenderBlush)
    --accent-color: #E6E6FA; (Lavender)
    --footer-bg: #4B0082;
    --footer-text: #FFF0F5;
*/

:root {
    --primary-color: #D8BFD8;
    --secondary-color: #FFC0CB;
    --text-color: #4B0082;
    --text-light: #5f2c82;
    --bg-color: #FFF0F5;
    --accent-color: #E6E6FA;
    --white-color: #FFFFFF;
    --footer-bg: #4B0082;
    --footer-text: #FFF0F5;
    --font-primary: 'Georgia', serif;
    --font-secondary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- General Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-secondary);
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-color);
    margin-top: 0;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

.page-title {
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.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(--text-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-color);
    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 a {
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 74px; /* Adjust based on 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(--bg-color);
    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(--accent-color);
}
.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav a {
    font-size: 1.2rem;
    font-weight: bold;
}

@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 (Diagonal) --- */
.hero-diagonal {
    display: grid;
    min-height: 80vh;
}

.hero-content {
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-text-block {
    max-width: 550px;
}

.hero-image-block {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}

.hero-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 769px) {
    .hero-diagonal {
        grid-template-columns: 45% 55%;
        background-color: var(--accent-color);
    }
}

@media (max-width: 768px) {
    .hero-diagonal {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-image-block {
        clip-path: none;
        height: 300px;
    }
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--white-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-item .stat-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* --- Benefits Section (Grid 2x2) --- */
.benefits-grid-4 {
    display: grid;
    gap: 30px;
}
@media (min-width: 600px) {
    .benefits-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}
.benefit-card-grid {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(75, 0, 130, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(75, 0, 130, 0.12);
}
.benefit-card-grid h3 {
    margin-bottom: 15px;
}

/* --- Image Feature Section --- */
.image-feature-section {
    background-color: var(--accent-color);
}
.image-feature-container {
    position: relative;
    display: grid;
    align-items: center;
}
.image-feature-background {
    border-radius: 12px;
    overflow: hidden;
}
.image-feature-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-feature-content {
    background-color: rgba(255, 240, 245, 0.9);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
    .image-feature-container {
        grid-template-columns: 1fr 1fr;
    }
    .image-feature-background {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    .image-feature-content {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        max-width: 500px;
    }
}
@media (max-width: 991px) {
    .image-feature-background {
        margin-bottom: -50px;
        z-index: 1;
    }
    .image-feature-content {
        z-index: 2;
        position: relative;
    }
}

/* --- Accordion (FAQ & Program) --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border-bottom: 1px solid var(--primary-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.accordion-content p {
    padding: 0 20px 20px 20px;
    margin: 0;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    color: var(--text-color);
}
.cta-container p {
    color: var(--text-light);
    margin-bottom: 30px;
}
.cta-section .btn-secondary {
    border-color: var(--text-color);
    color: var(--text-color);
}
.cta-section .btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--white-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 60px 0 20px 0;
}
.footer-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h3, .site-footer p, .site-footer a {
    color: var(--footer-text) !important;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.footer-about p {
    margin: 0;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Program Page --- */
.program-intro-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}
.program-accordion {
    max-width: 100%;
}

/* --- Mission Page (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 30px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    padding-left: 80px;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--text-color);
    top: 24px;
    left: 21px;
    z-index: 1;
}
.timeline-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}
.timeline-content {
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.values-section {
    background-color: var(--accent-color);
}
.values-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .values-container {
        grid-template-columns: 1fr 1fr;
    }
}
.values-image img {
    border-radius: 12px;
}
.values-list {
    list-style-type: '✓ ';
    padding-left: 20px;
}
.values-list li {
    padding-left: 10px;
    margin-bottom: 15px;
}

/* --- Contact Page --- */
.contact-info-top {
    padding-bottom: 0;
}
.contact-info-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}
@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.contact-info-item {
    text-align: center;
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
}
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 2rem;
}
.legal-page ul {
    padding-left: 20px;
}
.thank-you-container {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: var(--text-color);
}
.what-next {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--primary-color);
}
.next-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* --- 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(--footer-bg);
    color: var(--footer-text);
    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; }
#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: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--text-color);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}
@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; }
}