/*
  Theme: Bold Editorial
  Palette: Amethyst & Rose
  - Primary Accent: #9B59B6 (Amethyst)
  - Secondary Accent: #9C1C66 (Deep Magenta)
  - Tertiary Accent: #F1A9B8 (Soft Rose)
  - Dark Background: #141414
  - Text Color: #F5F5F5
*/

:root {
    --color-primary: #9B59B6;
    --color-secondary: #9C1C66;
    --color-tertiary: #F1A9B8;
    --color-background-dark: #141414;
    --color-background-light: #1E1E1E;
    --color-text-light: #F5F5F5;
    --color-text-dark: #CCCCCC;
    --border-radius-card: 12px;
    --border-radius-btn: 8px;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-light);
    background-color: var(--color-background-dark);
}

.dark-mode {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-tertiary);
}

ul {
    list-style: none;
}

/* --- Typography (Bold Editorial) --- */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 9vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
p { font-size: clamp(1rem, 2.5vw, 1.1rem); margin-bottom: 1rem; color: var(--color-text-dark); }


/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-text-light);
}

.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--color-text-light);
}

.menu-checkbox { display: none; }

.desktop-nav { display: block; }
.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.desktop-nav .nav-list a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
    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%; }
.desktop-nav .nav-list a:hover { color: var(--color-text-light); }


.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* 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(--color-background-light);
}
.mobile-nav ul { padding: 20px; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a { color: var(--color-text-light); font-size: 1.2rem; }

@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: var(--border-radius-btn);
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: #8a4ca0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.3);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* --- Hero Section (Vertical Stack) --- */
.hero-vertical-stack {
    display: flex;
    flex-direction: column;
}
.hero-image-container {
    height: 55vh;
    width: 100%;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-container {
    padding: 60px 0;
    background-color: var(--color-background-light);
}
.hero-title {
    color: var(--color-text-light);
}
.hero-subtitle {
    max-width: 700px;
    margin: 20px auto 30px 0;
    font-size: 1.2rem;
}

/* --- Benefits Section (3 Columns) --- */
.benefits-section { background-color: var(--color-background-dark); }
.section-title { text-align: center; margin-bottom: 20px; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }

.benefits-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-title {
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* --- Numbered Steps Section --- */
.numbered-steps-section { background-color: var(--color-background-light); }
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.step-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-secondary);
    line-height: 1;
}
.step-title { margin-bottom: 5px; color: var(--color-text-light); }

/* --- FAQ Section (Accordion) --- */
.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}
.accordion-header {
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hide default marker */
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding-top: 20px;
    max-width: 90%;
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--color-secondary);
    padding: 60px 0;
    text-align: center;
}
.cta-title { color: #fff; }
.cta-text { color: rgba(255, 255, 255, 0.9); max-width: 600px; margin: 0 auto 30px auto; }
.cta-banner-section .btn-secondary {
    border-color: #fff;
    color: #fff;
}
.cta-banner-section .btn-secondary:hover {
    background-color: #fff;
    color: var(--color-secondary);
}

/* --- Stats Bar --- */
.stats-bar-section {
    background-color: var(--color-background-light);
    padding: 40px 0;
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
}
.stat-label {
    font-size: 1rem;
    color: var(--color-text-dark);
}

/* --- Page Header --- */
.page-header-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--color-background-light);
}
.page-title { margin-bottom: 10px; }
.page-subtitle { max-width: 750px; margin: 0 auto; color: var(--color-text-dark); }

/* --- Program Page --- */
.image-content-section { padding: 80px 0; }
.image-content-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.image-content-container .image-wrapper img {
    border-radius: var(--border-radius-card);
}

/* --- Mission Page --- */
.split-layout-section { padding: 80px 0; }
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image-container img { border-radius: var(--border-radius-card); }
.values-section { background-color: var(--color-background-light); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-item {
    padding: 20px;
    border-left: 4px solid var(--color-primary);
}
.value-title { color: var(--color-tertiary); }

/* --- Contact Page --- */
.contact-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.form-title, .info-title { margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-btn);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: var(--color-background-light);
    color: var(--color-text-light);
    font-size: 1rem;
}
.form-submit-btn { width: 100%; }
.contact-info-wrapper .info-block { margin-bottom: 25px; }
.contact-info-wrapper h3 { color: var(--color-primary); font-size: 1.2rem; }

/* --- Legal & Thank You Pages --- */
.legal-page-section, .thank-you-section { padding: 80px 0; }
.legal-content h2 { margin-top: 40px; margin-bottom: 15px; color: var(--color-primary); }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.what-next-block { margin-top: 50px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,0.1); }
.next-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.back-to-home-link { display: inline-block; margin-top: 40px; }

/* --- Footer --- */
.site-footer {
    background-color: #000 !important;
    color: #ccc !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo { font-size: 1.8rem; color: #fff !important; margin-bottom: 15px; }
.footer-about p { font-size: 0.9rem; }
.footer-title { font-size: 1.1rem; margin-bottom: 15px; color: #fff !important; }
.footer-links ul li, .footer-legal ul li { margin-bottom: 10px; }
.footer-links a, .footer-legal a, .footer-contact a { color: #ccc !important; }
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover { color: var(--color-primary) !important; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* --- 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-background-light);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#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 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--color-primary); color: #fff; }
.cookie-btn-decline { background-color: #444; color: #fff; }


/* --- Media Queries (Mobile-First) --- */
@media (min-width: 600px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-container {
        gap: 0;
    }
}

@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
    .steps-container { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .image-content-container { grid-template-columns: 1fr 1fr; }
    .split-container { grid-template-columns: 40% 1fr; }
    .contact-layout-container { grid-template-columns: 60% 1fr; }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    .steps-container { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    .section { padding: 60px 0; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}