/* Color Palette: Warm Earthy */
:root {
    --primary-color: #D35400; /* Terracotta Orange */
    --secondary-color: #E67E22; /* Lighter Orange */
    --text-color: #34495E; /* Dark Slate Gray */
    --background-color: #FDFEFE; /* Almost White */
    --light-gray-bg: #F5EFE6; /* Soft Beige */
    --white-color: #FFFFFF;
    --footer-bg: #2C3E50;
    --footer-text: #BDC3C7;

    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-secondary: 'Georgia', serif;
}

/* --- Global Styles --- */
body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    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(--text-color);
    z-index: 100;
}
.logo:hover { text-decoration: none; }

.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 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-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(--white-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; width: 100%; font-weight: 600; }

@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); }
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    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(--secondary-color);
    text-decoration: none;
    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);
    text-decoration: none;
}

/* --- Hero Section (Diagonal) --- */
.hero-diagonal {
    display: flex;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
}
.hero-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.hero-image {
    width: 50%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
@media (max-width: 992px) {
    .hero-diagonal { flex-direction: column; min-height: auto; }
    .hero-content, .hero-image { width: 100%; }
    .hero-content { padding: 60px 20px; text-align: center; }
    .hero-image { min-height: 300px; clip-path: none; }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-section-gray { background-color: var(--light-gray-bg); }
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
}
.benefit-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    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);
}
.benefit-card h3 { margin-top: 0; }

/* --- Split Section --- */
.split-section-content-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .split-section-content-image { grid-template-columns: 1fr 1fr; }
}
.split-image img { border-radius: 8px; }

/* --- FAQ Accordion --- */
.faq-section { background-color: var(--light-gray-bg); }
.accordion details {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.accordion summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    list-style: none; /* Hide default marker */
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.5rem;
    transition: transform 0.2s;
}
.accordion details[open] summary::after {
    transform: rotate(45deg);
}
.accordion p {
    padding: 0 15px 15px 15px;
    margin: 0;
}

/* --- CTA Section --- */
.cta-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white-color);
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.cta-section .cta-content { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white-color); }

/* --- Page Header --- */
.page-header {
    background-color: var(--light-gray-bg);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header p { margin-bottom: 0; font-size: 1.2rem; }

/* --- Program Page --- */
.program-accordion-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .program-accordion-layout { grid-template-columns: 1fr 1.2fr; }
}
.program-image-container img { border-radius: 8px; }
.accordion-title { margin-bottom: 20px; }

.cta-section-simple {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}
.cta-section-simple h2, .cta-section-simple p { color: var(--white-color); }
.cta-section-simple .btn-primary {
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}
.cta-section-simple .btn-primary:hover {
    background: transparent;
    color: var(--white-color);
}

/* --- Mission Page (Timeline) --- */
.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: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 41%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 24px;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-content {
    padding: 20px 30px;
    background-color: var(--light-gray-bg);
    border-radius: 6px;
}
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: calc(100% - 75px); padding-left: 60px; padding-right: 15px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 12px; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
    }
}

.values-section-gray { background-color: var(--light-gray-bg); }
.values-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .values-layout { grid-template-columns: 1fr 1fr; }
}
.values-image-container img { border-radius: 8px; }
.values-text-container ul { list-style: none; padding: 0; }
.values-text-container li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.values-text-container li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Contact Page --- */
.contact-details-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
@media (min-width: 768px) {
    .contact-details-top { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
    padding: 20px;
    background: var(--light-gray-bg);
    border-radius: 8px;
}
.contact-form-section { background: var(--light-gray-bg); }
.contact-form-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label { margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(211, 84, 0, 0.3);
}

/* --- Legal & Thank You Pages --- */
.legal-page h1, .thank-you-section h1 { margin-bottom: 30px; }
.legal-page h2 { margin-top: 30px; }
.thank-you-section { text-align: center; }
.thank-you-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
}
@media (min-width: 768px) {
    .thank-you-links { grid-template-columns: repeat(3, 1fr); }
}
.thank-you-card {
    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}
.thank-you-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-decoration: none;
}
.thank-you-card h3 { color: var(--primary-color); }
.thank-you-card p { color: var(--text-color); }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 50px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
@media (min-width: 576px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.site-footer h3 { color: var(--white-color) !important; }
.site-footer p, .site-footer a { color: var(--footer-text) !important; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- 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(--footer-bg);
    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; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color) !important; 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: 4px;
    cursor: pointer;
    font-weight: 600;
}
.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; }
}