/* Design Tokens */
:root {
    --blue: #2065D1;
    --blue-light: #3D7DE0;
    --blue-dark: #154EA8;
    --orange: #FF6A2D;
    --grey: #2E2E2E;
    --grey-med: #9CA3AF;
    --grey-light: #F5F7FA;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-max-width: 1200px;
    --container-padding: 0 2rem;
}

/* Trajectory Tabs & Carousel Styling */
.trajectory-tab {
    transition: all 0.3s ease;
}

.trajectory-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.trajectory-tab.active {
    background: var(--blue) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.trajectory-tab:not(.active) {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.trajectory-tab:not(.active):hover {
    background: rgba(37, 99, 235, 0.1);
}

/* Peek Carousel Styling */
.carousel-container {
    position: relative;
    max-width: 675px; /* 75% van 900px */
    margin: 0 auto;
    overflow: visible !important;
    padding: 0 80px;
    z-index: 1;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    align-items: center;
}

.carousel-slide {
    flex: 0 0 100%;
    transition: all 0.5s ease;
    user-select: none;
    position: relative;
    opacity: 0.4;
    transform: scale(0.8);
    filter: blur(1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 2;
}

.carousel-slide.prev,
.carousel-slide.next {
    opacity: 0.6;
    transform: scale(0.85);
    filter: blur(0.5px);
    z-index: 1;
}

.carousel-dot {
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--blue) !important;
}

.carousel-prev,
.carousel-next {
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .trajectory-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .trajectory-panel {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .trajectory-tab {
        min-width: 300px !important;
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }
    
    .carousel-slide {
        padding: 2rem 2rem !important;
    }
    
    .carousel-slide.prev,
    .carousel-slide.next {
        opacity: 0.3;
        transform: scale(0.75);
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--grey);
    background-color: var(--white);
    overflow-x: hidden;
    height: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Header Wrapper */
#header-include {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Header */
.logo-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-size: 3rem; /* indien tekstlogo, 2x groter */
}

.logo-link:hover {
    opacity: 0.8;
}

/* Logo terug naar 75% van 2x basisgrootte (dus 1.5x origineel) */
.logo-image {
    height: 72px; /* was 96px (2x), nu 72px (1.5x) */
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-image {
        height: 48px; /* mobiel ook 1.5x basis (was 64px bij 2x) */
    }
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 2rem; /* 2x groter */
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    color: var(--grey);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.33rem; /* 2x groter t.o.v. basis 1rem */
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    background-color: var(--grey-light);
}

.nav-toggle {
  display: none;
  font-size: 2.8rem; /* groter icoon */
  font-weight: normal;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey);
}

.nav-toggle:focus, .nav-toggle:active {
  outline: none;
  font-weight: bold; /* maak icoon bold bij focus/active */
  box-shadow: none;
}

/* Main Content */
main {
    min-height: calc(100vh - 120px);
}

/* Hero Section */
#hero, #articles-hero, #about-hero, #design-hero {
    position: relative;
    z-index: 1;
    background: linear-gradient(rgba(29, 78, 216, 0.8), rgba(37, 99, 235, 0.85)), 
                url('../pictures/shutterstock_data_analitics_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
    transform: none !important; /* Prevent any transforms that could affect sticky */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    padding: 0 2rem;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.bit {
    color: var(--blue);
    font-weight: 700;
}

/* Hero Section Specific */
#hero .bit {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta {
    display: inline-block;
    background: var(--blue-dark);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(255, 255, 255, 0.1) inset;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta:hover {
    background: #103a7a; /* iets donkerder voor hover effect */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Features Section */
#features {
    padding: 4rem 0 3rem 0;
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.features-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature h2 {
    color: var(--grey);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature h2 .bit {
    color: var(--blue);
}

.feature p {
    color: var(--grey);
    line-height: 1.6;
}

/* Articles Section */
#articles {
    padding: var(--section-padding);
    background: var(--white);
}

.articles-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

#articles h2 {
    text-align: center;
    color: var(--blue);
    margin-bottom: 3rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tile {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tile-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.8;
}

.tile h3 {
    padding: 1.5rem;
    color: var(--grey);
    font-size: 1.25rem;
    line-height: 1.4;
}

/* Article Detail */
.article-detail {
    padding: var(--section-padding);
    background: var(--white);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.back-btn {
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    font-family: var(--font-body);
}

.back-btn:hover {
    text-decoration: underline;
}

.article-body h3 {
    color: var(--blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body ol, .article-body ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Article Images */
.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--grey-med);
    font-style: italic;
}

.methodology {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.method-step {
    background: var(--grey-light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--orange);
}

.method-step h4 {
    color: var(--blue);
    margin-bottom: 1rem;
}

/* Palette Section */
#palette {
    padding: var(--section-padding);
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.palette-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

#palette h2 {
    text-align: center;
    color: var(--blue);
    margin-bottom: 3rem;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.swatch {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.swatch span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.swatch code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Contact Section */
#contact {
    padding: var(--section-padding);
    background: linear-gradient(rgba(32, 101, 209, 0.8), rgba(32, 101, 209, 0.85)), 
                url('../pictures/shutterstock_bouw_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--container-padding);
}

#contact h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

#contact p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 0;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: var(--grey);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

footer a {
    color: var(--blue) !important;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--orange) !important;
}

/* Utilities */
[hidden] {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 2rem;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology {
        grid-template-columns: 1fr;
    }
    
    .swatches {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0 1rem;
    }
    
    .logo-bar {
        padding: 1rem;
    }
    
    #hero {
        padding: 4rem 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .swatches {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.cta:focus,
.back-btn:focus,
.nav-toggle:focus {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.tile:focus {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* Article Pages */
.article-page {
    padding: var(--section-padding);
    background: var(--white);
    min-height: calc(100vh - 120px);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--grey-med);
}

.breadcrumb a {
    color: var(--blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-header h1 {
    color: var(--blue);
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--grey-med);
    font-size: 1rem;
    margin-bottom: 0;
}

.article-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--grey-light);
    border-radius: 10px;
    border-left: 4px solid var(--blue);
}

.logo-container {
    text-decoration: none;
    color: inherit;
}

.logo-container:hover {
    opacity: 0.8;
}

/* Enhanced Components for Articles */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    padding: 2rem;
    border-radius: 15px;
}

.comparison-item.old {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.comparison-item.new {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--blue);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit {
    background: var(--grey-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.benefit h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.problem {
    background: #FEF2F2;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #EF4444;
}

.problem h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #DC2626;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-item {
    background: var(--blue);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.result-item span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(32, 101, 209, 0.15);
}

.cta-section h3 {
    color: var(--blue);
    margin-bottom: 1rem;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-light);
}

.nav-prev, .nav-next {
    color: var(--blue);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: var(--grey-light);
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    background: var(--blue);
    color: var(--white);
}

.statistics {
    background: var(--blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.statistics h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--orange);
}

.stat span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefits-detailed-old {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    color: var(--blue);
    margin-bottom: 1rem;
}

.sprint-results {
    margin: 2rem 0;
}

.sprint-results h4 {
    color: var(--blue);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.sprint-result {
    background: var(--grey-light);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.final-results {
    background: var(--grey-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.result-timeline {
    margin-bottom: 1.5rem;
}

.timeline-point {
    padding: 0.75rem 0;
    border-left: 3px solid var(--blue);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.comparison-table {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: contents;
}

.comparison-header > div {
    background: var(--blue);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
}

.comparison-row {
    display: contents;
}

.comparison-row > div {
    padding: 1rem;
    border-bottom: 1px solid var(--grey-light);
}

.comparison-row > div:first-child {
    font-weight: 600;
    background: var(--grey-light);
}

/* Articles CTA */
.articles-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Articles Overview Page */
#articles-hero {
    background: linear-gradient(rgba(29, 78, 216, 0.8), rgba(37, 99, 235, 0.85)), 
                url('../pictures/shutterstock_data_analitics_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

#articles-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

#articles-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tile-content {
    padding: 1.5rem;
}

.tile-content h3 {
    color: var(--grey);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.tile-content p {
    color: var(--grey-med);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-time {
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.coming-soon .tile-content h3 {
    color: var(--grey-med);
}

.coming-soon .read-time {
    color: var(--grey-med);
    font-style: italic;
}

/* Login Page */
#login-section {
    padding: 6rem 2rem;
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 400px;
    width: 100%;
}

.login-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-form h1 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.login-form p {
    color: var(--grey-med);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--grey);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--grey-light);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue);
}

.login-form .cta {
    width: 100%;
    margin-bottom: 2rem;
}

.login-links {
    text-align: center;
}

.login-links a {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-links p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--grey-med);
}

/* Design System Page */
#design-hero {
    background: linear-gradient(rgba(29, 78, 216, 0.8), rgba(37, 99, 235, 0.85)), 
                url('../pictures/shutterstock_data_analitics_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

#design-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

#design-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.design-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

#colors {
    padding: var(--section-padding);
    background: var(--white);
}

#colors h2 {
    color: var(--blue);
    text-align: center;
    margin-bottom: 1rem;
}

#colors > p {
    text-align: center;
    color: var(--grey-med);
    margin-bottom: 3rem;
}

.color-category {
    margin-bottom: 3rem;
}

.color-category h3 {
    color: var(--grey);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.swatch {
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swatch.primary {
    border: 3px solid var(--orange);
}

.swatch.accent {
    border: 3px solid var(--blue);
}

.swatch span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.swatch code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.swatch small {
    font-size: 0.875rem;
    opacity: 0.8;
    font-style: italic;
}

/* Typography Section */
#typography {
    padding: var(--section-padding);
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#typography h2 {
    color: var(--blue);
    text-align: center;
    margin-bottom: 3rem;
}

.typography-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.font-example {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.font-example h3 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.font-description {
    color: var(--grey-med);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.font-samples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sample-heading {
    margin: 0;
    color: var(--grey);
}

.sample-body {
    line-height: 1.6;
    color: var(--grey);
    margin: 0;
}

.sample-small {
    font-size: 0.875rem;
    color: var(--grey-med);
    margin: 0;
}

.sample-button {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Logo Usage Section */
#logo-usage {
    padding: var(--section-padding);
    background: var(--white);
}

#logo-usage h2 {
    color: var(--blue);
    text-align: center;
    margin-bottom: 3rem;
}

.logo-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.logo-example {
    text-align: center;
}

.logo-example h3 {
    color: var(--grey);
    margin-bottom: 1.5rem;
}

.logo-showcase {
    background: var(--grey-light);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.logo-showcase.light {
    background: var(--grey-light);
}

.logo-display {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-display-small {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-example p {
    color: var(--grey-med);
    font-size: 0.95rem;
}

/* Responsive for design system */
@media (max-width: 768px) {
    #design-hero h1 {
        font-size: 2.5rem;
    }
    
    .swatches {
        grid-template-columns: 1fr;
    }
    
    .typography-examples {
        grid-template-columns: 1fr;
    }
    
    .logo-examples {
        grid-template-columns: 1fr;
    }
    
    .font-example {
        padding: 2rem;
    }
}

/* Hamburger menu voor mobiel */
.nav-toggle {
  display: none;
  font-size: 2.8rem; /* groter icoon */
  font-weight: normal;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey);
}

.nav-toggle:focus, .nav-toggle:active {
  outline: none;
  font-weight: bold; /* maak icoon bold bij focus/active */
  box-shadow: none;
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    width: 80vw;
    max-width: 320px;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 2rem 1.5rem;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1100;
  }
  .logo-bar {
    position: relative;
  }
}

/* Specifieke styling voor lees-meer tekst op blauw vlak */
.lees-meer-over {
    color: var(--grey) !important;
    font-weight: 600;
    background: transparent;
}

/* Optioneel: als deze tekst in een blauwe sectie staat, kun je extra contrast afdwingen */
#hero .lees-meer-over, #articles-hero .lees-meer-over {
    color: var(--grey);
}

main, section, #features, #articles, #palette, #contact, footer {
    background: var(--white);
    position: relative;
    z-index: 10;
}

#features {
    background: var(--grey-light);
}

#contact {
    background: linear-gradient(rgba(32, 101, 209, 0.8), rgba(32, 101, 209, 0.85)), 
                url('../pictures/shutterstock_bouw_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer {
    background: var(--grey);
}

.case-tile {
    border: 2px solid var(--orange);
    position: relative;
    box-shadow: 0 4px 18px rgba(255, 106, 45, 0.08);
}

.case-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.25em 0.8em;
    border-radius: 16px;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 106, 45, 0.15);
    pointer-events: none;
}

/* Where's your B1T Section */
.wheres-your-bit-section {
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: var(--section-padding);
    text-align: center;
}

.wheres-your-bit-section .features-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.benefits-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(32, 101, 209, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(32, 101, 209, 0.25);
}

.benefit-item h3 {
    color: var(--blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--grey);
    line-height: 1.6;
}

/* Nieuwe CSS voor gestapelde voordelen */
.benefits-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-wide {
    background: var(--grey-light);
    border-left: 6px solid var(--blue);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(32,101,209,0.04);
}

.benefit-wide h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--blue-dark);
}

.benefit-wide p {
    font-size: 1.15rem;
    color: var(--grey);
}

@media (max-width: 900px) {
  .benefits-detailed {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Interactive Features Styling */
.interactive-features-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(227, 242, 253, 0.9), rgba(187, 222, 251, 0.9)), 
                url('../pictures/shutterstock_medical_smaller.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
}

.interactive-features-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.interactive-features {
    width: 100%;
    margin: 0 auto;
}

.feature-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
}

.feature-button {
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: 15px;
    padding: 3rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 0;
    font-family: var(--font-body);
    position: relative;
    z-index: 2;
}

.feature-button:not(:last-of-type) {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.feature-button:not(:first-of-type) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.feature-button:hover {
    background: rgba(32, 101, 209, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 101, 209, 0.15);
    z-index: 3;
}

.feature-button.active {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(32, 101, 209, 0.3);
    z-index: 3;
}

.feature-button h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-button p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-content {
    background: var(--grey-light);
    border: 2px solid var(--blue);
    border-top: none;
    border-radius: 0 0 15px 15px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 0;
    opacity: 0;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-content.active {
    max-height: 500px;
    padding: 3rem;
    margin-bottom: 1rem;
    opacity: 1;
}

.feature-details {
    animation: fadeInUp 0.4s ease;
}

.feature-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.feature-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.feature-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-details p:last-child {
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive voor interactive features */
@media (max-width: 1200px) {
    .interactive-features-wrapper {
        padding: 0 2rem;
    }
    
    .feature-button {
        max-width: 900px;
    }
    
    .feature-content {
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .interactive-features-wrapper {
        padding: 0 1rem;
    }
    
    .feature-button {
        padding: 2rem;
        max-width: 100%;
    }
    
    .feature-button h3 {
        font-size: 1.2rem;
    }
    
    .feature-button p {
        font-size: 1rem;
    }
    
    .feature-content {
        max-width: 100%;
    }
    
    .feature-content.active {
        padding: 2rem;
        max-height: 600px;
    }
}
