/* Palette: teal-gold */
/* Primary: #004D40, Secondary: #006B5C, Accent: #C9A227, Tint: #F0FAFE */

:root {
    --color-primary: #004D40;
    --color-secondary: #006B5C;
    --color-accent: #C9A227;
    --bg-tint: #F0FAFE;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.07);
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(28px, 6vw, 42px);
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: #555;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    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;
    z-index: 100;
    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(--color-primary);
    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 {
    font-weight: 500;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 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;
}

@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: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Hero Section (split-color) --- */
.hero-split {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}
.hero-split-content {
    background-color: var(--bg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    flex: 1;
}
.hero-text-container {
    max-width: 600px;
    text-align: center;
}
.hero-title {
    font-size: clamp(32px, 7vw, 52px);
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 30px;
}
.hero-split-image {
    flex: 1;
    min-height: 300px;
}
.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 992px) {
    .hero-split {
        flex-direction: row;
        min-height: calc(100vh - 70px);
    }
    .hero-split-content, .hero-split-image {
        width: 50%;
    }
    .hero-text-container {
        text-align: left;
    }
}

/* --- Benefits Timeline --- */
.section-timeline {
    background-color: #fff;
}
.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: 19px;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid var(--bg-tint);
    z-index: 1;
}
.timeline-title {
    margin-top: 0;
    color: var(--color-secondary);
}
@media (max-width: 768px) {
    .timeline-container::after {
        left: 20px;
    }
}

/* --- Icon Features --- */
.section-features {
    background-color: var(--bg-tint);
}
.features-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.feature-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 28px;
    text-align: center;
    box-shadow: var(--shadow-color) 0 2px 12px;
}
.feature-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}
.feature-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color-primary);
}
.feature-card p {
    margin: 0;
    color: #555;
}
@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Expert Block --- */
.expert-container {
    display: grid;
    gap: 30px;
    align-items: center;
}
.expert-image-placeholder {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.expert-image {
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.expert-quote blockquote {
    font-size: clamp(18px, 4vw, 24px);
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    padding-left: 24px;
    margin: 0 0 20px 0;
}
.expert-quote cite {
    font-style: normal;
    font-weight: bold;
}
.expert-quote cite span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    color: #777;
}
@media (min-width: 768px) {
    .expert-container {
        grid-template-columns: 300px 1fr;
        gap: 50px;
    }
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 40px 0;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}
.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: bold;
    color: var(--color-accent);
    line-height: 1.1;
}
.stat-label {
    font-size: 14px;
}
@media (min-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Numbered Steps --- */
.section-steps {
    background-color: var(--bg-tint);
}
.steps-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.step-card {
    background-color: #fff;
    padding: 32px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-color) 0 2px 12px;
}
.step-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 100px;
    font-weight: bold;
    color: rgba(0, 77, 64, 0.08);
    line-height: 1;
    z-index: 0;
}
.step-title {
    position: relative;
    z-index: 1;
    color: var(--color-primary);
}
.step-card p {
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--text-light) !important;
    padding-top: 60px;
}
.site-footer a {
    color: var(--text-light) !important;
}
.site-footer a:hover {
    color: var(--color-accent) !important;
}
.footer-container {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}
.footer-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-accent) !important;
}
.footer-about p {
    margin: 0;
    opacity: 0.9;
}
.footer-links ul, .footer-contact p {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
}
.bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    font-size: 14px;
}
.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* --- Program Page (Numbered Sections) --- */
.page-hero {
    background-color: var(--bg-tint);
    text-align: center;
    padding: 60px 0;
}
.page-title {
    font-size: clamp(32px, 7vw, 48px);
    color: var(--color-primary);
    margin-bottom: 16px;
}
.page-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    max-width: 800px;
    margin: 0 auto;
}
.numbered-section-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
    align-items: center;
}
.numbered-section-number {
    font-size: 120px;
    font-weight: bold;
    color: var(--color-primary);
    opacity: 0.1;
    line-height: 1;
}
.numbered-section-title {
    margin-top: 0;
    color: var(--color-secondary);
}
.numbered-section-image-container {
    width: 100%;
}
.numbered-section-image {
    width: 100%;
    border-radius: 28px;
}
@media (min-width: 992px) {
    .numbered-section-item {
        flex-direction: row;
        text-align: left;
    }
    .numbered-section-item.reverse {
        flex-direction: row-reverse;
        text-align: right;
    }
    .numbered-section-number {
        font-size: 150px;
    }
    .numbered-section-content {
        flex: 2;
    }
    .numbered-section-image-container {
        flex: 1.5;
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary);
    color: var(--text-light);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    padding-top: 100px;
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    font-size: clamp(28px, 6vw, 40px);
}
.cta-container .btn {
    background-color: var(--color-accent);
    color: var(--text-dark);
}

/* --- Mission Page (Vertical Storytelling) --- */
.story-block {
    display: grid;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}
.story-image-container img {
    border-radius: 28px;
    box-shadow: 0 8px 24px var(--shadow-color);
}
.story-title {
    color: var(--color-primary);
    margin-top: 0;
}
@media (min-width: 992px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .story-block-reverse .story-image-container {
        order: -1;
    }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-title {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--color-primary);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
}
.form-group textarea {
    border-radius: 28px;
}
.form-submit-btn {
    width: 100%;
}
.contact-info-card {
    background-color: var(--bg-tint);
    padding: 20px;
    border-radius: 28px;
    margin-bottom: 20px;
}
.contact-info-card h3 {
    margin-top: 0;
    color: var(--color-secondary);
}
.contact-info-card p {
    margin: 0;
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
        gap: 60px;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h1, .thank-you-title {
    margin-bottom: 30px;
}
.legal-page section {
    margin-bottom: 30px;
}
.thank-you-container {
    text-align: center;
    max-width: 800px;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    font-size: 48px;
    line-height: 80px;
    margin: 0 auto 24px auto;
}
.what-next {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.next-links-grid {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}
.next-link-card {
    background: var(--bg-tint);
    padding: 24px;
    border-radius: 28px;
    color: var(--text-dark);
    transition: transform 0.2s, box-shadow 0.2s;
}
.next-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
    color: var(--color-primary);
}
.next-link-card h3 {
    margin-top: 0;
}
@media (min-width: 768px) {
    .next-links-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: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(5px);
    color: var(--text-light);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--color-accent); font-weight: bold; }
.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(--color-accent);
    color: var(--text-dark);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}
@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; }
}