/* Palette: Terracotta, Deep Brown, Sand, Warm Yellow */
:root {
    --primary-color: #E07A5F; /* Terracotta */
    --secondary-color: #3D405B; /* Deep Brown/Navy */
    --bg-light: #F4F1DE; /* Sand */
    --accent-color: #F2CC8F; /* Warm Yellow */
    --text-dark: #2b2d42;
    --text-light: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 15px;
}

.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--text-light); }
.bg-accent { background-color: var(--accent-color); }

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 40px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c9654b;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Header Layout (Strictly from prompt) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.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-light);
}

.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-light);
    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:hover {
    color: var(--primary-color);
}

.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(--secondary-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@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 Fullscreen (Index) */
.hero-fullscreen {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    color: var(--text-light);
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.hero-title {
    font-size: clamp(36px, 5vw, 54px);
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Intro Section */
.intro-text-wrapper {
    max-width: 900px;
    font-size: 18px;
}

/* Benefits Grid (3 Columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

.shadow-img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    padding: 80px 20px;
}

/* Timeline Section (Program) */
.timeline-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid #fff;
}

.timeline-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.timeline-img {
    border-radius: 4px;
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ List */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Mission Story */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

.story-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.manifesto-container {
    max-width: 800px;
}

.manifesto-text {
    font-size: 24px;
    font-style: italic;
    color: var(--secondary-color);
}

/* Contact Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-wrapper { grid-template-columns: 3fr 2fr; }
}

.main-form {
    max-width: 800px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-info-area {
    padding: 40px;
    border-radius: 8px;
}

.info-block {
    margin-bottom: 20px;
}

.info-block h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer-container { grid-template-columns: repeat(4, 1fr); }
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* 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(--text-light);
    border-top: 2px solid var(--primary-color);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#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 20px;
    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: transparent;
    color: #fff;
    border: 1px solid #fff;
}

@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; }
}