/* Color Palette: plum-amber */
:root {
    --color-primary: #38006B;
    --color-secondary: #6A1B9A;
    --color-accent: #C07800;
    --bg-tint: #F8F0FF;

    --text-light: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-muted-light: rgba(255, 255, 255, 0.8);
    --text-muted-dark: #555;

    --border-radius-card: 24px;
    --border-radius-btn: 8px;
    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.22);
    --shadow-dramatic-hover: 0 32px 80px rgba(0, 0, 0, 0.30);
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--color-secondary);
    color: var(--text-light);
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4 {
    margin: 0 0 0.75em 0;
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffc107; /* A lighter amber for hover */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-dark {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-tint);
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.section-light .section-title {
    color: var(--color-primary);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-align: center;
    color: var(--text-muted-dark);
}

.section-dark .section-intro {
    color: var(--text-muted-light);
}

/* --- Header & Navigation (MANDATORY) --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: transparent;
    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: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}

.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-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.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(--color-primary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a {
    color: var(--text-light);
    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 (gradient-center) --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.hero-gradient {
    background: radial-gradient(circle at 50% 100%, var(--color-primary), var(--color-secondary) 70%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before,
.hero-gradient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.hero-gradient::before {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    left: -100px;
}

.hero-gradient::after {
    width: 300px;
    height: 300px;
    background: var(--bg-tint);
    bottom: -50px;
    right: -50px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-muted-light);
    max-width: 800px;
    margin: 0 auto 32px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dramatic-hover);
    color: var(--color-primary);
}

/* --- Benefits Section (benefits-2x2) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.benefit-card-organic {
    background-color: #ffffff;
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card-organic:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dramatic-hover);
}

.card-title {
    color: var(--color-primary);
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted-dark);
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Expert Block --- */
.expert-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.expert-image-container {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
}

.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-quote {
    font-size: clamp(18px, 2.5vw, 22px);
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    padding-left: 24px;
    margin: 0 0 24px 0;
    color: var(--text-muted-light);
}

.expert-signature {
    text-align: right;
    font-weight: 500;
}

@media (min-width: 992px) {
    .expert-block {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* --- Testimonials --- */
.testimonials-wrapper {
    display: grid;
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.testimonial-rating {
    color: var(--color-accent);
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-muted-dark);
    font-style: italic;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-primary);
    border-radius: var(--border-radius-btn);
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-muted-light);
}

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    text-align: center;
}

.icon-feature-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.icon-feature-title {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.icon-feature-item p {
    font-size: 14px;
    color: var(--text-muted-dark);
    margin: 0;
}

/* --- Page Hero --- */
.page-hero {
    padding: 80px 0;
    text-align: center;
}
.page-title {
    font-size: clamp(32px, 6vw, 56px);
    color: var(--text-light);
}
.page-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted-light);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Program Page (Accordion) --- */
.program-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.program-item {
    background-color: #ffffff;
    border-radius: var(--border-radius-card);
    margin-bottom: 16px;
    box-shadow: var(--shadow-dramatic);
}
.program-question {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(18px, 3vw, 22px);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-primary);
}
.program-question::-webkit-details-marker { display: none; }
.program-module-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
}
.program-answer {
    padding: 0 24px 24px 68px;
    color: var(--text-muted-dark);
}

/* --- Image Section --- */
.section-image-full {
    padding: 0;
}
.full-width-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
}
.cta-title {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 16px;
}
.cta-text {
    max-width: 600px;
    margin: 0 auto 32px auto;
    color: var(--text-muted-light);
}

/* --- Mission Page --- */
.mission-story-content {
    max-width: 800px;
    margin: 0 auto;
}
.team-section {
    padding: 0;
}
.team-container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    max-width: none;
}
.team-image-wrapper {
    min-height: 400px;
}
.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-content {
    padding: clamp(40px, 8vw, 80px);
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background: #ffffff;
    padding: 24px;
    text-align: center;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}
.value-card h3 { color: var(--color-primary); }
.value-card p { color: var(--text-muted-dark); margin: 0; }

@media(min-width: 768px) {
    .team-container { grid-template-columns: 1fr 1fr; }
    .team-image-wrapper { order: 2; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 992px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}


/* --- Contact Page --- */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-detail-item {
    margin-bottom: 24px;
}
.contact-detail-item h4 {
    color: var(--color-primary);
    margin-bottom: 4px;
}
.contact-detail-item p {
    margin: 0;
    color: var(--text-muted-dark);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-btn);
    border: 1px solid #ccc;
    background-color: #fff;
}
.form-submit-btn {
    width: 100%;
}

@media (min-width: 992px) {
    .contact-layout-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-content {
    max-width: 800px;
}
.legal-content h2 { margin-top: 2em; color: var(--color-primary); }
.thank-you-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-content {
    text-align: center;
}
.thank-you-title { font-size: 48px; }
.thank-you-text { margin-bottom: 32px; }

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.quick-link-card {
    display: block;
    background: #ffffff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dramatic-hover);
    color: var(--text-dark);
}
.quick-link-card h3 { color: var(--color-primary); }
.quick-link-card p { color: var(--text-muted-dark); margin: 0; }

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* --- Footer --- */
.site-footer {
    background-color: var(--color-primary) !important;
    color: var(--text-light) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-heading {
    font-size: 18px;
    color: var(--color-accent) !important;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a, .footer-column a {
    color: var(--text-muted-light) !important;
}
.footer-links a:hover, .footer-column a:hover {
    color: var(--text-light) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted-light) !important;
}
.footer-bottom p { margin: 0; }

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- Cookie Banner (MANDATORY) --- */
#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);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    color: var(--text-light);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { 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: none;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}
@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; }
}