/* Color Palette: Graphite & Copper */
:root {
    --primary-color: #B87333; /* Copper */
    --secondary-color: #5D6D7E; /* Slate Gray */
    --background-color: #FDFEFE; /* Almost White */
    --surface-color: #FFFFFF;
    --text-color: #2C3E50; /* Dark Slate */
    --heading-color: #34495E; /* Wet Asphalt */
    --white-color: #FFFFFF;
    
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    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;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

.section-paragraph {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.text-centered {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #A0642B; /* Darker Copper */
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--surface-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;
    z-index: 100;
    color: var(--heading-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(--heading-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 .nav-list a {
    color: var(--text-color);
    font-weight: 500;
}
.desktop-nav .nav-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; /* 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(--surface-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;
    border-bottom: 1px solid #eee;
}
.mobile-nav a {
    color: var(--heading-color);
    font-size: 18px;
    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 (index.html) --- */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white-color);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
}


/* --- Benefits Section (index.html) --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    text-align: center;
}
.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- Split Section (index.html) --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image-container .split-image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.split-content-container .section-title {
    text-align: left;
}
.split-content-container .section-paragraph {
    text-align: left;
    margin-left: 0;
}

/* --- Stats Section (index.html) --- */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.stats-section .stat-item {
    text-align: center;
}
.stats-section .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}
.stats-section .stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- Testimonials Section (index.html) --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: bold;
    color: var(--heading-color);
}

/* --- CTA Section (index.html) --- */
.cta-section {
    background-color: var(--heading-color);
}
.cta-container {
    text-align: center;
    color: var(--white-color);
}
.cta-title {
    color: var(--white-color);
    margin-bottom: 15px;
}
.cta-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* --- Page Header (Internal Pages) --- */
.page-header-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}
.page-title {
    color: var(--white-color);
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Program Timeline (program.html) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    padding-left: 80px;
    padding-bottom: 40px;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: auto;
    left: 21px;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-title {
    font-size: 1.6rem;
}

/* --- FAQ Section (program.html) --- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #eee;
}
.faq-question {
    font-size: 1.2rem;
}

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-story-image img {
    border-radius: 8px;
}
.mission-story-content .section-title {
    text-align: left;
}
.values-section {
    background-color: #f9f9f9;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
}
.value-title {
    color: var(--primary-color);
}
.manifesto-section {
    position: relative;
    padding: 100px 0;
    color: var(--white-color);
    text-align: center;
    background-size: cover;
    background-position: center;
}
.manifesto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.8);
}
.manifesto-container {
    position: relative;
    z-index: 2;
}
.manifesto-title {
    color: var(--white-color);
}
.manifesto-text {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contact Page --- */
.contact-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-block {
    margin-bottom: 30px;
}
.contact-info-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Legal & Thank You Pages --- */
.legal-section, .thank-you-section {
    padding: 60px 0;
}
.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}
.next-steps {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: #2C3E50 !important; /* Wet Asphalt */
    color: #ECF0F1 !important; /* Clouds */
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h3 {
    color: var(--white-color) !important;
    margin-bottom: 20px;
}
.site-footer p, .site-footer li {
    color: #BDC3C7 !important; /* Silver */
}
.site-footer a {
    color: #ECF0F1 !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid #34495E; /* Darker Wet Asphalt */
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.9rem;
    color: #95A5A6 !important; /* Grayish */
}

/* --- 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(--heading-color);
    color: var(--white-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 {
    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 Queries for Responsiveness --- */
@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .split-image-container {
        order: -1; /* Image left */
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mission-story-container {
        grid-template-columns: 40% 1fr;
    }
    .contact-layout-container {
        grid-template-columns: 60% 1fr;
    }
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@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; }
}