/*
* Color Palette: Cold Violet & Gold
* Primary: #7D3C98 (Deep Purple)
* Secondary: #D4AC0D (Gold)
* Accent: #C0392B (Contrasting Red)
* Text: #343a40 (Dark Gray)
* Background: #fdfcff (Very Light Lavender)
* Dark Background: #212529 (Almost Black)
*/

:root {
    --primary-color: #7D3C98;
    --secondary-color: #D4AC0D;
    --accent-color: #C0392B;
    --text-color: #343a40;
    --light-text-color: #f8f9fa;
    --bg-color: #fdfcff;
    --dark-bg-color: #212529;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #5d217a;
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-bg-color);
}

.btn-secondary:hover {
    background-color: #b8940b;
    color: var(--dark-bg-color);
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--card-bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.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(--primary-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(--primary-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: 600;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.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;
}

@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 (Diagonal) --- */
.hero-diagonal {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.hero-content {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-image-container {
    display: none;
}
@media (min-width: 992px) {
    .hero-diagonal {
        grid-template-columns: 45% 55%;
        min-height: 90vh;
    }
    .hero-content {
        padding: 4rem;
    }
    .hero-image-container {
        display: block;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
        overflow: hidden;
    }
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* --- Stats Section --- */
.stats-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}
.stat-item .stat-text {
    font-size: 1.1rem;
    max-width: 250px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Pillars Section --- */
.section-pillars {
    padding: 5rem 0;
}
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.pillar-card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 5px solid var(--primary-color);
}
.pillar-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .pillars-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Parallax Section --- */
.parallax-section {
    background-image: url('img/bg-1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    color: var(--light-text-color);
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 1, 68, 0.7);
    z-index: 1;
}
.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.parallax-title {
    font-size: 2.5rem;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 5rem 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1.5rem 1rem;
    cursor: pointer;
    display: block;
    position: relative;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 1rem 1.5rem 1rem;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 4rem 0;
    text-align: center;
}
.cta-container {
    max-width: 800px;
}
.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.cta-text {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- Page Header --- */
.page-header {
    padding: 4rem 0;
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
    text-align: center;
}
.page-title {
    font-size: 3rem;
}
.page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* --- Program Page --- */
.program-intro-section {
    padding: 5rem 0;
}
.program-intro-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.program-intro-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
    .program-intro-container { grid-template-columns: 1fr 1fr; }
}
.program-modules-section {
    padding-bottom: 5rem;
}
.program-accordion {
    max-width: 900px;
    margin: 0 auto;
}
.program-module {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.module-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.5rem;
    cursor: pointer;
    display: block;
}
.module-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* --- Mission Page --- */
.mission-content-section {
    padding: 5rem 0;
}
.mission-split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.mission-image-container img {
    border-radius: 8px;
}
@media (min-width: 992px) {
    .mission-split-container { grid-template-columns: 1fr 1.2fr; }
}
.timeline-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--card-bg-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
@media (min-width: 768px) {
.timeline-item:nth-child(even)::after {
    left: -10px;
}
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg-color);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.timeline-title {
    color: var(--primary-color);
}
.timeline-date {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 15px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 10px; }
}
.values-section {
    padding: 5rem 0;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.value-card {
    text-align: center;
    padding: 2rem;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contact Page --- */
.contact-info-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}
.contact-info-card {
    padding: 2rem;
}
@media (min-width: 768px) {
    .contact-info-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-form-section {
    padding: 5rem 0;
}
.contact-form {
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}
.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* --- Legal & Thank You Pages --- */
.legal-page, .thank-you-section {
    padding: 5rem 0;
}
.legal-title, .thank-you-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.legal-subtitle {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.legal-page ul {
    margin-left: 20px;
    margin-bottom: 1rem;
}
.text-center { text-align: center; }
.thank-you-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1rem auto;
}
.thank-you-actions {
    margin-top: 4rem;
}
.actions-title {
    margin-bottom: 2rem;
}
.actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.action-card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    color: var(--primary-color);
}
@media (min-width: 768px) {
    .actions-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-bg-color) !important;
    color: var(--light-text-color) !important;
    padding: 4rem 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.site-footer a {
    color: var(--light-text-color) !important;
    opacity: 0.8;
}
.site-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}
.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color) !important;
}
.footer-about p, .footer-contact p {
    opacity: 0.8;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 0.5rem;
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid #444;
}
.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1.5fr 1fr; }
}

/* --- 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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { 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: 4px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--dark-bg-color);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--light-text-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; }
}