/*
  Palette Name: Soft Organic
  Primary: #7D3C98 (Grape)
  Secondary: #D4AC0D (Mustard Yellow)
  Accent: #935116 (Brown)
  Light BG: #FDFCFB
  Dark BG: #211a24
  Text Light: #F0F0F0
  Text Dark: #333333
*/

:root {
    --primary-color: #7D3C98;
    --secondary-color: #D4AC0D;
    --accent-color: #935116;
    --light-bg: #FDFCFB;
    --dark-bg: #211a24;
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --border-radius-card: 24px;
    --border-radius-btn: 8px;
    --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);
    --font-family: 'Nunito Sans', sans-serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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: 48px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.light-section {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.dark-section h1, .dark-section h2, .dark-section h3 {
    color: var(--text-light);
}

.dark-section a {
    color: var(--secondary-color);
}

.dark-section a:hover {
    color: var(--text-light);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 16px;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-align: center;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(135deg, var(--dark-bg), #3a2d3f);
    box-shadow: var(--shadow-subtle);
}

.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: 800;
    color: var(--text-light);
    z-index: 100;
}
.logo:hover {
    color: var(--secondary-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;
    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: 600;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: var(--dark-bg);
    z-index: 99;
}

.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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #6a2b81;
    color: var(--text-light);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}
.btn-secondary:hover {
    background-color: #b9930b;
    color: var(--text-dark);
}

/* --- Hero: Vertical Stack --- */
.hero-vertical-stack {
    display: flex;
    flex-direction: column;
}
.hero-image-container {
    height: 55vh;
    width: 100%;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-container {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 48px 0;
    text-align: center;
}
.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    color: var(--text-light);
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 800px;
    margin: 0 auto 32px auto;
    opacity: 0.9;
}

/* --- Benefits: Asymmetrical Grid --- */
.benefits-asymm-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .benefits-asymm-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }
    .benefit-card-featured {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}
.benefit-card-featured, .benefit-card-small {
    padding: 32px;
    background-color: #ffffff;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card-featured:hover, .benefit-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.benefit-card-featured {
    background: linear-gradient(145deg, var(--primary-color), #5e2d72);
    color: var(--text-light);
}
.benefit-card-featured .card-title {
    color: var(--text-light);
    font-size: 28px;
}
.card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* --- Numbered Steps --- */
.numbered-steps-container {
    display: grid;
    gap: 32px;
}
@media (min-width: 768px) {
    .numbered-steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .numbered-steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 16px;
}
.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* --- Expert Block --- */
.expert-block {
    display: grid;
    gap: 32px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
@media (min-width: 768px) {
    .expert-block {
        grid-template-columns: 200px 1fr;
        padding: 48px;
    }
}
.expert-image-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.expert-quote-content blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-size: clamp(18px, 2vw, 22px);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
    position: relative;
    padding-left: 40px;
}
.expert-quote-content blockquote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
}
.expert-quote-content cite {
    font-style: normal;
    font-weight: 600;
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .checklist-container {
        grid-template-columns: 1fr 1fr;
    }
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.checklist li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 12px;
}
.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: bold;
}

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 500px) {
    .icon-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .icon-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.icon-feature-item {
    padding: 24px;
    text-align: center;
    background-color: #fff;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
.icon-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.icon-feature-item h3 {
    font-size: 20px;
    color: var(--primary-color);
}
.icon-feature-item p {
    font-size: 15px;
    opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 60px 0 20px 0;
}
.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 500px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
.footer-heading {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-light) !important;
    position: relative;
    padding-bottom: 8px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a, .footer-email-link {
    color: rgba(240, 240, 240, 0.8) !important;
}
.footer-links a:hover, .footer-email-link:hover {
    color: var(--secondary-color) !important;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(240, 240, 240, 0.6) !important;
}

/* --- 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: #333;
    color: #fff;
    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: 15px; }
#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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--text-light); }
.cookie-btn-decline { background-color: #555; color: #fff; }
@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; }
}

/* --- Inner Pages --- */
.page-hero {
    padding: 60px 0;
    text-align: center;
}
.page-title {
    font-size: clamp(36px, 6vw, 52px);
}
.page-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}
.legal-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

/* --- Program Page: Horizontal Tabs --- */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}
.tab-radio {
    display: none;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
}
.tab-label {
    display: inline-block;
    padding: 12px 10px;
    margin-bottom: -1px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .tab-label {
        width: 100%;
        border-radius: 0;
        text-align: center;
    }
}
#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"],
#tab4:checked ~ .tabs-nav label[for="tab4"] {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-bottom: 1px solid var(--light-bg);
    font-weight: 700;
}
.tabs-body {
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--border-radius-card) var(--border-radius-card);
    background-color: var(--light-bg);
}
.tab-content {
    display: none;
    padding: 32px;
    animation: fadeIn 0.5s ease;
}
#tab1:checked ~ .tabs-body #content1,
#tab2:checked ~ .tabs-body #content2,
#tab3:checked ~ .tabs-body #content3,
#tab4:checked ~ .tabs-body #content4 {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.content-image-rounded {
    border-radius: var(--border-radius-card);
    margin-top: 24px;
    box-shadow: var(--shadow-subtle);
}

/* --- Mission Page: Split Layout --- */
.split-layout-container {
    display: grid;
    gap: 32px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-layout-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
}
.split-image {
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
.split-layout-content p {
    margin-bottom: 16px;
}
.values-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.value-title {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

/* --- Contact Page --- */
.contact-form-centered {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    background-color: #fff;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-subtle);
}
.form-title {
    text-align: center;
    color: var(--primary-color);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-btn);
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(125, 60, 152, 0.2);
}
.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}
.contact-cards-section {
    background-color: var(--light-bg);
}
.contact-cards-grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}
@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
    text-align: center;
    padding: 24px;
}
.contact-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.contact-card-title {
    color: var(--primary-color);
}

/* --- Thank You Page --- */
.thank-you-section {
    padding: 80px 0;
}
.thank-you-icon {
    font-size: 64px;
    margin-bottom: 24px;
}
.thank-you-title {
    color: var(--primary-color);
}
.thank-you-text {
    max-width: 600px;
    margin: 0 auto 32px auto;
}
.next-steps {
    margin-top: 48px;
    padding: 32px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-card);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.back-home-btn {
    margin-top: 48px;
}