/*
* Palette: Earthy & Warm
* Primary: #A1887F (Earthy Brown)
* Secondary: #E57373 (Light Terracotta)
* Dark: #4E342E (Dark Brown)
* Light: #FFF3E0 (Off-White/Cream)
*/

:root {
    --primary-color: #A1887F;
    --secondary-color: #E57373;
    --dark-color: #4E342E;
    --light-color: #FFF3E0;
    --text-color: #3D3D3D;
    --background-color: #FFFFFF;
    --footer-bg-color: #4E342E;
    --footer-text-color: #FFF3E0;
    --font-family-base: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-headings: 'Georgia', serif;
}

/* --- General Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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-top: 0;
    margin-bottom: 1.25rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 60px 0;
}

@media (min-width: 992px) {
    .section {
        padding: 80px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
    font-size: 1.1rem;
    color: #666;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid #eee;
    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(--dark-color);
    text-decoration: none;
    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(--dark-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(--text-color); font-weight: 500; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--background-color);
    z-index: 99;
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; text-align: center; }
.mobile-nav a { color: var(--dark-color); font-size: 1.2rem; 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 --- */
.hero-section {
    color: white;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}
.hero-fullscreen { min-height: 80vh; }
.hero-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}
.hero-content-centered h1 { color: white; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: #d35454;
    border-color: #d35454;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
}
.btn-secondary:hover {
    background-color: var(--dark-color);
    color: white;
}

/* --- Cards --- */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-icon-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--light-color);
    border-radius: 50%;
}
.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}
.split-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Stats Section --- */
.section-stats { background-color: var(--light-color); }
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-container { grid-template-columns: repeat(3, 1fr); }
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
}
.stat-label { font-size: 1.1rem; color: var(--dark-color); margin: 0; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
}
.testimonial-author {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--dark-color);
}

/* --- CTA Section --- */
.section-cta { background-color: var(--primary-color); }
.cta-container { text-align: center; }
.section-cta h2, .section-cta p { color: white; }
.section-cta p { opacity: 0.9; }
.section-cta .btn-primary {
    background-color: white;
    color: var(--dark-color);
    border-color: white;
}
.section-cta .btn-primary:hover {
    background-color: var(--light-color);
    border-color: var(--light-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 40px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}
.footer-column h4 {
    color: white !important;
    margin-bottom: 15px;
}
.footer-column p, .footer-column li {
    font-size: 0.95rem;
    color: var(--footer-text-color) !important;
    opacity: 0.8;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li { margin-bottom: 10px; }
.footer-column a {
    color: var(--footer-text-color) !important;
    opacity: 0.8;
}
.footer-column a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p { margin: 0; font-size: 0.9rem; }

/* --- Page Specific: Program --- */
.page-title { text-align: center; }
.page-subtitle { text-align: center; font-size: 1.2rem; max-width: 800px; margin: -1rem auto 0 auto; color: #555; }
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: 9px;
    top: 15px;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content h3 { color: var(--secondary-color); }
.image-full-width img { border-radius: 8px; }

/* --- Accordion --- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 10px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--dark-color);
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p { padding: 0 15px 15px 15px; margin-bottom: 0; }

/* --- Page Specific: Mission --- */
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .story-container { grid-template-columns: 1fr 1.2fr; }
}
.story-image img { border-radius: 8px; }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
    background-color: var(--light-color);
    border-radius: 50%;
}
.section-manifesto { background-color: var(--light-color); }
blockquote {
    border-left: 5px solid var(--secondary-color);
    padding-left: 2rem;
    font-size: 1.2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Page Specific: Contact --- */
.contact-layout-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout-1 { grid-template-columns: 3fr 2fr; }
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-block { margin-bottom: 25px; }
.contact-info-block h3 { margin-bottom: 5px; color: var(--secondary-color); }
.contact-info-block p { margin-bottom: 5px; }

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 900px;
}
.legal-page h2 { margin-top: 2rem; }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; }
.thank-you-content { text-align: center; }
.thank-you-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- 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(--dark-color);
    color: white;
    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.95rem; }
#cookie-banner a { color: var(--light-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;
}
.cookie-btn-accept { background-color: var(--secondary-color); color: white; }
.cookie-btn-decline { background-color: #777; color: white; }
@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; }
}

