/* Palette: Deep Purple, Warm Gold, Soft Lavender, Dark Charcoal, Off-White */
:root {
    --primary-color: #4A235A;
    --secondary-color: #F4D03F;
    --accent-color: #D7BDE2;
    --text-dark: #2C3E50;
    --text-light: #FDFEFE;
    --bg-light: #F8F9F9;
    --bg-white: #FFFFFF;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
p { margin-bottom: 15px; font-size: 1.05rem; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.max-w-800 { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.p-30 { padding: 30px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header Layout (Strict Rules) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary-color);
}

.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;
    color: var(--secondary-color);
    z-index: 100;
}
.logo:hover { 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;
}

.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 .nav-list a {
    color: var(--text-light);
    font-weight: 500;
}
.desktop-nav .nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--primary-color);
    transition: max-height 0.3s ease;
    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;
}

@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 V2: Diagonal Split */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.hero-content-left {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.hero-text-wrapper {
    max-width: 500px;
}
.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-image-right {
    width: 100%;
    height: 400px;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 992px) {
    .hero-diagonal { flex-direction: row; }
    .hero-content-left { width: 50%; padding: 0 5%; justify-content: flex-end; }
    .hero-image-right { 
        width: 50%; 
        height: auto;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Intro Section */
.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 30px;
}
.intro-text-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .intro-text-columns { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}

/* Benefits V2: 2x2 Grid */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.benefit-card-v2 {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}
.benefit-card-v2:hover {
    transform: translateY(-10px);
}
.card-icon {
    color: var(--secondary-color);
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .grid-2x2 { grid-template-columns: 1fr 1fr; }
}

/* Overlap Section */
.overlap-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.overlap-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.overlap-content {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 15px;
}
.overlap-content h2 { color: var(--secondary-color); }
.custom-list {
    list-style: none;
    margin-top: 20px;
}
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}
@media (min-width: 992px) {
    .overlap-container {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image { width: 60%; }
    .overlap-content { 
        width: 50%; 
        margin-left: -10%; 
        z-index: 2;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
.faq-card {
    background: var(--bg-white);
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
}
@media (min-width: 768px) {
    .faq-grid { grid-template-columns: 1fr 1fr; }
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}
.page-banner h1 { color: var(--secondary-color); margin-bottom: 10px; }

/* Accordion (Program V2) */
.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.accordion-item {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.accordion-header {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    background-color: var(--bg-white);
    transition: background-color 0.3s;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
}
details[open] .accordion-header::after { content: '-'; }
details[open] .accordion-header { background-color: var(--accent-color); }
.accordion-content {
    padding: 20px;
    border-top: 1px solid var(--bg-light);
}

/* Parallax Quote */
.parallax-quote {
    padding: 100px 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--text-light);
}
.large-quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Timeline (Mission V2) */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--secondary-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }
.timeline-content {
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.timeline-img {
    border-radius: 8px;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}

/* Values List */
.custom-values-list {
    list-style: none;
}
.custom-values-list li {
    background: var(--bg-white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
}
.custom-values-list strong {
    color: var(--primary-color);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Manifesto Box */
.manifesto-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px;
    border-radius: 20px;
    border: 2px dashed var(--secondary-color);
}
.manifesto-box h2 { color: var(--secondary-color); }

/* Form Styles */
.custom-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.info-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .info-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Footer (Strict Rules) */
.site-footer {
    background-color: #2C3E50 !important;
    color: #FDFEFE !important;
    padding: 60px 0 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer h3 {
    color: #F4D03F !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.site-footer a {
    color: #FDFEFE !important;
    text-decoration: none;
}
.site-footer a:hover {
    color: #F4D03F !important;
}
.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #F4D03F !important;
    display: block;
    margin-bottom: 15px;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(253, 254, 254, 0.1);
}
@media (min-width: 768px) {
    .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;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 16px;
    background-color: var(--text-dark);
    color: var(--text-light);
    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: 0.9rem; }
#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 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--secondary-color); color: var(--text-dark); }
.cookie-btn-decline { background-color: transparent; color: var(--text-light); border: 1px solid var(--text-light); }

@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; }
}