/* Color Palette: Graphite & Copper */
:root {
    --primary-color: #D35400; /* Rich Copper/Orange */
    --secondary-color: #2C3E50; /* Dark Slate/Graphite */
    --background-color: #FDFEFE; /* Almost White */
    --text-color: #34495E; /* Dark Gray */
    --light-gray: #ECF0F1;
    --white-color: #FFFFFF;
    --font-family-base: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-headings: 'Georgia', serif;
}

/* --- General Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-family-headings);
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fullwidth {
    width: 100%;
    padding: 0 20px;
}

.narrow-container {
    max-width: 800px;
}

.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

/* --- Header & Navigation (MANDATORY) --- */
.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);
}

.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;
    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(--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 .nav-list a {
    color: var(--text-color);
    font-weight: 500;
}
.desktop-nav .nav-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 66px;
    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);
}

.mobile-nav a {
    color: var(--white-color);
    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); }
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #af4400;
    color: var(--white-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Hero Section (Overlap Grid) --- */
.hero-overlap-grid {
    padding-top: 40px;
    padding-bottom: 40px;
}
.hero-overlap-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
}
.hero-image-container img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-text-box {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
}

@media(min-width: 992px) {
    .hero-overlap-content {
        grid-template-columns: 1.2fr 1fr;
    }
    .hero-text-box {
        transform: translateX(-80px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
}

/* --- Horizontal Scroll Section --- */
.horizontal-scroll-section {
    background-color: var(--light-gray);
}
.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray);
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--light-gray);
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}
.scroll-card {
    flex: 0 0 300px;
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- Split Content Section --- */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 8px;
}
@media(min-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FAQ Accordion Section --- */
.faq-section {
    background-color: var(--light-gray);
}
.accordion details {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
}
.accordion summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--secondary-color);
    list-style: none; /* remove default marker */
    position: relative;
    padding-right: 25px;
}
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s;
}
.accordion details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.accordion p {
    padding-top: 10px;
    margin-bottom: 0;
}

/* --- Page Specific Styles --- */
.page-header-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
}
.page-header-section h1, .page-header-section p {
    color: var(--white-color);
    position: relative;
    z-index: 2;
}
.page-header-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

/* --- Program Page: Numbered Modules --- */
.numbered-module {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}
.module-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.module-content {
    flex: 1;
}
.image-module {
    padding: 30px 0;
}
.module-image-container img {
    border-radius: 8px;
}

/* --- Mission Page: Timeline --- */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 3px solid var(--white-color);
    top: 24px;
    border-radius: 50%;
    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);
    border-radius: 6px;
}
.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .timeline-wrapper::after { left: 15px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 15px; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-dot { left: 7px; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 7px;
    }
}

/* --- Values Section --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
    text-align: center;
    padding: 20px;
}

/* --- Contact Page --- */
.main-contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.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;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
}
.contact-info-cards-section {
    padding-top: 0;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
@media(min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

/* --- Legal & Thank You Pages --- */
.legal-page h1, .legal-page h2 {
    margin-top: 2rem;
}
.thank-you-section {
    padding: 100px 0;
}
.thank-you-actions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}
.action-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- CTA Sections --- */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.cta-section h2, .cta-section p {
    color: var(--white-color);
}
.cta-alt {
    background-color: var(--light-gray);
}
.cta-alt h2, .cta-alt p {
    color: inherit;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: var(--white-color) !important;
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1.5fr 1fr; }
}
.footer-column h4 {
    color: var(--white-color) !important;
    margin-bottom: 15px;
}
.footer-column p, .footer-column a, .footer-column li {
    color: #bdc3c7 !important;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin-bottom: 8px;
}
.footer-column a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495E;
}
.footer-bottom p {
    margin: 0;
    color: #bdc3c7 !important;
}

/* --- Cookie Banner (MANDATORY) --- */
#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; font-size: 0.9rem; }
#cookie-banner a { color: var(--primary-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; }
}