/*
* Design System: bold-editorial
* Border Style: rounded
* Shadow Style: flat
* Color Mode: mixed
* Palette: Graphite-Purple-Gold (#34495E, #7D3C98, #D4AC0D, #FDFEFE, #17202A)
*/

:root {
    --primary-color: #7D3C98; /* Rich Purple */
    --secondary-color: #34495E; /* Dark Slate */
    --accent-color: #D4AC0D; /* Gold */
    --text-light: #FDFEFE;
    --text-dark: #17202A;
    --background-light: #f9f9f9;
    --background-dark: #1C2833;
    --border-color-light: #e0e0e0;
    --border-color-dark: #4A5568;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    background-color: var(--background-light);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.75em;
    line-height: 1.2;
}

.hero-title-giant, .page-title-giant {
    font-size: clamp(48px, 9vw, 60px);
    margin-bottom: 0.2em;
    color: var(--text-light);
}

.section-title {
    font-size: clamp(32px, 6vw, 56px);
    margin-bottom: 0.3em;
}

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-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-dark);
    border-bottom: 1px solid var(--border-color-dark);
}

.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;
    z-index: 100;
    color: var(--text-light);
    text-decoration: none;
}
.logo:hover {
    color: var(--accent-color);
}

.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(--text-light);
    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-light);
    font-weight: 500;
}
.desktop-nav a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--background-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color-dark);
}
.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    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 (Grid Overlap) --- */
.hero-section-overlap {
    padding: 80px 0;
    overflow: hidden;
}
.hero-overlap-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;
}
.hero-overlap-image-wrapper {
    position: relative;
    border-radius: 12px;
}
.hero-overlap-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.hero-overlap-content {
    position: relative;
    background-color: var(--background-dark);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color-dark);
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-light);
    opacity: 0.9;
    max-width: 60ch;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-overlap-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .hero-overlap-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .hero-overlap-content {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        transform: translateX(-80px);
    }
    .hero-overlap-image-wrapper {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    text-decoration: none;
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- Benefits Grid 2x2 --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card-bordered {
    padding: 24px;
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    background-color: #fff;
}
.card-title {
    font-size: 22px;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}
.icon-feature-item .icon-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}
.icon-feature-title {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.icon-feature-item p {
    margin: 0;
    opacity: 0.8;
}

@media (min-width: 500px) {
    .icon-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .icon-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* --- 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 var(--border-color-light);
}
.comparison-table thead {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.comparison-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
.comparison-table .check { color: #27AE60; font-weight: bold; }
.comparison-table .cross { color: #C0392B; font-weight: bold; }

/* --- Quote Highlight --- */
.quote-highlight-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}
.pull-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: none;
    padding: 0;
}
.pull-quote p {
    font-family: 'Georgia', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 24px;
    position: relative;
}
.pull-quote p::before, .pull-quote p::after {
    content: "“";
    font-size: 100px;
    position: absolute;
    opacity: 0.1;
    line-height: 1;
}

@media (max-width: 768px) {
    .pull-quote p::before, .pull-quote p::after {
        display: none;
    }
}
.pull-quote p::before {
    top: -20px;
    left: -40px;
}
.pull-quote p::after {
    content: "”";
    bottom: -60px;
    right: -40px;
}
.pull-quote cite {
    font-style: normal;
    font-weight: bold;
}


/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.gallery-item-placeholder {
    background-color: var(--secondary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    min-height: 250px;
    text-align: center;
    padding: 24px;
}
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Accordion (Program Page) --- */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border: 1px solid var(--border-color-light);
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}
.accordion-item:last-child {
    margin-bottom: 0;
}
.accordion-title {
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* remove marker */
}
.accordion-title::-webkit-details-marker {
    display: none; /* for chrome */
}
.accordion-title::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}
.accordion-item[open] .accordion-title::after {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 20px 20px 20px;
}

/* --- Mission Page --- */
.story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.story-image {
    border-radius: 12px;
}
.image-caption {
    font-size: 14px;
    text-align: center;
    color: #555;
    margin-top: 12px;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}
.value-card {
    background-color: var(--secondary-color);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color-dark);
}
.value-card h3 {
    color: var(--accent-color);
}
@media (min-width: 900px) {
    .story-container {
        grid-template-columns: 2fr 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page --- */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-detail-item {
    margin-bottom: 24px;
}
.contact-detail-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 4px;
}
.contact-detail-item p {
    margin: 0;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    font-size: 16px;
}
.contact-form button {
    width: 100%;
}
@media (min-width: 900px) {
    .contact-grid-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
}

/* --- Legal & Thank You Pages --- */
.page-header {
    padding: 60px 0;
    text-align: center;
}
.legal-container {
    max-width: 800px;
}
.legal-title {
    font-size: 48px;
    margin-bottom: 24px;
}
.legal-container h2 {
    font-size: 28px;
    margin-top: 40px;
}
.thank-you-section {
    padding: 80px 0;
}
.thank-you-title {
    font-size: 48px;
}
.thank-you-separator {
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    margin: 32px auto;
}
.thank-you-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
}
.cta-container {
    max-width: 700px;
}
.cta-title {
    font-size: clamp(28px, 5vw, 40px);
    color: var(--text-light);
}
.cta-text {
    margin-bottom: 32px;
    opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--background-dark) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-column h4 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a, .footer-column p {
    color: var(--text-light) !important;
    opacity: 0.8;
}
.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid var(--border-color-dark);
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

@media (min-width: 600px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .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;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    background-color: var(--background-dark);
    color: var(--text-light);
    border-top: 1px solid var(--border-color-dark);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--accent-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-radius: 8px;
    border: 1px solid var(--accent-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--accent-color);
    color: var(--text-dark);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}
@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; }
}