@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
  --primary-color: #214264; /* Diep staalblauw */
  --secondary-color: #6B8EAE; /* Koel grijsblauw */
  --accent-color: #8DBADE; /* Zacht institutioneel blauw */
  --background-color: #F5F5F5; /* Licht neutraal grijs */
  --text-color: #333333; /* Donker grafietgrijs */
  --text-light: #f5f5f5;
  --border-color: #e0e0e0;
  --font-family: 'Lato', sans-serif;
  --header-height: 80px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, .hero-image, .card-image {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(80%) sepia(20%) contrast(0.9) brightness(0.95);
  transition: filter 0.3s ease;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
ul, ol { list-style-position: inside; }

.section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}
.bg-light { background-color: white; }

/* --- HEADER & NAVIGATION --- */
.main-header {
  background: white;
  padding: 0 2rem;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: top 0.3s ease;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.logo span { color: var(--accent-color); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-weight: 700;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
    color: var(--primary-color);
}

.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1001;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover, .dropdown-menu li a.active {
    background-color: var(--background-color);
    color: var(--primary-color);
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle { display: none; }
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-links.active { transform: translateX(0); }
  .mobile-nav-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .hamburger {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: background 0.15s ease-in-out;
  }
  .hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    left: 0;
    transition: transform 0.15s ease-in-out;
  }
  .hamburger::before { top: -8px; }
  .hamburger::after { bottom: -8px; }

  .mobile-nav-toggle.active .hamburger { background: transparent; }
  .mobile-nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(5.5px, 5.5px); }
  .mobile-nav-toggle.active .hamburger::after { transform: rotate(-45deg) translate(5.5px, -5.5px); }
  .dropdown-menu {
      position: static;
      box-shadow: none;
      border: none;
      width: 100%;
      text-align: center;
      padding: 0;
      background: var(--background-color);
  }
  .dropdown:hover .dropdown-menu { display: none;}
  .dropdown.open .dropdown-menu { display: block; }
}

/* --- HERO --- */

.hero-split {
 background-color: white;
 padding: 5rem 0;
 min-height: 80vh;
 display: flex;
 align-items: center;
}
.hero-split-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: 3rem;
}
.hero-text {
  padding-right: 2rem;
}
.hero-image-wrapper {
  position: relative;
  height: 500px;
}
.hero-image {
  position: absolute;
  top: 0;
  left: -10%;
  width: 110%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero {
    min-height: 50vh;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0.8;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    color: white;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- ASYMMETRIC LAYOUT --- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}
.section-header h2 {
    margin-bottom: 0.5rem;
}

.asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.grid-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.grid-item.large-item {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-content { padding: 2.5rem; }
.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

/* --- FEATURED ARTICLES --- */
.section-featured-articles {
    padding: clamp(4rem, 8vw, 6rem) 0;
}
.staggered-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.feature-card h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.card-image-top {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.principles-cards .feature-card {
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.card-icon svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

/* --- TESTIMONIAL --- */
.section-testimonial {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}
.testimonial-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.testimonial-image {
    flex: 0 0 300px;
    position: relative;
}
.testimonial-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: -20px 20px 0px 0px var(--secondary-color);
    filter: grayscale(80%) sepia(20%) contrast(0.9) brightness(0.95);
}
.testimonial-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
}
.testimonial-content blockquote::before {
    content: '“';
    font-size: 5rem;
    position: absolute;
    left: 0;
    top: -1rem;
    color: var(--accent-color);
    line-height: 1;
}
.testimonial-content cite {
    font-style: normal;
    font-weight: 700;
}
.testimonial-content cite span {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- CTA LINK BUTTONS --- */
.cta-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 1rem;
}
.text-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 0.5rem;
}

/* --- MISSION SECTION --- */
.section-mission { padding: clamp(4rem, 8vw, 6rem) 0; }
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.mission-image img { border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.mission-text ul { list-style: none; margin-top: 1.5rem; }
.mission-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.mission-text ul li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: var(--primary-color);
}

/* --- ANGLED SECTION --- */
.section-angled {
    position: relative;
    padding: clamp(6rem, 10vw, 8rem) 0;
}
.section-angled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: inherit;
    transform: skewY(-3deg);
    z-index: -1;
}
.section-angled > .container {
    transform: skewY(3deg);
    padding: 3rem 2rem;
}
.section-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.section-cta * { color: var(--text-light); }
.section-cta h2 { color: white; }

/* --- BUTTONS --- */
.cta-button, .cta-button-light {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.cta-button {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}
.cta-button-light {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}
.cta-button-light:hover {
    background-color: transparent;
    color: white;
}


/* --- FOOTER --- */
.main-footer {
    background-color: #1a3552;
    color: #e0e6eb;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}
.main-footer a { color: var(--accent-color); }
.main-footer a:hover { color: white; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo { color: white; }
.footer-logo span { color: var(--accent-color); }
.footer-about p {
    margin-top: 1rem;
    line-height: 1.6;
    color: #b0c0cf;
}
.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-contact p {
    margin-bottom: 0.75rem;
    color: #b0c0cf;
}
.footer-contact strong { color: white; }
.footer-bottom { 
    border-top: 1px solid #3a5775;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #b0c0cf;
}

/* --- ARTICLE PAGE --- */
.article-page { background: white; }
.article-hero { min-height: 40vh; }
.article-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    padding: 4rem 2rem;
}
.article-sidebar h4 { color: var(--primary-color); font-size: 1.1rem; }
.article-sidebar ul { list-style: none; margin: 1rem 0; }
.article-sidebar ul li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-color);
    border-left: 3px solid transparent;
    padding-left: 1rem;
}
.article-sidebar ul li a:hover,
.article-sidebar ul li.active a {
    color: var(--primary-color);
    font-weight: 700;
    border-left-color: var(--primary-color);
}
.sidebar-cta {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 4px;
}
.sidebar-cta h5 { margin-bottom: 0.5rem; }

.article-content section { margin-bottom: 3rem; }
.article-content h2, .article-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: 1.5rem 0; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.75rem; }
.article-content figure { margin: 2rem 0; }
.article-content figcaption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}
.article-content img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.single-column { grid-column: 1 / -1; }
.article-callout {
    background: var(--background-color);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

/* --- STRUCTURAL DIAGRAM --- */
.structural-diagram {
    text-align: center;
    font-family: var(--font-family);
    margin: 3rem 0;
}
.diagram-level {
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: white;
}
.diagram-title { font-weight: 700; font-size: 1.1rem; }
.diagram-desc { font-size: 0.9rem; margin-top: 0.25rem; }
.diagram-arrow {
    margin: 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.diagram-arrow span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
}
.double-arrow { color: var(--accent-color); }
.diagram-base {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.diagram-base-item {
    background-color: #e0e0e0;
    color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}


/* --- CONTACT PAGE --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.info-item { margin-bottom: 2rem; }
.info-title { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 0.25rem;}
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-disclaimer {
    font-size: 0.8rem;
    color: #666;
    background: var(--background-color);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  stroke: white;
}
.thank-you-section h1 { margin-bottom: 20px; }
.thank-you-section p {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin-bottom: 30px;
}

/* -- DISCLAIMER SECTION -- */
.disclaimer-section {
  background-color: rgba(255, 255, 255, 0.05);
  color: #b0c0cf;
  padding: 1.5rem 2rem;
  margin: 3rem 0 0 0;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  border: 1px solid #3a5775;
}
.disclaimer-section strong {
  display: block;
  margin-bottom: 8px;
  color: white;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 53, 82, 0.95);
  color: white;
  padding: 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  backdrop-filter: blur(5px);
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
#cookie-banner button {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}
#cookie-accept { background-color: var(--accent-color); color: var(--primary-color); }
#cookie-accept:hover { background-color: white; }
#cookie-decline { background: transparent; border: 2px solid var(--accent-color); color: white; }
#cookie-decline:hover { background-color: var(--accent-color); color: var(--primary-color); }

/* --- TO TOP BUTTON --- */
#to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  display: none; /* Initially hidden */
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
}
#to-top-btn:hover { transform: scale(1.1); }
#to-top-btn svg { width: 24px; height: 24px; }

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
    .testimonial-container { flex-direction: column; text-align: center; }
    .testimonial-image { margin-bottom: 2rem; }
    .testimonial-content blockquote::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .testimonial-content blockquote { padding: 3rem 0 0 0; }
    .hero-split-container { grid-template-columns: 1fr; }
    .hero-image-wrapper { height: 350px; margin-top: 2rem;}
    .hero-image { left: 0; width: 100%; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 1rem; }
  .main-header { padding: 0 1rem; }
  .grid-2-col, .contact-container, .asymmetric-grid, .article-container { grid-template-columns: 1fr; }
  .mission-image { order: -1; }
  .article-sidebar { grid-row: 1; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; }
  .section-angled::before { transform: skewY(-2deg); }
  .section-angled > .container { transform: skewY(2deg); }
  #cookie-banner { flex-direction: column; text-align: center; }
}