/* Color Palette: Graphite & Copper */
:root {
    --primary-color: #D97940; /* Copper */
    --secondary-color: #2C3E50; /* Graphite */
    --background-color: #FDFEFE;
    --light-bg-color: #F4F6F7;
    --text-color: #34495E;
    --heading-color: #2C3E50;
    --white-color: #FFFFFF;
    --footer-bg-color: #2C3E50;
    --footer-text-color: #BDC3C7;

    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --container-width: 1200px;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4 {
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px 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;
    color: var(--heading-color);
    z-index: 100;
}

.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;
    padding: 5px 0;
    position: relative;
}
.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: 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(--white-color);
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid #eee; }
.mobile-nav a { color: var(--text-color); }

@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); }
}

/* --- Sections & Buttons --- */
.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: var(--text-color);
    font-size: 1.1rem;
}
.section-light-bg {
    background-color: var(--light-bg-color);
}
.page-header {
    background-color: var(--light-bg-color);
    padding: 40px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #c5622a;
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* --- Hero Section (Diagonal) --- */
.hero-diagonal {
    display: flex;
    min-height: 80vh;
    background-color: var(--secondary-color);
}
.hero-content {
    width: 50%;
    color: var(--white-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-content h1 {
    color: var(--white-color);
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.hero-image-container {
    width: 50%;
    background: url('img/bg.jpg') no-repeat center center/cover;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
@media (max-width: 900px) {
    .hero-diagonal { flex-direction: column; min-height: auto; }
    .hero-content, .hero-image-container { width: 100%; }
    .hero-image-container { min-height: 300px; clip-path: none; }
    .hero-content { text-align: center; padding: 40px 20px; }
}

/* --- Vertical Timeline Section --- */
.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: 0;
    top: 15px;
    width: 43px;
    height: 43px;
    background-color: var(--background-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content h3 {
    color: var(--primary-color);
}
@media (max-width: 600px) {
    .timeline-container::after { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .timeline-icon { width: 23px; height: 23px; left: 0; }
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-card {
    background-color: var(--light-bg-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}
.stat-description {
    font-size: 1rem;
    margin: 0;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Image and Text Section --- */
.content-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.content-split-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
    .content-split { grid-template-columns: 1fr 1fr; }
}

/* --- FAQ Section (<details>) --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.faq-question {
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    list-style: none; /* Hide default marker */
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 15px 15px 15px;
}

/* --- Program Page --- */
.program-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.program-intro-image img { border-radius: 8px; }
@media(min-width: 900px) {
    .program-intro { grid-template-columns: 1.2fr 1fr; }
}
.program-accordion { max-width: 900px; margin: 0 auto; }
.accordion-item {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
}
.accordion-header {
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-content { padding: 0 20px 20px; }

/* --- Mission Page --- */
.mission-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media(min-width: 900px) {
    .mission-story-grid { grid-template-columns: 1fr 1fr; }
}
.mission-story-image img { border-radius: 8px; }
.values-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.value-card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.value-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--primary-color); }
.manifesto-block {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: var(--light-bg-color);
    border-left: 5px solid var(--primary-color);
}
.manifesto-block blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* --- Contact Page --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.contact-info-card {
    padding: 25px;
    background-color: var(--light-bg-color);
    border-radius: 8px;
    text-align: center;
}
@media (min-width: 768px) {
    .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; 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%; font-size: 1.1rem; }

/* --- Legal & Thank You Pages --- */
.legal-content h1, .legal-content h2 { margin-top: 2rem; }
.thank-you-section { text-align: center; padding: 80px 0; }
.thank-you-content h1 { color: var(--primary-color); }
.next-steps { margin-top: 40px; }
.next-steps-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.site-footer h4 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
}
.site-footer p, .site-footer li {
    color: var(--footer-text-color) !important;
}
.site-footer a {
    color: var(--footer-text-color) !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-copyright {
    text-align: center;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #444;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-color);
    color: var(--white-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; font-size: 0.9rem; }
#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: var(--white-color); }
.cookie-btn-decline { background-color: #555; color: var(--white-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; }
}