/* #12294F, #1E4080, #A06830, #EEF4FA */
:root {
    --color-primary: #12294F;
    --color-secondary: #1E4080;
    --color-accent: #A06830;
    --bg-tint: #EEF4FA;
    --text-dark: #2c3539;
    --text-light: #ffffff;
    --border-radius-pill: 50px;
    --border-radius-card: 32px;
    --border-radius-badge: 999px;
    --shadow-subtle: 0 2px 12px rgba(0,0,0,0.07);
    --font-serif: 'Georgia', 'Playfair Display', serif;
    --font-sans: 'Lora', 'Merriweather', Georgia, serif;
}

/* Global Reset & Vintage Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-tint);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 700;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-tint);
    border-bottom: 1px solid rgba(18, 41, 79, 0.1);
    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: 28px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-primary);
}

/* Hamburger menu styles */
.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 Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

/* Mobile Navigation */
.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(--bg-tint);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(18, 41, 79, 0.1);
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    display: block;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-pill);
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: var(--shadow-subtle);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Badges */
.vintage-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-accent);
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    border-radius: var(--border-radius-badge);
    margin-bottom: 16px;
}

/* Fullscreen Center Hero */
.hero-section {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 16px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--bg-tint);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Inner Hero Styles */
.inner-hero {
    padding: 80px 16px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.inner-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.inner-hero h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    color: var(--text-light);
    margin-bottom: 16px;
}

.inner-hero p {
    color: var(--bg-tint);
    font-size: 18px;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-header .sub-title {
    color: var(--color-accent);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin: 8px 0 16px 0;
}

/* Benefits Timeline */
.benefits-timeline-section {
    padding: 48px 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -32px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: var(--shadow-subtle);
}

.timeline-content {
    background-color: var(--text-light);
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.timeline-content h3 {
    margin-bottom: 12px;
}

/* Two Column Image & Text */
.two-col-section {
    padding: 48px 0;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.two-col-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.two-col-text-wrapper h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 16px;
}

.two-col-text-wrapper p {
    margin-bottom: 16px;
}

.custom-list {
    list-style: none;
    margin: 20px 0;
}

.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Quote Section */
.quote-section {
    padding: 48px 0;
}

.quote-card {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 48px 24px;
    border-radius: var(--border-radius-card);
    text-align: center;
    box-shadow: var(--shadow-subtle);
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 1;
    color: var(--color-accent);
    display: block;
    margin-bottom: -20px;
}

.quote-card blockquote {
    font-family: var(--font-serif);
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.quote-card cite {
    display: block;
    font-size: 14px;
    color: var(--bg-tint);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-section {
    padding: 48px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    height: 250px;
    box-shadow: var(--shadow-subtle);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(18, 41, 79, 0.9));
    padding: 20px;
    color: var(--text-light);
}

.placeholder-item {
    background-color: var(--color-accent);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

/* FAQ Accordion */
.faq-section {
    padding: 48px 0;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    background-color: var(--text-light);
    margin-bottom: 16px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.faq-summary {
    padding: 20px 24px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::after {
    content: '✦';
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-details[open] .faq-summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 24px 20px 24px;
    border-top: 1px solid rgba(18, 41, 79, 0.05);
}

/* Program Tabs (horizontal-tabs) */
.program-tabs-section {
    padding: 48px 0;
}

.tabs {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--text-light);
    border-radius: var(--border-radius-card);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(18, 41, 79, 0.1);
    padding-bottom: 16px;
    justify-content: center;
}

.tabs-nav label {
    padding: 10px 20px;
    background-color: var(--bg-tint);
    color: var(--color-primary);
    font-weight: bold;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.tab-panel {
    display: none;
}

.tab-panel h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.tab-panel p {
    margin-bottom: 16px;
}

/* Tab logic selectors */
input[name="tabs"] { display: none; }
#t1:checked ~ #p1 { display: block; }
#t2:checked ~ #p2 { display: block; }
#t3:checked ~ #p3 { display: block; }
#t4:checked ~ #p4 { display: block; }

#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* Stats section */
.stats-section {
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius-card);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-family: var(--font-serif);
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 8px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 64px 24px;
    border-radius: var(--border-radius-card);
    text-align: center;
    margin: 48px 0;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.cta-content p {
    margin-bottom: 24px;
}

/* Mission Intro split */
.mission-intro {
    padding: 48px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.intro-img-wrapper img {
    width: 100%;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

/* Dates Timeline */
.dates-timeline-section {
    padding: 48px 0;
}

.dates-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    background-color: var(--text-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.date-badge {
    align-self: flex-start;
    background-color: var(--color-accent);
    color: var(--text-light);
    padding: 8px 24px;
    font-weight: bold;
    font-size: 18px;
    border-radius: var(--border-radius-pill);
}

/* Values Grid */
.values-section {
    padding: 48px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--text-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.value-icon {
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

/* Contact Grid & Form */
.contact-section {
    padding: 48px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--text-light);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-primary);
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(18, 41, 79, 0.15);
    border-radius: var(--border-radius-pill);
    font-family: var(--font-sans);
    font-size: 16px;
}

.custom-form textarea {
    border-radius: 20px;
    resize: vertical;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.info-card {
    margin-top: 24px;
    border-top: 1px solid rgba(18, 41, 79, 0.1);
    padding-top: 24px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.small-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Legal Pages */
.legal-page {
    padding: 80px 16px;
}

.legal-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 48px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.legal-section h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.legal-section h2 {
    font-size: 22px;
    margin: 32px 0 16px 0;
}

.legal-section p {
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0 16px 24px;
}

.legal-section li {
    margin-bottom: 8px;
}

.meta-date {
    font-style: italic;
    color: #666;
    margin-bottom: 32px;
}

/* Thank You Page */
.thank-you-page {
    padding: 80px 16px;
    text-align: center;
}

.thank-you-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 48px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}

.thank-icon {
    font-size: 64px;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.next-steps {
    text-align: left;
    background-color: var(--bg-tint);
    padding: 24px;
    border-radius: 20px;
    margin: 32px 0;
}

.next-steps h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.next-steps li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* 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(--color-primary);
    color: var(--text-light);
}

#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--color-accent); text-decoration: underline; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-light);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

/* Footer layout with high contrast safeguards */
.site-footer {
    padding: 64px 16px 24px 16px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-logo {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0 auto;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

/* Responsive Breakpoints (Mobile First) */
@media (min-width: 768px) {
    /* Header & Navigation */
    .hamburger {
        display: none;
    }

    /* Grid systems */
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }

    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@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);
    }

    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}