/*
* Color Palette: Graphite & Copper
* --primary-color: #E67E22 (Copper)
* --secondary-color: #2C3E50 (Graphite)
* --text-color: #34495E
* --light-bg-color: #FDFEFE
* --dark-bg-color: #2C3E50
* --light-text-color: #FDFEFE
*/

:root {
    --primary-color: #E67E22;
    --secondary-color: #2C3E50;
    --text-color: #34495E;
    --light-bg-color: #FDFEFE;
    --dark-bg-color: #2C3E50;
    --light-text-color: #FDFEFE;
    --border-color: #bdc3c7;
    --header-height: 70px;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg-color);
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

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);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility & Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-light-bg {
    background-color: #f8f9fa;
}

.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: #7f8c8d;
}

.section-title-left {
    text-align: left;
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #d35400;
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

/* Header & Navigation */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--light-bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    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(--secondary-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(--secondary-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 {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.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%;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    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(--light-bg-color);
    box-shadow: 0 5px 10px 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 var(--border-color);
    text-align: center;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

@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 (Fullscreen for index.html) */
.hero-fullscreen {
    height: 90vh;
    min-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
        display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content-centered {
    color: var(--light-text-color);
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content-centered h1 {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.hero-content-centered p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Page Header (for inner pages) */
.page-header {
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 62, 80, 0.8);
}
.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-text-color);
}
.page-header h1 {
    color: var(--light-text-color);
}

/* Benefits Grid (3-column) */
.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-title {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Stats Bar */
.stats-bar-section {
    background-color: var(--secondary-color);
    padding: 40px 0;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    color: var(--light-text-color);
}
@media (min-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--primary-color);
}
.stat-item .stat-label {
    font-size: 1rem;
    color: #bdc3c7;
}

/* Split Layout */
.split-layout-dynamic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout-dynamic {
        grid-template-columns: 1fr 1fr;
    }
    .split-layout-dynamic.reverse {
        grid-template-columns: 1fr 1fr;
    }
    .split-layout-dynamic.reverse .split-image-container {
        order: 2;
    }
}
.split-image {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Accordion FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-content p {
    padding: 0 20px 20px;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 200px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(230, 126, 34, 0.85);
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-text-color);
    padding-top: 100px;
}
.cta-content h2 {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

/* Program Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 20px 0 20px 60px;
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: 10px;
    top: 25px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-bg-color);
    border: 4px solid var(--primary-color);
    z-index: 1;
}
.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Mission Page */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.value-card {
    text-align: center;
    padding: 20px;
}
.manifesto-container {
    max-width: 800px;
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 60% 35%;
        gap: 5%;
    }
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-container .info-block {
    margin-bottom: 20px;
}
.contact-info-container h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Legal & Thank You Pages */
.legal-content, .thank-you-section {
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h1, .thank-you-section h1 {
    margin-bottom: 30px;
}
.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.next-steps {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: var(--light-text-color) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}
.site-footer h3, .site-footer h4 {
    color: var(--light-text-color) !important;
}
.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.site-footer p {
    color: #bdc3c7 !important;
    margin-bottom: 10px;
}
.site-footer ul {
    list-style: none;
    padding: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer a {
    color: #bdc3c7 !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #34495e;
}

/* 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(--dark-bg-color);
    color: var(--light-text-color);
    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; font-size: 0.9rem; }
#cookie-banner a { 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: 4px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.cookie-btn-decline {
    background-color: #7f8c8d;
    color: var(--light-text-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; }
}