/*
 * Palette: Pastel Lavender & Rose
 * --primary-color: #A569BD;
 * --secondary-color: #F5B7B1;
 * --background-color: #FDFEFE;
 * --text-color: #34495E;
 * --light-accent: #E8DAEF;
 * --border-color: #D5DBDB;
*/

:root {
    --primary-color: #A569BD;
    --secondary-color: #F5B7B1;
    --background-color: #FDFEFE;
    --text-color: #34495E;
    --text-light: #5D6D7E;
    --light-accent: #E8DAEF;
    --white-color: #FFFFFF;
    --border-color: #D5DBDB;
    --footer-bg: #2C3E50;
    --footer-text: #BDC3C7 !important;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: clamp(16px, 1.5vw, 18px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.25rem); }

/* --- Layout & Helpers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--light-accent);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #8E44AD;
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    background-color: var(--white-color);
    position: relative;
    width: 100%;
    padding: 15px 10px;
    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-color);
    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-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; }
.desktop-nav a { font-weight: 600; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}

.mobile-nav ul { list-style: none; padding: 10px 20px; }
.mobile-nav li { padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { display: block; 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 (fullscreen-center) --- */
.hero-fullscreen {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('img/bg.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin: 20px 0 30px;
    opacity: 0.9;
}

/* --- Benefits Section (asymmetric) --- */
.benefits-asymm-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.benefit-card-featured, .benefit-card-small {
    background: var(--white-color);
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.benefit-card-featured:hover, .benefit-card-small:hover {
    transform: translateY(-5px);
}

.benefit-card-featured {
    background-color: var(--light-accent);
}

@media (min-width: 768px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefit-card-featured {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .benefit-card-featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .benefit-card-small {
        grid-column: 3 / 4;
    }
}

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color), #8E44AD);
    color: var(--white-color);
    text-align: center;
}

.cta-banner-content h2 {
    color: var(--white-color);
}

.cta-banner-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-banner-section .btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}
.cta-banner-section .btn-secondary:hover {
    background-color: transparent;
    color: var(--white-color);
}


/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.gallery-item-placeholder {
    background-color: var(--light-accent);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 28px;
    min-height: 200px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-item:nth-child(1) { grid-column: 1 / 3; }
    .gallery-item:nth-child(4) { grid-column: 2 / 4; }
}

/* --- Two Column Image --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.two-col-image img {
    border-radius: 32px;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (min-width: 768px) {
    .two-col-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Expert Block --- */
.expert-section {
    background-color: var(--light-accent);
}

.expert-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.expert-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid var(--white-color);
}

.expert-quote blockquote {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    max-width: 750px;
    margin: 0 auto 20px;
    border: none;
    padding: 0;
}

.expert-quote cite {
    font-style: normal;
}

@media (min-width: 768px) {
    .expert-container {
        flex-direction: row;
        text-align: left;
        gap: 48px;
    }
    .expert-photo-placeholder {
        flex-shrink: 0;
    }
}

/* --- Program Page: Numbered Sections --- */
.page-header {
    text-align: center;
    background-color: var(--light-accent);
    padding: 40px 0;
}

.numbered-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
}

.numbered-digit {
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--light-accent);
    line-height: 1;
}

.numbered-content-with-image {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.numbered-content-with-image img {
    border-radius: 28px;
}

@media (min-width: 768px) {
    .numbered-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
    }
    .numbered-item.reverse {
        flex-direction: row-reverse;
    }
    .numbered-digit {
        min-width: 120px;
        text-align: center;
    }
    .numbered-content-with-image {
        flex-direction: row;
        gap: 32px;
    }
    .content-text { flex: 3; }
    .content-image { flex: 2; }
}

.cta-section-alt {
    background-color: var(--background-color);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* --- Mission Page: Split Layout --- */
.split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.split-layout-image img {
    border-radius: 32px;
}

@media (min-width: 992px) {
    .split-layout-container {
        grid-template-columns: 2fr 3fr;
        gap: 60px;
    }
}

.values-section {
    background-color: var(--light-accent);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: var(--white-color);
    padding: 32px;
    border-radius: 32px;
    text-align: center;
}
.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-accent);
}
.value-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--white-color);
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
}

.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(--border-color);
    border-radius: 50px;
    font-size: 16px;
}
.form-group textarea {
    border-radius: 28px;
    resize: vertical;
}

.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    margin-bottom: 8px;
}
.contact-info-block address, .contact-info-block p {
    line-height: 1.8;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h2 { margin-top: 2rem; }
.legal-page ul { margin-left: 20px; margin-top: 1rem; }

.thank-you-icon {
    color: var(--primary-color);
    margin-bottom: 24px;
}
.next-steps {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}
.step-card {
    background-color: var(--white-color);
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}
@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}


/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.site-footer a {
    color: var(--white-color) !important;
}
.site-footer a:hover {
    color: var(--secondary-color) !important;
}
.site-footer h4 {
    color: var(--white-color) !important;
    margin-bottom: 16px;
}
.site-footer ul {
    list-style: none;
}
.site-footer ul li {
    margin-bottom: 8px;
}
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #4A637C;
    font-size: 14px;
}

@media (min-width: 600px) {
    .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;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    border-top: 2px solid var(--primary-color);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#cookie-banner a { text-decoration: underline; }
.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: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: #5D6D7E;
    color: var(--white-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; }
}