/* Palette: Deep Orchid, Burnt Orange, Light Coral, Midnight Blue */
:root {
    --primary-color: #630E76;
    --secondary-color: #E67E22;
    --accent-color: #F08080;
    --dark-bg: #0C0F24;
    --light-bg: #fdf9f5;
    --text-light: #f0f0f0;
    --text-dark: #2c2c2c;
    --border-light: #e0e0e0;
    --border-dark: #2a2e4b;
}

/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 16px;
}

/* --- Layout & Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.dark-section h2, .dark-section h3 {
    color: var(--text-light);
}

.dark-section a {
    color: var(--accent-color);
}
.dark-section a:hover {
    color: var(--text-light);
}

.light-section {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-title {
    font-size: clamp(36px, 6vw, 56px);
    text-align: center;
}

.page-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    text-align: center;
    max-width: 800px;
    margin: 16px auto 0;
    opacity: 0.9;
}

.page-header-section {
    padding: 80px 0;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
}

.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(--text-light);
}
.logo:hover {
    color: var(--accent-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(--text-light);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.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: 8px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-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.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;
    text-align: center;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
}

/* --- Hero Section (Fullscreen Center) --- */
.hero-fullscreen-center {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px;
    color: var(--text-light);
    background: url('img/bg.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 15, 36, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 32px;
    opacity: 0.9;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: #d35400;
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-light);
    border-color: var(--accent-color);
}
.btn-secondary:hover {
    background-color: #d96d6d;
    color: var(--text-light);
}

/* --- Benefits Horizontal Scroll --- */
.benefits-hscroll-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 24px; /* For scrollbar visibility */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--border-light);
}

.benefit-card-hscroll {
    flex: 0 0 300px;
    padding: 28px;
    background-color: white;
    border-radius: 28px;
    border: 1px solid var(--border-light);
}

.card-title {
    font-size: 20px;
    color: var(--primary-color);
}

.card-text {
    font-size: 15px;
}

/* --- FAQ Accordion --- */
.faq-container {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-dark);
    border-radius: 28px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    opacity: 0.8;
}

/* --- Expert Block --- */
.expert-container {
    display: grid;
    gap: 32px;
    align-items: center;
}

.expert-image-wrapper {
    width: 100%;
}

.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.expert-quote {
    font-size: 18px;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 24px;
    margin-bottom: 24px;
}

.expert-signature {
    font-size: 16px;
}
.expert-signature span {
    opacity: 0.8;
}

/* --- Testimonials Vertical --- */
.testimonials-vertical-container {
    display: grid;
    gap: 24px;
}

.testimonial-card-vertical {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border-dark);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.testimonial-name {
    font-weight: bold;
    margin: 0;
}

.testimonial-rating {
    color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    opacity: 0.9;
}

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.cta-banner-content {
    text-align: center;
}

.cta-banner-title {
    font-size: clamp(28px, 5vw, 38px);
}

.cta-banner-text {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Program Page: Grid 6 Cards --- */
.program-grid-6 {
    display: grid;
    gap: 24px;
}

.program-card {
    padding: 28px;
    background-color: white;
    border-radius: 28px;
    border: 1px solid var(--border-light);
}

/* --- Content Image Split --- */
.content-image-split {
    display: grid;
    gap: 32px;
    align-items: center;
}
.split-image img {
    border-radius: 28px;
}

/* --- Mission Page --- */
.founder-story-container {
    display: grid;
    gap: 32px;
    align-items: center;
}
.founder-image-wrapper img {
    border-radius: 28px;
}

.values-grid {
    display: grid;
    gap: 24px;
}

.value-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border-dark);
}

.manifesto-container {
    max-width: 800px;
    text-align: center;
}

/* --- Contact Page --- */
.contact-page-layout {
    display: grid;
    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: 14px;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    background-color: #fff;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    color: var(--primary-color);
}

/* --- Policy & Thank You Pages --- */
.policy-container {
    max-width: 800px;
}
.policy-container h2 {
    margin-top: 32px;
}
.text-muted {
    opacity: 0.7;
    margin-bottom: 24px;
}
.thank-you-section .text-center { text-align: center; }
.thank-you-separator {
    height: 2px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 32px auto;
}
.thank-you-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 48px 0 0;
}

.footer-container {
    display: grid;
    gap: 32px;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-color) !important;
}

.footer-column p, .footer-links a {
    color: rgba(240, 240, 240, 0.8) !important;
    font-size: 15px;
}
.footer-links a:hover {
    color: #fff !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    text-align: center;
    padding: 24px 16px;
    margin-top: 32px;
}

/* --- 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);
    border-top: 1px solid var(--border-dark);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--accent-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: 50px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.cookie-btn-decline {
    background-color: #444;
    color: var(--text-light);
}

/* --- Media Queries (Mobile-First) --- */
@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); }
}

@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; }
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 80px 0; }
    .expert-container { grid-template-columns: 1fr 1.2fr; }
    .testimonials-vertical-container { grid-template-columns: repeat(2, 1fr); }
    .program-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .content-image-split { grid-template-columns: 1fr 1fr; }
    .founder-story-container { grid-template-columns: 0.8fr 1.2fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-page-layout { grid-template-columns: 60% 35%; justify-content: space-between; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .testimonials-vertical-container { grid-template-columns: repeat(3, 1fr); }
    .program-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}