/* 
   Palette: Deep Purple & Mustard Gold (Cold/Contrast)
   Primary: #4A235A (Deep Purple)
   Secondary: #D4AC0D (Mustard Gold)
   Background: #F4F6F7 (Light Gray)
   Text: #2C3E50 (Dark Slate)
   Accent: #7D3C98 (Lighter Purple)
*/

:root {
    --color-primary: #4A235A;
    --color-secondary: #D4AC0D;
    --color-bg: #F4F6F7;
    --color-text: #2C3E50;
    --color-accent: #7D3C98;
    --color-white: #FFFFFF;
    --color-footer-bg: #1A0D23;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; }

.section-title-centered {
    text-align: center;
    margin-bottom: 40px;
}

/* BUTTONS */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
}

/* HEADER (STRICT TEMPLATE) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    z-index: 2;
}

.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(--color-secondary);
}

.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-white);
    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:hover {
    color: var(--color-secondary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-primary);
}

.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);
}

@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 DIAGONAL (VERSION 2) */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    overflow: hidden;
}

.hero-diagonal-content {
    padding: 60px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.hero-text-box {
    max-width: 600px;
    margin: 0 auto;
}

.hero-subtitle {
    display: block;
    color: var(--color-secondary);
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    color: var(--color-white);
}

.hero-diagonal-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        min-height: 80vh;
        position: relative;
    }
    .hero-diagonal-content {
        flex: 1;
        padding: 100px 50px;
        display: flex;
        align-items: center;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
        z-index: 2;
        max-width: 60%;
    }
    .hero-diagonal-image {
        flex: 1;
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
        height: 100%;
        z-index: 1;
    }
    .hero-diagonal-image img {
        height: 100%;
    }
}

/* INTRO SECTION */
.intro-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.intro-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
}

.intro-body {
    max-width: 900px;
    margin: 0 auto;
    column-count: 1;
    column-gap: 40px;
}

@media (min-width: 768px) {
    .intro-body { column-count: 2; }
}

/* FEATURES 2x2 GRID (VERSION 2) */
.features-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.features-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .features-grid-2x2 { grid-template-columns: 1fr 1fr; }
}

.feature-card-v2 {
    background-color: var(--color-bg);
    padding: 40px;
    border-left: 5px solid var(--color-secondary);
    transition: transform 0.3s ease;
}

.feature-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 15px;
}

/* STATS BAR (VERSION 2) */
.stats-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

@media (min-width: 576px) {
    .stats-wrapper { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
    .stats-wrapper { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* OVERLAP SECTION (VERSION 2) */
.overlap-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.overlap-content {
    background-color: var(--color-white);
    padding: 40px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image {
        width: 60%;
    }
    .overlap-image img {
        height: 500px;
    }
    .overlap-content {
        width: 50%;
        margin-top: 0;
        margin-left: -10%;
        padding: 60px;
    }
}

.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(--color-secondary);
    font-weight: bold;
}

/* FAQ ACCORDION (VERSION 2) */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: block;
    padding: 20px;
    background-color: var(--color-bg);
    cursor: pointer;
    font-weight: bold;
    color: var(--color-primary);
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--color-white);
    padding: 0 20px;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
    padding: 20px;
}

.accordion-toggle:checked ~ .accordion-header::after {
    content: '-';
}

/* PAGE HEADERS */
.page-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 10px;
}

/* PROGRAM MODULES (NUMBERED ACCORDION) */
.methodology-section {
    padding: 60px 0;
    text-align: center;
}

.methodology-content {
    max-width: 800px;
    margin: 0 auto;
}

.modules-section {
    padding: 0 0 80px 0;
}

.numbered-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.num-acc-item {
    margin-bottom: 20px;
    background-color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.num-acc-toggle {
    display: none;
}

.num-acc-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--color-white);
}

.mod-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-right: 20px;
    min-width: 50px;
}

.mod-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
}

.num-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px 0 90px;
}

.num-acc-toggle:checked ~ .num-acc-content {
    max-height: 600px;
    padding-bottom: 20px;
}

/* PARALLAX QUOTE */
.parallax-quote {
    position: relative;
    padding: 100px 0;
    color: var(--color-white);
    text-align: center;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(74, 35, 90, 0.8); /* Primary color overlay */
}

.parallax-content {
    position: relative;
    z-index: 2;
}

blockquote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

.program-cta {
    padding: 80px 0;
    background-color: var(--color-secondary);
    text-align: center;
}

.cta-box-centered h2 {
    color: var(--color-primary);
}

/* TIMELINE (MISSION V2) */
.timeline-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-secondary);
}

@media (min-width: 768px) {
    .timeline-wrapper::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
    }
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 40px;
    }
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-year {
        left: auto;
        right: -22px;
    }
    .timeline-item:nth-child(even) .timeline-year {
        right: auto;
        left: -22px;
    }
}

.timeline-content-box {
    background-color: var(--color-bg);
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* MANIFESTO */
.manifesto-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .manifesto-grid { grid-template-columns: 1fr 1fr; }
}

.manifesto-list {
    list-style: none;
    margin: 20px 0;
}

.manifesto-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.manifesto-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* CONTACT V2 */
.contact-layout-v2 {
    padding: 80px 0;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .contact-cards-row { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
    background-color: var(--color-white);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-primary);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-primary);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    background-color: var(--color-bg);
    font-family: inherit;
    font-size: 1rem;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 15px;
}

.btn-submit:hover {
    background-color: var(--color-accent);
}

/* LEGAL PAGES */
.legal-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.legal-section h1 {
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--color-primary);
}

/* THANK YOU PAGE */
.thank-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thank-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.thank-next-steps {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: left;
}

/* FOOTER (STRICT TEMPLATE) */
.site-footer {
    background-color: var(--color-footer-bg) !important;
    color: #FFFFFF !important;
    padding: 60px 0 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-secondary) !important;
    display: block;
    margin-bottom: 15px;
}

.footer-desc {
    color: #CCCCCC !important;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    color: #FFFFFF !important;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #CCCCCC !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--color-secondary) !important;
}

.footer-contact p {
    color: #CCCCCC !important;
    margin-bottom: 10px;
}

.footer-bottom {
    background-color: #110817 !important;
    text-align: center;
    padding: 20px;
    color: #999999 !important;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 9999;
    padding: 18px 24px;
    background-color: #2C3E50;
    color: #FFFFFF;
    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 15px 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 {
    color: var(--color-secondary);
    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;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

@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; }
}