/* 
    Color Palette: Terracotta & Deep Purple
    - Light Background: #FFFFFF
    - Dark Background: #1A1A1A
    - Primary Accent: #F0A55A (Warm Orange)
    - Secondary Accent: #935116 (Brown)
    - Dark Accent: #4B1461 (Deep Purple)
    - Light Accent: #F2D4C9 (Light Beige)
    - Light Text: #EAEAEA
    - Dark Text: #333333
*/

:root {
    --bg-light: #FFFFFF;
    --bg-dark: #1A1A1A;
    --bg-accent: #F0A55A;
    --text-light: #EAEAEA;
    --text-dark: #333333;
    --border-color: #DDDDDD;
    --border-dark-color: #444444;
}

/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

html {
    scroll-behavior: smooth;
}

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.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

a {
    color: var(--bg-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark a:hover {
    color: var(--text-light);
}

.text-container {
    max-width: 800px;
}

/* --- Typography --- */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    font-size: clamp(16px, 2.5vw, 18px);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #666;
}

.section-dark .section-intro {
    color: #bbb;
}

p {
    margin-bottom: 16px;
    font-size: clamp(16px, 4vw, 18px);
}

.page-title {
    font-size: clamp(32px, 6vw, 56px);
}

.page-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bg-accent);
    color: var(--bg-dark);
    border-color: var(--bg-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--bg-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    border-color: var(--text-dark);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.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(--text-dark);
    z-index: 100;
}

.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-dark);
    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;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 69px; /* header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
    background-color: var(--bg-light);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-dark);
    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); }
}

/* --- Footer --- */
.site-footer-dark {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    color: var(--bg-accent) !important;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light) !important;
}

.footer-links a:hover {
    color: var(--bg-accent) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark-color);
    padding: 20px 16px;
    text-align: center;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Hero Section (Fullscreen Center) --- */
.hero-fullscreen-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 30px;
}

/* --- Benefits Horizontal Scroll --- */
.benefits-hscroll-wrapper {
    overflow-x: hidden;
    padding-left: 16px;
}

.benefits-hscroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px; /* for scrollbar */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

.benefit-card-scroll {
    flex: 0 0 300px;
    border: 1px solid var(--border-color);
    padding: 24px;
}

.card-title {
    font-size: 20px;
    color: var(--text-dark);
}

.card-text {
    font-size: 16px;
    color: #555;
}

/* --- Checklist Block --- */
.checklist-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.checklist {
    padding: 0;
}

.checklist-item {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 17px;
}

.checklist-item::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bg-accent);
    font-weight: bold;
}

@media (min-width: 768px) {
    .checklist-block {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* --- Numbered Steps --- */
.numbered-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.numbered-step {
    border-top: 3px solid var(--bg-accent);
    padding-top: 20px;
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--border-color);
    display: block;
    margin-bottom: 10px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .numbered-steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .numbered-steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--bg-accent);
    padding: 40px 0;
}

.stats-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--bg-dark);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
}

@media (min-width: 768px) {
    .stats-bar-container {
        flex-direction: row;
    }
}

/* --- Testimonials --- */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    padding: 24px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: #ccc;
}

.testimonial-name {
    font-weight: bold;
    margin: 0;
}

.testimonial-rating {
    color: var(--bg-accent);
    margin: 0;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

@media (min-width: 1024px) {
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Program Page: Accordion --- */
.accordion-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
}

.accordion-item:not(:last-child) {
    border-bottom: none;
}

.accordion-title {
    font-size: 18px;
    font-weight: 500;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.accordion-title::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.accordion-item[open] > .accordion-title::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px 20px 20px;
}

.content-image {
    margin-top: 20px;
}

/* --- Mission Page: Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--bg-accent);
}

.timeline-date {
    font-weight: bold;
    font-size: 18px;
    color: var(--bg-accent);
    margin-bottom: 5px;
}

/* --- Mission Page: Image BG Section --- */
.section-image-bg {
    position: relative;
    background-image: url('img/bg-1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.section-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(75, 20, 97, 0.8); /* Deep Purple Overlay */
}

.section-image-bg .container {
    position: relative;
    z-index: 2;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.section-title-left {
    text-align: left;
    font-size: 28px;
}

.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(--border-color);
    font-size: 16px;
}

.form-btn {
    width: 100%;
}

.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
        gap: 60px;
    }
}

/* --- Thank You Page --- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.thank-you-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* --- Page Hero (for internal pages) --- */
.page-hero {
    padding: 60px 0;
    text-align: center;
}

.page-hero .container {
    max-width: 800px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 60px 0;
}

.cta-container {
    text-align: center;
}

.cta-title {
    font-size: 28px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- 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(--bg-dark);
    color: var(--text-light);
    border-top: 2px solid var(--bg-accent);
}

#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#cookie-banner a { 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: 1px solid var(--bg-accent);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: var(--bg-accent);
    color: var(--bg-dark);
}

.cookie-btn-accept:hover {
    background: transparent;
    color: var(--bg-accent);
}

.cookie-btn-decline:hover {
    background: #444;
}

@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; }
}