/* Palette Name: Graphite-Copper */
:root {
    --primary-color: #E0935D; /* Copper accent */
    --secondary-color: #8A4F3A; /* Darker Copper/Brown */
    --background-dark: #1A1A1A; /* Deep Graphite */
    --background-light: #2A2A2A; /* Slightly Lighter Graphite for alternating sections */
    --text-light: #EAEAEA; /* Off-white for dark backgrounds */
    --text-dark: #1A1A1A; /* For any lighter elements, if needed */
    --border-color: #444444; /* Subtle border */
    --accent-color: #F0A55A; /* Brighter orange for interactive elements */
    --link-hover: #FFC080; /* Lighter hover state */
    --gradient-start: #1A1A1A;
    --gradient-gradient-mid: #2A2A2A;
    --gradient-end: #1A1A1A;
    --glass-bg: rgba(255, 255, 255, 0.08); /* For glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.15);
    --radius-card: 16px;
    --radius-button: 8px;
    --radius-input: 8px;
    --radius-icon: 50%;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography with clamp() */
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); } /* 40px to 72px */
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }  /* 32px to 56px */
h3 { font-size: clamp(1.5rem, 5vw, 2.5rem); } /* 24px to 40px */
p, li, a, label, input, textarea, button { font-size: clamp(1rem, 3vw, 1.125rem); } /* 16px to 18px */

/* Utility Classes */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.section-dark { background-color: var(--background-dark); }
.section-light { background-color: var(--background-light); } /* For alternating sections */
.rounded-image { border-radius: var(--radius-card); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    min-height: 44px; /* Touch target */
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--background-dark);
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    background-color: var(--background-light);
    color: var(--text-light);
    font-size: clamp(1rem, 3vw, 1.125rem);
    transition: border-color 0.3s ease;
    min-height: 44px; /* Touch target */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

/* Section Padding & Container */
.section-padding {
    padding: 48px 16px; /* Mobile padding */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px; /* Inner padding for container */
}

.section-title {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.section-description {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
    color: var(--text-light);
    opacity: 0.8;
}

/* Glassmorphism Effect */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-card);
    box-shadow: none; /* Flat shadow */
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-dark); /* Ensure header has a background */
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - всегда зліва */
.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}

/* Hamburger - ЗАВЖДИ СПРАВА */
.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--text-light);
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.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);
    font-weight: 500;
    padding: 5px 0;
}

.desktop-nav .nav-list a:hover {
    color: var(--accent-color);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--background-dark); /* Mobile nav background */
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section - Index.html (gradient-center) */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: 80px 16px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-gradient-mid) 50%, var(--gradient-end) 100%);
}

.hero-gradient-center .hero-content-center {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-gradient-center .hero-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-gradient-center .hero-subtitle {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: clamp(1.125rem, 3vw, 1.375rem);
}

.hero-gradient-center .hero-shape-left,
.hero-gradient-center .hero-shape-right {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: var(--radius-card); /* Rounded for dynamic-tech */
    transform: rotate(45deg);
    z-index: 1;
}

.hero-gradient-center .hero-shape-left {
    top: 10%;
    left: -5%;
    transform: rotate(20deg) skewX(-15deg);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.hero-gradient-center .hero-shape-right {
    bottom: 5%;
    right: -5%;
    width: 250px;
    height: 250px;
    transform: rotate(-30deg) skewY(-10deg);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Benefits Horizontal Scroll Section */
.benefits-hscroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px; /* Space for scrollbar */
}

.benefits-hscroll-grid {
    display: grid;
    grid-auto-flow: column; /* Horizontal flow */
    grid-auto-columns: 85%; /* Mobile: items take 85% width */
    gap: 24px;
    padding: 10px 0;
}

.benefit-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.benefit-title {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.benefit-text {
    color: var(--text-light);
    opacity: 0.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Stats Bar Section */
.stats-bar-section {
    background-color: var(--secondary-color); /* Use a distinct color for contrast */
    padding: 60px 16px;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%); /* Dynamic-tech geometric shape */
    margin: 40px 0; /* Add some margin to separate */
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--text-light);
}

.stat-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.9;
}

/* Checklist Block Section */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
}

.checklist-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    flex-shrink: 0;
    line-height: 1;
}

.checklist-text {
    margin: 0;
    font-size: clamp(1rem, 3vw, 1.125rem);
    opacity: 0.9;
}

/* Numbered Steps Section */
.numbered-steps-section {
    background-color: var(--background-light);
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); /* Another geometric shape */
    margin: 40px 0;
}

.numbered-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.step-item {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.step-text {
    color: var(--text-light);
    opacity: 0.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Accordion FAQ Section */
.accordion-wrapper {
    max-width: 900px;
    margin: 2rem auto;
}

.accordion-item {
    margin-bottom: 15px;
    overflow: hidden;
    padding: 0; /* Glass card already has padding */
    box-shadow: none; /* Flat shadow */
}

.accordion-summary {
    display: block;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: bold;
    color: var(--text-light);
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
    border-radius: var(--radius-card); /* Apply rounded border */
}

.accordion-summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-summary::marker, .accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-summary::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.accordion-content {
    padding: 0 24px 24px 24px;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Page Hero (for inner pages) */
.page-hero {
    padding: 60px 16px;
    text-align: center;
    background-color: var(--background-dark);
}

.page-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-description {
    color: var(--text-light);
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}

/* Program Page - Horizontal Tabs */
.horizontal-tabs-wrapper {
    margin-top: 3rem;
    background-color: var(--background-light);
    border-radius: var(--radius-card);
    padding: 20px;
}

.tab-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-label {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-button);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 44px; /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-label:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.tab-input {
    display: none;
}

.tab-input:checked + .tab-label {
    background-color: var(--accent-color);
    color: var(--background-dark);
    border-color: var(--accent-color);
}

.tab-content-container {
    position: relative;
    min-height: 300px; /* Ensure space for content */
}

.tab-content {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 15px 0;
    overflow: hidden;
}

#tab1:checked ~ .tab-content-container #content1,
#tab2:checked ~ .tab-content-container #content2,
#tab3:checked ~ .tab-content-container #content3,
#tab4:checked ~ .tab-content-container #content4 {
    display: block;
    opacity: 1;
}

.tab-content h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 4vw, 2rem);
}

.tab-content p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.content-image-right {
    float: none; /* Mobile default */
    margin: 1rem auto 1rem 0; /* Adjust for mobile */
    max-width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
}

/* Mission Page - Story Team */
.story-team-section {
    padding: 60px 16px;
}

.story-content {
    margin-bottom: 2rem;
}

.story-content p {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1.2rem;
}

.story-image-wrapper {
    position: relative;
    margin: 2rem 0;
}

.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Values Section */
.values-section {
    background-color: var(--background-dark);
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    margin: 40px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.value-item {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-title {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.value-text {
    color: var(--text-light);
    opacity: 0.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Manifesto Section */
.manifesto-section {
    padding: 60px 16px;
    background-color: var(--background-light);
    border-radius: var(--radius-card);
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.manifesto-section .section-title {
    color: var(--accent-color);
}

.manifesto-section .section-description {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 0;
    max-width: 700px;
}

/* Contact Page - Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info-block,
.contact-form-block {
    padding: 30px;
    max-width: 800px; /* Restrict form width */
    margin: 0 auto; /* Center form */
}

.contact-info-block .section-title,
.contact-form-block .section-title {
    text-align: left;
    color: var(--accent-color);
}

.contact-info-block .section-description,
.contact-form-block .section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
    color: var(--text-light);
    opacity: 0.9;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    line-height: 1;
}

.info-item a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-color);
}

.contact-image {
    margin-top: 2rem;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.contact-form {
    margin-top: 2rem;
}

/* Contact FAQ */
.faq-list-wrapper {
    max-width: 900px;
    margin: 2rem auto;
}

.faq-item {
    padding: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.125rem, 3.5vw, 1.5rem);
}

.faq-answer {
    color: var(--text-light);
    opacity: 0.8;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Thank You Page */
.thank-you-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.thank-you-icon {
    font-size: clamp(4rem, 10vw, 6rem);
    color: var(--accent-color);
    margin-top: 2rem;
}

.what-next-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2rem;
}

.next-step-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.next-step-card .step-title {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.next-step-card .step-text {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-cta-section {
    background-color: var(--background-light);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    margin: 40px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
}

.social-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
    min-width: 44px; /* Touch target */
    min-height: 44px; /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Policy Page Layout */
.policy-content-section {
    background-color: var(--background-light);
    border-radius: var(--radius-card);
    margin: 40px auto;
    max-width: 900px;
    padding: 30px;
}

.policy-container article {
    color: var(--text-light);
    opacity: 0.9;
}

.policy-container h2.policy-title {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.policy-container ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

/* Call to Action Section */
.cta-section {
    padding: 60px 16px;
    text-align: center;
    background-color: var(--primary-color); /* Strong accent color */
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    margin: 40px 0;
}

.cta-title {
    color: var(--background-dark);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--background-dark);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.cta-section .btn-primary {
    background-color: var(--background-dark);
    color: var(--accent-color);
}

.cta-section .btn-primary:hover {
    background-color: #3A3A3A; /* Slightly lighter dark */
    color: var(--link-hover);
}

/* Footer */
.site-footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding-top: 40px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
}

.footer-col p, .footer-col li {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-about .logo {
    margin-bottom: 1rem;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding: 20px 16px;
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* COOKIE BANNER CSS */
#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(--background-dark);
    border-top: 1px solid var(--border-color);
    box-shadow: none; /* Flat shadow */
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--text-light); opacity: 0.9; }
#cookie-banner p a { color: var(--primary-color); text-decoration: underline; }
#cookie-banner p a:hover { color: var(--link-hover); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 20px;
    border-radius: var(--radius-button);
    cursor: pointer;
    font-weight: bold;
    min-height: 44px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.cookie-btn-accept {
    background-color: var(--accent-color);
    color: var(--background-dark);
}
.cookie-btn-accept:hover {
    background-color: var(--link-hover);
}
.cookie-btn-decline {
    background-color: var(--background-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}
.cookie-btn-decline:hover {
    background-color: var(--border-color);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px; /* Adjust as needed */
    }

    /* Hamburger animation */
    #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-section {
        min-height: 60vh;
        padding: 60px 16px;
    }

    .benefits-hscroll-grid {
        grid-auto-columns: 95%; /* Adjust for smaller screens */
    }

    .stats-bar-section, .numbered-steps-section, .values-section, .cta-section, .social-cta-section {
        clip-path: none; /* Simplify shapes on mobile */
        margin: 30px 0;
    }

    .stats-bar-grid {
        grid-template-columns: 1fr;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .numbered-steps-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-tabs-wrapper {
        padding: 15px;
    }

    .tab-labels {
        flex-direction: column;
        gap: 8px;
    }

    .content-image-right {
        float: none;
        margin: 1.5rem auto;
    }

    .story-image-wrapper {
        margin: 1.5rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .what-next-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        padding: 0;
    }

    .footer-col li {
        margin-bottom: 0.3rem;
    }

    .footer-col h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .section-padding {
        padding: 80px 24px;
    }

    .benefits-hscroll-grid {
        grid-auto-columns: 45%; /* Tablet: 2 items */
        gap: 30px;
    }

    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbered-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr; /* Two columns for tablet and desktop */
    }

    .content-image-right {
        max-width: 40%;
        margin: 0 auto;
    }

    .story-content {
        max-width: 70%;
        margin-right: auto;
    }

    .story-image-wrapper {
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        height: 100%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
        z-index: -1;
    }

    .story-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 0; /* Remove rounded for this specific layout */
    }

    .what-next-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .benefits-hscroll-grid {
        grid-auto-columns: 30%; /* Desktop: 3 items */
    }

    .stats-bar-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .numbered-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .story-team-section .section-container {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .story-content {
        flex: 1;
        max-width: 60%;
    }

    .story-image-wrapper {
        position: relative;
        flex: 1;
        width: 40%;
        height: 500px; /* Specific height for desktop */
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
        order: 2;
    }

    .contact-info-block,
    .contact-form-block {
        max-width: none; /* Remove max-width for grid columns */
        margin: 0;
    }
}