/*
* Palette: Earthy Terracotta
* --primary-color: #B85C38 (Terracotta)
* --secondary-color: #E0C097 (Beige/Sand)
* --dark-color: #2D2424 (Dark Brown/Charcoal)
* --light-color: #F5F5F5 (Off-white)
*/

:root {
    --primary-color: #B85C38;
    --secondary-color: #E0C097;
    --dark-color: #2D2424;
    --light-color: #F5F5F5;
    --text-color: #333;
    --header-bg: #ffffff;
    --footer-bg: #2D2424;
    --footer-text: #E0C097;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a04e2f;
    color: #fff;
    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: #fff;
}

/* Header */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--header-bg);
    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(--dark-color);
}

.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 {
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* 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(--header-bg);
    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 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Hero Section v3 (Floating Card) */
.hero-section-v3 {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 36, 36, 0.6);
}

.hero-floating-card {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    color: #fff;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 15px;
}

.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}

.timeline-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 0;
    z-index: 1;
}

.timeline-content h3 {
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1rem;
    margin-top: 5px;
}

/* Split Section v3 */
.split-section-v3 {
    background-color: #fff;
}
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
}
.cta-container {
    text-align: center;
    max-width: 800px;
}

/* Program Page: Numbered Modules */
.numbered-module {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.numbered-module.reverse {
    flex-direction: row-reverse;
}
.module-number-container {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.module-number {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}
.module-number-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: circle(50% at 50% 50%);
    z-index: 1;
}
.module-number-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.module-content {
    flex-grow: 1;
}

/* FAQ List Section */
.faq-list-section {
    background-color: #fff;
}
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.faq-item h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Mission Page: Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.value-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

/* Manifesto Section */
.manifesto-section {
    background-color: var(--secondary-color);
}
.manifesto-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.manifesto-image img {
    border-radius: 10px;
}
.manifesto-content blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 25px;
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* Contact Page */
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.contact-details-list {
    list-style: none;
    padding: 0;
}
.contact-details-list li {
    margin-bottom: 15px;
}
.contact-details-list strong {
    display: block;
    color: var(--dark-color);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    max-width: 800px;
}
.next-steps {
    margin: 40px 0;
    text-align: left;
}
.next-steps ul {
    list-style: none;
    padding: 0;
}
.next-steps li {
    margin-bottom: 10px;
}
.next-steps a {
    font-weight: bold;
}

/* Legal Pages */
.legal-page .container {
    max-width: 800px;
}
.legal-page h2 {
    margin-top: 30px;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 50px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.site-footer h3 {
    color: #fff !important;
    margin-bottom: 15px;
}

.site-footer p, .site-footer li {
    color: var(--footer-text) !important;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--footer-text) !important;
}

.site-footer a:hover {
    color: #fff !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;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: var(--light-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(--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;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
}
.cookie-btn-decline {
    background-color: #555;
    color: #fff;
}

/* Responsive Styles */
@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);
    }

    .timeline-container::after {
        left: 15px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-icon {
        left: 0;
    }

    .numbered-module, .numbered-module.reverse {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1.2fr;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .manifesto-container {
        grid-template-columns: 300px 1fr;
    }
    .contact-grid-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

@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; }
}