/*
* Color Palette: Graphite-Copper
* Primary: #b87333 (Copper)
* Dark: #343a40 (Graphite)
* Light: #f8f9fa (Off-White)
* Muted: #6c757d (Muted Grey)
*/

:root {
    --color-primary: #b87333;
    --color-dark: #343a40;
    --color-light: #f8f9fa;
    --color-text: #333;
    --color-muted: #6c757d;
    --color-background: #ffffff;
    --font-family-base: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1200px;
}

/* --- General Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: var(--color-muted);
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: #a06429;
    color: var(--color-light);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-decoration: none;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.page-header {
    text-align: center;
    background-color: var(--color-light);
}

.cta-section-alt {
    text-align: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-dark);
}
.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(--color-dark);
    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(--color-dark);
    font-weight: 500;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
}

.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);
}

.mobile-nav a {
    color: var(--color-light);
    display: block;
}

@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 (v2 - Floating Card) --- */
.hero-section.hero-v2 {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.hero-floating-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero-floating-card h1 {
    color: var(--color-dark);
}

@media(max-width: 768px) {
    .hero-floating-card {
        margin: 0 auto;
        padding: 30px;
    }
}


/* --- Benefits Grid Section --- */
.benefits-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    color: var(--color-primary);
}
.benefit-icon svg {
    width: 100%;
    height: 100%;
}

@media(min-width: 576px) {
    .benefits-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media(min-width: 992px) {
    .benefits-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--color-dark);
    color: var(--color-light);
}
.stats-bar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-primary);
    display: block;
}
.stat-label {
    font-size: 1rem;
    max-width: 250px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .stats-bar-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Image & Text Section --- */
.image-text-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.image-text-visual img {
    border-radius: 8px;
}
@media (min-width: 992px) {
    .image-text-container { grid-template-columns: 1fr 1fr; }
    .image-text-container > *:first-child { order: 2; }
    .image-text-container > *:last-child { order: 1; }
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-toggle {
    display: none;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
}
.faq-toggle:checked ~ .faq-question::after {
    transform: rotate(45deg);
}
.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
}


/* --- Program Page: Accordion --- */
.program-accordion .faq-question {
    background-color: var(--color-light);
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 10px;
}
.program-accordion .faq-answer {
    padding: 0 20px;
}
.embedded-image-container {
    max-width: 900px;
    margin: 40px auto;
}
.embedded-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Mission Page: Values Grid & Manifesto --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
}
.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px auto;
    color: var(--color-primary);
}
.value-icon svg { width: 100%; height: 100%; }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.manifesto-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--color-light);
    text-align: center;
}
.manifesto-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}
.manifesto-content {
    position: relative;
    z-index: 2;
}
.manifesto-content .section-title {
    color: var(--color-light);
}

/* --- Contact Page --- */
.contact-info-top .contact-details-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
@media (min-width: 768px) {
    .contact-info-top .contact-details-box { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .contact-info-top .contact-details-box { grid-template-columns: repeat(4, 1fr); }
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.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;
}

/* --- Thank You Page --- */
.thank-you-section { padding: 80px 0; }
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px auto;
    color: var(--color-primary);
}
.thank-you-next-steps {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark) !important;
    color: var(--color-light) !important;
    padding: 50px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
.site-footer h3 {
    color: var(--color-light) !important;
    margin-bottom: 15px;
}
.site-footer p, .site-footer a {
    color: #ccc !important;
}
.site-footer a:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-bottom {
    background-color: #212529 !important;
    padding: 15px 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}
@media (min-width: 576px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 2fr; }
}

/* --- Legal Pages --- */
.legal-page h2 { margin-top: 2rem; }
.legal-page ul { padding-left: 20px; }

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--color-dark);
    color: var(--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.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--color-primary); text-decoration: underline; }
.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: bold;
}
.cookie-btn-accept { background-color: var(--color-primary); color: white; }
.cookie-btn-decline { background-color: var(--color-muted); 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; }
}