/* 
  Color Palette: Warm Terracotta
  - Primary: #B05A3D (Terracotta)
  - Accent: #E57F61 (Lighter Terracotta)
  - Dark: #4A2E2A (Dark Brown)
  - Light: #F4E9D8 (Light Beige)
  - Text: #2C2C2C (Dark Gray)
*/

:root {
    --primary-color: #B05A3D;
    --accent-color: #E57F61;
    --dark-color: #4A2E2A;
    --light-color: #F4E9D8;
    --text-color: #2C2C2C;
    --background-color: #FFFFFF;
    --footer-bg-color: #4A2E2A;
    --footer-text-color: #F4E9D8;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 40px;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.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 .nav-list a {
    font-weight: 500;
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--background-color);
    font-size: 1.2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.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;
}

/* --- Hero Section (Fullscreen) --- */
.hero-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    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;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Introduction Section --- */
.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.section-intro .section-paragraph {
    font-size: 1.1rem;
    color: #555;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-icon-wrapper {
    margin-bottom: 20px;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.card-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- Stats Bar Section --- */
.section-stats {
    background-color: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.split-content .section-title {
    text-align: left;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-color);
}

/* --- CTA Section --- */
.section-cta {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
}
.cta-container {
    max-width: 800px;
}
.cta-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}
.section-cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.section-cta .btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Page Header --- */
.page-header {
    background-color: var(--light-color);
    text-align: center;
    padding: 50px 0;
}
.page-title {
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Timeline (Program Page) --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 18px;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    padding-left: 60px;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 20px;
    left: 10px;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 6px;
}
.timeline-content h3 {
    margin-top: 0;
    color: var(--dark-color);
}

/* --- Image Banner (Program Page) --- */
.full-width-image {
    width: 100%;
    border-radius: 8px;
}

/* --- FAQ (Program Page) --- */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.faq-question {
    font-size: 1.3rem;
    color: var(--dark-color);
}

/* --- Story Section (Mission Page) --- */
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.story-content .section-title {
    text-align: left;
}

/* --- Values Section (Mission Page) --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-title {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* --- Manifesto (Mission Page) --- */
.section-manifesto blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
    color: #555;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.contact-form-wrapper .section-title,
.contact-info-wrapper .section-title {
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-item {
    margin-bottom: 20px;
}
.contact-info-item h3 {
    color: var(--dark-color);
}

/* --- Legal & Thank You Pages --- */
.legal-page {
    padding: 60px 0;
}
.legal-page h1, .legal-page h2 {
    color: var(--dark-color);
}
.thank-you-section {
    text-align: center;
    padding: 80px 0;
}
.thank-you-content h1 {
    font-size: 2.5rem;
}
.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
}
.next-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.quick-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 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 a {
    color: var(--footer-text-color) !important;
    opacity: 0.8;
}

.site-footer a:hover {
    opacity: 1;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.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;
}


/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: #fff;
    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(--accent-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: 4px;
    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) {
    .section-title, .hero-title, .page-title {
        font-size: 2rem;
    }
    
    .desktop-nav {
        display: none;
    }

    .hamburger {
        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);
    }
    .mobile-nav {
        display: block;
    }

    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .story-container {
        grid-template-columns: 1fr 1.2fr;
    }
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}