/*
  Design System:
  - design-style: minimalist
  - border-style: pill
  - shadow-style: flat
  - color-mode: light
  - Color Palette (Pastel Amethyst): #9B59B6, #F2D4C9, #7F8C8D, #34495E
*/

:root {
    --primary-color: #9B59B6; /* Amethyst */
    --secondary-color: #7D3C98; /* Darker Amethyst */
    --accent-color: #F2D4C9; /* Pastel Pink/Beige */
    --text-color: #34495E; /* Wet Asphalt */
    --light-text-color: #FFFFFF;
    --background-color: #FFFFFF;
    --light-gray-color: #f8f9fa;
    --border-color: #e0e0e0;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p {
    margin: 0 0 1.5rem 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.page-header {
    background-color: var(--light-gray-color);
    text-align: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #7F8C8D;
    margin: 0;
}


/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 14px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    z-index: 100;
}

.logo:hover {
    color: var(--primary-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 {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--background-color);
    transition: max-height 0.4s ease-out;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.1rem;
    display: block;
}

@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;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}


/* --- Hero Section (Bold Text Only) --- */
.hero-bold-text-section {
    background-color: var(--light-gray-color);
    padding: clamp(80px, 15vw, 150px) 0;
    text-align: center;
}

.hero-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-color);
}

/* --- Benefits Section (Horizontal Scroll) --- */
.benefits-section {
    background-color: var(--background-color);
}

.benefits-scroll-wrapper {
    overflow-x: auto;
    padding: 1rem 0 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray-color);
}
.benefits-scroll-wrapper::-webkit-scrollbar { height: 8px; }
.benefits-scroll-wrapper::-webkit-scrollbar-track { background: var(--light-gray-color); }
.benefits-scroll-wrapper::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 20px; }

.benefits-scroll-container {
    display: flex;
    gap: 24px;
    padding: 0 24px; /* For container padding on mobile */
    min-width: max-content;
}

.benefit-card {
    flex: 0 0 300px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background-color: var(--background-color);
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--light-gray-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background-color: var(--background-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: bold;
}

.testimonial-rating {
    color: var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin: 0;
}

/* --- Quote Highlight Section --- */
.quote-highlight-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
}

.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
    padding: 0 40px;
}

.quote-text::before, .quote-text::after {
    content: "“";
    font-size: 5rem;
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}
.quote-text::before { top: -20px; left: -10px; }
.quote-text::after { content: "”"; bottom: -40px; right: -10px; }

.quote-author {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-weight: 600;
}

/* --- CTA Banner Section --- */
.cta-banner-section {
    background-color: var(--accent-color);
    padding: 60px 0;
}

.cta-banner-content {
    text-align: center;
}

.cta-title {
    color: var(--secondary-color);
}
.cta-subtitle {
    margin-bottom: 2rem;
}

/* --- Two Column Image Section --- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.two-col-image img {
    border-radius: 28px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 0.75rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}


/* --- Program Page: Numbered Sections --- */
.numbered-steps-section {
    counter-reset: step-counter;
}
.numbered-step {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    align-items: flex-start;
}
.step-number-container {
    flex-shrink: 0;
}
.step-number {
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}
.step-content h3 {
    color: var(--secondary-color);
}

.cta-section-alt {
    background-color: var(--light-gray-color);
    text-align: center;
}

/* --- Mission Page: Split Layout & Values --- */
.mission-split-section .split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-layout-image img {
    border-radius: 28px;
}

.values-section {
    background-color: var(--light-gray-color);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    text-align: center;
}

/* --- Contact Page --- */
.contact-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.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);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group textarea {
    border-radius: 28px;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-info-item {
    margin-bottom: 1.5rem;
}
.contact-info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.contact-info-item p {
    margin: 0;
}

/* --- Policy & Thank You Pages --- */
.policy-page h1, .policy-page h2 {
    margin-bottom: 1.5rem;
}
.policy-page p, .policy-page ul {
    margin-bottom: 1.5rem;
}
.thank-you-section {
    padding: 100px 0;
}
.thank-you-title {
    color: var(--primary-color);
}
.what-next {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 28px;
}
.next-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-color) !important;
    color: var(--light-text-color) !important;
    padding: 60px 0 0 0;
}
.site-footer a {
    color: var(--light-text-color) !important;
}
.site-footer a:hover {
    color: var(--accent-color) !important;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
}
.footer-links h3, .footer-contact h3 {
    color: var(--light-text-color);
    margin-bottom: 1rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-contact p {
    margin: 0 0 0.5rem 0;
}
.footer-bottom {
    border-top: 1px solid #4a6278;
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
}

/* --- 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;
    background-color: var(--text-color);
    color: var(--light-text-color);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden, #cookie-banner[style*="display: none"] {
    transform: translateY(110%);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { text-decoration: underline; color: var(--light-text-color); }
.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: 1px solid var(--light-text-color);
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--light-text-color);
}

/* --- Media Queries (Mobile-First) --- */

@media (min-width: 600px) {
    .next-links {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .testimonials-container { grid-template-columns: repeat(2, 1fr); }
    .two-col-grid { grid-template-columns: 1fr 1fr; }
    .two-col-grid.reverse { grid-template-columns: 1fr 1fr; }
    .two-col-grid.reverse .two-col-image { grid-column: 2; grid-row: 1; }
    .numbered-step {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
    .numbered-step.reverse-layout {
        flex-direction: row-reverse;
    }
    .step-content {
        flex: 1;
    }
    .mission-split-section .split-layout-container { grid-template-columns: 1fr 1.2fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout-container { grid-template-columns: 1.2fr 1fr; }
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@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; }
}