/* Color Palette: Graphite & Copper */
:root {
    --primary-color: #D35400; /* Copper */
    --secondary-color: #BDC3C7; /* Silver */
    --dark-bg: #2C3E50; /* Slate Gray */
    --light-bg: #ECF0F1; /* Off-White */
    --text-color-light: #ECF0F1;
    --text-color-dark: #34495E;
    --border-color: #34495E;
    --font-family: 'Helvetica', 'Arial', sans-serif;
}

/* --- General Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-color-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Layout & Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #E67E22;
    text-decoration: none;
}

.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(--text-color-light);
    transform: translateY(-3px);
    text-decoration: none;
}


/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.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(--text-color-light);
}
.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(--text-color-light);
    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 .nav-list a {
    color: var(--secondary-color);
    font-weight: bold;
}
.desktop-nav .nav-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--dark-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}
.mobile-nav a {
    color: var(--text-color-light);
    font-size: 1.2rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--secondary-color) !important;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.site-footer h3 {
    color: var(--text-color-light) !important;
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.site-footer ul { padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--secondary-color) !important; }
.site-footer a:hover { color: var(--primary-color) !important; text-decoration: underline; }
.footer-contact p { margin-bottom: 5px; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

/* --- Unique Component Styles for Version 3 --- */

/* Hero V3: Floating Card */
.hero-v3 {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 1;
}
.hero-v3 .container {
    position: relative;
    z-index: 2;
}
.hero-floating-card {
    background-color: rgba(44, 62, 80, 0.9);
    color: var(--text-color-light);
    padding: 40px;
    border-radius: 8px;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-floating-card h1 {
    color: var(--text-color-light);
}

/* Stats Bar */
.stats-bar-section {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}
.stat-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 5px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-bg);
    border: 3px solid var(--primary-color);
    z-index: 1;
}
.timeline-content h3 {
    color: var(--primary-color);
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    color: var(--text-color-light);
}

/* Program Page: Numbered Sections */
.numbered-section {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}
.numbered-section-digit {
    font-size: 6rem;
    font-weight: bold;
    color: rgba(211, 84, 0, 0.2);
    line-height: 1;
}
.numbered-section-content {
    flex: 1;
}
.content-image {
    margin-top: 20px;
    border-radius: 8px;
}

/* Mission Page */
.mission-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-intro-image img {
    border-radius: 8px;
}
.values-section { background-color: #f8f9fa; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.value-card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.manifesto-container {
    max-width: 800px;
    text-align: center;
}
blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    font-size: 1.3rem;
    font-style: italic;
}

/* Contact Page */
.contact-info-top {
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    padding-bottom: 30px;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.contact-card {
    background-color: var(--light-bg);
    color: var(--text-color-dark);
    padding: 25px;
    border-radius: 5px;
}
.contact-card h4 {
    color: var(--primary-color);
}
.contact-form {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-submit-btn { width: 100%; }

/* Legal & Thank You Pages */
.legal-page .container, .thank-you-section .container {
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h2 { margin-top: 30px; }
.text-center { text-align: center; }
.thank-you-next-steps { margin-top: 50px; }
.thank-you-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--dark-bg);
    color: var(--text-color-light);
    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;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#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 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--text-color-light); }
.cookie-btn-decline { background-color: var(--secondary-color); color: var(--text-color-dark); }

/* --- Media Queries --- */
@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); }

    .numbered-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .numbered-section.reverse {
        flex-direction: column;
    }
    .timeline-container::after { left: 15px; }
    .timeline-item { padding-left: 45px; }
    .timeline-icon { left: 0; }
}

@media (min-width: 768px) {
    .split-container { grid-template-columns: 1fr 1fr; }
    .mission-intro-grid { grid-template-columns: 1.2fr 1fr; }
}

@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; }
}