/* Color Palette: plum-amber */
:root {
    --color-primary: #38006B;
    --color-secondary: #6A1B9A;
    --color-accent: #C07800;
    --bg-tint: #F8F0FF;
    --color-text: #EAEAEA;
    --color-text-dark: #121212;
    --color-background: #121212;
    --color-surface: #1E1E1E;
    --border-color: #333;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    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(--color-background);
    color: var(--color-text);
    font-size: clamp(16px, 1.5vw, 18px);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-title {
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #BDBDBD;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    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;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-text);
}

.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(--color-text);
    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 {
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; /* header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-surface);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--color-text);
    font-size: 1.2rem;
    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); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-surface) !important;
    color: var(--color-text) !important;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h3 { color: #fff !important; }
.footer-column p, .footer-column a { color: #BDBDBD !important; }
.footer-column a:hover { color: var(--color-accent) !important; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    font-size: 0.9rem;
    color: #888 !important;
}

@media (min-width: 600px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* --- Hero Section (Gradient Center) --- */
.hero-gradient-center {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 0;
    background: radial-gradient(circle, var(--color-primary) 0%, var(--color-background) 70%);
}

.hero-content {
    max-width: 800px;
}

.hero-content .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #ccc;
    margin: 24px 0 32px;
}

/* --- Benefits Section (Asymmetrical) --- */
.benefits-asymm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: var(--color-surface);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.benefit-card .card-title {
    color: var(--color-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(4, 1fr);
    }
    .benefit-card.featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

/* --- FAQ Section (Accordion) --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
}

/* --- Icon Features Section --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}
.icon-feature-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Quote Highlight Section --- */
.quote-highlight-section {
    background-color: var(--color-surface);
    text-align: center;
}
.quote-mark {
    font-size: 5rem;
    color: var(--color-accent);
    line-height: 1;
}
.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 1rem;
}
.quote-author {
    font-weight: 600;
    color: #ccc;
}

/* --- Testimonials Section --- */
.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-item {
    background-color: var(--color-surface);
    padding: 24px;
    border-left: 4px solid var(--color-primary);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: #555;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: bold;
    margin: 0;
}
.testimonial-rating {
    color: var(--color-accent);
    margin: 0;
}
@media (min-width: 768px) {
    .testimonials-list { grid-template-columns: repeat(3, 1fr); }
}

/* --- Page Hero --- */
.page-hero {
    text-align: center;
    padding: 48px 0;
    background-color: var(--color-surface);
}

/* --- Program Page: Horizontal Tabs --- */
.tabs {
    position: relative;
}
input[name="tabs"] { display: none; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
}
.tabs-nav label {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}
.tab-panel {
    display: none;
    padding: 32px 0;
}
#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
#t1:checked ~ #p1, #t2:checked ~ #p2, #t3:checked ~ #p3, #t4:checked ~ #p4 {
    display: block;
}
.tab-content-split {
    display: grid;
    gap: 24px;
    align-items: center;
}
@media (min-width: 768px) {
    .tab-content-split { grid-template-columns: 1fr 1fr; }
}

/* --- Mission Page --- */
.mission-intro-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) {
    .mission-intro-grid { grid-template-columns: 1fr 1fr; }
}
.values-section {
    background-color: var(--color-surface);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    border: 1px solid var(--border-color);
    padding: 24px;
}
@media (min-width: 600px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
.cta-section {
    background-color: var(--color-primary);
    text-align: center;
}
.cta-content h2, .cta-content p {
    color: #fff;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--color-surface);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    font-size: 1rem;
    border-radius: 0;
}
.contact-form button {
    width: 100%;
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    color: var(--color-accent);
}
@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
    padding-top: 32px;
    padding-bottom: 32px;
}
.legal-page h1, .thank-you-section h1 {
    margin-bottom: 24px;
}
.legal-page h2 {
    margin-top: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}
.thank-you-content {
    text-align: center;
    background-color: var(--color-surface);
    padding: 48px;
}
.next-steps {
    margin-top: 32px;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}
.next-steps ul {
    list-style: disc;
    padding-left: 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(--color-surface);
    border-top: 1px solid var(--border-color);
    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-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    border-radius: 0;
    font-size: 0.9rem;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
@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; }
}