/*
    Theme: Graphite & Copper Palette
*/
:root {
    --primary-color: #D95F43; /* Copper */
    --secondary-color: #3D405B; /* Graphite */
    --background-color: #FDF8F0; /* Creamy White */
    --text-color: #333333; /* Dark Gray */
    --accent-color: #E07A5F; /* Lighter Copper/Terracotta */
    --light-gray: #F4F1DE; /* Light Beige for backgrounds */
    --footer-bg: #2d2f45;
    --footer-text: #EAEAEA;
    --font-family-sans: 'Arial', 'Helvetica', sans-serif;
}

/* General Reset and Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

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;
}

/* Container and Section Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #555;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid #ddd;
}

.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: bold;
    font-size: 16px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--secondary-color);
}

.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);
    text-align: center;
}

.mobile-nav a {
    color: white;
    font-size: 18px;
}

@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: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    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: white;
    transform: translateY(-2px);
}

/* Hero Section (Grid with Overlap) */
.hero-section-grid {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}
.hero-image-container {
    position: relative;
}
.hero-image-overlap {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-content-container {
    text-align: center;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
    .hero-content-container {
        text-align: left;
        order: 2;
    }
    .hero-image-container {
        order: 1;
    }
    .hero-image-overlap {
        transform: translateX(-40px) scale(1.1);
    }
}

/* Benefits Section (2x2 Grid) */
.benefits-section { background-color: var(--background-color); }
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.card-title {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .benefits-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 8px;
}
@media (min-width: 768px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

/* Stats Bar */
.stats-bar-section { background-color: var(--secondary-color); }
.stats-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.stat-item {
    text-align: center;
    color: white;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1rem;
    color: var(--light-gray);
}
@media (min-width: 768px) {
    .stats-bar-container {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Accordion FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border-bottom: 1px solid #ddd;
}
.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    list-style: none; /* Hide default marker */
    position: relative;
    color: var(--secondary-color);
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.accordion-item[open] .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}
.accordion-content {
    padding: 0 20px 20px 20px;
}

/* CTA Section */
.cta-section { background-color: var(--light-gray); }
.cta-container { text-align: center; }
.cta-title { font-size: 2rem; color: var(--secondary-color); margin-bottom: 15px; }
.cta-text { margin-bottom: 30px; }

/* Page Header */
.page-header-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
}
.page-header-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
}
.overlay-content, .page-header-section .container {
    position: relative;
    z-index: 2;
}
.page-title {
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #f0f0f0;
}

/* Program Page - Numbered Sections */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}
.section-number-container {
    flex-shrink: 0;
}
.section-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.numbered-section-title {
    text-align: left;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .numbered-section {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }
    .numbered-section.reverse-layout {
        flex-direction: row-reverse;
    }
    .numbered-section.reverse-layout .numbered-section-title {
        text-align: right;
    }
}

/* CTA Alt (Program Page) */
.cta-section-alt { background-color: var(--light-gray); }
.cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.cta-image {
    border-radius: 8px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .cta-content { grid-template-columns: 1fr 2fr; }
}

/* Mission Page */
.mission-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image-container img { border-radius: 8px; }
.mission-content-container .section-title { text-align: left; }
@media (min-width: 992px) {
    .mission-split-layout { grid-template-columns: 1fr 1.5fr; }
}
.values-section { background-color: var(--light-gray); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.value-card {
    background: white;
    padding: 25px;
    border-radius: 5px;
}
.value-title { color: var(--secondary-color); }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
.manifesto-section { text-align: center; }
blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 30px;
}

/* Contact Page */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form-container .section-title,
.contact-info-container .section-title {
    text-align: left;
}
.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;
    font-size: 1rem;
}
.form-submit-btn {
    width: 100%;
}
.contact-info-item { margin-bottom: 25px; }
.contact-info-item h3 { color: var(--secondary-color); margin-bottom: 5px; }
@media (min-width: 992px) {
    .contact-split-layout { grid-template-columns: 1.5fr 1fr; }
}

/* Legal & Thank You Pages */
.legal-page .container, .thank-you-container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.thank-you-section { text-align: center; padding: 100px 0; }
.thank-you-title { font-size: 3rem; color: var(--primary-color); }
.whats-next { margin-top: 50px; }
.next-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-column h4, .footer-logo {
    color: white !important;
    margin-bottom: 20px;
}
.footer-logo { font-size: 1.8rem; }
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: var(--footer-text) !important;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--primary-color) !important;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #444;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* 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(--secondary-color);
    color: white;
    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(--primary-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: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: white; }
.cookie-btn-decline { background-color: #555; color: white; }
@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; }
}