/*
  Color Palette: Warm Terracotta & Earth
  --primary-color: #D35400; (Terracotta Orange)
  --secondary-color: #E67E22; (Lighter Orange)
  --background-color: #FDFEFE; (Off-White)
  --text-color: #34495E; (Dark Slate Blue)
  --dark-bg: #2C3E50; (Darker Slate Blue for contrast)
  --light-gray: #ECF0F1;
*/

:root {
    --primary-color: #D35400;
    --secondary-color: #E67E22;
    --background-color: #FDFEFE;
    --text-color: #34495E;
    --dark-bg: #2C3E50;
    --light-gray: #ECF0F1;
    --white-color: #FFFFFF;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-bg);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul {
    list-style-position: inside;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.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);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 10px;
}

.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(--dark-bg);
    text-decoration: none;
    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(--dark-bg);
    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: 600;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on 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(--white-color);
    box-shadow: 0 4px 8px 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 var(--light-gray);
    text-align: center;
}
.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    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);
    }
}

/* --- Hero Section --- */
.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: url('img/bg.jpg') no-repeat center center/cover;
}

.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 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Benefits Section --- */
.benefits-grid {
    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.07);
    text-align: center;
}

.card-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Split Section --- */
.split-section-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .split-section-layout {
        grid-template-columns: 1fr 1.2fr;
    }
    .split-section-layout.reverse {
        grid-template-columns: 1.2fr 1fr;
    }
    .split-section-layout.reverse .split-image-container {
        order: 2;
    }
}

/* --- Stats Section --- */
.section-stats {
    background-color: var(--light-gray);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-item .stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    border-radius: 0 8px 8px 0;
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: bold;
    color: var(--dark-bg);
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- CTA Section --- */
.section-cta {
    background-color: var(--dark-bg);
    color: var(--white-color);
    text-align: center;
}
.section-cta h2 {
    color: var(--white-color);
}
.cta-container p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* --- Page Header --- */
.section-page-header {
    background-color: var(--light-gray);
    text-align: center;
    padding: 40px 0;
}
.page-title {
    margin-bottom: 10px;
}
.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

/* --- Timeline (Program Page) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 20px;
    border-radius: 50%;
    z-index: 1;
    margin-left: -10px;
}
.timeline-content h3 {
    color: var(--primary-color);
}

/* --- Accordion (Program Page) --- */
.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none; /* Hide default marker */
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.accordion-item[open] > .accordion-header::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 10px 20px;
}

/* --- Values (Mission Page) --- */
.section-values {
    background-color: var(--light-gray);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.section-manifesto blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

/* --- Contact Page --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-info-block {
    margin-bottom: 25px;
}
.contact-info-block h3 {
    color: var(--primary-color);
}
@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* --- Legal & Thank You Pages --- */
.section-legal .container {
    max-width: 800px;
}
.section-legal h2 {
    margin-top: 30px;
}
.thank-you-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}
.thank-you-divider {
    max-width: 100px;
    margin: 30px auto;
    border-color: var(--light-gray);
}
.thank-you-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--light-gray) !important; /* Important to override translator styles */
    padding: 50px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.footer-column h3 {
    color: var(--white-color) !important;
    margin-bottom: 20px;
}
.footer-column p, .footer-column a {
    color: var(--light-gray) !important;
}
.footer-nav {
    list-style: none;
    padding: 0;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid #4A6572;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.4s ease;
}
#cookie-banner.hidden, [style*="display: none"] {
    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: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: #566573;
    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; }
}