/* 
   Design System:
   - design-style: soft-organic
   - border-style: rounded
   - shadow-style: flat
   - color-mode: dark
   - Color Palette: Warm Terracotta Palette
*/

:root {
    --bg-dark: #1a1a1a;
    --bg-dark-secondary: #2c2c2c;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary-accent: #E57373; /* Soft Red/Terracotta */
    --secondary-accent: #FFB74D; /* Soft Orange */
    --border-color: #444;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --border-radius-large: 24px;
    --border-radius-medium: 12px;
    --border-radius-small: 8px;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }

.section {
    padding: 48px 0;
}

.section-dark {
    background-color: var(--bg-dark-secondary);
    border-radius: var(--border-radius-large);
    margin: 32px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: #d35f5f;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-dark-secondary);
    color: var(--text-light);
    border: 1px solid var(--primary-accent);
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
    color: #fff;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    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(--text-light);
    z-index: 100;
}
.logo:hover { color: var(--primary-accent); }

.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;
    border-radius: 3px;
}

.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-muted);
    font-weight: 500;
}
.desktop-nav a:hover {
    color: var(--text-light);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-dark-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
}

.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;
}
.mobile-nav a {
    color: var(--text-light);
    font-size: 1.2rem;
}

@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 (Circle Image) --- */
.hero-section.hero-circle-layout {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-circle-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    text-align: center;
}
.hero-title {
    color: var(--primary-accent);
}
.hero-subtitle {
    max-width: 650px;
    margin: 24px auto 32px auto;
    color: var(--text-muted);
}
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-circle-image {
    width: clamp(280px, 80vw, 450px);
    height: clamp(280px, 80vw, 450px);
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-accent);
}

@media (min-width: 992px) {
    .hero-circle-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .hero-content {
        text-align: left;
    }
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- Benefits Timeline --- */
.benefits-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.benefits-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--border-color);
}
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 5px;
    width: 32px;
    height: 32px;
    background-color: var(--primary-accent);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
}
.timeline-title {
    color: var(--secondary-accent);
    margin-bottom: 8px;
}
.timeline-content p {
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .benefits-timeline::before { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .timeline-icon { width: 24px; height: 24px; left: -2px; }
}

/* --- Testimonials --- */
.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-card {
    background-color: var(--bg-dark);
    padding: 24px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--text-muted);
}
.testimonial-name {
    font-weight: bold;
    margin: 0;
}
.testimonial-rating {
    color: var(--secondary-accent);
    font-size: 1.2rem;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
}
@media (min-width: 768px) {
    .testimonials-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .testimonials-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Expert Block --- */
.expert-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background-color: var(--bg-dark-secondary);
    padding: 32px;
    border-radius: var(--border-radius-large);
}
.expert-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
}
.expert-quote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--primary-accent);
    padding-left: 20px;
    margin-bottom: 24px;
}
.expert-signature {
    text-align: right;
}
.expert-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .expert-block {
        grid-template-columns: 1fr 2fr;
        padding: 48px;
    }
    .expert-image {
        height: 100%;
    }
}

/* --- 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: center;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
    background-color: var(--bg-dark);
    color: var(--secondary-accent);
    font-weight: bold;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}
.check-mark { color: #50c878; font-weight: bold; }
.cross-mark { color: #d35f5f; font-weight: bold; }

/* --- Quote Highlight --- */
.quote-highlight {
    background-color: var(--bg-dark-secondary);
    padding: 48px;
    border-radius: var(--border-radius-large);
    text-align: center;
    position: relative;
}
.quote-mark-open, .quote-mark-close {
    font-size: 6rem;
    color: var(--primary-accent);
    line-height: 1;
    position: absolute;
    opacity: 0.2;
}
.quote-mark-open { top: 10px; left: 20px; }
.quote-mark-close { bottom: -20px; right: 20px; }
.quote-text {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 500;
    margin-bottom: 24px;
}
.quote-author {
    color: var(--text-muted);
    font-style: italic;
}

/* --- Program Page --- */
.page-header-section {
    padding: 40px 0;
    text-align: center;
}
.page-title { color: var(--primary-accent); }
.page-subtitle { max-width: 800px; margin: 16px auto 0 auto; color: var(--text-muted); }

.program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.program-card {
    background-color: var(--bg-dark-secondary);
    padding: 28px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
}
.program-card-title {
    color: var(--secondary-accent);
    margin-bottom: 12px;
}
.program-card-text {
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .program-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px;
}
.cta-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
}
.cta-content {
    text-align: center;
}
@media (min-width: 768px) {
    .cta-container {
        grid-template-columns: 1fr 2fr;
        text-align: left;
    }
    .cta-content {
        text-align: left;
    }
}

/* --- Mission Page --- */
.mission-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.mission-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
}
.mission-title {
    color: var(--primary-accent);
}
@media (min-width: 992px) {
    .mission-split-layout {
        grid-template-columns: 2fr 3fr;
        gap: 48px;
    }
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: var(--bg-dark);
    padding: 24px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--border-color);
}
.value-title {
    color: var(--secondary-accent);
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page --- */
.contact-form-wrapper.centered-form {
    max-width: 800px;
    margin: 0 auto;
}
.contact-form {
    background-color: var(--bg-dark-secondary);
    padding: 32px;
    border-radius: var(--border-radius-large);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-small);
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
}
.contact-form button {
    width: 100%;
}
.contact-cards-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.contact-card {
    background-color: var(--bg-dark);
    padding: 24px;
    border-radius: var(--border-radius-medium);
    text-align: center;
}
.contact-card-title {
    color: var(--secondary-accent);
}
@media (min-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Policy Pages --- */
.policy-container {
    max-width: 800px;
}
.policy-container h1, .policy-container h2 {
    color: var(--primary-accent);
}
.policy-container p, .policy-container li {
    color: var(--text-muted);
}

/* --- Thank You Page --- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-title {
    color: var(--primary-accent);
}
.next-steps {
    margin-top: 48px;
    background-color: var(--bg-dark-secondary);
    padding: 32px;
    border-radius: var(--border-radius-large);
}
.next-steps-links {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- Footer --- */
.site-footer {
    background-color: #111111 !important; /* !important to prevent browser overrides */
    color: var(--text-muted) !important;
    padding: 48px 0 0 0;
    margin-top: 48px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer-title {
    color: var(--text-light);
    margin-bottom: 16px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a, .footer-contact a {
    color: var(--text-muted);
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--text-light);
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    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: 0.9rem; }
#cookie-banner a { color: var(--secondary-accent); 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: var(--border-radius-small);
    border: none;
    cursor: pointer;
}
.cookie-btn-accept { background-color: var(--primary-accent); color: white; }
.cookie-btn-decline { background-color: var(--border-color); 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; }
}