/*
 * Color Palette: Graphite & Copper
 * Primary: #B87333 (Copper)
 * Secondary: #36454F (Charcoal/Graphite)
 * Background: #FDFEFE (Off-white)
 * Text: #2C3E50 (Dark Slate)
 * Light BG: #F5F5F5 (Light Grey)
*/

:root {
    --primary-color: #B87333;
    --secondary-color: #36454F;
    --background-color: #FDFEFE;
    --text-color: #2C3E50;
    --light-bg-color: #F5F5F5;
    --white-color: #FFFFFF;
    --header-height: 70px;
}

/* General Body Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-top: 0;
}

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; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light-bg {
    background-color: var(--light-bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    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(--secondary-color);
    z-index: 100;
}
.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(--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 .nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.desktop-nav .nav-list 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 .nav-list a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    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);
    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;
    border-bottom: 1px solid var(--light-bg-color);
}

.mobile-nav li a {
    color: var(--text-color);
    display: block;
    width: 100%;
}

@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-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    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: #a0642b;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #2c3e50;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Hero Section (Diagonal Split) */
.hero-diagonal {
    display: flex;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
    background: #F5F5F5;
}
.hero-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light-bg-color);
}
.hero-image-container {
    width: 50%;
    position: relative;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 900px) {
    .hero-diagonal { flex-direction: column; min-height: auto; }
    .hero-content {width: calc(100% - 40px);}
    .hero-image-container { width: 100%; }
    .hero-image-container { clip-path: none; min-height: 300px; }
    .hero-content { padding: 40px 20px; }
}

/* Page Header */
.page-header {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 62, 80, 0.7);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1, .page-header p { color: var(--white-color); }

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 50px 0;
}
.stats-section h2 { color: var(--white-color); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}
.stat-item .stat-description {
    font-size: 1rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* Benefits Section (2x2 Grid) */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.benefit-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    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);
}
.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .benefits-grid-2x2 { grid-template-columns: 1fr; }
}

/* Split Content Section */
.split-content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.split-content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .split-content-container { grid-template-columns: 1fr; }
}

/* FAQ Accordion (Index) */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
}
.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 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}

/* Program Accordion (Program) */
.program-accordion { max-width: 900px; margin: 0 auto; }
.program-item {
    background: var(--white-color);
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.program-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    position: relative;
}
.program-question::after {
    content: '▼';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
    font-size: 1rem;
}
.program-item.open .program-question::after {
    transform: rotate(180deg);
}
.program-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.program-answer p { padding: 0 20px 20px; margin: 0; }
.program-item.open .program-answer { max-height: 500px; }

/* Content Image Block (Program) */
.content-image-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.content-image img {
    width: 100%;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .content-image-block { grid-template-columns: 1fr; }
    .content-image { order: -1; }
}

/* Timeline (Mission) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 41%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot {
    right: -5px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -11px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--white-color);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .timeline::after { left: 15px; }
    .timeline-item { width: calc(100% - 60px); padding-left: 50px; padding-right: 10px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 3px; }
}

/* Values Section (Mission) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-card h4 {
    color: var(--primary-color);
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}
.contact-info-item {
    margin-bottom: 25px;
}
.contact-info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}
.contact-info-item p { margin: 0; }
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* Contact Form */
.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;
    box-sizing: border-box;
}
.contact-form button {
    width: 100%;
}

/* Thank You Page */
.thank-you-section { padding: 80px 0; }
.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.back-home-link {
    display: inline-block;
    margin-top: 40px;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--white-color);
    text-align: center;
}
.cta-section h2, .cta-section p {
    color: var(--white-color);
}
.cta-section .btn-secondary {
    background-color: var(--white-color);
    color: var(--secondary-color);
}
.cta-section .btn-secondary:hover {
    background-color: var(--light-bg-color);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: #EAECEE !important;
    padding: 50px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--white-color) !important;
    margin-bottom: 20px;
}
.site-footer p, .site-footer li {
    color: #EAECEE !important;
    font-size: 0.95rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-contact a {
    color: #EAECEE !important;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid #4A637A;
    text-align: center;
    padding: 20px 0;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 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: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid 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; }
}