/* 
    Color Palette: Contrast (Version 4)
    - Dark Slate: #2C3E50 (Primary Background, Footer)
    - Gold: #F1C40F (Accent, Buttons, Headings)
    - Medium Grey: #95A5A6 (Borders, Subtitles)
    - Light Text: #ECF0F1 (Primary Text)
    - White: #FFFFFF (Card Backgrounds)
    - Darker Grey: #7F8C8D (Secondary Text)
*/

:root {
    --primary-bg: #2C3E50;
    --accent-color: #F1C40F;
    --border-color: #95A5A6;
    --text-light: #ECF0F1;
    --text-dark: #2C3E50;
    --text-secondary: #7F8C8D;
    --card-bg: #FFFFFF;
    --footer-bg: #212F3D;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    background-color: #F8F9F9;
    color: var(--text-dark);
    font-size: 16px;
}

.container, .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-bg);
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-bg);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    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(--primary-bg);
}
.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(--primary-bg);
    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 a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}
.desktop-nav a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    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(--card-bg);
    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 #eee;
}
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    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: 12px 28px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--primary-bg);
    color: var(--text-light);
    border-color: var(--primary-bg);
}
.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-bg);
}

/* --- Hero Section (Version 4) --- */
.hero-section-v4 {
    background-color: var(--primary-bg);
    padding: 80px 0;
    overflow: hidden;
}
.hero-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
}
.hero-image-container-v4 {
    border-radius: 8px;
    overflow: hidden;
}
.hero-image-v4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-card-v4 {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-title {
    color: var(--primary-bg);
}
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .hero-grid-v4 {
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .hero-content-card-v4 {
        transform: translateX(-80px);
        z-index: 2;
    }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: #f1f3f4;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}
.stat-item .stat-label {
    color: var(--text-secondary);
    margin: 0;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Benefits Section (Version 4) --- */
.benefits-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card-v4 {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card-v4:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(44, 62, 80, 0.1);
}
.benefit-title {
    color: var(--primary-bg);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}
@media (min-width: 768px) {
    .benefits-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- How It Works Section --- */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.5;
    line-height: 1;
}
.step-title {
    margin-bottom: 0.5rem;
}

/* --- Testimonials Section (Version 4) --- */
.testimonials-section-v4 {
    background-color: #f1f3f4;
}
.testimonials-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card-v4 {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}
.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.testimonial-author {
    font-weight: 700;
    color: var(--primary-bg);
}
@media (min-width: 768px) {
    .testimonials-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-bg);
    color: var(--text-light);
    text-align: center;
}
.cta-content h2 {
    color: var(--text-light);
}

/* --- Page Header --- */
.page-header {
    background-color: var(--primary-bg);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 {
    color: var(--text-light);
}
.page-header p {
    color: var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Program Page (Version 4) --- */
.program-modules-v4 {
    padding: 60px 0;
}
.module-item-v4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}
.module-item-v4:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.module-number-v4 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 1;
}
.module-image {
    border-radius: 8px;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .module-item-v4 {
        flex-direction: row;
        gap: 40px;
    }
    .module-number-v4 {
        font-size: 6rem;
    }
    .module-content-v4 {
        flex: 1;
    }
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none; /* For Safari */
}
.faq-question::-webkit-details-marker { display: none; } /* For Chrome/Safari */
.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* --- Mission Page (Version 4) --- */
.mission-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image {
    border-radius: 8px;
}
@media (min-width: 992px) {
    .mission-grid-v4 {
        grid-template-columns: 1fr 1.2fr;
    }
}

.values-section {
    background-color: #f1f3f4;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page (Version 4) --- */
.contact-form-v4 {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.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 #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.form-submit-btn {
    width: 100%;
}

.contact-info-section-v4 {
    padding-top: 0;
}
.contact-info-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.contact-info-card {
    text-align: center;
    background-color: #f1f3f4;
    padding: 30px;
    border-radius: 8px;
}
@media (min-width: 768px) {
    .contact-info-grid-v4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h2 {
    margin-top: 2rem;
}
.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.whats-next {
    margin: 40px 0;
    text-align: left;
    background-color: #f1f3f4;
    padding: 30px;
    border-radius: 8px;
}
.resource-links {
    list-style: none;
    padding: 0;
}
.resource-links li {
    margin-bottom: 10px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--text-light) !important;
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h3 {
    color: var(--accent-color) !important;
}
.site-footer p, .site-footer a {
    color: var(--border-color) !important;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    text-align: center;
}
.footer-legal-links {
    margin-top: 10px;
}
.footer-legal-links a {
    margin: 0 10px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-legal-links {
        margin-top: 0;
    }
}

/* --- 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(--primary-bg);
    color: var(--text-light);
    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; }
#cookie-banner a { color: var(--accent-color); 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: 5px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}
.cookie-btn-decline {
    background-color: var(--border-color);
    color: var(--primary-bg);
}
@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; }
}