/* Palette: midnight-amber */
:root {
    --color-primary: #0D1B2A;
    --color-secondary: #1B2838;
    --color-accent: #D4A017;
    --bg-tint: #F4F6F8;
    --text-light: #F4F6F8;
    --text-dark: #0D1B2A;
    --border-light: #e0e0e0;
    --border-dark: #334155;
}

/* --- 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, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-tint);
}

/* --- Typography --- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.text-light h1, .text-light h2, .text-light h3, .text-light p, .text-light .subtitle {
    color: var(--text-light);
}
.text-light a {
    color: var(--color-accent);
}
.text-light a:hover {
    color: var(--bg-tint);
}

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.8;
}

.bg-dark {
    background-color: var(--color-secondary);
}

.bg-tint {
    background-color: var(--bg-tint);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-secondary);
    border-bottom: 1px solid var(--border-dark);
}

.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(--color-accent);
}

.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;
}
.desktop-nav .nav-list a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.desktop-nav .nav-list 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 .nav-list a:hover::after {
    width: 100%;
}


.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; 
    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;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
}
.mobile-nav li a {
    color: var(--text-light);
    font-size: 18px;
    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);
    }
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.btn-accent:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}


/* --- Hero Section: Gradient Center --- */
.hero-gradient-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--text-light);
}

.hero-gradient-center h1 {
    color: var(--text-light);
}
.hero-gradient-center .subtitle {
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    opacity: 0.8;
}


/* --- Benefits Timeline --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-accent);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 25px;
    height: 25px;
    background-color: var(--bg-tint);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content h3 {
    color: var(--color-primary);
}

/* --- Numbered Steps --- */
.numbered-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.numbered-step-card {
    border: 1px solid var(--border-dark);
    padding: 32px;
    background-color: #2a3a4a;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}
.numbered-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .numbered-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .numbered-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--color-accent);
    padding: 40px 0;
}
.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 32px;
    text-align: center;
}
.stat-item {
    color: var(--color-primary);
}
.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .stats-container {
        flex-direction: row;
    }
}

/* --- Accordion FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border-bottom: 1px solid var(--border-light);
}
.accordion-header {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}
.accordion-content {
    padding-bottom: 20px;
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 2rem;
    margin-bottom: 40px;
}
.checklist {
    list-style: none;
}
.checklist li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 12px;
    color: #fff;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
}
.cta-block {
    text-align: center;
    border-top: 1px solid var(--border-dark);
    padding-top: 40px;
    margin-top: 40px;
    color: #fff;
}
@media (min-width: 768px) {
    .checklist-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-column h3 {
    color: var(--text-light) !important;
    margin-bottom: 16px;
    font-size: 1.2rem;
}
.footer-column p, .footer-column li {
    color: rgba(244, 246, 248, 0.8) !important;
}
.footer-nav {
    list-style: none;
}
.footer-nav li {
    margin-bottom: 8px;
}
.footer-nav a {
    color: rgba(244, 246, 248, 0.8) !important;
}
.footer-nav a:hover {
    color: var(--color-accent) !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(244, 246, 248, 0.6) !important;
}
@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;
    }
}


/* --- Page Specific: Program --- */
.page-header {
    padding: 60px 0;
    text-align: center;
}
.program-intro {
    max-width: 800px;
    margin: 0 auto 48px auto;
    text-align: center;
}
.accordion-large .accordion-item-large {
    background-color: #fff;
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.accordion-header-large {
    display: block;
    width: 100%;
    padding: 24px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    background-color: #fff;
    color: var(--color-primary);
}
.accordion-content-large {
    padding: 0 24px 24px 24px;
}
.content-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* --- Page Specific: Mission --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 80px;
}
.story-block:last-child {
    margin-bottom: 0;
}
.story-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
@media (min-width: 992px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
    }
    .story-block.reverse .story-text {
        order: 2;
    }
    .story-block.reverse .story-image {
        order: 1;
    }
}

/* --- Page Specific: Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 0;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--color-accent);
}
.contact-card {
    background: #fff;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* --- Page Specific: Legal & Thank You --- */
.legal-content, .thank-you-section .container {
    max-width: 800px;
}
.legal-content h1, .legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.thank-you-title {
    color: var(--color-primary);
}
.thank-you-actions {
    margin: 32px 0;
}
.next-steps {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}
.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}
.next-step-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--border-light);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    border-color: var(--color-accent);
}
.next-step-card h3 {
    color: var(--color-primary);
}
.next-step-card p {
    margin-bottom: 0;
    color: var(--text-dark);
}
@media (min-width: 768px) {
    .next-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* --- 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);
    color: var(--text-light);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}
#cookie-banner.hidden { 
    transform: translateY(110%); 
}
#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 0.9rem;
    color: var(--text-light) !important;
}
#cookie-banner a {
    text-decoration: underline;
    color: var(--color-accent) !important;
}
.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(--color-accent);
    border-radius: 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.cookie-btn-accept:hover {
    background-color: var(--text-light);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}
.cookie-btn-decline:hover {
    background-color: var(--text-light);
    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; 
    }
}