/*
  Design System:
  - design-style: bold-editorial
  - border-style: sharp
  - shadow-style: subtle
  - color-mode: light

  Color Palette: Graphite & Copper
  - Primary: #D97706 (Copper)
  - Secondary: #F3F4F6 (Light Gray)
  - Dark: #111827 (Graphite)
  - Light: #FFFFFF (White)
*/

:root {
    --primary-color: #D97706;
    --secondary-color: #F3F4F6;
    --dark-color: #111827;
    --light-color: #FFFFFF;
    --text-color: #374151;
    --border-color: #E5E7EB;
    --shadow-color: rgba(0, 0, 0, 0.07);
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* --- Typography --- */
h1, h2, h3 {
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
p { margin: 0 0 1.5rem 0; }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--light-color);
    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: 28px;
    font-weight: 900;
    color: var(--dark-color);
    text-decoration: none;
    z-index: 100;
}
.logo:hover { 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(--dark-color);
    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-color);
    font-weight: 600;
    font-size: 16px;
}
.desktop-nav a:hover { color: var(--primary-color); text-decoration: none; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--light-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 20px 20px 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 600;
    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-content-box { padding: 20px; }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #b86505;
    border-color: #b86505;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--light-color);
}
.btn-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    text-decoration: none;
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 60px 0;
    overflow: hidden;
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
}
.hero-image-wrapper {
    position: relative;
    min-height: 300px;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-box {
    padding: 30px;
    background-color: var(--light-color);
    box-shadow: 0 2px 12px var(--shadow-color);
}
.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .hero-content-wrapper {
        transform: translateX(-80px);
        z-index: 2;
    }
}

/* --- Benefits H-Scroll Section --- */
.benefits-hscroll-section {
    padding-top: 0;
}
.section-intro {
    max-width: 650px;
    margin: 0 auto 40px auto;
}
.hscroll-container {
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.hscroll-container::-webkit-scrollbar { display: none; }
.hscroll-track {
    display: flex;
    gap: 20px;
    padding-left: calc((100% - 1200px) / 2 + 16px);
    padding-right: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.benefit-card-h {
    flex: 0 0 320px;
    padding: 24px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px var(--shadow-color);
}
.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
@media (min-width: 1200px) {
    .hscroll-track { padding-left: 16px; }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
}
.stats-bar-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, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1rem;
    font-weight: 500;
    max-width: 250px;
}
@media (min-width: 768px) {
    .stats-bar-container {
        flex-direction: row;
        text-align: left;
    }
    .stat-item {
        align-items: center;
        text-align: center;
    }
}

/* --- Two Column Image Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.checklist {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}
.checklist li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 1rem;
}
.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}
@media (min-width: 768px) {
    .two-col-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

/* --- Accordion FAQ Section --- */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    padding: 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Remove marker for Safari */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::-webkit-details-marker { display: none; } /* Remove marker for Chrome */
.accordion-header::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding-bottom: 20px;
}

/* --- Numbered Steps Section --- */
.numbered-steps-section {
    background-color: var(--secondary-color);
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.step-card {
    position: relative;
    padding: 24px;
}
.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--border-color);
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    z-index: 1;
}
.step-title, .step-text {
    position: relative;
    z-index: 2;
}
.step-title {
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Page Header --- */
.page-header-section {
    padding: 60px 0;
    background-color: var(--dark-color);
    text-align: center;
    position: relative;
}
.page-title { color: var(--light-color); }
.page-subtitle { color: #d1d5db; max-width: 600px; margin: 0 auto; }
.page-title-light { color: var(--light-color); }
.page-subtitle-light { color: #e5e7eb; max-width: 600px; margin: 0 auto; }
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1;
}
.content-over-bg {
    position: relative;
    z-index: 2;
}

/* --- Program Page: Numbered Sections --- */
.numbered-section-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    gap: 20px;
}
.numbered-section-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    flex-shrink: 0;
}
.numbered-section-content .content-image {
    margin-top: 2rem;
}
@media (min-width: 992px) {
    .numbered-section-item {
        flex-direction: row;
        gap: 60px;
        align-items: flex-start;
    }
    .numbered-section-item.reverse {
        flex-direction: row-reverse;
    }
    .numbered-section-number {
        font-size: 8rem;
    }
}

/* --- CTA Section --- */
.cta-section-accent {
    background-color: var(--primary-color);
}
.cta-title {
    color: var(--light-color);
}
.cta-text {
    color: var(--light-color);
    max-width: 500px;
    margin: 0 auto 30px auto;
}

/* --- Mission Page --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.value-card {
    padding: 30px;
    background-color: var(--secondary-color);
}
.value-title {
    color: var(--primary-color);
}
.manifest-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .manifest-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Contact Page --- */
.contact-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-sizing: border-box;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    border-color: var(--primary-color);
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.contact-info-block p {
    margin: 0;
    line-height: 1.6;
}
@media (min-width: 992px) {
    .contact-layout-container {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page-section, .thank-you-section {
    padding: 60px 0;
}
.legal-last-updated {
    color: #6b7280;
    margin-bottom: 2rem;
    font-style: italic;
}
.legal-page-section h2 {
    margin-top: 2.5rem;
}
.legal-page-section ul {
    padding-left: 20px;
    margin-bottom: 1.5rem;
}
.thank-you-content {
    max-width: 800px;
    margin: 40px auto 0 auto;
}
.quick-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}
.quick-link-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    text-align: left;
    color: var(--text-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.quick-link-card:hover {
    text-decoration: none;
    box-shadow: 0 4px 20px var(--shadow-color);
    transform: translateY(-5px);
}
.quick-link-card h3 {
    color: var(--dark-color);
}
@media (min-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color) !important;
    color: #d1d5db !important;
    padding: 60px 0 20px 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer h3 {
    color: var(--light-color) !important;
    font-size: 1.2rem;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 10px;
}
.site-footer a {
    color: #d1d5db !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 0.9rem;
}
@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;
    background-color: var(--dark-color);
    color: var(--light-color);
    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;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#cookie-banner a { color: var(--primary-color); font-weight: 600; }
.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: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.cookie-btn-decline {
    background-color: #4b5563;
    color: var(--light-color);
}
@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; }
}