/* crimson-charcoal Palette */
:root {
    --color-primary: #C0392B;
    --color-secondary: #2C3E50;
    --color-accent: #F7DC6F;
    --bg-tint: #1a1a1a; /* Dark mode tint */
    --text-light: #f0f0f0;
    --text-dark: #111;
    --border-color: #444;
}

/* Global Styles */
*, *::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: #111;
    color: var(--text-light);
    font-size: clamp(16px, 1.5vw, 18px);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
    background-color: var(--bg-tint);
}
.section:nth-of-type(even) {
    background-color: #111;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-light);
}

.section-title {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #ccc;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; /* pill */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a93226;
    color: #fff;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Header */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: #111;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 900;
    z-index: 100;
    color: var(--text-light);
    letter-spacing: -1px;
}

.logo:hover {
    color: var(--color-primary);
}

.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: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on 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(--color-secondary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
}

/* Hero Section (Asymmetric) */
.hero-asymmetric {
    background-color: #111;
    padding: 80px 0;
    overflow: hidden;
}

.hero-asymmetric-container {
    display: grid;
    align-items: center;
    gap: 40px;
}

.hero-title {
    font-size: clamp(28px, 9vw, 50px);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 550px;
    margin-bottom: 32px;
}
.hero-image-wrapper {
    display: none; /* Hidden on mobile */
}

/* Benefits Section (Asymmetric Grid) */
.benefits-asymm-grid {
    display: grid;
    gap: 24px;
}
.benefit-card {
    background-color: var(--color-secondary);
    padding: 32px;
    border-radius: 32px; /* pill */
    box-shadow: 0 2px 12px rgba(0,0,0,0.2); /* subtle for dark */
    border: 1px solid var(--border-color);
}
.card-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--color-primary);
    padding: 50px 0;
}
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 900;
    color: #fff;
    display: block;
}
.stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 250px;
    margin: 0 auto;
}

/* Two-Column Section */
.two-col-container {
    display: grid;
    gap: 40px;
    align-items: center;
}
.two-col-image img {
    border-radius: 28px; /* pill */
}
.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}
.styled-list li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.legal-page {
    padding: 80px 20px;
}
/* Expert Block */
.expert-section {
    background-color: var(--color-secondary);
}
.expert-container {
    display: grid;
    gap: 30px;
    align-items: center;
}
.expert-image-placeholder {
    border-radius: 999px; /* pill */
    margin: 0 auto;
}
.expert-quote blockquote {
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    border-left: 4px solid var(--color-primary);
    padding-left: 25px;
    margin-bottom: 20px;
}
.expert-quote cite {
    display: block;
    font-style: normal;
    text-align: right;
}

/* Accordion FAQ */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.accordion-header {
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding-top: 20px;
    max-width: 800px;
}
.accordion-item[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0; transform: translateY(-10px)}
  100%  {opacity: 1; transform: translateY(0)}
}


/* Program Page - Timeline */
.section-intro .section-title-huge,
.section-intro .section-subtitle-large {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.section-title-huge {
    font-size: clamp(48px, 9vw, 90px);
}
.section-subtitle-large {
    font-size: clamp(18px, 2.5vw, 22px);
    max-width: 800px;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-secondary);
    top: 0;
    bottom: 0;
    left: 18px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-left: 20px;
}
.timeline-dot {
    position: absolute;
    left: -10px;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #111;
    border: 4px solid var(--color-primary);
    z-index: 1;
}
.timeline-title {
    color: var(--color-primary);
    font-size: 1.8rem;
}

/* Mission Page - Storytelling */
.storytelling-block {
    display: grid;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.storytelling-image img {
    border-radius: 28px; /* pill */
}
.values-grid {
    display: grid;
    gap: 24px;
}
.value-item {
    background-color: var(--color-secondary);
    padding: 24px;
    border-radius: 28px;
    text-align: center;
}

/* Contact Page */
.contact-layout {
    display: grid;
    gap: 40px;
}
.contact-form-wrapper {
    background-color: var(--color-secondary);
    padding: 40px;
    border-radius: 28px;
}
.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: 14px;
    border-radius: 50px; /* pill */
    border: 1px solid var(--border-color);
    background-color: #111;
    color: var(--text-light);
    font-size: 1rem;
}
.form-group textarea {
    border-radius: 28px; /* pill */
}
.form-submit-btn {
    width: 100%;
}
.contact-info-card {
    background-color: var(--bg-tint);
    padding: 40px;
    border-radius: 28px;
}
.contact-info-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Legal & Thank You Pages */
.legal-page h1, .thank-you-section h1 {
    margin-bottom: 40px;
}
.legal-page section {
    margin-bottom: 30px;
}
.thank-you-title {
    font-size: clamp(40px, 7vw, 64px);
}
.next-steps {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}
.next-steps-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}


/* Footer */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: #ccc !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    gap: 40px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: #fff !important;
}
.site-footer h3 {
    color: #fff !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: #ccc !important;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--color-accent) !important;
}
.footer-copyright {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* 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-secondary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.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;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: #fff;
}
.cookie-btn-decline {
    background-color: var(--border-color);
    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) {
    .hero-asymmetric-container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-image-wrapper {
        display: block;
    }
    .hero-image {
        border-radius: 36px; /* pill */
        transform: translateX(15%);
        max-width: 120%;
    }
    .benefits-asymm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card {
        grid-column: 1 / -1;
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .two-col-container {
        grid-template-columns: 1fr 1fr;
    }
    .expert-container {
        grid-template-columns: 150px 1fr;
        text-align: left;
    }
    .expert-image-placeholder {
        margin: 0;
    }
    .storytelling-block {
        grid-template-columns: 1fr 1fr;
    }
    .storytelling-block.reverse .storytelling-content {
        order: 2;
    }
    .storytelling-block.reverse .storytelling-image {
        order: 1;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .benefits-asymm-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .featured-card {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }
}