/* ==============================================
   GLOBALE VARIABELEN & RESET
   ============================================== */
:root {
    /* Kleuren - geïnspireerd door Stripe gradient */
    --color-primary: #0066ff;
    --color-primary-dark: #0052cc;
    --color-secondary: #00d4ff;
    --color-accent: #7c3aed;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-light: #f7f9fc;
    --color-border: #e5e7eb;
    
    /* Gradient colors */
    --gradient-start: rgba(0, 102, 255, 0.1);
    --gradient-mid: rgba(124, 58, 237, 0.08);
    --gradient-end: rgba(0, 212, 255, 0.1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Borders & Shadows */
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    overflow-x: hidden;
    overflow-y: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==============================================
   HERBRUIKBARE COMPONENTEN
   ============================================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: var(--space-sm) auto 0;
}

/* Backgrounds */
.bg-light {
    background: var(--color-bg-light);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
}

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

h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: var(--space-md);
    line-height: 1.25;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

p {
    margin-bottom: var(--space-sm);
}

/* Badge */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-start);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.0625rem;

}

.btn-primary {
    background: var(--color-primary);
    color: white !important;
}


.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

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

/* Cards */
.card {
    background: white;
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-start);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

/* Icon Circle */
.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--gradient-start);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.grid-4 .card .icon-circle {
    margin-bottom: var(--space-sm);
}

/* Grids */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (max-width: 768px) {
    .content-split {
        grid-template-columns: 1fr;
    }
}

/* Checklist */
.checklist {
    list-style: none;
    margin: var(--space-md) 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.checklist svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Link Arrow */
.link-arrow {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: var(--space-sm);
}

/* ==============================================
   NAVIGATIE
   ============================================== */
.nav {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.logo-svg {
    height: 70px;
    width: auto;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition);
    padding: var(--space-xs) 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links .btn-primary {
    padding: 0.625rem 1.25rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-close {
    display: none;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
    .nav-links {
        gap: var(--space-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 1.5rem;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 1002;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: -1;
    }
    
    .menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--color-text);
        cursor: pointer;
        width: 35px;
        height: 35px;
        display: none;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: color var(--transition);
        background: none;
        border: none;
        padding: 0;
        z-index: 1003;
    }
    
    .nav-links.active .menu-close {
        display: flex;
    }
    
    .menu-close:hover {
        color: var(--color-primary);
    }
    
    .nav-links a {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.75rem;
    }
}

/* ==============================================
   HERO SECTIE
   ============================================== */
.hero {
    position: relative;
    padding: var(--space-md) 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--color-text);
    padding-bottom: 0.1em;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Blob animations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
}

/* ==============================================
   STATS GRID
   ============================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.stat {
    text-align: center;
    padding: var(--space-md);
}

.stat .icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
}

.stat .icon-circle svg {
    width: 32px;
    height: 32px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.stat p {
    color: var(--color-text-light);
    margin: 0;
}

/* ==============================================
   CTA BOX
   ============================================== */
.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: 0;
}

.cta-content h2 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 2.25rem;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-box .btn-primary {
    background: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.cta-box .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .cta-box {
        text-align: center;
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cta-box .btn-primary,
    .cta-box .btn-secondary {
        flex: 1;
        min-width: 140px;
    }
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer .logo {
    color: white;
    margin-bottom: var(--space-sm);
}

.certification-logos {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    align-items: center;
}

.cert-logo {
    height: 120px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.cert-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* ==============================================
   PAGINA-SPECIFIEKE STIJLEN
   ============================================== */

/* Service Detail Page */
.service-hero {
    background: var(--color-bg-light);
    padding: var(--space-lg) 0;
    text-align: center;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: var(--space-md);
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
}

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

.step-content h3 {
    margin-top: 0;
}

/* Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-text);
}

tr:last-child td {
    border-bottom: none;
}

/* Form */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Job Card */
.job-card {
    border-left: 4px solid var(--color-primary);
}

.job-meta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-text);
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid var(--color-primary);
}

.cta-buttons .btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--color-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: nowrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
    white-space: nowrap;
}

.cta-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(99, 102, 241, 0.2);
}

.cta-feature svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .hero {
        min-height: auto;
    }
    
    .cta-content h2 {
        font-size: 1.875rem;
    }
    
    .cta-content p {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .cta-features {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }
    
    .cta-feature {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}