/* Color Palette: Graphite & Copper */
:root {
    --primary-color: #D97706; /* A warm, coppery orange */
    --secondary-color: #4A4A4A; /* Medium Graphite */
    --background-color: #F8F9FA; /* Very light gray */
    --text-color: #212529; /* Dark Graphite */
    --dark-bg: #2C2C2C; /* Dark background for footer */
    --white-color: #FFFFFF;
    --border-color: #DEE2E6;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
}

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;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    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: #B45F06;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.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);
}
.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);
    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(--secondary-color);
    font-weight: 500;
    font-size: 1.05rem;
}
.desktop-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    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(--white-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.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);
    font-size: 1.2rem;
}

@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 (Grid with Overlap) --- */
.hero-grid-overlap {
    padding: 60px 0;
    background-color: var(--white-color);
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
}
.hero-image-container {
    order: 1;
}
.hero-content-container {
    order: 2;
    padding: 20px;
}
.hero-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .hero-image-container {
        order: 1;
    }
    .hero-content-container {
        order: 2;
        padding-left: 50px;
        position: relative;
        left: -80px;
    }
    .hero-content {
        background: var(--white-color);
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }
}

/* --- Vertical Timeline Section --- */
.vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--background-color);
}
.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 12px;
}
@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Section --- */
.section-cta {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- Program Page: Numbered Sections --- */
.numbered-section {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}
.large-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.5;
}
.numbered-content h2 {
    margin-bottom: 10px;
}
.image-container-centered img {
    border-radius: 12px;
    margin: 0 auto;
}

/* --- FAQ Accordion (Program Page) --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.faq-item summary {
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    font-size: 1.5rem;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding-top: 15px;
}

/* --- Mission Page: Split Layout & Values --- */
.split-layout-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image-container img {
    border-radius: 12px;
}
@media (min-width: 992px) {
    .split-layout-mission {
        grid-template-columns: 1fr 1.2fr;
    }
}
.section-values {
    background-color: var(--white-color);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.section-manifesto blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

/* --- Contact Page: Centered Form & Cards --- */
.centered-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}
.form-submit-btn {
    width: 100%;
}
.section-contact-info {
    padding-top: 0;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
.contact-card {
    text-align: center;
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.working-hours-info {
    text-align: center;
    margin-top: 30px;
    color: var(--secondary-color);
}
@media (min-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.legal-page ul {
    padding-left: 20px;
    margin-bottom: 15px;
}
.thank-you-section { text-align: center; padding: 90px 0px; }
.next-steps { margin-top: 40px; }
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: #CCCCCC !important;
    padding: 50px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
.site-footer h3 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
}
.site-footer p, .site-footer li {
    color: #CCCCCC !important;
}
.site-footer a {
    color: #CCCCCC !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden, #cookie-banner[style*="display: none"] { 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: var(--white-color); }
.cookie-btn-decline { background-color: var(--secondary-color); 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; }
}