/*
 * Color Palette: Warm Terracotta
 * --primary-color: #E57373; (Soft Red/Terracotta)
 * --secondary-color: #8D6E63; (Brownish Tone)
 * --background-color: #FDF5E6; (Light Beige/Cream)
 * --text-color: #4E342E; (Dark Brown)
 * --light-bg: #F5EFE6; (Slightly Darker Beige)
 * --white-color: #FFFFFF;
 */

:root {
    --primary-color: #E57373;
    --secondary-color: #8D6E63;
    --background-color: #FDF5E6;
    --text-color: #4E342E;
    --light-bg: #F5EFE6;
    --white-color: #FFFFFF;
    --heading-font: 'Georgia', serif;
    --body-font: 'Helvetica Neue', sans-serif;
}

/* Global Styles */
body {
    margin: 0;
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--text-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.section-title-left {
    text-align: left;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    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: var(--white-color);
}

/* Header Layout */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--background-color);
    box-shadow: 0 2px 5px 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(--text-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(--text-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: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--light-bg);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.card-title {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 40px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    display: block;
    font-size: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin: 0 0 15px 0;
}

.testimonial-author {
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.cta-container {
    text-align: center;
}

.cta-title {
    color: var(--white-color);
    font-size: 2rem;
}

.cta-text {
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--light-bg);
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    padding: 50px 0;
    text-align: center;
}

.page-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin: 0;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 10px auto 0 auto;
}

/* Timeline (Program Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 15px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-left: 30px;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 24px;
    left: -27px;
    z-index: 1;
}

.timeline-content h3 {
    margin-top: 0;
}

/* FAQ (Program Page) */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    display: block;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
}

/* Mission Page */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-info-container {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.contact-detail-item {
    margin-bottom: 20px;
}

.contact-detail-item h3 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
}

.contact-detail-item p {
    margin: 0;
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-actions {
    margin: 40px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background-color: var(--text-color) !important;
    color: var(--light-bg) !important;
    padding: 50px 0 0 0;
}

.site-footer a {
    color: var(--white-color) !important;
}

.site-footer a:hover {
    color: var(--primary-color) !important;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-title {
    color: var(--white-color) !important;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-about p, .footer-contact p {
    margin: 0 0 10px 0;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid var(--secondary-color);
}

/* 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(--text-color);
    color: var(--white-color);
    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; }
#cookie-banner a { color: var(--primary-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: var(--white-color); }
.cookie-btn-decline { background-color: var(--secondary-color); color: var(--white-color); }

/* Responsive Media Queries */
@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);
    }

    .reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (min-width: 768px) {
    .benefits-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-split-layout {
        grid-template-columns: 60% 35%;
        gap: 5%;
    }
}

@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; }
}