/* Warm, Earthy Terracotta Palette */
:root {
    --primary-color: #BF5700; /* Terracotta Orange */
    --secondary-color: #3D2B1F; /* Dark Brown */
    --background-color: #FDF5E6; /* Old Lace White */
    --text-color: #3C3C3B; /* Dark Gray */
    --light-gray: #EAE0D5; /* Light Beige */
    --white-color: #FFFFFF;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.cta-container {
    text-align: center;
}

.cta-container * {
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    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: #A04A00;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-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;
    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 a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
}

.desktop-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; /* 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(--background-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;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    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);
    }
}

/* Hero Section (Fullscreen) */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-fullscreen {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.hero-content-centered {
    color: var(--white-color);
    text-align: center;
    max-width: 800px;
}
.hero-content-centered h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-content-centered p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Intro Section */
.intro-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Benefits Section (3 Cards) */
.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--light-gray);
}
.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-content .section-title {
    text-align: left;
}
.split-image img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 1rem;
    max-width: 250px;
    margin: 0 auto;
}

/* FAQ Section (Accordion) */
.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--secondary-color);
    position: relative;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-header[aria-expanded="true"]::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p {
    padding: 0 20px 20px 20px;
}

/* Program Page - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    padding-left: 60px;
}
.timeline-dot {
    position: absolute;
    left: 10px;
    top: 21px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--background-color);
    z-index: 1;
}
.timeline-content {
    padding: 20px;
    background-color: var(--white-color);
    border-radius: 8px;
    position: relative;
}
.timeline-content h3 {
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    text-align: center;
    padding: 50px 0;
}
.page-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Page */
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.story-content .section-title {
    text-align: left;
}
.story-image img {
    border-radius: 12px;
}
.values-section {
    background-color: var(--light-gray);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}
.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.contact-form-container .section-title,
.contact-info-container .section-title {
    text-align: left;
}
.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 var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}
.contact-info-item {
    margin-bottom: 25px;
}
.contact-info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Legal & Thank You Pages */
.legal-page, .thank-you-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h1, .thank-you-section h1 {
    margin-bottom: 20px;
}
.legal-page h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.thank-you-container {
    text-align: center;
    max-width: 700px;
}
.next-steps {
    margin-top: 40px;
    text-align: left;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}
.next-steps ul {
    list-style-position: inside;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: var(--light-gray) !important;
    padding: 50px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.site-footer h3 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
}
.site-footer a {
    color: var(--light-gray) !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #4a382a;
}
.footer-bottom p {
    margin: 0;
}

/* 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;
    background-color: var(--secondary-color);
    color: var(--white-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(120%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#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: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

/* Media Queries */
@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .benefits-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .story-container {
        grid-template-columns: 40% 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-layout {
        grid-template-columns: 60% 1fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 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; }
}