/* Color Palette: Warm Earth Tones */
:root {
    --primary-color: #A0522D; /* Sienna */
    --secondary-color: #2F4F4F; /* Dark Slate Gray */
    --background-color: #FDF5E6; /* Old Lace */
    --light-accent-color: #FFFFFF; /* White */
    --text-color: #333333;
    --text-light: #FFFFFF;
    --border-color: #e0e0e0;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --font-family-headings: 'Georgia', serif;
}

/* --- GLOBAL STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITY & LAYOUT --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-accent-color);
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.bg-dark h2, .bg-dark p {
    color: var(--text-light);
}

.hidden-toggle {
    display: none;
}

/* --- HEADER --- */
.site-header {
    background-color: var(--light-accent-color);
    padding: 15px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    font-family: var(--font-family-headings);
    text-decoration: none;
}

.navigation-desktop ul {
    display: none;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.hamburger-menu .line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navigation-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-accent-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navigation-mobile ul {
    display: flex;
    flex-direction: column;
}

.navigation-mobile li a {
    display: block;
    padding: 15px 20px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

#menu-toggle:checked ~ .navigation-mobile {
    display: block;
}

#menu-toggle:checked ~ .hamburger-menu .line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
#menu-toggle:checked ~ .hamburger-menu .line:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .hamburger-menu .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .hamburger-menu, .navigation-mobile {
        display: none;
    }
    .navigation-desktop ul {
        display: flex;
        gap: 30px;
    }
    .navigation-desktop li a {
        font-size: 1rem;
        font-weight: 500;
        color: var(--secondary-color);
        padding: 5px 0;
        position: relative;
    }
    .navigation-desktop li a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    .navigation-desktop li a:hover::after {
        width: 100%;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 79, 79, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

.hero-section .btn-primary:hover {
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
}

/* --- GENERAL SECTIONS & CARDS --- */
.section-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-intro {
    font-size: 1.1rem;
    color: #555;
}

.three-col-grid, .two-col-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .three-col-grid { grid-template-columns: repeat(3, 1fr); }
    .two-col-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card, .value-card {
    background-color: var(--light-accent-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.card-title {
    margin-bottom: 15px;
}

/* --- SPLIT SECTION --- */
.split-section {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
    }
    .split-section.reverse {
        grid-template-columns: 1fr 1fr;
    }
    .split-section.reverse .split-image-container {
        order: 2;
    }
    .split-section.reverse .split-content {
        order: 1;
    }
}

.split-image {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-card cite {
    font-weight: bold;
    color: var(--secondary-color);
}

/* --- CTA SECTION --- */
.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* --- PAGE-SPECIFIC STYLES --- */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.page-header h1, .page-header p {
    color: var(--text-light);
}

/* Accordion (Program Page) */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
}
.accordion-content p {
    padding-bottom: 20px;
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--primary-color);
}

/* Manifesto (Mission Page) */
.manifesto-container {
    max-width: 800px;
}
.manifesto-text {
    font-size: 1.3rem;
    line-height: 2;
    font-family: var(--font-family-headings);
    color: #444;
}

/* Contact Page */
.contact-grid {
    display: grid;
    gap: 40px;
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}
.info-item {
    margin-bottom: 20px;
}
.info-item h3 {
    color: var(--primary-color);
}
.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 var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form button {
    width: 100%;
}

/* Legal & Thank You Pages */
.legal-content h1, .legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}
.thank-you-container {
    max-width: 700px;
}
.what-next {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.quick-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 576px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-title {
    color: var(--text-light) !important;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--text-light) !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- 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(--secondary-color);
    color: var(--text-light);
    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(--text-light); 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: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--text-light);
}
@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; }
}