/* Contact banner achtergrond styling */
.contact-banner-bg {
  background-image: url('../images/Contact.webp');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

@media (min-width: 1400px) {
  .contact-banner-bg {
    background-image: url('../images/stellingen-bg-2490w.webp');
  }
}

/* Contact banner overlay tekst wit */
.contact-banner-overlay h2,
.contact-banner-overlay p {
  color: #fff;
}
:root {
  --primary-green: #006633;
  --primary-blue: #003366;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --gray-light: #f8f9fa;
}

/* Reset & basics */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;  
  line-height: 1.6;
  background: var(--bg-light);
  color: var(--text-dark);
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Performance optimizations */
img {
  content-visibility: auto;
}

.service-card img,
.hero-image img,
.contact-banner-bg img {
  will-change: transform;
}

/* Logo */
.logo img {
  width: 25vw; 
  width: auto;
  height: auto;
  max-height: 60px; 
  cursor: pointer;
}

/* Header */
header {
  background: var(--gray-light);
  padding: 0.3rem 2rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  margin-bottom: 0; /* Ensure no gap */
}
#navMenu {
  display: none;
  flex-direction: column;
  background: var(--gray-light);
  position: absolute;
  top: 100%; /* Position directly below header */
  left: 0;
  width: 100%;
  padding: 0; /* Remove padding to eliminate gap */
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  z-index: 999;
  margin-top: 0;
}
#navMenu .back-btn {
  background: none;
  color: var(--text-dark);
  border: none;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the back button content */
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}
#navMenu .back-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
#navMenu a,
#navMenu .nav-contact-btn {
  color: var(--text-dark);
  padding: 1.2rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  width: 100%;
  text-align: center;
}
#navMenu .nav-contact-btn {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
}
.menu-btn { 
  font-size: 1.5rem; 
  background: none; 
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
}
.menu-btn svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* Show menu when active (mobile only) */
#navMenu.active { 
  display: flex; 
}

/* On desktop, always show menu regardless of active class */
@media (min-width: 768px) {
  #navMenu,
  #navMenu.active { 
    display: flex !important;
  }
}

/* SVG icon styling for better rendering */
.back-btn svg,
.menu-btn svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Remove default focus outline and add custom styled one */
/* Hide focus outline on mouse click, but keep it for keyboard navigation */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* Only show focus outline when using keyboard (not mouse) */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Ensure no blue outline on click/active - completely remove it */
button:active,
a:active,
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
.menu-btn:focus,
.back-btn:focus,
.nav-contact-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove the thick blue border that appears on click */
*:focus:not(:focus-visible) {
  outline: none !important;
}

/* For webkit browsers - remove tap highlight */
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow text selection for input fields */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  color: var(--text-light);
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-cta {
  background: var(--primary-green);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.hero-cta:hover { background: #004d26; }

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.popup-content {
  position: relative;
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.popup-content > h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-green);
}
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f9fa;
  transition: all 0.3s ease;
  font-weight: 300;
  line-height: 1;
}
.close:hover {
  background: var(--primary-blue);
  color: white;
  transform: rotate(90deg);
}
.popup-options {
  text-align: center;
}
.popup-options > h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.popup-options > h2::before,
.popup-options > h2::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #e0e0e0, transparent);
  max-width: 100px;
}
.popup-button {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0.9rem 2.5rem;
  margin: 1rem auto;
  display: block;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 51, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: auto;
  min-width: 200px;
  position: relative;
}

.popup-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.popup-button.loading {
  color: transparent;
}

.popup-button.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
.WA-button {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.WA-button:hover {
  transform: scale(1.05);
}
.popup-button:hover {
  background: #004d26;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 51, 0.4);
}
.popup-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 102, 51, 0.3);
}
.contact-form {
  margin-top: 20px;
}
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
  text-align: center;
}
.contact-form > p {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}
.contact-form label {
  display: block;
  margin: 1rem 0 0.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #c0c0c0;
  background: #fff;
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 102, 51, 0.1);
  background: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-style: italic;
}
.g-recaptcha {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.cookie-content {
  max-width: 800px;
  text-align: center;
  padding: 15px;
}
.cookie-content p {
  margin: 0 0 10px 0;
  font-size: 1em;
}
.cookie-content a {
  color: #66BB6A;
  text-decoration: underline;
}
.cookie-content a:hover {
  color: #43A047;
}
.cookie-button {
  background-color: #66BB6A;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}
.cookie-button:hover {
  background-color: #43A047;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in;
}

.success-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #66BB6A;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  margin: 0 auto 20px;
  animation: scaleIn 0.5s ease-out 0.2s backwards;
}

.success-content h3 {
  color: #003366;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.success-content p {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.success-button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s;
}

.success-button:hover {
  background-color: #00509E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

/* Error Notification */
.error-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10001;
  animation: slideInRight 0.3s ease-out;
  opacity: 1;
  transition: opacity 0.3s ease;
  max-width: 400px;
  width: calc(100% - 40px);
}

.error-notification-content {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(238, 90, 111, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.error-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.error-message {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.error-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-weight: 300;
  line-height: 1;
}

.error-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Media Query voor mobiel */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    max-width: 95%;
    padding: 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
  }
  .popup-content > h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }
  .contact-form h3 {
    font-size: 1.3rem;
  }
  .contact-form > p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .contact-form label {
    font-size: 0.9rem;
    margin: 0.8rem 0 0.4rem;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 0.65rem 0.85rem;
    font-size: 14px;
  }
  .popup-button {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    min-width: 180px;
  }
  .popup-options > h2 {
    font-size: 1.1rem;
    margin: 1.2rem 0;
  }
  .popup-options > h2::before,
  .popup-options > h2::after {
    max-width: 60px;
  }
  .cookie-content {
    max-width: 90%;
  }
  .cookie-content p {
    font-size: 0.9em;
  }
  .cookie-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}
@media (max-width: 767px) {
  .logo img {
    width: 30vw;
    max-width: 500px;
    min-width: 160px;
  }
  
  /* Fix voor wit randje tussen benefits en wave */
  .wave-bottom {
    margin-top: -2px;
  }
  
  /* Fix voor wit randje tussen wave-top en benefits section */
  .wave-top {
    margin-bottom: -2px;
  }
}
@media (max-width: 480px) {
  .logo img {
    width: 30vw;
    max-width: 500px;
    min-width: 160px;
  }
}
@media (min-width: 768px) {
  header { padding: 0 4rem; }
  
  /* Hamburger menu verbergen op desktop */
  .menu-btn { 
    display: none !important; 
  }
  
  /* Desktop navigatie styling */
  #navMenu {
    display: flex !important; /* Altijd zichtbaar op desktop */
    position: static !important;
    flex-direction: row !important;
    background: none !important;
    width: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    top: auto !important;
  }
  
  /* Terug knop verbergen op desktop */
  #navMenu .back-btn { 
    display: none !important;
  }
  
  /* Desktop menu items horizontaal */
  #navMenu a,
  #navMenu .nav-contact-btn {
    white-space: nowrap;
    margin-left: 3rem;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    font-size: 1rem;
    text-align: left;
  }
  
  #navMenu .nav-contact-btn {
    background: none;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 600;
  }
  
  .hero-content { max-width: 1000px; }
}

/* Sections */
.section {
  padding: 4rem 2rem;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Services Grid */
.services-container {
  position: relative;
  overflow: hidden;;
}
.services-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-snap-type: x mandatory; /* Snap per card */
  scroll-padding: 0; /* Snap aan de rand */
}
.services-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.services-grid {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
}
.service-card {
  min-width: 320px;
  height: 400px;
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease;
  scroll-snap-align: start; /* Snap naar de start van elke card */
  scroll-snap-stop: always; /* Zorg dat de scroll altijd stopt bij een card */
}
.service-card.expanded {
  height: 500px; /* Verhoogd om alle tekst te tonen */
  min-width: 400px;
}
.service-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: filter 0.3s ease;
}
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Subtiele donkere overlay voor betere leesbaarheid */
  z-index: 1;
  transition: background 0.3s ease;
  pointer-events: none; /* Laat clicks door naar onderliggende elementen */
}
.service-card.expanded .service-background {
  filter: brightness(70%) blur(2px);
}
.service-card.expanded .service-overlay {
  background: rgba(0, 51, 102, 0.6); /* Donkerdere blauwe overlay in uitgeklapte staat */
}
.service-content {
  position: relative;
  z-index: 2; /* Verhoogd om boven de overlay te staan */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centreert inhoud verticaal */
  align-items: flex-start; /* Links uitlijnen i.p.v. center */
  padding: 2rem;
  color: var(--text-light);
}
.service-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: left !important; /* Forceer links uitlijnen */
}

.service-content p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  max-width: 95%;
  text-align: left;
}
.read-more {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  background: var(--primary-green);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  transition: background 0.3s;
  /* Button-specific properties */
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  width: auto;
  text-align: center;
}
.read-more:hover {
  background: #004d26;
}
.know-more {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  background: var(--primary-green);
  padding: 0.7rem 2rem; /* Iets groter en breder */
  border-radius: 4px;
  margin: 2rem auto 0 auto; /* Bovenruimte en centreren */
  transition: background 0.3s;
  font-size: 1.1rem; /* Iets groter lettertype */
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10); /* Subtiele schaduw */
  width: fit-content; /* Breedte op basis van inhoud */
  min-width: 160px;   /* Minimale breedte voor consistentie */
  max-width: 90%;     /* Voorkom te brede knop op mobiel */
}
.know-more:hover {
  background: #004d26;
}
.additional-content {
  display: none;
  margin-top: 1rem;
  text-align: left;
  max-width: 90%;
}
.service-card.expanded .additional-content {
  display: block;
}
.additional-content p {
  font-size: 1rem;
  line-height: 1.5;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: var(--text-light);
  background: rgba(0, 51, 102, 0.8);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3; /* Verhoogd om boven alle elementen te staan */
}
.close-btn:hover {
  background: rgba(0, 51, 102, 1);
}
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 51, 102, 0.85);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.scroll-btn:active {
  transform: translateY(-50%) scale(0.95);
  background: rgba(0, 51, 102, 0.95);
}
.scroll-btn:hover {
  background: rgba(0, 51, 102, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) scale(1.05);
}
.scroll-btn.prev {
  left: 10px;
}
.scroll-btn.next {
  right: 10px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.benefit-card {
  background: var(--primary-blue);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: center;
  color: var(--text-light);
}

.benefit-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.benefit-card .icon { 
  width: 36px; 
  height: 36px; 
  margin-bottom: 1rem; 
  color: var(--text-light); 
}
.benefit-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-light); }

/* Hoe werkt het */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.step {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  position: relative;
  padding-left: 3rem;
}
.step p {
  padding-left: 5px;
}
.step::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-green);
  color: var(--text-light);
  font-weight: 700;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Value Added */
.value-added {
  background: var(--gray-light);
  text-align: center;
  width: 100%;
  max-width: none;
}
.value-added p { font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

/* Footer */
footer {
  background: var(--primary-blue);
  color: var(--text-light);
  text-align: center;
  padding: 3rem 1rem 1rem 1rem;
  width: 100%;
  max-width: none;
  margin-top: 3rem;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo img {
  max-height: 50px;
  width: auto;
  height: auto;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-nav a,
.footer-nav .nav-contact-btn {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav .nav-contact-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.footer-nav a:hover,
.footer-nav .nav-contact-btn:hover {
  color: var(--primary-green);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: brightness(0.7) invert(0.7) sepia(1) hue-rotate(90deg);
}
.footer-contact {
  font-size: 0.95rem;
  color: #e0e0e0;
}
.footer-contact a {
  color: #e0e0e0;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
  padding-top: 0.7rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}

/* Floating Button */
.floating-button {
  position: fixed;
  bottom: 10vw;
  right: 15px;
  z-index: 1000;
  background: var(--primary-green);
  color: var(--text-light);
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-align: left;
  white-space: normal;
  width: auto;
  line-height: 1.2;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.floating-button span {
  display: block;
}
.floating-button:hover {
  background: #004d26;
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .floating-button {
    padding: 16px 24px;
    font-size: 1.1rem;
    border-radius: 30px;
    bottom: 200px;
    right: 30px;
  }
  
  .section { padding: 5rem 2rem; }

.benefits-grid {
    margin: 0 20%;
     grid-template-columns: repeat(3, 1fr);
  }

  .steps {
  width: 60%;
  max-width: none;
  margin: 0 auto;
}

.scroll-btn {
  font-size: 28px;
  width: 52px;
  height: 52px;
}



}
@media (max-width: 1023px) {
  .service-card {
    width: 75vw;
    height: 400px;
    scroll-snap-align: start; /* Snap naar de start van elke card */
  }
  .service-card.expanded {
    min-width: 75vw;
    max-width: 80vw;
    width: 75vw;
    height: auto; /* Automatische hoogte op basis van inhoud */
  }
  .service-content p {
    max-width: 98%;
  }
  .services-grid {
    gap: 0.7rem;
    padding: 0 0.5rem;
  }
}

@media (min-width: 700px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
  }
  .footer-logo, .footer-nav, .footer-social, .footer-contact {
    margin-bottom: 0;
  }
}

/* Contact Banner */
.contact-banner {
  position: relative;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.contact-banner-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.contact-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 51, 102, 0.65);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-banner-overlay h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.contact-banner-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}
.contact-banner-btn {
  background: var(--primary-green);
  color: var(--text-light);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.3s;
  margin-top: 0.5rem;
  display: inline-block;
}
.contact-banner-btn:hover {
  background: #004d26;
}
@media (max-width: 768px) {
  .contact-banner-overlay h2 { font-size: 1.3rem; }
  .contact-banner-overlay p { font-size: 1rem; }
  .contact-banner-overlay { padding: 2rem 0.5rem; }
}

/* FAQ Section */
.faq-list {
  max-width: 700px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--gray-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open {
  box-shadow: 0 4px 16px rgba(0,51,102,0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.2rem 2rem 1.2rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  color: var(--text-dark);
  padding: 0 1.5rem;
  font-size: 1rem;
  transition: max-height 0.3s, padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem;
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes zoomIn {
  0% { transform: scale(1);}
  100% { transform: scale(1.04);}
}

/* =================================
   DETAILED SERVICES CARDS - EXPANDABLE WITH MORE INFO
   ================================= */

.services-section {
  background-color: #003366;
  padding: 3rem 0;
}

.section-title-white {
  color: #fff;
}

.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: -1rem auto 3rem auto;
  max-width: 600px;
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.service-detailed-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-detailed-card:hover {
  border-color: rgba(144, 238, 144, 0.4);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.service-detailed-card.expanded {
  cursor: default;
}

.service-header {
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-icon-large {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  animation: float 3s ease-in-out infinite;
}

.service-header h3 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.service-subtitle {
  color: #90EE90;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 1.5rem 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.expand-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.expand-btn:hover {
  background: rgba(144, 238, 144, 0.3);
  border-color: #90EE90;
  transform: scale(1.05);
}

.service-detailed-card.expanded .expand-btn {
  background: rgba(255, 82, 82, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.service-detailed-card.expanded .expand-btn::before {
  content: "- ";
}

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: rgba(0, 51, 102, 0.3);
  backdrop-filter: blur(10px);
}

.service-detailed-card.expanded .service-body {
  max-height: 1500px;
  padding: 2.5rem 2rem;
}

.service-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features-detailed {
  margin-bottom: 2rem;
}

.service-features-detailed h4 {
  color: #90EE90;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-features-detailed ul {
  list-style: none;
  padding: 0;
}

.service-features-detailed li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}

.service-features-detailed li:last-child {
  border-bottom: none;
}

.service-features-detailed li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #90EE90;
  font-weight: bold;
  font-size: 1.3rem;
}

.service-features-detailed li strong {
  color: #fff;
  font-weight: 700;
}

.service-benefit {
  background: rgba(144, 238, 144, 0.1);
  border-left: 4px solid #90EE90;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.service-benefit p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.service-partners {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.service-partners h4 {
  color: #90EE90;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.partner-logos-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-logos-inline img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(1) grayscale(0);
  transition: transform 0.3s ease;
}

.partner-logos-inline img:hover {
  transform: scale(1.1);
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.partner-logos-grid img {
  height: 35px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1) grayscale(0);
  transition: transform 0.3s ease;
}

.partner-logos-grid img:hover {
  transform: scale(1.15);
}

/* Responsive */
@media (min-width: 768px) {
  .services-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-header {
    min-height: 280px;
  }
  
  .partner-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .partner-logos-grid img {
    height: 40px;
  }
}

@media (min-width: 1200px) {
  .services-detailed-grid {
    gap: 2.5rem;
  }
  
  .service-detailed-card {
    transition: all 0.4s ease, grid-column 0.4s ease;
  }
  
  /* When expanded, take full width */
  .service-detailed-card.expanded {
    grid-column: 1 / -1;
  }
}

.hero-services .hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-services .hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.logo-slider-container {
  width: 100%;
  overflow-x: hidden;
  background: var(--gray-light);
  margin-top: 1.5rem;
  padding: 0.7rem 0;
  position: relative;
}

.logo-slider {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  width: max-content;
  animation: logo-scroll 30s linear infinite; /* Langere duur voor soepelheid */
  will-change: transform; /* Optimaliseert animatieprestaties */
}

.logo-slider img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2) brightness(0.95);
  user-select: none;
  pointer-events: none;
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.34%); } /* Verplaatst een derde van de totale breedte */
}

.logo-slider-container::-webkit-scrollbar {
  display: none;
}
.logo-slider-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .logo-slider-container {
    padding: 0.5rem 0;
  }
  .logo-slider img {
    height: 32px;
  }
}

/* Enhanced service items for diensten page */
.service-icon {
  font-size: 3rem;
  margin: 0 auto 1.5rem auto;
  display: block;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.1);
}

/* Improved service features styling */
.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-item strong {
  color: var(--primary-blue);
  font-size: 1.2em;
}

/* Pas de service-item aan voor meer ruimte */
.service-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--gray-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,102,51,0.1);
}

.service-item:hover {
  box-shadow: 0 8px 30px rgba(0,51,102,0.15);
  transform: translateY(-2px);
}

.service-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: justify;
}

.service-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.3s;
}

.service-item:hover .service-image::before {
  opacity: 0.8;
}

/* Shipping slider aanpassing - kopieer de bestaande logo-slider CSS en pas id aan */
#shippingSlider {
  display: flex;
  gap: 5rem; /* Grotere gap voor minder logo's */
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: logo-scroll 20s linear infinite; /* Langzamere animatie voor minder logo's */
}

#shippingSlider img {
  height: 80px; /* Grotere logo's voor verzending */
  width: auto;
  object-fit: contain;
  filter: grayscale(0) brightness(1); /* Kleurrijk voor partners */
  user-select: none;
  pointer-events: none;
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* Media queries voor mobiel */
@media (max-width: 767px) {
  .service-item {
    padding: 1.5rem;
  }
  .service-item h3 {
    font-size: 1.6rem;
  }
  .service-features li {
    font-size: 0.95rem;
  }
  #shippingSlider img {
    height: 40px;
  }
  .logo-slider img {
    height: 32px;
  }
}

@media (min-width: 768px) {
  .service-image {
    display: block; /* Zorg dat images zichtbaar blijven op desktop als gewenst */
  }
}
.benefits {
  background: #003366;
  color: #fff;
  position: relative;
  z-index: 1;
}
.benefits h2,
.benefits .benefit-card h3 {
  color: #fff;
}
.benefits .benefit-card {
  background: rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: none;
}
.wave-top,
.wave-bottom {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
}
.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave-bottom {
  margin-bottom: -1px;
  margin-top: -1px;
}
.wave-top .wave-desktop,
.wave-bottom .wave-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .wave-top .wave-mobile,
  .wave-bottom .wave-mobile {
    display: none;
  }
  .wave-top .wave-desktop,
  .wave-bottom .wave-desktop {
    display: block;
    width: 100%;
    height: 120px;
  }
}

/* =================================
   HOE WERKT FULFILMENT PAGE STYLES
   ================================= */

/* General Section Styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  overflow: visible;
}

/* All sections should not exceed viewport width */
section {
  width: 100%;
  max-width: 100vw;
  overflow: visible;
}

.section-title, .section-title-white {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.2;
  word-wrap: break-word;
}

/* Hero Small */
.hero-small {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
  width: 100%;
}

.hero-small-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: translateY(0) !important;
  transition: none !important;
}

.hero-small-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-small-content {
  text-align: center;
  color: var(--text-light);
  padding: 0 1rem;
}

.hero-small-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
}

/* Intro Section */
.intro-section {
  padding: 4rem 0;
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-badge {
  display: inline-block;
  background: var(--primary-green);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.intro-text p {
  margin-bottom: 1.5rem;
}

.intro-text strong {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: #004d26; /* Donkerder groen voor achtergrond */
  width: 100%;
  overflow: visible;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
}

.benefits-section .benefit-card {
  background: var(--primary-green); /* Groene achtergrond voor cards */
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  color: var(--text-light); /* Witte tekst voor contrast */
}

.benefits-section .benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--text-light); /* Witte border bij hover */
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefits-section .benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light); /* Witte titel */
  margin-bottom: 1rem;
}

.benefits-section .benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light); /* Witte tekst */
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: calc(3rem) !important; /* Center op mobiel */
  }
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-top: 1rem;
  font-style: italic;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: calc(4rem - 6px); /* 2rem + helft van de lijnbreedte (3px) */
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}

.process-step {
  position: relative;
  width: 95%;
  padding: 2rem 0 2rem 6.5rem;
  margin-bottom: 2rem;
  margin-left: 1.5rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 2rem;
  width: 4rem;
  height: 4rem;
  background: var(--primary-green);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 102, 51, 0.3);
  z-index: 2;
}

.step-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-green);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  overflow: visible;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-subtitle {
  font-size: 1.3rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* White text styles for blue background */
.pricing-section.blue-bg .section-title,
.pricing-section.blue-bg .pricing-header h2,
.pricing-section.blue-bg h2.section-title,
.pricing-section.blue-bg .pricing-subtitle,
.pricing-section.blue-bg .pricing-intro,
.pricing-section.blue-bg .pricing-intro p {
  color: var(--text-light) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--text-light) !important;
  background-clip: unset !important;
  transition: color 0.6s ease;
}

.pricing-section.blue-bg .pricing-subtitle {
  color: #90EE90 !important; /* Light green for better contrast on blue */
  -webkit-text-fill-color: #90EE90 !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
}

.pricing-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.pricing-card li::before {
  content: '•';
  color: var(--primary-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-benefits {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.pricing-benefits h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  text-align: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-check {
  color: var(--primary-green);
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-example {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
}

.pricing-example h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.example-order {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.order-item {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.order-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-breakdown span {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  color: var(--text-light);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.cta-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  background: white;
  color: var(--primary-blue);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  background: var(--gray-light);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* =================================
   ADDITIONAL INTERACTIVE EFFECTS
   ================================= */

/* Ripple effect for CTA button */
.cta-button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 51, 102, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced hover effects */
.step-content {
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
}

.step-content:hover::before {
  left: 100%;
}

/* Floating animation for icons */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.benefit-icon,
.pricing-icon,
.step-icon {
  animation: float 3s ease-in-out infinite;
}

.benefit-card:nth-child(2n) .benefit-icon,
.pricing-card:nth-child(2n) .pricing-icon {
  animation-delay: -1.5s;
}

.benefit-card:nth-child(3n) .benefit-icon,
.pricing-card:nth-child(3n) .pricing-icon {
  animation-delay: -3s;
}

/* Gradient text effect for main titles */
.section-title {
  background: var(--primary-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-white {
  background: var(--bg-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced timeline line with gradient */
.process-timeline::before {
  background: linear-gradient(to bottom, 
    var(--primary-green) 0%, 
    var(--primary-blue) 50%, 
    var(--primary-green) 100%);
  box-shadow: 0 0 10px rgba(0, 102, 51, 0.3);
}

/* Pulsing effect for step numbers when in view */
@keyframes pulse {
  0% { box-shadow: 0 4px 15px rgba(0, 102, 51, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(0, 102, 51, 0.6); }
  100% { box-shadow: 0 4px 15px rgba(0, 102, 51, 0.3); }
}

.step-number.highlight {
  animation: pulse 2s ease-in-out infinite;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .benefit-icon,
  .pricing-icon,
  .step-icon {
    animation-duration: 4s; /* Slower on mobile for better performance */
  }
  
  .step-content:hover::before {
    display: none; /* Disable hover effects on mobile */
  }
}

/* Improved accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-up,
  .fade-in-scale,
  .slide-in-left,
  .slide-in-right,
  .slide-in-bottom,
  .benefit-icon,
  .pricing-icon,
  .step-icon,
  .step-number {
    animation: none !important;
    transition: none !important;
  }
  
  .fade-in,
  .fade-in-up,
  .fade-in-scale,
  .slide-in-left,
  .slide-in-right,
  .slide-in-bottom {
    opacity: 1;
    transform: none;
  }
}

/* =================================
   ANIMATION CLASSES
   ================================= */

/* Fade in animations - Default visible, animate when loaded */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s ease;
}

.fade-in:not(.animate) {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.fade-in-up:not(.animate) {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-scale {
  opacity: 1;
  transform: scale(1);
  transition: all 0.25s ease;
}

.fade-in-scale:not(.animate) {
  opacity: 0;
  transform: scale(0.95);
}

.fade-in-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Slide in animations */
.slide-in-left {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.slide-in-left:not(.animate) {
  opacity: 0;
  transform: translateX(-30px);
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.slide-in-right:not(.animate) {
  opacity: 0;
  transform: translateX(30px);
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.25s ease;
}

.slide-in-bottom:not(.animate) {
  opacity: 0;
  transform: translateY(30px);
}

.slide-in-bottom.animate {
  opacity: 1;
  transform: translateY(0);
}

/* =================================
   RESPONSIVE DESIGN FIXES
   ================================= */

/* Prevent horizontal overflow */
* {
  max-width: 100%;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow: visible;
}

/* Fix specific elements that might cause overflow */
.benefits-grid,
.pricing-grid,
.process-timeline {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.benefit-card,
.pricing-card,
.step-content {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Process timeline responsive fixes */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

/* Ensure all text content wraps properly */
h1, h2, h3, h4, h5, h6, p, div, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-small-content h1 {
    font-size: 4rem;
  }
  
  .section-title, .section-title-white {
    font-size: 3rem;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .order-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 767px) {
  .hero-small {
    height: 300px;
    min-height: 250px;
  }
  
  .hero-small-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title, .section-title-white {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .process-step {
    padding-left: 3.5rem;
  }
  
  .step-number {
    margin-left: 0.2rem;
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.2rem;
  }
  
  .process-timeline::before {
    left: 1.5rem;
  }

  /* Extra mobile overflow fixes */
  .container {
    padding: 0 0.5rem;
  }
  
  .benefit-card,
  .pricing-card {
    padding: 1.5rem;
  }
}

/* =================================
   ADDITIONAL OVERFLOW FIXES
   ================================= */

/* Ensure all main sections don't overflow */
.intro-section,
.benefits-section,
.process-section,
.pricing-section,
.cta-section {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
}

/* Fix any remaining grid issues */
.benefits-grid,
.pricing-grid {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Fix step content overflow */
.step-content {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Ensure CTA section doesn't overflow */
.cta-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Fix any button overflow */
.cta-button {
  max-width: 100%;
  word-wrap: break-word;
}

/* Ensure footer doesn't overflow */
footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.footer-main {
  width: 100%;
  max-width: 100%;
}

/* Accessibility fixes - button styling to match original anchor styles */
.nav-contact-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.nav-contact-btn:focus,
button:focus,
a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-contact-btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 3px;
}

/* Improved contrast for accessibility */
.hero-content p,
.hero-small-content p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-green);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10001;
  border-radius: 0 0 4px 0;
}

.skip-to-main:focus {
  top: 0;
}

/* Better tap targets for mobile */
@media (max-width: 767px) {
  button,
  a,
  .nav-contact-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

.footer-contact-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color 0.2s;
}

.footer-contact-btn:hover {
  color: var(--primary-green);
  text-decoration: underline;
}



/* Image with interactive behavior */
img[role="button"] {
  cursor: pointer;
}

img[role="button"]:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Nieuwe CSS voor logo knoppen */
.logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}

.logo-btn:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Pricing Details Section (for benefits and example) */
.pricing-details-section {
  padding: 4rem 0;
  background: var(--bg-light);
  overflow: visible;
}

/* Pricing cards styling when blue background is active */
.pricing-section.blue-bg .pricing-card {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease;
}

.pricing-section.blue-bg .pricing-card h3 {
  color: var(--text-light) !important;
}

.pricing-section.blue-bg .pricing-card li {
  color: var(--text-light) !important;
}

.pricing-section.blue-bg .pricing-card li::before {
  color: #90EE90 !important; /* Light green bullets for contrast */
}

.pricing-section.blue-bg .pricing-subtitle {
  color: #90EE90 !important; /* Light green for better contrast on blue */
  -webkit-text-fill-color: #90EE90 !important;
}

/* ========================================
   DIENSTEN PAGINA STYLING
   ======================================== */

/* Service Detail Sections */
.service-detail-section {
  padding: 4rem 2rem;
  background: var(--bg-light);
  position: relative;
}

.service-detail-section.alt-bg {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2f0 100%);
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-image {
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  aspect-ratio: 4/3;
  display: block;
}

.service-detail-image.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 102, 51, 0.15);
  display: block;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.service-detail-image img:hover {
  border-color: var(--primary-green);
  box-shadow: 0 12px 40px rgba(0, 102, 51, 0.25);
  transform: translateY(-5px);
}

.service-detail-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-detail-text.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-detail-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Voeg specifieke vertragingen toe aan kind-elementen */
.service-detail-text h2 {
  transition-delay: 0s;
}

.service-detail-text p {
  transition-delay: 0.2s;
}

.service-detail-text h3 {
  transition-delay: 0.4s;
}

.service-detail-text .service-features {
  transition-delay: 0.6s;
}

.service-detail-text .service-benefit-box {
  transition-delay: 0.8s;
}

/* Oneven secties (1e, 3e, 5e) - Blauw */
.service-detail-section:nth-child(odd) .service-detail-text h2 {
  color: var(--primary-blue);
}

/* Even secties (2e, 4e, 6e) - Groen */
.service-detail-section:nth-child(even) .service-detail-text h2 {
  color: var(--primary-green);
}

.service-detail-text .service-subtitle {
  font-size: 1.1rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

.service-detail-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.service-detail-text h3 {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin: 2rem 0 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-detail-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.service-features li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  line-height: 1.7;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.service-features li:hover {
  padding-left: 2.3rem;
  color: var(--primary-blue);
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.service-features li:hover::before {
  transform: scale(1.2);
  color: var(--primary-blue);
}

.service-benefit-box {
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
  box-shadow: 0 6px 25px rgba(0, 102, 51, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Oneven secties (1e, 3e, 5e) - Blauw */
.service-detail-section:nth-child(odd) .service-benefit-box {
  background: var(--primary-blue);
}

/* Even secties (2e, 4e, 6e) - Groen */
.service-detail-section:nth-child(even) .service-benefit-box {
  background: var(--primary-green);
}

.service-benefit-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.service-benefit-box strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Partners Section */
.partners-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #004d7a 100%);
  text-align: center;
  color: var(--text-light);
}

.partners-section .section-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.partners-intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 1rem auto 3rem;
  max-width: 700px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.partners-grid.animate {
  opacity: 1;
  transform: translateY(0);
}

.partner-logo-box {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border: 2px solid transparent;
}

.partner-logo-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 102, 51, 0.3);
  border-color: var(--primary-green);
}

.partner-logo-box img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* Integrations Section */
.integrations-section {
  padding: 4rem 2rem;
  background: var(--primary-blue);
  color: var(--text-light);
  text-align: center;
}

.integrations-section .section-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.integrations-intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 1rem auto 3rem;
  max-width: 700px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.integrations-grid.animate {
  opacity: 1;
  transform: translateY(0);
}

.integration-logo-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-logo-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.integration-logo-box img {
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.integration-logo-box:hover img {
  opacity: 1;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .service-detail-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .service-detail-content.reverse {
    flex-direction: row-reverse;
  }

  .service-detail-image,
  .service-detail-text {
    flex: 1;
  }

  .service-detail-text h2 {
    font-size: 2.5rem;
  }

  .partners-grid {
    gap: 3rem;
  }

  .integrations-grid {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .service-detail-section {
    padding: 6rem 2rem;
  }

  .partners-section,
  .integrations-section {
    padding: 5rem 2rem;
  }
}

/* ========== OVER ONS PAGE STYLES ========== */

/* About Photo Section */
.about-photo-section {
  margin-top: 0;
  width: 100%;
  background: #f8f9fa;
}

.about-photo-container {
  max-width: 100%;  
  margin: 0 auto;
  padding: 0 0 10px 0;
  /* Voeg aspect-ratio toe om layout shifts te voorkomen */
  aspect-ratio: 16/9;
}

.about-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  /* Voeg will-change toe voor betere performance */
  will-change: auto;
}

/* About Content Section */
.about-content {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 1.5rem;
  /* Voorkom layout shifts */
  min-height: 100vh;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.about-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-text-highlight {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  padding: 2rem;
  border-radius: 12px;
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  max-width: 800px;
}

.about-text-highlight p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
}

.about-text-highlight strong {
  font-weight: 700;
}

/* About Story Section */
.about-story {
  margin-bottom: 4rem;
}

.about-story-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  /* Verwijder transition op mobiel, voeg alleen toe op desktop */
  transition: none;
  /* Voorkom repaints tijdens scroll */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Hover effecten alleen op desktop (niet-touch devices) */
@media (hover: hover) and (pointer: fine) {
  .about-story-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .about-story-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
}

.about-story-section h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-story-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  border-radius: 2px;
}

.about-story-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-story-section p:last-child {
  margin-bottom: 0;
}

.about-story-section strong {
  color: var(--primary-green);
  font-weight: 600;
}

.about-story-section em {
  font-style: italic;
  color: var(--primary-blue);
}

/* About CTA Section */
.about-cta {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 10px 30px rgba(0, 102, 51, 0.2);
}

.about-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Mobile optimalisaties */
@media (max-width: 768px) {
  .about-content {
    padding: 2rem 1rem;
  }
  
  .about-photo-container {
    aspect-ratio: 4/3;
  }
  
  .about-intro h2 {
    font-size: 1.8rem;
  }
  
  .about-text-highlight {
    padding: 1.5rem;
  }
  
  .about-text-highlight p {
    font-size: 1rem;
  }
  
  .about-story-section {
    padding: 1.5rem;
    /* Extra stabiliteit op mobiel */
    transform: translate3d(0, 0, 0);
  }
  
  .about-story-section h3 {
    font-size: 1.5rem;
  }
  
  .about-story-section p {
    font-size: 1rem;
  }
  
  .about-cta {
    padding: 2rem 1.5rem;
  }
  
  .about-cta h3 {
    font-size: 1.5rem;
  }
}

/* Performance optimalisaties */
@media (prefers-reduced-motion: reduce) {
  .about-story-section,
  .about-story-section:hover {
    transition: none;
    transform: none;
  }
}

/* Values Section */
.about-values {
  margin-bottom: 4rem;
}

.about-values h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 102, 51, 0.15);
  border-color: var(--primary-green);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
}

.value-card h4 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* About CTA Section */
.about-cta {
  background: var(--primary-blue);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 10px 40px rgba(0, 51, 102, 0.2);
}

.about-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.about-cta .cta-button {
  background: white;
  color: var(--primary-green);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (min-width: 768px) {
  .about-photo {
    max-height: 550px;
  }

  .about-content {
    padding: 6rem 2rem;
  }

  .about-intro h2 {
    font-size: 3rem;
  }

  .about-text-highlight p {
    font-size: 1.3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about-story-section {
    padding: 3rem;
  }

  .about-cta {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .about-photo {
    max-height: 600px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .about-intro h2 {
    font-size: 3.5rem;
  }

  .about-story-section h3 {
    font-size: 2rem;
  }

  .about-story-section p {
    font-size: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .about-container {
    max-width: 1200px;
  }
}
