/* 
   Color Palette: Cyberpunk Amethyst
   - Primary: #A020F0 (Vibrant Purple)
   - Accent: #FF00FF (Magenta)
   - Highlight: #FFBF00 (Amber)
   - Dark BG: #12121A
   - Light BG: #F0F2F5
   - Text Dark: #1C1C1E
   - Text Light: #EAEAEA
*/

:root {
    --primary-color: #A020F0;
    --accent-color: #FF00FF;
    --highlight-color: #FFBF00;
    --dark-bg: #12121A;
    --light-bg: #F0F2F5;
    --text-dark: #1C1C1E;
    --text-light: #EAEAEA;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
}

h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(28px, 5vw, 42px); }
h3 { font-size: clamp(20px, 4vw, 24px); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
    padding-left: 20px;
}

/* --- Layout Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.light-section {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.dark-section h1, .dark-section h2, .dark-section h3 {
    color: var(--text-light);
}

.dark-section a {
    color: var(--highlight-color);
}

.dark-section a:hover {
    color: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 16px auto 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -32px auto 48px;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 0; /* Sharp border */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 24px rgba(160, 32, 240, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 0, 255, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    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(--highlight-color);
    text-decoration: none;
}

.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-light);
    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-light);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after {
    width: 100%;
}
.desktop-nav a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px; /* 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(--dark-bg);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    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: 48px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    padding-bottom: 32px;
}
.footer-title {
    color: var(--highlight-color);
    margin-bottom: 16px;
}
.site-footer ul {
    list-style: none;
    padding: 0;
}
.site-footer li {
    margin-bottom: 8px;
}
.site-footer a {
    color: var(--text-light) !important;
}
.site-footer a:hover {
    color: var(--accent-color) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    text-align: center;
    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 1.5fr; }
}

/* --- Glassmorphism Effect --- */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* --- Hero Section (Asymmetric) --- */
.hero-asymmetric {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-asymmetric::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    transform: rotate(25deg);
    z-index: 0;
    filter: blur(100px);
}
.hero-asymmetric .hero-content {
    max-width: 620px;
    padding-left: 5%;
    z-index: 2;
}
.hero-title { font-size: clamp(40px, 7vw, 64px); color: #fff; }
.hero-subtitle { margin: 24px 0 32px; opacity: 0.9; }
.hero-image-container {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .hero-asymmetric {
        padding: 64px 0;
        text-align: center;
    }
    .hero-asymmetric .hero-content {
        max-width: 100%;
        padding: 0 16px;
    }
    .hero-image-container {
        display: none;
    }
}


/* --- Timeline Section --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 19px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    padding-left: 70px;
    margin-bottom: 32px;
}
.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    top: 15px;
    background-color: var(--dark-bg);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    position: relative;
}

/* --- Accordion FAQ --- */
.faq-accordion details {
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
}
.faq-accordion summary {
    padding: 16px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    outline: none;
}
.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    font-size: 24px;
    transition: transform 0.3s ease;
}
.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}
.faq-content {
    padding: 0 16px 16px;
}

/* --- Expert Block --- */
.expert-block-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.expert-photo-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    margin: 0 auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.expert-quote-content blockquote {
    border-left: 4px solid var(--highlight-color);
    padding-left: 24px;
    font-style: italic;
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 16px;
}
.expert-quote-content cite {
    display: block;
    text-align: right;
}
.expert-name { font-weight: bold; }
.expert-title { font-size: 14px; opacity: 0.8; }
@media (min-width: 768px) {
    .expert-block-container { grid-template-columns: 150px 1fr; gap: 48px; }
    .expert-photo-placeholder { margin: 0; }
}

/* --- Quote Highlight --- */
.quote-highlight-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.quote-highlight-content p {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
}
.quote-highlight-content p::before, .quote-highlight-content p::after {
    content: '"';
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}
.quote-highlight-content p::before { top: -40px; left: -20px; }
.quote-highlight-content p::after { bottom: -40px; right: -20px; }
.quote-highlight-content span { font-style: italic; }

/* --- Two Column Layout --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.styled-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✓';
    color: var(--highlight-color);
    position: absolute;
    left: 0;
}

@media (min-width: 768px) {
    .two-col-container { grid-template-columns: 1fr 1fr; gap: 48px; }
}


/* --- Program Page: Tabs --- */
.tabs-container {
    margin-top: 48px;
}
input[name="tabs"] { display: none; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #ccc;
}
.tabs-nav label {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0;
    border: 2px solid transparent;
    border-bottom: none;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .tabs-nav label { width: 100%; text-align: center; }
}
.tabs-content {
    padding-top: 24px;
}
.tab-panel {
    display: none;
}
#tab1:checked ~ .tabs-content #panel1,
#tab2:checked ~ .tabs-content #panel2,
#tab3:checked ~ .tabs-content #panel3,
#tab4:checked ~ .tabs-content #panel4 {
    display: block;
}
#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"],
#tab4:checked ~ .tabs-nav label[for="tab4"] {
    color: var(--primary-color);
    border-color: #ccc;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* --- Mission Page: Split Layout --- */
.split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: flex-start;
}
.values-title {
    margin-top: 32px;
}
.values-list {
    list-style: none;
    padding: 0;
}
.values-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.values-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
@media (min-width: 992px) {
    .split-layout-container { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}

/* --- Contact Page --- */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-info-wrapper .glass-card {
    margin-bottom: 16px;
    background: rgba(18, 18, 26, 0.05); /* Lighter for light bg */
}
@media (min-width: 992px) {
    .contact-grid-container { grid-template-columns: 1.5fr 1fr; }
}

/* --- Generic Pages (Legal, Thank You) --- */
.page-hero {
    padding: 48px 0;
    text-align: center;
}
.legal-page .container {
    max-width: 800px;
}
.legal-page h1, .legal-page h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}
.thank-you-page .container {
    padding-top: 64px;
    padding-bottom: 64px;
}
.thank-you-title {
    color: var(--primary-color);
}
.next-steps {
    margin-top: 48px;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}


/* --- 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: var(--dark-bg);
    color: var(--text-light);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--highlight-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: 0;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
}
.cookie-btn-decline {
    background-color: #444;
    color: #fff;
}
@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; }
}