/* Color Palette: Graphite-Copper */
:root {
    --bg-dark: #111318;
    --bg-light: #1E2128;
    --text-light: #EAEAEA;
    --text-dark: #B0B0B0;
    --accent-primary: #FF4500; /* Vibrant Orange-Red */
    --accent-secondary: #DAA520; /* Goldenrod/Yellow */
    --border-color: #33363d;
    --font-primary: 'Arial', sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.section-title {
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-dark);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.text-container {
    max-width: 800px;
}
.text-container h1, .text-container h2, .text-container h3 { margin-top: 1.5em; }
.text-container p, .text-container ul { margin-bottom: 1em; }
.text-container ul { padding-left: 20px; }

.page-header-section {
    text-align: center;
    padding: 40px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-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;
    z-index: 100;
    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;
}
.desktop-nav a {
    padding: 8px 0;
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-secondary);
    transition: width 0.3s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
    background-color: var(--bg-light);
}

.mobile-nav ul { list-style: none; padding: 20px; }
.mobile-nav li { padding: 12px 0; }
.mobile-nav li a { display: block; width: 100%; }

@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-radius: 8px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: 1px solid transparent;
    min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}
.btn-primary:hover { background-color: #e63e00; }

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}
.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: #fff;
}

/* --- Hero Section --- */
.hero-fullscreen-center {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(17, 19, 24, 0.8);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    color: #fff;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 24px 0 32px;
    color: var(--text-dark);
}

/* --- Benefits Section (index.html) --- */
.benefits-grid-2x2 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.benefit-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.card-title { color: var(--accent-secondary); }
.card-text { color: var(--text-dark); }

/* --- Expert Block (index.html) --- */
.expert-section { background-color: var(--bg-light); }
.expert-block {
    display: grid;
    gap: 32px;
    align-items: center;
    grid-template-columns: 1fr;
}
.expert-image-placeholder {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.expert-image {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-quote-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 24px;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.expert-cite { display: block; font-style: normal; }
.expert-name { display: block; font-weight: bold; color: var(--text-light); }
.expert-title { color: var(--text-dark); font-size: 0.9rem; }

/* --- Numbered Steps (index.html) --- */
.steps-container {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}
.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.step-number-container {
    flex-shrink: 0;
}
.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-primary);
    line-height: 1;
    opacity: 0.5;
}
.step-title { margin-bottom: 8px; }
.step-text { color: var(--text-dark); }

/* --- Comparison Table (index.html) --- */
.comparison-section { background-color: var(--bg-light); }
.table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table thead { background-color: var(--bg-dark); }
.comparison-table th { font-weight: bold; color: var(--text-light); }
.comparison-table td.positive::before { content: '✔ '; color: #50C878; margin-right: 8px; }
.comparison-table td.negative::before { content: '✖ '; color: #D22B2B; margin-right: 8px; }

/* --- CTA Banner (index.html) --- */
.cta-banner-section {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    padding: 60px 0;
    color: #fff;
}
.cta-banner-content { text-align: center; }
.cta-banner-title { color: #fff; }
.cta-banner-text { margin: 16px 0 32px; opacity: 0.9; }
.cta-banner-section .btn-secondary {
    background-color: #fff;
    color: var(--accent-primary);
    border-color: #fff;
}
.cta-banner-section .btn-secondary:hover {
    background-color: transparent;
    color: #fff;
}

/* --- Horizontal Tabs (program.html) --- */
.tabs-container { max-width: 900px; margin: 0 auto; }
.tab-input { display: none; }
.tabs-nav { display: flex; flex-wrap: wrap; }
.tab-label {
    display: inline-block;
    padding: 12px 5px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 16px;
}

@media (max-width: 768px) {
    .tab-label {
        width: 100%;
        border-radius: 0;
    }
}
.tab-label:hover { background-color: #2a2e38; }
#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"],
#tab4:checked ~ .tabs-nav label[for="tab4"] {
    background-color: var(--bg-dark);
    color: var(--accent-secondary);
    border-color: var(--accent-primary);
    border-bottom: 1px solid var(--bg-dark);
    transform: translateY(1px);
}
.tabs-body {
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 0 8px 8px 8px;
}
.tab-content {
    display: none;
    padding: 32px;
}
#tab1:checked ~ .tabs-body #content1,
#tab2:checked ~ .tabs-body #content2,
#tab3:checked ~ .tabs-body #content3,
#tab4:checked ~ .tabs-body #content4 {
    display: block;
}
.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.tab-image { border-radius: 8px; }

/* --- Vertical Storytelling (mission.html) --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 60px;
}
.story-image { border-radius: 12px; }
.story-title { color: var(--accent-secondary); }

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.contact-panel-title { margin-bottom: 24px; }
.contact-detail-item { margin-bottom: 20px; }
.contact-detail-item h3 { font-size: 1.1rem; color: var(--accent-secondary); }
.contact-detail-item p { margin: 0; color: var(--text-dark); }

/* --- Forms --- */
.contact-form { max-width: 800px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.form-submit-btn { width: 100%; }

/* --- Thank You Page --- */
.thank-you-section { padding: 80px 0; }
.text-center { text-align: center; }
.thank-you-title { color: var(--accent-secondary); }
.thank-you-message { font-size: 1.2rem; color: var(--text-dark); }
.next-steps { margin-top: 48px; }
.next-steps-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-title { color: var(--text-light) !important; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: var(--text-dark) !important; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-primary) !important; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* --- 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(--bg-light);
    border-top: 1px solid var(--border-color);
    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-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid;
}
.cookie-btn-accept { background-color: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.cookie-btn-decline { background-color: transparent; color: var(--text-dark); border-color: var(--border-color); }

/* --- Media Queries (Mobile First) --- */
@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .benefits-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
    .expert-block { grid-template-columns: 300px 1fr; }
    .steps-container { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .story-block { grid-template-columns: 1fr 1fr; }
    .story-block:nth-child(even) .story-image-container { order: 2; }
    .tab-content-inner { grid-template-columns: 250px 1fr; }
}

@media (min-width: 1024px) {
    .steps-container { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

@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; }
}