/* Palette: Terracotta (#E07A5F), Sand (#F4F1DE), Dark Slate (#3D405B), Warm Accent (#F2CC8F) */
:root {
    --primary-color: #E07A5F;
    --secondary-color: #3D405B;
    --accent-color: #F2CC8F;
    --bg-color: #F4F1DE;
    --text-color: #2b2d42;
    --light-bg: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.center-text {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.bg-light {
    background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.large-text {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #c96a50;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.w-100 {
    width: 100%;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--secondary-color);
    color: var(--bg-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;
    z-index: 100;
    color: var(--accent-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;
    margin: 5px 0;
    background-color: var(--bg-color);
    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 {
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--accent-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-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(61, 64, 91, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 24px;
}

.hero-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 32px;
}

/* Page Banner (Inner Pages) */
.page-banner {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.rounded-img {
    border-radius: 8px;
}

.shadow-img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Grids */
.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.principle-card, .value-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.bg-light .principle-card {
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.05);
}

.principle-card:hover, .value-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-container { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Timeline (Program) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0; top: 0;
    width: 50px; height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h4 {
    margin-bottom: 10px;
}

/* Story Grid (Mission) */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Contact Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form-area {
    padding: 50px;
}

.contact-info-area {
    padding: 50px;
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.contact-info-area h2, .contact-info-area h4 {
    color: var(--accent-color);
}

.contact-info-area p {
    color: var(--bg-color);
}

/* Forms */
.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 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Legal Text */
.legal-text h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.action-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 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 h3, .footer-col h4 {
    margin-bottom: 20px;
}

.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: 0.9rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: #2b2d42;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#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 { background: var(--primary-color); color: #fff; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.cookie-btn-decline { background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 16px; cursor: pointer; border-radius: 4px; }

@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; }
}