/* Palette: indigo-gold */
:root {
    --color-primary: #1A237E;
    --color-secondary: #283593;
    --color-accent: #C9A227;
    --bg-tint: #F4F4FF;
    --text-light: #FFFFFF;
    --text-dark: #1A1A1A;
    --border-color: #DDDDDD;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
}

html {
    scroll-behavior: smooth;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
p { font-size: clamp(1rem, 2.5vw, 1.1rem); margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-accent); }
ul, ol { list-style-position: inside; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-light {
    background-color: var(--bg-tint);
}

.section-dark {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-light);
}

.section-dark a {
    color: var(--color-accent);
}
.section-dark a:hover {
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--text-light);
    box-shadow: var(--shadow-subtle);
    border-bottom: 1px solid var(--border-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;
    color: var(--color-primary);
    z-index: 100;
}

.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(--color-primary);
    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;
}

.desktop-nav a {
    font-weight: 600;
}

.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;
    z-index: 99;
    background-color: var(--text-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li:last-child {
    border-bottom: none;
}

/* --- Hero Section (Circle Image) --- */
.hero-section {
    padding: 60px 0;
    background-color: var(--color-secondary);
    color: var(--text-light);
}
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.hero-content {
    text-align: center;
    max-width: 650px;
}
.hero-title {
    color: var(--text-light);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 24px;
}
.hero-image-wrapper {
    width: 100%;
    max-width: 300px;
}
.hero-circle-bg {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 8px solid var(--color-accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    min-height: 44px;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border: 2px solid var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--text-dark);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}
.section-dark .btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}
.section-dark .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--color-secondary);
}

/* --- Horizontal Scroll Section --- */
.hscroll-container {
    overflow-x: auto;
    padding: 16px 0 32px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--bg-tint);
}
.hscroll-content {
    display: flex;
    gap: 24px;
    width: max-content;
}
.hscroll-card {
    width: 280px;
    background-color: var(--text-light);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    flex-shrink: 0;
    border-top: 4px solid var(--color-primary);
}
.hscroll-card .card-title {
    margin-bottom: 12px;
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.comparison-table thead {
    background-color: rgba(0,0,0,0.2);
}
.comparison-table th {
    font-weight: 600;
}
.comparison-table td {
    text-align: center;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}
.check-mark { color: #4CAF50; font-weight: bold; font-size: 1.5rem; }
.cross-mark { color: #F44336; font-weight: bold; font-size: 1.5rem; }

/* --- Quote Section --- */
.section-quote {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 60px 0;
}
.quote-wrapper {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.quote-symbol {
    font-size: 5rem;
    color: var(--color-accent);
    position: absolute;
    top: -40px;
    left: 0;
    opacity: 0.5;
}
.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 24px;
}
.quote-author {
    font-weight: 600;
    color: var(--text-light);
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.checklist {
    list-style: none;
}
.checklist li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.checklist-icon {
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

/* --- Two Column Layout --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.two-col-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Page Header --- */
.page-header-section {
    padding: 60px 0;
    text-align: center;
}
.page-title {
    margin-bottom: 8px;
}
.page-subtitle {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Timeline (Program & Mission) --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 48px auto 0 auto;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-primary);
}
.section-dark .timeline-container::before {
    background-color: rgba(255,255,255,0.3);
}
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-tint);
    border: 4px solid var(--color-primary);
}
.section-dark .timeline-dot {
    background-color: var(--color-secondary);
    border-color: var(--color-accent);
}
.timeline-content h3, .timeline-content h4 {
    margin-bottom: 8px;
}

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.mission-image-wrapper img {
    width: 100%;
    height: auto;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--color-primary);
}
.form-submit-btn {
    width: 100%;
}
.contact-info-card {
    background-color: var(--text-light);
    padding: 24px;
    margin-bottom: 24px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.contact-info-card h3 {
    margin-bottom: 8px;
}

/* --- Legal & Thank You Pages --- */
.legal-content h1, .legal-content h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}
.thank-you-section {
    min-height: 70vh;
}
.thank-you-container {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.thank-you-title {
    color: var(--color-primary);
}
.thank-you-text {
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.thank-you-next-steps {
    margin-bottom: 40px;
}
.thank-you-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
.thank-you-card {
    background: var(--text-light);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.thank-you-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.thank-you-card h3 {
    margin-bottom: 8px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--text-light) !important;
    padding: 48px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer-column h4 {
    color: var(--text-light) !important;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 8px;
    display: inline-block;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-column a {
    color: var(--text-light) !important;
    opacity: 0.8;
}
.footer-links a:hover, .footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-primary);
    color: var(--text-light);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    box-shadow: 0 -4px 15px 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(--color-accent) !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-radius: 0;
    cursor: pointer;
    font-weight: 600;
    min-height: 44px;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-dark);
    border: 1px solid var(--color-accent);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

/* --- Media Queries (Mobile-First) --- */
@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); }
}

@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; }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .hero-container {
        flex-direction: row;
        text-align: left;
    }
    .hero-content {
        text-align: left;
    }
    .checklist-container {
        grid-template-columns: 1fr 1fr;
    }
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
    }
    .mission-story-container {
        grid-template-columns: 40% 1fr;
    }
    .contact-layout {
        grid-template-columns: 60% 1fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .thank-you-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}