/*
  Color Palette: Royal Slate & Gold
  - Primary: #4A4A6A (Deep Slate Blue/Purple)
  - Secondary: #D4AF37 (Old Gold)
  - Background: #F4F4F8 (Light Grey)
  - Text: #333333 (Dark Grey)
  - Light Text: #FFFFFF
*/

:root {
    --primary-color: #4A4A6A;
    --secondary-color: #D4AF37;
    --background-color: #F4F4F8;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --card-bg-color: #FFFFFF;
    --footer-bg-color: #2d2d44;
    --border-color: #e0e0e0;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Utility & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-intro-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--card-bg-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;
    z-index: 100;
    color: var(--primary-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(--primary-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 {
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.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);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

@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(--footer-bg-color) !important;
    color: #a9a9c0 !important;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.site-footer h3, .site-footer h4 {
    color: var(--light-text-color) !important;
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 1.8rem;
}

.footer-about p {
    margin-bottom: 16px;
}

.footer-links ul, .footer-legal ul {
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a, .footer-contact a {
    color: #a9a9c0 !important;
}

.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--secondary-color) !important;
}

.footer-contact address, .footer-contact p {
    margin-bottom: 10px;
    font-style: normal;
}

.footer-bottom {
    border-top: 1px solid #4a4a6a;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Hero Section (Diagonal) --- */
.hero-diagonal {
    display: flex;
    min-height: 90vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-image-side {
    width: 50%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-title {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

@media (max-width: 992px) {
    .hero-diagonal {
        flex-direction: column;
        min-height: auto;
    }
    .hero-content, .hero-image-side {
        width: 100%;
        clip-path: none;
    }
    .hero-content {
        padding: 80px 20px;
        text-align: center;
    }
    .hero-image-side {
        min-height: 300px;
    }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-section-v2 {
    background-color: var(--card-bg-color);
}

.benefits-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.benefit-card-v2 {
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.benefit-card-v2 .card-title {
    color: var(--secondary-color);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .benefits-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* --- How It Works Section --- */
.how-it-works-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.how-it-works-image img {
    border-radius: 8px;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.step-content h4 {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .how-it-works-container {
        grid-template-columns: 1fr;
    }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.stats-bar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Quote Section --- */
.quote-section {
    background-color: var(--card-bg-color);
}

.quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-left: 5px solid var(--secondary-color);
}

.quote-block p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 24px;
}

.quote-block cite {
    font-weight: bold;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--background-color);
}

.cta-section-alt {
    text-align: center;
}

.cta-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    margin-bottom: 16px;
}

.cta-container p {
    margin-bottom: 32px;
}

/* --- Page Header --- */
.page-header-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}

.page-header-section .page-title {
    color: var(--light-text-color);
}

.page-header-section .page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 16px auto 0;
    opacity: 0.9;
}

/* --- Program Page (Accordion) --- */
.accordion {
    max-width: 900px;
    margin: 40px auto 0;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: var(--card-bg-color);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    padding: 20px 0;
}

.inline-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    border-radius: 8px;
}

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.mission-story-image img {
    border-radius: 8px;
}

.mission-story-text h2 {
    margin-bottom: 24px;
}

.mission-story-text p {
    margin-bottom: 16px;
}

.values-section {
    background-color: var(--card-bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-card {
    text-align: center;
}

.value-title {
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.commitment-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .mission-story-container {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Page --- */
.contact-info-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
    text-align: center;
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.info-item small {
    display: block;
    margin-top: 8px;
    opacity: 0.8;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.legal-page h1, .thank-you-title {
    margin-bottom: 24px;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-page p, .legal-page li {
    margin-bottom: 16px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 48px;
}

.next-steps h2 {
    margin-bottom: 24px;
}

.next-steps-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.next-step-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg-color);
    transition: all 0.3s ease;
}

.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    color: var(--text-color);
}

.next-step-card h3 {
    color: var(--primary-color);
}

/* --- 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(--footer-bg-color);
    color: var(--light-text-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(--secondary-color); 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: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--light-text-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; }
}