/* 
    Color Palette: Warm Terracotta & Earth Tones
    --primary-color: #D35400 (Terracotta)
    --secondary-color: #34495E (Dark Slate)
    --accent-color: #F39C12 (Orange Gold)
    --background-color: #FDFEFE (Off-White)
    --text-color: #2C3E50 (Darker Slate)
    --light-bg: #F5F5F5 (Light Gray)
*/
:root {
    --primary-color: #D35400;
    --secondary-color: #34495E;
    --accent-color: #F39C12;
    --background-color: #FDFEFE;
    --text-color: #2C3E50;
    --light-bg: #F5F5F5;
    --white-color: #FFFFFF;
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: #5D6D7E;
}

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;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-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;
}
.logo:hover {
    color: var(--primary-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(--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;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: var(--white-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 99;
}

.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-bg);
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    display: block;
}

@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-fullscreen {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    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: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Benefits Section (3-col grid) --- */
.benefits-section {
    background-color: var(--light-bg);
}

.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.split-content-container .section-title {
    text-align: left;
}

/* --- Stats Bar --- */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.stats-section .section-title {
    color: var(--white-color);
}

.stats-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    display: block;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary-color);
}

/* --- Vertical Timeline (Program Page) --- */
.timeline-vertical {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-vertical::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 14px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-left: 30px;
}

.timeline-marker {
    position: absolute;
    left: -29px;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--background-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 6px;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* --- Accordion (Program Page) --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: var(--light-bg);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    position: relative;
}

.accordion-header::-webkit-details-marker {
    display: none;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 20px;
    background-color: var(--white-color);
}

/* --- Values Grid (Mission Page) --- */
.values-section {
    background-color: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    text-align: center;
}

.value-card h3 {
    margin: 10px 0;
    color: var(--secondary-color);
}

/* --- Manifesto Section (Mission Page) --- */
.manifesto-section blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.form-title, .info-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.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;
}

.btn-full-width {
    width: 100%;
}

.info-block {
    margin-bottom: 25px;
}
.info-block h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    max-width: 900px;
}
.legal-page h2 { margin-top: 30px; margin-bottom: 10px; color: var(--secondary-color); }
.legal-page ul { margin-left: 20px; margin-bottom: 15px; }

.thank-you-section .text-center { text-align: center; }
.thank-you-icon { font-size: 4rem; }
.thank-you-divider { margin: 30px auto; width: 100px; border: 1px solid var(--accent-color); }
.thank-you-links { display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap; }


/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: #bdc3c7 !important;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7 !important;
}

.footer-column a:hover {
    color: var(--white-color) !important;
}

.footer-bottom {
    border-top: 1px solid #4a627a;
    text-align: center;
    padding: 20px 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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--secondary-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(--accent-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: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--white-color); }
.cookie-btn-decline { background-color: #7f8c8d; color: var(--white-color); }

@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; }
}

/* --- Media Queries for Responsiveness --- */
@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .benefits-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .split-container { grid-template-columns: 1fr 1fr; }
    .split-section-ltr .split-image-container { order: 1; }
    .split-section-ltr .split-content-container { order: 2; }
    .stats-bar { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 60% 35%; justify-content: space-between; }
    .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; }
}