/*
  Palette: Corporate Amethyst
  - Primary: #9B59B6 (Amethyst)
  - Secondary: #B22B5B (Magenta)
  - Dark: #2C3E50 (Midnight Blue)
  - Light: #ECF0F1 (Clouds)
  - Text: #34495E (Wet Asphalt)
*/

:root {
    --color-primary: #9B59B6;
    --color-secondary: #B22B5B;
    --color-dark: #2C3E50;
    --color-light: #ECF0F1;
    --color-background: #FFFFFF;
    --color-text: #34495E;
    --color-white: #FFFFFF;
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --shadow-dramatic: 0 24px 64px rgba(44, 62, 80, 0.22);
    --shadow-dramatic-hover: 0 32px 80px rgba(44, 62, 80, 0.30);
    --border-radius: 0; /* Sharp style */
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }

p { margin: 0 0 1rem 0; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Layout Components --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-separator {
    border-bottom: 1px solid var(--color-light);
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.margin-top-large { margin-top: 48px; }

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    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: clamp(24px, 4vw, 28px);
    font-weight: bold;
    color: var(--color-dark);
    z-index: 100;
}
.logo:hover { color: var(--color-primary); }

.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(--color-dark);
    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; font-size: 16px; color: var(--color-text); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
}

.mobile-nav ul { list-style: none; padding: 10px 20px 20px; margin: 0; }
.mobile-nav li { padding: 15px 0; border-bottom: 1px solid var(--color-light); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { display: block; width: 100%; font-weight: 600; color: var(--color-dark); }

@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); }
}

.image-container-full {
    display: flex;
    justify-content: center;
}
/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary { background-color: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background-color: #8e44ad; box-shadow: var(--shadow-dramatic-hover); transform: translateY(-3px); }
.btn-secondary { background-color: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn-secondary:hover { background-color: var(--color-dark); color: var(--color-white); }
.btn-full-width { width: 100%; }

/* --- Hero Section (Floating Card) --- */
.hero-section-floating-card {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
}
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(50%) brightness(0.7);
    z-index: -1;
}
.hero-floating-card {
    background-color: var(--color-white);
    padding: 48px;
    max-width: 700px;
    text-align: center;
    box-shadow: var(--shadow-dramatic);
}
.hero-title {
    color: var(--color-dark);
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 32px;
}

/* --- General Page Header --- */
.page-header-section {
    background-color: var(--color-light);
    padding: 60px 0;
    text-align: center;
}
.page-title { color: var(--color-dark); }
.page-subtitle { max-width: 800px; margin: 16px auto 0; color: var(--color-text); }

/* --- Section Titles --- */
.section-title { text-align: center; margin-bottom: 24px; }
.section-intro { max-width: 800px; margin: 0 auto 48px auto; text-align: center; }

/* --- Benefits Timeline --- */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 19px;
    margin-left: -1.5px;
}
.timeline-item { position: relative; padding: 10px 40px 30px 60px; }
.timeline-icon {
    position: absolute;
    left: 0;
    top: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}
.timeline-title { margin-bottom: 8px; color: var(--color-primary); }

/* --- Expert Block --- */
.expert-block-container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.expert-image-placeholder {
    width: 250px;
    height: 250px;
    background-color: var(--color-light);
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-dramatic);
    margin: 0 auto;
}
.expert-quote-content .section-title { text-align: left; }
blockquote { margin: 0; padding: 0; border-left: 4px solid var(--color-primary); padding-left: 24px; }
blockquote p { font-size: 1.2rem; font-style: italic; }
blockquote footer { margin-top: 16px; font-weight: 600; }
.expert-name { display: block; color: var(--color-dark); }
.expert-title { font-size: 0.9rem; color: var(--color-text); font-weight: normal; }
@media (min-width: 768px) {
    .expert-block-container { grid-template-columns: 250px 1fr; }
    .expert-image-placeholder { margin: 0; }
}

/* --- Stats Bar --- */
.stats-bar-section { background-color: var(--color-dark); padding: 50px 0; }
.stats-bar-container { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; }
.stat-item { color: var(--color-white); }
.stat-number { display: block; font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; color: var(--color-primary); line-height: 1; }
.stat-description { font-size: 1rem; margin-top: 8px; }
@media (min-width: 768px) {
    .stats-bar-container { grid-template-columns: repeat(3, 1fr); }
}

/* --- Two-Column Image Section --- */
.two-col-container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.two-col-image img { box-shadow: var(--shadow-dramatic); }
.two-col-content .section-title { text-align: left; }
.styled-list { list-style: none; padding-left: 0; }
.styled-list li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.styled-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: bold;
}
@media (min-width: 992px) {
    .two-col-container { grid-template-columns: 1fr 1fr; }
}

/* --- Gallery Grid --- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.gallery-item img { box-shadow: var(--shadow-dramatic); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-item img:hover { transform: scale(1.05); box-shadow: var(--shadow-dramatic-hover); }
.gallery-placeholder {
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    box-shadow: var(--shadow-dramatic);
}
.placeholder-text { color: var(--color-text); font-weight: 600; font-size: 1.2rem; }
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Program Page: Numbered Sections --- */
.numbered-item { display: flex; flex-direction: column; gap: 24px; margin-bottom: 80px; }
.numbered-item-number {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    color: var(--color-light);
    line-height: 0.8;
}
.numbered-item-content .section-title { text-align: left; }
@media (min-width: 768px) {
    .numbered-item { flex-direction: row; gap: 48px; align-items: flex-start; }
    .numbered-item.reverse { flex-direction: row-reverse; }
    .numbered-item-content { flex: 1; }
}
.full-width-image { box-shadow: var(--shadow-dramatic); }

/* --- Mission Page --- */
.mission-intro-content { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.mission-text .section-title { text-align: left; }
.mission-image img { box-shadow: var(--shadow-dramatic); }
@media (min-width: 992px) {
    .mission-intro-content { grid-template-columns: 1.2fr 1fr; }
}
.values-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.value-card {
    background-color: var(--color-white);
    padding: 32px;
    border: 1px solid var(--color-light);
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-dramatic-hover); }
.value-title { color: var(--color-primary); margin-bottom: 16px; }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact Page --- */
.contact-layout-container { display: grid; grid-template-columns: 1fr; gap: 60px; }
.contact-form-wrapper .section-title, .contact-info-wrapper .section-title { text-align: left; }
.contact-form .form-group { margin-bottom: 24px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-family: var(--font-primary);
    font-size: 1rem;
    border-radius: var(--border-radius);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.2);
}
.contact-info-block { margin-bottom: 24px; }
.contact-info-block h3 { color: var(--color-dark); margin-bottom: 8px; }
@media (min-width: 992px) {
    .contact-layout-container { grid-template-columns: 1.5fr 1fr; }
}

/* --- Thank You Page --- */
.thank-you-section { padding: 80px 0; }
.thank-you-content { max-width: 900px; margin: 48px auto 0; }
.quick-links-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.quick-link-card {
    display: block;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-light);
    text-align: left;
    box-shadow: var(--shadow-dramatic);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quick-link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-dramatic-hover); }
.quick-link-card h3 { color: var(--color-primary); }
.quick-link-card p { color: var(--color-text); margin-bottom: 0; }
@media (min-width: 768px) {
    .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Legal Pages --- */
.legal-page-section .text-meta { color: #7f8c8d; margin-bottom: 32px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 16px; color: var(--color-dark); padding-bottom: 8px; border-bottom: 2px solid var(--color-light); }
.legal-content ul { list-style: disc; padding-left: 20px; }
.legal-content li { margin-bottom: 10px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark) !important;
    color: var(--color-light) !important;
    padding: 60px 0 0 0;
}
.footer-container { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-column h3 { color: var(--color-white) !important; }
.footer-column p, .footer-column a { color: var(--color-light) !important; }
.footer-nav li { margin-bottom: 10px; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #4e5d6c;
}
@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 --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-dark);
    color: var(--color-white);
    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 -5px 20px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--color-primary); 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;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s;
}
.cookie-btn-accept { background-color: var(--color-primary); color: var(--color-white); }
.cookie-btn-accept:hover { background-color: #8e44ad; }
.cookie-btn-decline { background-color: #7f8c8d; color: var(--color-white); }
.cookie-btn-decline:hover { background-color: #95a5a6; }

@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; }
}