/*
  Design System:
  - design-style: corporate-clean
  - border-style: rounded
  - shadow-style: dramatic
  - color-mode: light
  - Color Palette: Corporate Amber & Graphite
*/

:root {
    --primary-color: #b8860b; /* DarkGoldenRod - A corporate, warm amber */
    --secondary-color: #343a40; /* Dark Gray - For text and accents */
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --text-color: #212529;
    --text-light: #f8f9fa;
    --border-color: #dee2e6;
    --header-height: 70px;
    --border-radius-card: 12px;
    --border-radius-btn: 8px;
    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.18);
    --shadow-dramatic-hover: 0 32px 80px rgba(0, 0, 0, 0.25);
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 { font-size: clamp(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 {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-light-gray {
    background-color: var(--light-gray-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
}

.section-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 48px auto;
    font-size: 1.1rem;
}

/* --- Header --- */
.site-header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    width: 100%;
    padding: 15px 10px;
    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(--secondary-color);
    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(--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 a {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--background-color);
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.mobile-nav a { color: var(--secondary-color); font-weight: 700; display: block; }

@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); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
    padding: 50px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.footer-column h5, .footer-column h4 { color: var(--text-light) !important; }
.footer-logo { font-size: 22px; margin-bottom: 10px; }
.footer-heading { margin-top: 0; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-light) !important; }
.footer-contact { font-style: normal; }
.footer-contact a { color: var(--primary-color) !important; }
.copyright { font-size: 0.9em; margin-top: 20px; opacity: 0.7; }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: #9a6d09;
    transform: translateY(-2px);
    box-shadow: var(--shadow-dramatic);
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* --- Shadows & Borders --- */
.card-shadow-dramatic {
    box-shadow: var(--shadow-dramatic);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-shadow-dramatic:hover {
    box-shadow: var(--shadow-dramatic-hover);
    transform: translateY(-5px);
}

/* --- Hero Section (Circle Image) --- */
.hero-section-circle {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}
.hero-circle-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.hero-circle-content { text-align: center; }
.hero-title { margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; max-width: 650px; margin: 0 auto 32px auto; }
.hero-circle-image-wrapper {
    display: flex;
    justify-content: center;
}
.hero-circle-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--background-color);
}

@media (min-width: 992px) {
    .hero-circle-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .hero-circle-content { text-align: left; }
    .hero-subtitle { margin-left: 0; }
    .hero-circle-image { width: 400px; height: 400px; }
}

/* --- Timeline Section --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 0;
    z-index: 1;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-card);
}
.timeline-content h3 { margin-top: 0; }

@media (max-width: 768px) {
    .timeline-container::after { left: 15px; }
    .timeline-item { padding-left: 60px; padding-right: 0; }
    .timeline-icon { left: 0; }
}

/* --- Quote Highlight Section --- */
.section-highlight {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.quote-block {
    position: relative;
    padding: 40px;
    text-align: center;
}
.quote-mark {
    font-size: 6rem;
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}
.quote-text {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.quote-author {
    font-weight: 700;
    color: var(--text-light);
}

/* --- Checklist Section --- */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.checklist-item {
    display: flex;
    align-items: center;
    background: var(--light-gray-bg);
    padding: 12px 16px;
    border-radius: var(--border-radius-btn);
}
.checklist-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 12px;
}
@media (min-width: 768px) {
    .checklist-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Expert Block Section --- */
.expert-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.expert-image-placeholder {
    width: 200px;
    height: 200px;
    background: var(--border-color);
    border-radius: var(--border-radius-card);
    margin: 0 auto;
}
.expert-quote {
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 20px;
}
.expert-signature { font-weight: 700; }

@media (min-width: 768px) {
    .expert-layout { grid-template-columns: 200px 1fr; gap: 40px; }
    .expert-image-placeholder { margin: 0; }
}

/* --- Stats Bar Section --- */
.stats-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
}
.stats-bar-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
}
.stat-label { font-size: 1rem; opacity: 0.9; }

@media (min-width: 768px) {
    .stats-bar-layout { grid-template-columns: repeat(4, 1fr); }
}

/* --- Page Hero --- */
.page-hero {
    padding: 50px 0;
    background-color: var(--light-gray-bg);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-title { margin-bottom: 8px; }
.page-subtitle { font-size: 1.2rem; margin: 0; color: #6c757d; }

/* --- Accordion (Program Page) --- */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    background-color: var(--background-color);
}
.accordion-title {
    padding: 16px 24px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* remove marker */
}
.accordion-title::-webkit-details-marker { display: none; }
.accordion-title::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-item[open] > .accordion-title::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 24px 24px 24px;
}

/* --- Split Image Layout (Program Page) --- */
.section-split-image .split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image {
    border-radius: var(--border-radius-card);
}
@media (min-width: 992px) {
    .section-split-image .split-layout {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* --- Mission Page --- */
.story-content p {
    margin-bottom: 1.5rem;
}
.team-figure {
    margin: 0;
    text-align: center;
}
.team-image {
    border-radius: var(--border-radius-card);
    margin: 0 auto 16px;
}
.team-figure figcaption {
    font-style: italic;
    color: #6c757d;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius-card);
    text-align: center;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contact Page --- */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-info-block {
    background-color: var(--light-gray-bg);
    padding: 30px;
    border-radius: var(--border-radius-card);
}
.contact-subheading { margin-top: 0; }
.contact-details .contact-item { margin-bottom: 20px; }
.contact-details .contact-item strong { display: block; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-btn);
    font-size: 1rem;
}
.form-submit-btn { width: 100%; }
@media (min-width: 992px) {
    .contact-grid-layout { grid-template-columns: 1fr 1.5fr; }
}

/* --- Legal & Thank You Pages --- */
.legal-content h2 { margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.thank-you-section { text-align: center; padding: 80px 0; }
.thank-you-content { max-width: 700px; margin: 0 auto; }
.thank-you-title { font-size: 2.8rem; }
.next-steps { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border-color); }
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* --- 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(--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;
    cursor: pointer;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
}
.cookie-btn-accept { background-color: var(--primary-color); color: white; }
.cookie-btn-decline { background-color: #6c757d; color: white; }
@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; }
}