/* Palette: Dynamic Tech (Purple/Magenta/Yellow/Grey) */
/* --primary-color: #9C1C66; */
/* --secondary-color: #F0DB4F; */
/* --accent-color: #6A1E9C; */
/* --dark-bg: #1A1A2E; */
/* --light-bg: #f4f4f9; */
/* --text-dark: #333; */
/* --text-light: #EFEFEF; */

:root {
    --primary-color: #9C1C66;
    --secondary-color: #F0DB4F;
    --accent-color: #6A1E9C;
    --dark-bg: #1A1A2E;
    --light-bg: #f4f4f9;
    --text-dark: #333;
    --text-light: #EFEFEF;
    --text-muted-dark: #666;
    --text-muted-light: #aaa;
    --border-color-light: #ddd;
    --border-color-dark: #3a3a5e;
    --shadow-color: rgba(0, 0, 0, 0.07);
}

/* --- Global Styles & Reset --- */
* {
    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, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.7;
    background-color: var(--light-bg);
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
p { margin-bottom: 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: #fff;
}

.section-dark a {
    color: var(--secondary-color);
}

.section-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 8px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted-dark);
}

.section-dark .section-subtitle {
    color: var(--text-muted-light);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0; /* Sharp style */
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--border-color-light);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: #fff;
}


/* --- Header --- */
.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;
    color: #fff !important;
    z-index: 100;
}

.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: #fff;
    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(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
    background-color: var(--dark-bg);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color-dark);
}

.mobile-nav a {
    color: var(--text-light);
    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); }
}

/* --- Hero (split-color) --- */
.hero-split-color {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}
.hero-content-area {
    background-color: var(--dark-bg);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
}
.hero-text-wrapper {
    max-width: 600px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin: 20px 0 30px;
}
.hero-image-area {
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .hero-split-color {
        flex-direction: row;
        min-height: calc(100vh - 70px); /* Adjust for header height */
    }
    .hero-content-area, .hero-image-area {
        width: 50%;
        min-height: auto;
    }
    .hero-content-area {
        padding: 60px;
    }
}

/* --- Benefits Grid (2x2) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card {
    padding: 24px;
    border: 1px solid transparent;
    box-shadow: 0 2px 12px var(--shadow-color);
}
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-title {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Expert Block --- */
.expert-section {
    position: relative;
    overflow: hidden;
}
.expert-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 60%;
    height: 150%;
    background: var(--accent-color);
    transform: skewX(-20deg);
    z-index: 0;
}
.expert-block-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.expert-image-placeholder {
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}
.expert-quote-content blockquote {
    border: none;
    padding: 0;
    font-size: 1.2rem;
    font-style: italic;
}
.expert-quote-content cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
}
.expert-name {
    display: block;
    font-weight: bold;
    color: var(--secondary-color);
}
.expert-title {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

@media (min-width: 992px) {
    .expert-block-container {
        grid-template-columns: 200px 1fr;
        gap: 50px;
    }
    .expert-image-placeholder {
        margin: 0;
    }
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
}
.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: bold;
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stats-container {
        flex-direction: row;
    }
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-placeholder {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    font-weight: bold;
    color: var(--text-muted-dark);
}

/* --- Numbered Steps --- */
.numbered-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step-number-wrapper {
    flex-shrink: 0;
}
.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
    opacity: 0.7;
}
.step-title {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .numbered-steps-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Program Page (Horizontal Tabs) --- */
.page-hero {
    padding: 60px 0;
    text-align: center;
}
.page-title { margin-bottom: 10px; }
.page-subtitle { max-width: 800px; margin: 0 auto; color: var(--text-muted-light); }

.tabs-container {
    width: 100%;
}
.tabs-container input[type="radio"] {
    display: none;
}
.tab-radios {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color-light);
    justify-content: center;
}
.tab-radios input[type="radio"] {
    display: none;
}
.tab-radios label {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted-dark);
    position: relative;
    transition: color 0.3s;
}
#tab1:checked ~ .tab-radios label[for="tab1"],
#tab2:checked ~ .tab-radios label[for="tab2"],
#tab3:checked ~ .tab-radios label[for="tab3"],
#tab4:checked ~ .tab-radios label[for="tab4"] {
    color: var(--primary-color);
}
#tab1:checked ~ .tab-radios label[for="tab1"]::after,
#tab2:checked ~ .tab-radios label[for="tab2"]::after,
#tab3:checked ~ .tab-radios label[for="tab3"]::after,
#tab4:checked ~ .tab-radios label[for="tab4"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}
.tab-content {
    display: none;
    padding: 30px 0;
}
#tab1:checked ~ .tab-content-wrapper #content1,
#tab2:checked ~ .tab-content-wrapper #content2,
#tab3:checked ~ .tab-content-wrapper #content3,
#tab4:checked ~ .tab-content-wrapper #content4 {
    display: block;
}
.content-image {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}

/* --- Mission Page (Vertical Storytelling) --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}
.story-block.reverse .story-image {
    order: -1;
}
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 2px 12px var(--shadow-color);
}
.manifesto-text {
    max-width: 800px;
    margin: 20px auto 30px;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted-light);
}

@media (min-width: 992px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* --- Contact Page --- */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-detail-item {
    margin-bottom: 24px;
}
.contact-detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 4px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color-light);
    border-radius: 0; /* Sharp Style */
    font-size: 1rem;
    background-color: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
}
.form-submit-btn {
    width: 100%;
}

@media (min-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
}


/* --- Legal & Thank You Pages --- */
.legal-page-container {
    max-width: 800px;
}
.legal-page-container h1, .legal-page-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.next-steps {
    margin-top: 40px;
    border-top: 1px solid var(--border-color-light);
    padding-top: 30px;
}
.next-steps-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important; /* Prevent translator override */
    color: var(--text-light) !important; /* Prevent translator override */
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-container h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: var(--text-muted-light);
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid var(--border-color-dark);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- 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(--dark-bg);
    color: var(--text-light);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#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: 1px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    cursor: pointer;
    border-radius: 0; /* Sharp Style */
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--secondary-color);
}
.cookie-btn-accept:hover {
    background-color: #fff;
    border-color: #fff;
}
.cookie-btn-decline:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}
@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; }
}