/* style.css */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f0f5f8;
  color: #01507f;
  overflow-x: hidden;
}

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

p {
  line-height:1.5;
}

body {
  width: 100%;
  overflow-x: hidden;
}

header {
  background-color: #f0f5f8;
  color: #01507f;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  background-color: #1d2939;
  background: linear-gradient(
    to bottom,
    rgba(0, 54, 94, 1),
    rgba(0, 33, 57, 1),
    rgba(0, 54, 94, 1)
  );
  color: white;
  text-align: center;
  padding: 50px 20px 70px 20px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 900px;
}

.keyword {
   color: #cf4040;
}


.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.section {
  width: 100%;
  max-width: min(95vw, 1400px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 60px);
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

footer {
  background-color: #f0f5f8;
  color: #01507f;
  text-align: center;
  padding: 20px;
}

.USP-section h2 {
  text-align: center;
}

.usp-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.usp-card {
  flex: 1 1 calc(50% - 20px);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: top;
  text-align:left;
}

.usp-card-sol {
  flex: 1 1 calc(50% - 20px);
  padding: 20px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: top;
  text-align:left;
}

/* Mobile-first (vertical stacking) */
.usp-card-sol:nth-child(1) { order: 1; }
.usp-card-sol:nth-child(2) { order: 2; }
.usp-card-sol:nth-child(3) { order: 3; }
.usp-card-sol:nth-child(4) { order: 4; }
.usp-card-sol:nth-child(5) { order: 5; }
.usp-card-sol:nth-child(6) { order: 6; }
.usp-card-sol:nth-child(7) { order: 7; }
.usp-card-sol:nth-child(8) { order: 8; }

/* Desktop (reorder cards differently) */

@media (min-width: 1200px) {

  .usp-card-sol:nth-child(1) { order: 1; }
  .usp-card-sol:nth-child(2) { order: 2; }
  .usp-card-sol:nth-child(3) { order: 4; }
  .usp-card-sol:nth-child(4) { order: 3; }
  .usp-card-sol:nth-child(5) { order: 5; }
  .usp-card-sol:nth-child(6) { order: 6; }
  .usp-card-sol:nth-child(7) { order: 8; }
  .usp-card-sol:nth-child(8) { order: 7; }


}


.usp-card h3 {
  margin-top: 0;
}

.usp-card-sol h3 {
  margin-top: 0;
  font-size:1.5em;
  padding-top:0.5em;
}

/* Hamburger button styles */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  color:white;
  border: none;
  cursor: pointer;
  padding: 0;
}

#menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #101828; /*#cae0ee*/ 
  border-radius: 2px;
}

/* Navigation styles */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.knop {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size:1.5em;
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s;
  background-color: #012033; /* optioneel basisachtergrond */
  display: inline-block; /* maakt padding & hover correct */
}

.knop:hover {
  background-color: #cae0ee;
  color: #012033;
}

@media (min-width: 1200px) {
  .nav-links li {
    display: flex;
    align-items: center;
  }

.nav-links li a {
  color: #101828;
  background-color:transparent ;
  text-decoration: none;
  font-weight: 600;
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.nav-links li a:hover {
  background-color: #cae0ee;
  color:#101828;
}

}
.nav-link-dropdown {
  display: inline-block;
  color: white;
  background-color: #101828;
  font-weight: 600;
  margin-left: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  vertical-align: middle;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Arrow styling */
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
  font-size:16px;
}

.nav-link-dropdown:hover {
  background-color: #cae0ee;
  color: #101828;
}

.nav-link-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 2px white;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  #menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #101828;
    color:white;
    flex-direction: column;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links li a {
    color: white;
    background-color:transparent ;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
    margin: 12px 0;
    display: block;
  }

.nav-links li a:hover {
  background-color: #cae0ee;
  color:#101828;
}

 /* Fix dropdown appearance and spacing on mobile */
  .nav-link-dropdown {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    background-image: none !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    width: 100%;
    box-sizing: border-box;
    color: white;
    background-color: #101828;
    border-radius: 6px;
    border: 1px solid #101828; /*475467*/
  }

  /* Optionally adjust dropdown font size and height */
  .nav-link-dropdown {
    font-size: 16px;
    height: 40px;
  }
  .usp-grid {
    flex-direction: column;
  }
}

.logo a {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
/*  text-align: center;*/
}

.parallax-section-all {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.1s linear;
    will-change: transform;
  }
.parallax-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

 .slider-container {
      width: 80%;
      margin:0 auto;
      overflow: hidden;
      height: 6em;
      display: flex;
      flex-direction: column;
      gap: 1.5em;
    }

    .line {
      position: relative;
      white-space: nowrap;
      font-size: 0.8em;
      height: 1.7em;
      /* Fade at edges */
      mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
      overflow: hidden;
    }

    .scroll-wrapper {
      display: inline-block;
      /* Make width big enough to hold repeated text */
      white-space: nowrap;
      animation-name: scroll-left;
      animation-duration: 35s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
    }

    .scrolling-text {
      display: inline-block;
      padding-right: 0.5em;
    }

    /* Repeat the text many times for seamless scroll */
    .scrolling-text-group {
      display: inline-flex;
    }

    /* Stagger animation start */
    .line:nth-child(1) .scroll-wrapper {
      animation-delay: 0s;
    }
    .line:nth-child(2) .scroll-wrapper {
      animation-delay: 0s;
    }
    .line:nth-child(3) .scroll-wrapper {
      animation-delay: 8s;
    }

    /* Animate the entire width */
    @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }
      100% {
        /* scroll full width of the repeated text */
        transform: translateX(-50%);
      }
    }

.hover-tag {
  display: inline-block;
  padding: 0.2em 0.6em;
  border: 1px solid silver;
  border-radius: 5px; /* pill shape */
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.hover-tag:hover {
  background-color: rgba(0, 0, 0, 0.2); /* subtle dark hover */
  border: 1px solid white;
}

/* contactformulier */

/* Container voor het formulier centreren */
.contact-form {
  width: 80%;
  max-width: 400px;
  margin: 0 auto; /* centreert horizontaal */
}

/* Algemene form group spacing */
.form-group {
  margin-bottom: 15px;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-weight: 500;
}

/* Text input velden */
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid white;
  border-radius: 5px;
  background-color: transparent;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #ccc;
}

/* Textarea veld (nieuw veld) */
.form-group textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid white;
  border-radius: 5px;
  background-color: transparent;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  box-sizing: border-box;
}

.form-group textarea::placeholder {
  color: #ccc;
}

/* Focus effect voor inputs en textarea */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffc229;
  box-shadow: 0 0 5px rgba(255, 194, 41, 0.5);
  outline: none;
}

/* Knop */
.send-button {
  background-color: #cf4040;
  border: none;
  width: 100%;
  height: 3em;
  font-size: 1em;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  border: 1px solid silver;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.send-button:hover {
  background: #8f2424;
  border: 1px solid #8f2424;
  color: white;
}

/* Berichtmelding */
.message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.message.success {
  background-color: #2ecc71;
  color: white;
}

.message.error {
  background-color: #e74c3c;
  color: white;
}

    /* style for pricing with 3 options */

    .responsive-table-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: space-between;
}

.table-card {
  flex: 1 1 calc(33.333% - 20px);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  min-width: 250px;
  box-sizing: border-box;
}

.table-card h4 {
  margin-top: 0;
  font-size: 18px;
  color: #1f2937;
}

.table-card p {
  margin: 6px 0;
  color: #4b5563;
  font-size: 15px;
}

@media (max-width: 768px) {
  .responsive-table-cards {
    flex-direction: column;
  }

  .table-card {
    flex: 1 1 100%;
  }
}

/* image timeline */

.timeline {
  width:300px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobile.png');
  background-size: cover;
  background-position: center;
}

@media (min-width: 400px) {
  .timeline {
  width:400px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobile.png');
  background-size: cover;
  background-position: center;
  }
}

@media (min-width: 850px) {
  .timeline {
    width: 850px;
    height:415px;
    background-image: url('/assets/timelinedesktop.png');
  }
}

/* image timelinefr */

.timelinefr {
  width:300px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobilefr.png');
  background-size: cover;
  background-position: center;
}

@media (min-width: 400px) {
  .timelinefr {
  width:400px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobilefr.png');
  background-size: cover;
  background-position: center;
  }
}

@media (min-width: 850px) {
  .timelinefr {
    width: 850px;
    height:415px;
    background-image: url('/assets/timelinedesktopfr.png');
  }
}

/* image timelineen */

.timelineen {
  width:300px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobileen.png');
  background-size: cover;
  background-position: center;
}

@media (min-width: 400px) {
  .timelineen {
  width:400px;
  aspect-ratio: 1 / 1.5; 
  background-image: url('/assets/timelinemobileen.png');
  background-size: cover;
  background-position: center;
  }
}

@media (min-width: 850px) {
  .timelineen {
    width: 850px;
    height:415px;
    background-image: url('/assets/timelinedesktopen.png');
  }
}

/* vimeo-window */

.vimeo-window {
    padding:100% 0 0 0;
    position:relative;
    border-radius:10px;
    border:10px solid #0b0c1f;
    width:85vw;
    margin: 0 auto;
    background-color:#0b0c1f;
}

@media (min-width: 750px) {
  .vimeo-window {
    padding:70% 0 0 0;
    width:700px;
  }
}

/* vimeo-window-hallo */

.vimeo-window-hallo {
    padding:60% 0 0 0;
    position:relative;
    border-radius:10px;
    border:10px solid #0b0c1f;
    width:85vw;
    margin: 0 auto;
    background-color:#0b0c1f;
}

@media (min-width: 750px) {
  .vimeo-window-hallo {
    padding:40% 0 0 0;
    width:700px;
  }
}