/* Earthy Gold & Slate Palette: #F39C12, #784212, #34495E, #FDFEFE, #F7DC6F */
:root {
    --primary-color: #F39C12; /* Orange/Gold for accents */
    --secondary-color: #784212; /* Rich Brown for backgrounds/text */
    --dark-color: #34495E; /* Dark Slate for text/backgrounds */
    --light-color: #FDFEFE; /* Almost white for text */
    --accent-color: #F7DC6F; /* Light yellow for highlights */
    --background-color: #f4f6f7;
    --text-color: #333;
    --footer-bg: #2C3E50;
    --footer-text: #bdc3c7 !important; /* !important to override translator styles */
}

/* --- 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;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin: 0 0 1rem 0; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style-type: none; padding: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #555;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}
.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.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(--dark-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(--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 { font-weight: 600; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px; /* Adjust based on header height */
    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 6px rgba(0,0,0,0.1);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid #eee; }
.mobile-nav a { 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 Section (Floating Card) --- */
.hero-section.hero-floating-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 60px 0;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}
.floating-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 650px;
}
.floating-card h1 { color: var(--dark-color); }
.floating-card p { font-size: 1.1rem; color: #444; }

/* --- Intro Section --- */
.intro-content { max-width: 800px; margin: 0 auto; text-align: center; }

/* --- Vertical Timeline --- */
.timeline-container { max-width: 800px; margin: 0 auto; }
.vertical-timeline { position: relative; padding-left: 40px; }
.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--background-color);
}
.timeline-content h3 { margin-bottom: 0.5rem; }

/* --- Split Layout --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .split-layout { grid-template-columns: 1fr 1fr; }
}
.split-image img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- Stats Bar --- */
.section-stats { background-color: var(--dark-color); color: var(--light-color); }
.section-stats p, .section-stats h2 { color: var(--light-color); }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 30px; text-align: center; }
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* --- CTA Section --- */
.section-cta { background-color: var(--secondary-color); }
.cta-container { text-align: center; }
.cta-container h2, .cta-container p { color: var(--light-color); }

/* --- Page Header --- */
.page-header {
    padding: 60px 0;
    background-color: var(--dark-color);
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header .overlay {
    position: absolute; top:0; left:0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1, .page-header p { color: var(--light-color); }

/* --- Program Page (Numbered Sections) --- */
.numbered-section, .numbered-section-with-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 60px;
}
.numbered-section.reverse { flex-direction: row-reverse; }
.numbered-section-digit {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.5;
}
.numbered-section-content { flex: 1; }
.numbered-section-with-image {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}
.numbered-section-image { flex-shrink: 0; max-width: 400px; }
@media (max-width: 768px) {
    .numbered-section, .numbered-section.reverse { flex-direction: column; }
    .numbered-section-with-image { grid-template-columns: 1fr; }
}

/* --- Mission Page (Values Grid) --- */
.text-center-max-width { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 576px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
}
.value-icon {
    width: 60px; height: 60px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem; font-weight: bold;
}
.section-manifesto { background: var(--dark-color); }
.manifesto-content blockquote {
    color: var(--light-color);
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    margin: 0 auto;
    max-width: 800px;
}

/* --- Contact Page --- */
.contact-form-wrapper { max-width: 800px; margin: 0 auto; }
.contact-form { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.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: 4px;
    font-size: 1rem;
}
.form-submit-btn { width: 100%; font-size: 1.1rem; }
.info-cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .info-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--dark-color); color: var(--light-color); padding: 30px; border-radius: 8px; text-align: center; }
.info-card h3 { color: var(--accent-color); }
.info-card p, .info-card a { color: var(--light-color); }

/* --- Legal & Thank You Pages --- */
.legal-page ul { list-style: disc; padding-left: 20px; }
.thank-you-section .text-center { text-align: center; }
.next-steps { margin-top: 40px; }
.next-steps-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 50px 0 0 0;
}
.site-footer .logo { color: var(--light-color); }
.site-footer p, .site-footer a { color: var(--footer-text) !important; }
.site-footer h3 { color: var(--light-color); margin-bottom: 15px; }
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
@media (min-width: 576px) { .footer-container { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
}
.footer-copyright p { margin: 0; }

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background: var(--dark-color);
    color: var(--light-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 -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); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { background-color: var(--primary-color); color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }
.cookie-btn-decline { background-color: #555; color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }
@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; }
}