/*
    Color Palette: Corporate Gold & Slate
    Primary: #D4AC0D (Gold)
    Secondary: #F39C12 (Orange Accent)
    Text: #2C3E50 (Dark Slate)
    Neutral: #5D6D7E (Grayish Blue)
    Background: #FFFFFF
    Light Gray BG: #F9F9F9
*/

:root {
    --primary-color: #D4AC0D;
    --secondary-color: #F39C12;
    --text-color: #2C3E50;
    --neutral-color: #5D6D7E;
    --background-color: #FFFFFF;
    --light-gray-bg: #F9F9F9;
    --white-color: #FFFFFF;
    --border-color: #EAEAEA;
    --shadow-color: rgba(44, 62, 80, 0.22);
    --shadow-hover-color: rgba(44, 62, 80, 0.30);
}

/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    margin: 0 0 16px 0;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(28px, 5vw, 40px); }
h3 { font-size: clamp(20px, 4vw, 24px); }
p { margin: 0 0 16px 0; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: var(--neutral-color);
    font-size: clamp(16px, 2.5vw, 18px);
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px; /* pill style */
    font-weight: 700;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 29px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-sizing: border-box;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color);
    z-index: 100;
}

.logo:hover {
    color: var(--primary-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-color);
    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(--neutral-color);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after {
    width: 100%;
}
.desktop-nav a:hover {
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 71px; /* 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(--background-color);
    box-shadow: 0 8px 16px 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 a {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

@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 Section (split-color) --- */
.hero-split {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--background-color);
}
.hero-split-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    width: 100%;
    background: var(--light-gray-bg);
    box-sizing: border-box;
}
.hero-text-container {
    max-width: 600px;
}
.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--neutral-color);
    margin: 24px 0 32px 0;
}
.hero-split-image {
    width: 100%;
    height: 40vh;
}
.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero-split {
        flex-direction: row;
        min-height: calc(100vh - 72px);
    }
    .hero-split-content, .hero-split-image {
        width: 50%;
        height: auto;
    }
    .hero-split-content {
        padding: 64px;
    }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.benefit-card {
    background-color: var(--white-color);
    padding: 32px;
    border-radius: 28px; /* pill */
    box-shadow: 0 24px 64px var(--shadow-color); /* dramatic */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px var(--shadow-hover-color);
}
.card-title {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Numbered Steps Section --- */
.section-steps {
    background-color: var(--light-gray-bg);
}
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}
.step-content h4 {
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .step-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    .step-number {
        margin-right: 24px;
        margin-bottom: 0;
    }
}

/* --- Checklist Section --- */
.checklist-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.checklist li {
    padding-left: 36px;
    position: relative;
    font-size: 17px;
    margin-bottom: 12px;
}
.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}
@media (min-width: 768px) {
    .checklist-columns {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Two Column Image Section --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-image img {
    border-radius: 28px; /* pill */
    box-shadow: 0 24px 64px var(--shadow-color);
}
.section-title-left {
    text-align: left;
}
@media (min-width: 768px) {
    .two-col-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Icon Features Section --- */
.section-icon-features {
    background-color: var(--light-gray-bg);
}
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.icon-feature-item {
    text-align: center;
}
.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}
.icon-feature-item h4 {
    margin-bottom: 4px;
}
.icon-feature-item p {
    color: var(--neutral-color);
    margin: 0;
}
@media (min-width: 500px) {
    .icon-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .icon-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Page Header --- */
.page-header {
    background-color: var(--light-gray-bg);
    text-align: center;
    padding: 64px 0;
}
.page-title {
    margin: 0;
}
.page-subtitle {
    margin: 16px auto 0 auto;
    max-width: 600px;
    color: var(--neutral-color);
}

/* --- Timeline (Program Page) --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 6px;
    z-index: 1;
}
.timeline-content {
    padding: 24px;
    background-color: var(--white-color);
    border-radius: 28px;
    box-shadow: 0 12px 32px var(--shadow-color);
    border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .timeline-container::after { left: 15px; }
    .timeline-item { padding-left: 50px; padding-right: 0; }
    .timeline-dot { left: 6px; }
}

/* --- CTA Section --- */
.cta-section { background-color: var(--light-gray-bg); }
.cta-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background-color: var(--white-color);
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 24px 64px var(--shadow-color);
}
.cta-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 28px;
}
@media (min-width: 768px) {
    .cta-container {
        grid-template-columns: 1fr 2fr;
        gap: 48px;
    }
}

/* --- Storytelling (Mission Page) --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}
.story-image-container img {
    border-radius: 28px;
    box-shadow: 0 24px 64px var(--shadow-color);
}
@media (min-width: 768px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .story-block-reverse .story-image-container {
        order: 2;
    }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form-container {
    width: 100%;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 50px; /* pill */
    font-size: 16px;
    box-sizing: border-box;
}
.contact-form textarea {
    border-radius: 28px; /* pill */
}
.contact-form .form-submit-btn {
    width: 100%;
}
.contact-info-card {
    background: var(--light-gray-bg);
    padding: 24px;
    border-radius: 28px;
    margin-bottom: 24px;
}
.contact-info-card h3 {
    margin-bottom: 12px;
}
.contact-info-card p {
    margin: 0 0 8px 0;
}
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 40px;
}
.thank-you-content {
    margin-top: 48px;
    padding: 32px;
    background: var(--light-gray-bg);
    border-radius: 28px;
}
.thank-you-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-color) !important;
    color: var(--white-color) !important;
    padding: 48px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
}
.site-footer h4, .site-footer .logo {
    color: var(--white-color) !important;
}
.site-footer p, .site-footer a {
    color: #bdc3c7 !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
}
.footer-bottom {
    border-top: 1px solid var(--neutral-color);
    text-align: center;
    padding: 24px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #bdc3c7 !important;
}
@media (min-width: 500px) {
    .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;
    padding: 18px 24px;
    background-color: var(--text-color);
    color: var(--white-color);
    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 -5px 20px 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; color: var(--white-color) !important; }
#cookie-banner a { color: var(--primary-color) !important; font-weight: bold; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: var(--neutral-color);
    color: var(--white-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; }
}