:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --primary-dark: #0a3c6b;
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --text-dark: #1A202C;
 --text-light: #4A5568;
 --bg-light: #f7fafc;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --radius: 8px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

h1, h2, h3, h4 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.3;
}
h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 1rem; }

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}
a:hover {
 color: var(--primary-dark);
}

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

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 60px;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; max-width: 600px; margin: 0 auto; color: var(--text-light); }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; }

/* Main Content Styles */
main {
 padding-top: 70px;
}

.badge {
 display: inline-block;
 padding: 6px 16px;
 background-color: var(--secondary-color);
 color: white;
 font-weight: 600;
 font-size: 0.9rem;
 border-radius: 99px;
 text-transform: uppercase;
 margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
 background-color: var(--bg-light);
 padding: 80px 0;
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 40px;
}
.hero-title {
 color: var(--primary-color);
}
.hero-subtitle {
 font-size: 1.1rem;
 margin-bottom: 2rem;
 max-width: 500px;
}
.hero-buttons {
 display: flex;
 gap: 16px;
 margin-top: 2rem;
}
.hero-image-container img {
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
 max-height: 500px;
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 600;
 border-radius: var(--radius);
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
}
.btn-secondary {
 background-color: transparent;
 border-color: var(--primary-color);
 color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
}

/* Stats Section */
.stats-section { padding: 60px 0; background: var(--primary-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-item { color: rgba(255,255,255,0.8); }
.stat-number { font-size: 3rem; font-weight: 700; color: white; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: var(--secondary-color); margin-bottom: 0.5rem; }
.stat-description{ font-size: 0.9rem; }

/* Grid & Card */
.grid-2{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
 background-color: var(--bg-white);
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column;}
.card-title { margin-bottom: 0.75rem; }
.card-text { margin-bottom: 1rem; flex-grow: 1; }
.card-link { font-weight: 600; color: var(--primary-color); margin-top: auto; }
.card-link:hover { text-decoration: underline; }

/* Media Object */
.media-object { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;}
.media-object.reverse { grid-template-columns: 1fr 1fr; }
.media-object.reverse .media-image { grid-column: 2; grid-row: 1;}
.media-object.reverse .media-content { grid-column: 1; grid-row: 1;}
.media-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.checklist { list-style: none; padding-left: 0; margin: 1.5rem 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 0.75rem; }
.checklist li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--secondary-color);
 font-weight: 700;
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after{
 content: '';
 position: absolute;
 width: 3px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -1.5px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 width: 50%;
}
.timeline-item:nth-child(odd){ left: 50%; }
.timeline-item:nth-child(even){ left: 0; text-align: right; }
.timeline-item .timeline-number {
 position: absolute;
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--secondary-color);
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: flex;
 justify-content: center;
 align-items: center;
 top: 15px;
 z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-number {
 left: -25px;
}
.timeline-item:nth-child(even) .timeline-number {
 right: -25px;
}

/* CTA Form Section */
.cta-section-form { background-color: var(--bg-light); }
.form-container {
 max-width: 700px;
 margin: 0 auto;
 background-color: white;
 padding: 40px;
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
}
.contact-form .form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.contact-form input, .contact-form textarea, .contact-form select {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 font-family: var(--font-main);
 font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 2px rgba(13, 79, 139, 0.2);
}
.form-submit-btn { width: 100%; padding: 15px; font-size: 1.1rem; }

/* Page Header */
.page-header-section {
 padding: 60px 0;
 background-color: var(--primary-dark);
 color: white;
 text-align: center;
}
.page-title { color: white; }
.page-subtitle { max-width: 600px; margin: 1rem auto 0; color: rgba(255,255,255,0.8); }

/* Feature Card (Diensten page) */
.feature-card { text-align: center; }
.feature-icon {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: var(--secondary-color);
 color: white;
 display: flex;
 justify-content: center;
 align-items: center;
 margin: 0 auto 1.5rem;
}
.feature-icon svg { width: 28px; height: 28px; }

/* Course Card (Opleidingen page) */
.course-card .card-body { position: relative; }
.course-meta {
 display: flex;
 gap: 16px;
 font-size: 0.9rem;
 margin-bottom: 1.5rem;
 color: var(--text-light);
}
.course-meta span {
 background-color: var(--bg-light);
 padding: 4px 8px;
 border-radius: 4px;
}

/* Team Section */
.team-card { text-align: center; }
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-name { font-size: 1.25rem; }
.team-title { color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.9rem; }

/* Values Section */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-item {
 padding: 24px;
 border-left: 4px solid var(--secondary-color);
 background-color: var(--bg-light);
 border-radius: 0 var(--radius) var(--radius) 0;
}
.value-item h3 { color: var(--primary-color); }

/* Resources Page */
.article-card .card-body { display: flex; flex-direction: column; }
.article-meta {
 font-size: 0.85rem;
 color: var(--text-light);
 margin-bottom: 0.5rem;
}

.newsletter-section { text-align: center; }
.newsletter-form {
 display: flex;
 gap: 10px;
 max-width: 500px;
 margin: 2rem auto 0;
}
.newsletter-form input {
 flex-grow: 1;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
}
.newsletter-form button { flex-shrink: 0; }

/* Contact Page */
.contact-page-grid {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 60px;
}
.contact-heading { margin-bottom: 2rem; }
.contact-info-block { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
 color: var(--primary-color);
 flex-shrink: 0;
 width: 24px;
}
.contact-info-item h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.contact-info-item p { margin: 0; line-height: 1.5; }
.map-section { padding: 0; height: 450px; background: var(--bg-light); }

/* Legal Pages */
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); font-weight: 600; }

/* Thank You page */
.thank-you-section{ padding: 120px 0; }
.thank-you-icon {
 color: var(--secondary-color);
 margin-bottom: 2rem;
}

/* Footer */
.footer {
 background-color: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr repeat(3, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo { font-size: 1.5rem; font-weight: 700; color: white; display: block; margin-bottom: 1rem; }
.footer-description { margin-bottom: 1.5rem; max-width:300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
 color: #a0aec0;
 width: 40px; height: 40px;
 border: 1px solid #4A5568;
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
}
.footer-social a:hover {
 color: white;
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: white;
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 1.5rem;
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: #a0aec0; }
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-item svg { width: 18px; flex-shrink: 0; margin-top: 3px; color: var(--secondary-color); }
.footer-bottom {
 border-top: 1px solid #4A5568;
 padding-top: 30px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: #a0aec0; }
.footer-legal-links a:hover { color: white; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--text-dark);
 color: white;
 padding: 20px;
 display: none;
 justify-content: space-between;
 align-items: center;
 z-index: 1001;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
 gap: 20px;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0;}
.cookie-buttons .btn-primary { background: var(--secondary-color); }

/* Responsive */
@media (max-width: 992px) {
 .hero-container, .media-object, .media-object.reverse, .contact-page-grid { grid-template-columns: 1fr; }
 .hero-container { text-align: center; }
 .hero-subtitle, .hero-buttons { margin-left: auto; margin-right: auto; }
 .hero-buttons { justify-content: center; }
 .media-object .media-image { margin-bottom: 30px; }
 .media-object.reverse .media-image { order: -1; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 padding: 5px;
 z-index: 1001;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
 }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 300px;
 height: 100vh;
 background-color: var(--bg-white);
 flex-direction: column;
 padding: 100px 40px;
 gap: 24px;
 box-shadow: var(--shadow-lg);
 transition: right 0.4s ease-in-out;
 }
 .nav-links.active { right: 0; }
 .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
 .stats-grid { grid-template-columns: 1fr; }
 .timeline::after { left: 25px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0; text-align: left; }
 .timeline-item:nth-child(odd) { left: 0; }
 .timeline-item .timeline-number, .timeline-item:nth-child(even) .timeline-number { left: 0; }
 #cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-bottom { flex-direction: column; gap: 16px; }
 .contact-form .form-group-row { grid-template-columns: 1fr; }
}