/* Palette Name: Terracotta & Burgundy Warmth */
:root {
    --primary-color: #8C2D19;      /* Deep Terracotta */
    --secondary-color: #D35400;    /* Vibrant Rust */
    --accent-color: #5C1D24;       /* Rich Burgundy */
    --dark-bg: #1B1414;            /* Dark Warm Charcoal */
    --light-bg: #FDF8F5;           /* Soft Sand/Cream */
    --text-dark: #2C1E1E;          /* Muted Dark Brown/Black */
    --text-light: #FDF8F5;         /* Creamy White */
    --border-color: rgba(140, 45, 25, 0.2);
    --card-bg-light: #FFFFFF;
    --card-bg-dark: #281F1F;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Mixed Mode Colors */
.light-section {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

/* Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

@media (min-width: 1024px) {
    .section-container {
        padding: 80px 24px;
    }
}

/* Titles & Typography */
h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 12px;
}

p {
    font-size: clamp(15px, 2.5vw, 17px);
    margin-bottom: 20px;
    color: inherit;
    opacity: 0.9;
}

.section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 8px; /* rounded style */
    min-height: 44px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 24px 64px rgba(140, 45, 25, 0.22); /* dramatic shadow */
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 32px 80px rgba(211, 84, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.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(--text-light);
    text-decoration: none;
    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-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);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.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;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-bg);
}

.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);
    text-decoration: none;
    font-size: 18px;
    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 Block: Asymmetric Layout */
.hero-asymmetric {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 48px 16px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.hero-content {
    max-width: 520px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(211, 84, 0, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px; /* rounded style */
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4); /* dramatic shadow */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero-asymmetric {
        padding: 80px 24px;
    }
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
    .hero-image-wrapper {
        height: 450px;
    }
}

/* Section: benefits-hscroll (Horizontal Scroll) */
.benefits-carousel-section {
    border-bottom: 1px solid var(--border-color);
}

.hscroll-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 10px 48px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.hscroll-card {
    flex: 0 0 280px;
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 16px; /* rounded style */
    scroll-snap-align: start;
    box-shadow: 0 24px 64px rgba(0,0,0,0.06); /* subtle dramatic variation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hscroll-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(140, 45, 25, 0.15);
}

.card-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hscroll-card {
        flex: 0 0 340px;
    }
}

/* Section: expert-block */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.expert-photo-placeholder {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--card-bg-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    overflow: hidden;
}

.expert-photo-placeholder img {
    max-width: 400px;
}

.placeholder-graphic {
    width: 60%;
    height: 60%;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
}

.expert-tag {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.expert-quote {
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--text-light);
}

.expert-author {
    font-weight: 700;
    margin-bottom: 4px;
}

.expert-role {
    font-size: 14px;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .expert-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 64px;
    }
}

/* Section: checklist-block */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.checklist-item {
    display: flex;
    gap: 16px;
    background-color: var(--card-bg-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 64px rgba(0,0,0,0.05);
}

.check-icon {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Section: two-col-image */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.two-col-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    height: 350px;
}

.two-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-tag {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.custom-bullets {
    list-style: none;
    margin-top: 24px;
}

.custom-bullets li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-weight: 500;
}

.custom-bullets li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* Section: quote-highlight */
.quote-highlight-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
    background-color: var(--card-bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 64px rgba(140, 45, 25, 0.1);
}

.large-quote {
    font-size: 72px;
    font-family: serif;
    color: var(--secondary-color);
    line-height: 1;
    display: block;
    height: 40px;
}

.highlight-text {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
}

.highlight-author {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
}

/* Program Page: CSS Tabs */
.page-intro {
    text-align: center;
    padding: 60px 16px;
}

.intro-badge {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.tabs-nav label {
    padding: 12px 24px;
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

input[name="tabs"] {
    display: none;
}

.tab-panel {
    display: none;
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.05);
}

#t1:checked ~ #p1 { display: block; }
#t2:checked ~ #p2 { display: block; }
#t3:checked ~ #p3 { display: block; }
#t4:checked ~ #p4 { display: block; }

#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(140, 45, 25, 0.2);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.faq-card {
    background-color: var(--card-bg-dark);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-card h4 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

/* CTA Box */
.cta-box {
    text-align: center;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 48px 24px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

.cta-box h2 {
    margin-bottom: 16px;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 32px auto;
}

/* Mission Page: Split Layout */
.split-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.split-mission-image {
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
}

.mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-badge {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .split-mission-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 64px;
    }
    .split-mission-image {
        height: 500px;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.04);
}

.value-icon-box {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

/* Manifesto */
.manifesto-box {
    background-color: var(--card-bg-dark);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 48px 24px;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-box h2 {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

/* Contact Page: Form & Grid */
.contact-badge {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.page-title {
    text-align: center;
    margin-bottom: 16px;
}

.contact-intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 64px;
    }
}

.custom-form {
    background-color: var(--card-bg-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 64px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #FFF;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 45, 25, 0.15);
}

.form-submit-btn {
    width: 100%;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.04);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Legal Pages */
.legal-container {
    max-width: 800px !important;
}

.last-updated {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 32px;
}

.legal-container h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-container ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-container li {
    margin-bottom: 12px;
}

/* Thank You Page */
.thank-you-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.thank-card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-color);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}

.thank-icon {
    font-size: 64px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 24px;
}

.thank-subtext {
    opacity: 0.8;
    margin-bottom: 32px;
}

.next-steps {
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.next-steps h3 {
    margin-bottom: 16px;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    margin-bottom: 12px;
}

.next-steps a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.next-steps a:hover {
    color: var(--secondary-color);
}

/* Footer Layout & Translations Safety */
.site-footer {
    background-color: var(--dark-bg) !important;
    color: var(--text-light) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 10px 20px 10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light) !important;
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.7;
}

.site-footer h4 {
    color: var(--secondary-color) !important;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--secondary-color) !important;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-phone-link,
.footer-email-link {
    color: var(--text-light) !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-phone-link:hover,
.footer-email-link:hover {
    color: var(--secondary-color) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
}

/* 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: var(--text-light);
    border-top: 2px solid var(--primary-color);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#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 {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

@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;
    }
}