/*
* Color Palette: Bordeaux-Cream
* Primary: #8C2D3E (Bordeaux)
* Secondary/Accent: #D4AF37 (Muted Gold)
* Background: #F5F0E6 (Cream)
* Text: #3D3D3D (Dark Gray)
*/

:root {
    --primary-color: #8C2D3E;
    --secondary-color: #D4AF37;
    --background-color: #F5F0E6;
    --light-background-color: #FFFFFF;
    --text-color: #3D3D3D;
    --light-text-color: #FFFFFF;
    --footer-bg-color: #2E2E2E;
    --footer-text-color: #CCCCCC;
    --border-color: #DDDDDD;
    --heading-font: 'Georgia', serif;
    --body-font: 'Helvetica Neue', Arial, sans-serif;
}

/* --- General Styles --- */
body {
    margin: 0;
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-background-color);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: #666;
}

.section-title-container {
    margin-bottom: 50px;
}

.text-center-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    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(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--light-background-color);
    box-shadow: 0 2px 5px 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(--primary-color);
    text-decoration: none;
}
.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(--primary-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 {
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
    background-color: var(--light-background-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li:last-child {
    border-bottom: none;
}

/* --- Hero Section (Diagonal) --- */
.hero-diagonal {
    display: grid;
    min-height: 80vh;
}

.hero-content {
    grid-area: 1 / 1;
    background-color: var(--background-color);
    padding: 50px;
    z-index: 2;
    width: 39%;
}

.hero-content h1 {
    margin-bottom: 20px;
}
.hero-content p {
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-image-container {
    grid-area: 1 / 1;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* --- Stats Bar --- */
.stats-section {
    background-color: var(--primary-color);
    padding: 40px 0;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    color: var(--light-text-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* --- Benefits Grid 2x2 --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.benefit-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* --- Split Layout --- */
.split-layout-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
}

/* --- Testimonial --- */
.testimonial-container {
    max-width: 800px;
    text-align: center;
}

.testimonial-quote {
    margin: 0;
    padding: 0;
    border: 0;
}

.testimonial-quote p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-quote footer {
    font-weight: bold;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--light-text-color);
    margin-top: 0;
}

.cta-content p {
    margin-bottom: 30px;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* --- Page Header --- */
.page-header {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--light-text-color);
    margin: 0;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* --- Accordion (Program Page) --- */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: var(--light-background-color);
}

.accordion-header {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::-webkit-details-marker { display: none; }

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px 20px 20px;
}

/* --- Image Section with Overlay --- */
.section-light-image {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--light-text-color);
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(46, 46, 46, 0.7);
    z-index: 1;
}

.content-over-image {
    position: relative;
    z-index: 2;
}
.content-over-image h2 {
    color: var(--light-text-color);
}

/* --- Timeline (Mission Page) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0.3;
    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;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--light-background-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 28px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
}

.manifesto-image {
    border-radius: 8px;
    margin: 30px 0;
}

/* --- Contact Page --- */
.contact-info-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-info-top h3 {
    margin-bottom: 5px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group button {
    width: 100%;
    cursor: pointer;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container {
    max-width: 800px;
    padding-top: 60px;
    padding-bottom: 60px;
}
.legal-page h1 { margin-bottom: 30px; }
.legal-page h2 { margin-top: 40px; }

.thank-you-section {
    padding: 100px 0;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.what-next {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.next-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.next-link-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}
.next-link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    text-decoration: none;
}
.next-link-card h3 { margin-top: 0; }
.next-link-card p { margin-bottom: 0; color: var(--text-color); }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color) !important;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    color: var(--light-text-color) !important;
    margin-bottom: 20px;
}

.footer-column p, .footer-column a, .footer-column li {
    color: var(--footer-text-color) !important;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    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(--secondary-color); 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;
    transition: background-color 0.3s;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--text-color);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--light-text-color);
}
.cookie-btn-accept:hover { background-color: #e6c35c; }
.cookie-btn-decline:hover { background-color: #666; }

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-diagonal {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-image-container {
        clip-path: none;
        min-height: 300px;
    }
    .hero-content {
        text-align: center;
        width: auto;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .split-layout-reverse {
        grid-template-columns: 1fr;
    }
    .split-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    .mobile-nav {
        display: block;
    }
    #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); }

    .stats-bar, .benefits-grid-2x2, .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .timeline::after { left: 30px; }
    .timeline-item { width: calc(100% - 90px); padding-left: 70px; padding-right: 20px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
    }
}

@media (max-width: 600px) {
    .stats-bar, .benefits-grid-2x2, .values-grid {
        grid-template-columns: 1fr;
    }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}