/* Palette: Terracotta & Deep Purple */
:root {
    --primary-color: #D35400; /* Burnt Orange */
    --secondary-color: #8E44AD; /* Deep Purple */
    --accent-color: #E67E22; /* Carrot Orange */
    --bg-color: #FDFEFE; /* Off-white */
    --bg-light: #F4F6F7; /* Light Gray */
    --text-dark: #2A2A2A; /* Dark Gray */
    --text-light: #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);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.text-center-custom {
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--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;
    color: var(--secondary-color);
    z-index: 100;
}

.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-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 .nav-list a {
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav .nav-list a:hover {
    color: var(--primary-color);
}

.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(--bg-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

@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); }
}

/* Index: Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-diagonal-content {
    padding: 60px 20px;
    z-index: 2;
}

.hero-text-area {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 5px 15px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-text-area h1 {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text-area p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.hero-diagonal-image {
    width: 100%;
    height: 400px;
}

.hero-diagonal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        align-items: center;
    }
    .hero-diagonal-content {
        width: 50%;
        padding-left: 10%;
    }
    .hero-diagonal-image {
        width: 50%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Index: Stats Grid (4 cols) */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background: var(--bg-color);
    padding: 30px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 48px;
    color: var(--bg-light);
    -webkit-text-stroke: 2px var(--secondary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.stat-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Index: Benefits 2x2 */
.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.benefits-intro h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefits-intro p {
    margin-bottom: 20px;
}

.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.benefit-box {
    background: var(--bg-color);
    padding: 25px;
    border-left: 4px solid var(--accent-color);
}

.benefit-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

@media (min-width: 992px) {
    .benefits-wrapper { grid-template-columns: 1fr 1fr; align-items: center; }
    .benefits-grid-2x2 { grid-template-columns: 1fr 1fr; }
}

/* Index: Overlap Split */
.overlap-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.overlap-content {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 40px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.overlap-content h2 {
    margin-bottom: 20px;
}

.overlap-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .overlap-container { 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; }
}

/* Index: Masonry Testimonials */
.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.masonry-item {
    background: var(--bg-color);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

.author {
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .masonry-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
    .masonry-item:nth-child(2) { margin-top: 40px; }
}

/* Page Headers */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Program: Accordion */
.methodology-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.methodology-content h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.methodology-content p {
    margin-bottom: 15px;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-color);
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.accordion-title {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.accordion-title::-webkit-details-marker {
    display: none;
}

.accordion-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

details[open] .accordion-title::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
}

.accordion-content p {
    margin-bottom: 15px;
}

/* Program: Image Banner */
.image-banner-section {
    position: relative;
}

.full-width-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(142, 68, 173, 0.9);
    color: var(--text-light);
    padding: 30px;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.banner-overlay-text h3 {
    font-size: 28px;
}

/* Program: FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.faq-card {
    background: var(--bg-light);
    padding: 25px;
}

.faq-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

@media (min-width: 768px) {
    .faq-grid { grid-template-columns: 1fr 1fr; }
}

/* Mission: Floating Hero */
.hero-floating {
    position: relative;
    padding: 100px 0;
}

.floating-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

.floating-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    background: var(--bg-color);
    padding: 50px;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-card h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Mission: Vertical Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .timeline::before { left: 50%; transform: translateX(-50%); }
    .timeline-item { width: 50%; padding-left: 0; padding-right: 40px; }
    .timeline-item:nth-child(even) { margin-left: 50%; padding-left: 40px; padding-right: 0; }
    .timeline-dot { left: auto; right: -10px; }
    .timeline-item:nth-child(even) .timeline-dot { left: -10px; right: auto; }
    .timeline-item:nth-child(odd) { text-align: right; }
}

/* Mission: Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-box {
    background: var(--bg-color);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.value-box h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mission: Manifesto */
.manifesto-box {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px;
    text-align: center;
}

.manifesto-box h2 {
    margin-bottom: 20px;
}

.manifesto-box p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact: Form */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-wrapper h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    font-family: var(--font-main);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    font-size: 18px;
}

/* Contact: Cards */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background: var(--bg-color);
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.legal-container h1 {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.legal-container h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.legal-container p, .legal-container ul {
    margin-bottom: 15px;
}

.legal-container ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.thank-you-box h1 {
    color: var(--secondary-color);
    font-size: 40px;
    margin-bottom: 20px;
}

.thank-you-box p {
    font-size: 18px;
    margin-bottom: 20px;
}

.next-steps {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.action-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 600px) {
    .action-links { flex-direction: row; justify-content: center; }
}

/* Footer (Strict Template) */
.site-footer {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color) !important;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #CCCCCC !important;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
    color: #FFFFFF !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #CCCCCC !important;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-color) !important;
}

.footer-contact p {
    color: #CCCCCC !important;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--accent-color) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #333333 !important;
    text-align: center;
}

.footer-bottom p {
    color: #999999 !important;
    font-size: 14px;
}

@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: #2A2A2A;
    color: #FFFFFF;
    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: 14px;
}

#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 16px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.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; }
}