/* Color Palette: Deep Purple & Gold */
:root {
    --primary-color: #6A1E9C; /* Deep Purple */
    --secondary-color: #F7DC6F; /* Pale Gold */
    --accent-color: #9B59B6; /* Lighter Purple */
    --dark-bg: #0C0F24; /* Very Dark Blue/Black */
    --light-bg: #FDFEFE;
    --text-light: #F5F5F5;
    --text-dark: #333333;
    --card-bg: #FFFFFF;
    --border-color: #EAECEE;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-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: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--card-bg);
    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(--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(--primary-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;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--card-bg);
    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(--border-color);
}

.mobile-nav a {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    width: 100%;
}

@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); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h4 {
    color: var(--secondary-color) !important;
    margin-bottom: 15px;
}

.site-footer p, .site-footer a {
    color: #ccc !important;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* --- Hero Section (Version 3) --- */
.hero-section-v3 {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-floating-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 650px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 30px 0;
}

/* --- Principles Section --- */
.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.principle-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.card-icon-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.principle-card h3 {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .principles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Stats Bar Section --- */
.stats-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-item .stat-label {
    font-size: 1.1rem;
    color: #ccc;
}

@media (min-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Split Section (Version 3) --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image img {
    border-radius: 12px;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #f9f6fc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}

.testimonial-card blockquote p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card cite {
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.cta-container {
    text-align: center;
}

.cta-container h2, .cta-container p {
    color: var(--text-light);
}

.cta-container .btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border-color: var(--secondary-color);
}

.cta-container .btn-primary:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
}

/* --- Page Header --- */
.page-header {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1, .page-header p {
    color: var(--text-light);
}

/* --- Program Page: Numbered Sections --- */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.section-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.section-content {
    flex: 1;
}

@media (min-width: 768px) {
    .numbered-section {
        flex-direction: row;
        text-align: left;
    }
    .numbered-section.reverse {
        flex-direction: row-reverse;
        text-align: right;
    }
}

/* --- Image Break Section --- */
.image-break-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--text-light);
}

.image-break-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(12, 15, 36, 0.7);
    padding: 30px;
    border-radius: 8px;
}

.image-break-content h3 {
    color: var(--text-light);
    font-size: 2rem;
}

/* --- Mission Page --- */
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.story-image img {
    border-radius: 12px;
}

@media (min-width: 992px) {
    .story-container {
        grid-template-columns: 1fr 1.2fr;
    }
}

.values-section {
    background-color: #f9f6fc;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.manifesto-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

.manifesto-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(106, 30, 156, 0.85);
    z-index: 1;
}

.manifesto-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.manifesto-content h2, .manifesto-content p {
    color: var(--text-light);
}

/* --- Contact Page --- */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info .info-item {
    margin-bottom: 20px;
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    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: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

@media (min-width: 992px) {
    .contact-grid-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page, .thank-you-section {
    padding: 80px 0;
}

.legal-page h1, .legal-page h2 {
    margin-bottom: 20px;
}

.legal-page p, .legal-page li {
    margin-bottom: 15px;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 40px auto;
}

.next-steps {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.next-steps-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(--dark-bg);
    color: var(--text-light);
    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; font-size: 0.9rem; }
#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: 5px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--text-light);
}
@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; }
}