/*
  Design System:
  - design-style: corporate-clean
  - border-style: pill
  - shadow-style: subtle
  - color-mode: light

  Color Palette: Deep Magenta & Gold
  - Primary: #9C1C66
  - Secondary: #D4AC0D
  - Accent: #F7DC6F
  - Text: #212121
  - Background: #FFFFFF
  - Light Gray: #F8F9FA
*/

:root {
    --primary-color: #9C1C66;
    --primary-dark-color: #B22B5B;
    --secondary-color: #D4AC0D;
    --accent-color: #F7DC6F;
    --text-color: #212121;
    --text-light-color: #555;
    --background-color: #FFFFFF;
    --light-gray-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --shadow-color: rgba(0, 0, 0, 0.07);
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 4vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.25rem); }

p { margin: 0 0 1.5rem 0; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary-dark-color); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

@media (min-width: 768px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; color: var(--text-light-color); }
.section-title-left { text-align: left; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    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-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-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: 500; }

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--background-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}

.mobile-nav ul { list-style: none; padding: 10px 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; 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(--text-color) !important;
    color: var(--light-gray-bg) !important;
    padding: 50px 0 0;
}

.site-footer a { color: var(--accent-color) !important; }
.site-footer a:hover { color: var(--white-color) !important; }
.footer-container { display: grid; gap: 30px; }
.footer-heading { color: var(--white-color) !important; margin-bottom: 1rem; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid var(--text-light-color); margin-top: 40px; padding: 20px 0; text-align: center; font-size: 0.9rem; }
.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: repeat(4, 1fr); }
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 60px 0;
    overflow: hidden;
}
.hero-grid-overlap {
    display: grid;
    align-items: center;
    gap: 2rem;
}
.hero-image-container-overlap {
    order: 2;
}
.hero-image-overlap {
    border-radius: 28px;
    box-shadow: 0 4px 15px var(--shadow-color);
}
.hero-content-overlap {
    order: 1;
    z-index: 2;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle { margin-bottom: 2rem; color: var(--text-light-color); }

@media (min-width: 992px) {
    .hero-grid-overlap { grid-template-columns: 1fr 1fr; gap: 0; }
    .hero-image-container-overlap { order: 1; transform: translateX(-10%); }
    .hero-content-overlap {
        order: 2;
        padding: 40px;
        background-color: var(--background-color);
        border-radius: 28px;
        box-shadow: 0 2px 12px var(--shadow-color);
        transform: translateX(-30%);
    }
}

/* --- Benefits Section (Asymmetrical) --- */
.benefits-section-asymm { background-color: var(--light-gray-bg); }
.benefits-grid-asymm { display: grid; gap: 24px; }
.benefit-card-asymm {
    background-color: var(--background-color);
    padding: 28px;
    border-radius: 28px;
    box-shadow: 0 2px 12px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card-asymm:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.benefit-card-asymm h3, .benefit-card-asymm h4 { color: var(--primary-color); }
.benefit-card-asymm p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .benefits-grid-asymm { grid-template-columns: 1fr 1fr; }
    .featured-card { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .benefits-grid-asymm { grid-template-columns: repeat(4, 1fr); }
    .featured-card { grid-column: span 2; grid-row: span 2; }
    .featured-card h3 { font-size: 1.75rem; }
}

/* --- Testimonials Section --- */
.testimonials-wrapper { display: grid; gap: 24px; }
.testimonial-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 28px;
}
.testimonial-rating { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-light-color); }
.testimonial-author { font-weight: bold; margin-bottom: 0; }

@media (min-width: 768px) {
    .testimonials-wrapper { grid-template-columns: repeat(3, 1fr); }
}

/* --- Expert Section --- */
.expert-section { background-color: var(--light-gray-bg); }
.expert-container { display: grid; align-items: center; gap: 3rem; }
.expert-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 auto;
}
.expert-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 0 0 1.5rem 0;
}
.expert-content cite { font-style: normal; }
.expert-content cite span { color: var(--text-light-color); }

@media (min-width: 768px) {
    .expert-container { grid-template-columns: auto 1fr; gap: 3rem; }
    .expert-image-placeholder { margin: 0; }
}

/* --- Icon Features Section --- */
.icon-features-grid { display: grid; gap: 24px; }
.icon-feature-item { text-align: center; }
.feature-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.icon-feature-item p { margin: 0; color: var(--text-light-color); }

@media (min-width: 576px) {
    .icon-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Two Column Section --- */
.two-col-container { display: grid; gap: 2rem; align-items: center; }
.two-col-image img { border-radius: 28px; }
.two-col-content ul { list-style: '✓ '; padding-left: 1.5rem; margin-bottom: 2rem; }
.two-col-content ul li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
@media (min-width: 768px) {
    .two-col-container { grid-template-columns: 1fr 1fr; }
}

/* --- Program Page: Horizontal Tabs --- */
.tabs-container {
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow-color);
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--light-gray-bg);
}
.tab-link {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: var(--text-light-color);
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
}
.tab-link.active, .tab-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.tabs-content { padding: 30px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-content-flex { display: grid; gap: 2rem; align-items: center; }
.tab-image-content img { border-radius: 28px; }
@media (min-width: 768px) {
    .tab-content-flex { grid-template-columns: 1fr 1fr; }
}

/* --- Mission Page --- */
.mission-story-section .mission-content p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.team-section { background-color: var(--light-gray-bg); }
.team-container { display: grid; gap: 2rem; align-items: center; }
.team-image img { border-radius: 28px; }
@media (min-width: 768px) {
    .team-container { grid-template-columns: 1fr 1fr; }
}
.values-grid { display: grid; gap: 24px; }
.value-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 28px;
}
.value-card h3 { color: var(--primary-color); }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Contact Page --- */
.contact-grid-layout {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-info-block h3 { border-bottom: 2px solid var(--secondary-color); padding-bottom: 0.5rem; display: inline-block; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item h4 { margin-bottom: 0.25rem; }
.contact-item p { margin: 0; color: var(--text-light-color); }
.contact-item a { color: var(--text-light-color); }
.contact-item a:hover { color: var(--primary-color); }

.contact-form {
    background-color: var(--light-gray-bg);
    padding: 30px;
    border-radius: 28px;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
}
.form-group textarea { border-radius: 28px; }
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(156, 28, 102, 0.2);
}
.form-submit-btn { width: 100%; }
@media (min-width: 992px) {
    .contact-grid-layout { grid-template-columns: 1fr 1.5fr; }
}

/* --- Generic Page & Legal --- */
.page-header-section { background-color: var(--light-gray-bg); text-align: center; }
.page-title { margin-bottom: 1rem; }
.page-subtitle { max-width: 800px; margin: 0 auto; color: var(--text-light-color); }
.legal-page .container { max-width: 800px; }
.legal-page h2 { margin-top: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.legal-page ul { list-style: disc; padding-left: 2rem; margin-bottom: 1.5rem; }

/* --- Thank You Page --- */
.thank-you-section { padding: 80px 0; }
.thank-you-content { margin-top: 3rem; }
.thank-you-links { display: grid; gap: 24px; margin-top: 2rem; }
.thank-you-link-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    text-align: left;
    color: var(--text-color);
    transition: all 0.3s ease;
}
.thank-you-link-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px var(--shadow-color);
    transform: translateY(-5px);
}
.thank-you-link-card h4 { color: var(--primary-color); }
.thank-you-link-card p { margin: 0; color: var(--text-light-color); }
@media (min-width: 768px) {
    .thank-you-links { grid-template-columns: repeat(3, 1fr); }
}

/* --- CTA Section --- */
.cta-section { background-color: var(--primary-dark-color); color: var(--white-color); }
.cta-container { text-align: center; }
.cta-container h2 { color: var(--white-color); }
.cta-container .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-dark-color);
    border-color: var(--white-color);
}
.cta-container .btn-primary:hover {
    background-color: transparent;
    color: var(--white-color);
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--text-color);
    color: var(--white-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}
#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(--accent-color); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
}
.cookie-btn-accept { background-color: var(--secondary-color); color: var(--text-color); }
.cookie-btn-decline { background-color: #555; color: var(--white-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; }
}