/*
  Theme: Corporate Clean
  Palette: Corporate Red & Slate
  - Background: #F8F9FA
  - Text: #2C3A47
  - Primary Accent: #E84342
  - Borders / Secondary: #DEE2E6
  - White: #FFFFFF
*/

:root {
    --bg-color: #F8F9FA;
    --text-color: #2C3A47;
    --primary-color: #E84342;
    --secondary-color: #BDC3C7;
    --white: #FFFFFF;
    --border-color: #DEE2E6;
    --footer-bg-color: #2C3A47;
    --footer-text-color: #F8F9FA;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.cta-section {
    text-align: center;
}

.page-header {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Header --- */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 10px;
}

.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-color);
    z-index: 100;
}
.logo:hover {
    text-decoration: none;
}

.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-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 {
    color: var(--text-color);
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 66px; /* Header height */
    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(--white);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}
.mobile-nav li a {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

@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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: 999px; /* pill style */
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #d63031;
    border-color: #d63031;
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--white);
    text-decoration: none;
}

/* --- Hero Section (Floating Card) --- */
.hero-section.hero-floating-card {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 28px; /* pill style */
    max-width: 650px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.hero-content-card h1 {
    color: var(--text-color);
}

.hero-content-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Benefits Grid Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: var(--white);
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 28px; /* pill style */
    text-align: center;
}

.benefit-card h3 {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.split-image-left img, .split-image-right img {
    border-radius: 28px;
    width: 100%;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Stats Bar Section --- */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: var(--white);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: #555;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 28px;
    margin-bottom: 12px;
    background-color: var(--white);
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 18px;
    border-top: 1px solid var(--border-color);
}

/* --- Program Page: Accordion --- */
.program-accordion { max-width: 900px; margin: 0 auto; }
.program-item { border-bottom: 1px solid var(--border-color); }
.program-question { padding: 20px; font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style: none; }
.program-answer { padding: 0 20px 20px; }
.module-content-flex { display: flex; flex-direction: column; gap: 20px; }
.module-image img { border-radius: 16px; }
@media(min-width: 768px) {
    .module-content-flex { flex-direction: row; align-items: center; }
    .module-text { flex: 2; }
    .module-image { flex: 1; }
}

/* --- Mission Page: Values Grid --- */
.values-section {
    position: relative;
    padding: 80px 0;
    color: var(--white);
}
.values-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.values-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(44, 58, 71, 0.85);
}
.values-background img {
    width: 100%; height: 100%; object-fit: cover;
}
.values-section .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    text-align: center;
}
.value-card h3 {
    color: var(--white);
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Manifesto Section --- */
.manifesto-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 0 0 20px 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* --- Contact Page --- */
.contact-info-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .contact-info-top { grid-template-columns: repeat(3, 1fr); }
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 50px; /* pill style */
    font-size: 1rem;
}
.form-group textarea {
    border-radius: 28px; /* pill style for cards */
    resize: vertical;
}
.contact-form button {
    width: 100%;
}
@media (min-width: 768px) {
    .contact-form button { width: auto; }
}

.working-hours-section {
    text-align: center;
}

/* --- Legal & Thank You Pages --- */
.legal-page .container, .thank-you-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.legal-page h1, .thank-you-section h1 {
    text-align: center;
    margin-bottom: 30px;
}
.legal-page section { margin-bottom: 30px; }
.thank-you-content { text-align: center; max-width: 700px; margin: 0 auto; }
.next-steps { margin: 40px 0; }
.next-steps ul { list-style: none; padding: 0; }
.next-steps li { margin-bottom: 10px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--white) !important;
    margin-bottom: 15px;
}
.site-footer p, .site-footer address {
    color: var(--secondary-color) !important;
    font-style: normal;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links a, .footer-contact a {
    color: var(--secondary-color) !important;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--white) !important;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color) !important;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: 2fr 1fr 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(--footer-bg-color);
    color: var(--footer-text-color);
    border-top: 1px solid #444;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner p a { color: var(--white) !important; font-weight: bold; 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: 999px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--white); }
.cookie-btn-decline { background-color: #555; color: var(--white); }
@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; }
}