/* Palette: Graphite & Gold */
:root {
    --color-primary: #F4D03F; /* Gold */
    --color-secondary: #90A4AE; /* Cool Grey */
    --color-background-dark: #1C2833; /* Dark Graphite */
    --color-background-light: #F4F6F7;
    --color-text-dark: #212F3D;
    --color-text-light: #ECF0F1;
    --font-family-base: 'Roboto', sans-serif;
    --font-family-heading: 'Montserrat', sans-serif;
    --border-radius-card: 32px;
    --border-radius-btn: 50px;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.dark-section h1, .dark-section h2, .dark-section h3, .dark-section p {
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.dark-section {
    background-color: var(--color-background-dark);
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.05), transparent 70%);
}

.text-center { text-align: center; }
.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 24px;
}
.section-title-left {
    font-size: clamp(28px, 5vw, 42px);
    text-align: left;
    margin-bottom: 24px;
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    opacity: 0.9;
}

/* --- Header --- */
.site-header {
    background-color: var(--color-background-light);
    padding: 15px 10px;
    border-bottom: 1px solid #e0e0e0;
}
.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(--color-text-dark);
    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(--color-text-dark);
    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(--color-text-dark);
    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(--color-primary);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after { width: 100%; }
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-background-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { color: var(--color-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 36px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background-dark);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background-light);
}

/* --- Hero: split-color --- */
.hero-split-color {
    display: grid;
    min-height: calc(100vh - 71px);
    grid-template-columns: 1fr;
}
.hero-content {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.hero-text-container {
    max-width: 550px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 58px);
    color: var(--color-text-light);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.8;
    margin-bottom: 32px;
}
.hero-image-container {
    display: none;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 992px) {
    .hero-split-color {
        grid-template-columns: 1fr 1fr;
        min-height: 600px;
    }
    .hero-image-container {
        display: block;
    }
}

/* --- Benefits Timeline --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 19px;
    opacity: 0.3;
}
.timeline-item {
    padding: 20px 0 20px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-background-dark);
    border: 3px solid var(--color-primary);
    z-index: 1;
}
.timeline-title {
    color: var(--color-primary);
    margin-bottom: 8px;
}

/* --- Expert Block --- */
.expert-block-layout {
    display: grid;
    gap: 32px;
    align-items: center;
}
.expert-image-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: var(--border-radius-card);
    margin: 0 auto;
}
.expert-quote-content {
    text-align: center;
}
.expert-quote {
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    padding: 0 20px;
}
.expert-quote::before, .expert-quote::after {
    content: '"';
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.5;
    position: absolute;
}
.expert-quote::before { top: -20px; left: -10px; }
.expert-quote::after { bottom: -40px; right: -10px; }
.expert-info { font-weight: 600; }
@media (min-width: 768px) {
    .expert-block-layout {
        grid-template-columns: 150px 1fr;
        gap: 48px;
    }
    .expert-image-placeholder { margin: 0; }
    .expert-quote-content { text-align: left; }
    .expert-quote::before { left: -20px; }
    .expert-quote::after { right: 0; }
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item img {
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.placeholder-gallery {
    border-radius: var(--border-radius-card);
    background-color: rgba(244, 208, 63, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
}
.alt-placeholder {
    background-color: rgba(144, 164, 174, 0.1);
    color: var(--color-secondary);
}

/* --- Two-Column Layout --- */
.two-col-layout {
    display: grid;
    gap: 32px;
    align-items: center;
}
.two-col-image img {
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
.styled-list {
    list-style: none;
    padding: 0;
}
.styled-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}
.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
@media (min-width: 768px) {
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Checklist Block --- */
.checklist-grid {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.checklist-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
    border-radius: var(--border-radius-btn);
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-weight: 500;
}
.checklist-icon {
    color: var(--color-primary);
    font-size: 24px;
    margin-right: 16px;
    font-weight: bold;
}
@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* --- Program Page: Horizontal Tabs --- */
.page-hero {
    background-color: var(--color-background-dark);
    padding: 80px 0;
    text-align: center;
}
.page-title { color: var(--color-text-light); font-size: clamp(32px, 6vw, 52px); }
.page-subtitle { color: var(--color-text-light); max-width: 700px; margin: 16px auto 0 auto; opacity: 0.8; }

.tabs-container { max-width: 900px; margin: 0 auto; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    justify-content: center;
}
.tab-radio { display: none; }
.tab-label {
    padding: 16px 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-secondary);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"],
#tab4:checked ~ .tabs-nav label[for="tab4"] {
    color: var(--color-text-dark);
    border-bottom-color: var(--color-primary);
}
.tabs-content .tab-panel { display: none; padding: 32px 0; }
#tab1:checked ~ .tabs-content #tab-panel-1,
#tab2:checked ~ .tabs-content #tab-panel-2,
#tab3:checked ~ .tabs-content #tab-panel-3,
#tab4:checked ~ .tabs-content #tab-panel-4 {
    display: block;
}

/* --- Program Page: CTA --- */
.cta-container {
    display: grid;
    align-items: center;
    gap: 32px;
}
.cta-image {
    border-radius: var(--border-radius-card);
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .cta-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Mission Page: Timeline --- */
.mission-timeline {
    position: relative;
    padding: 20px 0;
}
.mission-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    display: none;
}
.mission-timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.mission-timeline-date {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 12px;
    background-color: var(--color-background-dark);
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--border-radius-btn);
    color: var(--color-text-light);
}
.mission-timeline-content {
    background: #fff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
@media (min-width: 992px) {
    .mission-timeline::before { display: block; }
    .mission-timeline-item {
        width: 50%;
        padding: 0 40px;
    }
    .mission-timeline-item:nth-child(even) {
        margin-left: 50%;
    }
    .mission-timeline-date {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100px;
        text-align: center;
    }
    .mission-timeline-item:nth-child(odd) .mission-timeline-date {
        right: -50px;
    }
    .mission-timeline-item:nth-child(even) .mission-timeline-date {
        left: -50px;
    }
}

/* --- Mission Page: Values Block --- */
.values-container {
    display: grid;
    align-items: center;
    gap: 32px;
}
.values-image img { border-radius: var(--border-radius-card); }
.values-content ul { list-style: none; padding: 0; }
.values-content li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    color: var(--color-text-light);
}
.values-content li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .values-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    gap: 48px;
}
.contact-form-container { max-width: 800px; }
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--border-radius-btn);
    border: 1px solid #ccc;
    background-color: #fff;
    font-family: var(--font-family-base);
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.3);
}
.form-group textarea {
    border-radius: var(--border-radius-card);
    resize: vertical;
}
.form-submit-btn { width: 100%; }

.contact-info-card {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    margin-bottom: 24px;
}
.contact-info-card p, .contact-info-card a { color: var(--color-text-light); opacity: 0.9; }
.contact-info-title { color: var(--color-primary); margin-bottom: 16px; }

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-content { max-width: 800px; }
.legal-content h1, .legal-content h2 { margin-bottom: 16px; margin-top: 32px; }
.legal-content p, .legal-content li { margin-bottom: 12px; }

.thank-you-section { padding: 80px 0; }
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
    color: var(--color-primary);
}
.thank-you-actions { margin-top: 32px; }
.next-steps-grid {
    display: grid;
    gap: 24px;
}
.next-step-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-card);
}
.next-step-card h3 { color: var(--color-primary); }
.card-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: bold;
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .next-steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-background-dark) !important;
    color: var(--color-text-light) !important;
    padding: 60px 0 0 0;
}
.site-footer p, .site-footer li, .site-footer h3 {
    color: var(--color-text-light) !important;
}
.footer-container {
    display: grid;
    gap: 40px;
}
.footer-title {
    color: var(--color-primary) !important;
    margin-bottom: 16px;
    font-size: 20px;
}
.footer-about p { opacity: 0.8; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--color-text-light) !important;
    opacity: 0.8;
}
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-contact p { opacity: 0.8; margin-bottom: 10px; }
.footer-contact a {
    color: var(--color-text-light) !important;
    opacity: 0.8;
}
.footer-contact a:hover { opacity: 1; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#cookie-banner a { color: var(--color-primary); 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: var(--border-radius-btn);
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-background-dark);
}
.cookie-btn-decline {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
}
@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; }
}