html {
  overflow-x: hidden;
}

body {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  overflow-x: hidden;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  color: #0c1973;
  line-height: 1.2;
}

h2 {
  font-size: 40px;
  font-weight: 600;
  color: #091070;
  line-height: 1.3;
}

p {
  font-size: 16px;
  color: #444444;
  line-height: 1.6;
}
pfooter {
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.6;
}

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Arial', sans-serif; background-color: #fff; color: #1a1a1a; line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    
    header { background: #0c1973; color: white; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
    .logo { font-size: 2rem; font-weight: bold; }
    .logo span { color: #00c8d7; }
    .cta-group { text-align: right; }
    .cta-group .buttons { display: flex; gap: 10px; margin-bottom: 4px; justify-content: flex-end; }
    .cta-group .buttons a { background: red; color: white; padding: 0.5rem 1rem; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }

    .hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 4rem; padding-bottom: 4rem; height:100%; width:100%; }
    .hero-text { flex: 1; max-width: 45%; }
    .hero-text h1 { font-size: 2.8rem; color: #0c1973; margin-bottom: 1rem; }
    .hero-text .underline { width: 100px; height: 4px; background: #00c8d7; margin-bottom: 1rem; }
    .hero-text p { margin-bottom: 1.5rem; font-size: 1.05rem; color: #444; }
    .hero-text a.button { background: #00c8d7; color: white; padding: 0.8rem 3rem; border-radius: 4px; font-weight: bold; font-size: 1rem; display: inline-block; }
    .hero-image { width: 35%; aspect-ratio: 1; height: auto; overflow:hidden; position: relative; border-radius: 8px;}
    .hero-image img { vertical-align: middle; width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
    .hero-bg-image { position: relative; width: 35%; height:100%;}
    .hero-bg-image .hero-image { width: 100%;}

    .usp-section { background-color: #0c1973; position: relative; padding: 4rem 2rem; overflow: hidden; }
    .usp-section::before, .usp-section::after {
      content: ''; position: absolute; background: #dff6fa; width: 200px; height: 200px; z-index: 0;
    }
 .usp-section-custom {
    background-color: #0c1973;
    padding: 4rem 0;
    margin: 5rem 10rem;
    position: relative;
  }
  .usp-section-custom::before,
  .usp-section-custom::after {
    content: '';
    position: absolute;
    background: #00B1CB33;
    width: 400px;
    height: 140%;
    z-index: -1;
  }
  .usp-section-custom::before {
    top: 0;
    right: 90%;
  }
  .usp-section-custom::after {
    bottom: 0;
    left: 90%;
  }
  .usp-container-custom {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .usp-block {
    text-align: center;
    color: white;
    flex: 1;
    padding: 0 1rem;
    position: relative;
  }
  .usp-block:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 100px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
  }
  .usp-icon {
    background: white;
    color: #0c1973;
    font-size: 2rem;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
  }
  .usp-icon svg {
    width: 100%;
    height: 60%;
  }
  .usp-text {
    font-weight: 500;
    font-size: 1rem;
  }
    .usp-section::before { top: -50px; left: -50px; }
    .usp-section::after { bottom: -50px; right: -50px; }
    .usp-container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 2rem; color: white; text-align: center; }
    .usp-item { flex: 1; min-width: 150px; }
    .icon-circle { background: white; color: #0c1973; font-size: 2rem; border-radius: 50%; width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; margin: 0 auto 1rem; }
    .usp-item p { font-size: 1rem; font-weight: 500; }
/* Algemene header styling */
.header {
  background-color: #0c1973;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 10rem;
  color: white;
}

/* Logo links */
.header-left h1 {
  font-size: 2rem;
  color:white;
}

.header-left .logo {
  height: 60px;
}

/* Rechtersectie header */
.header-right {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.header-right .col {
  display: flex;
  flex-direction: column;
  gap:0.5rem;
}

.header-right .col .row {
  display: flex;
  gap: 2rem;
}

.header .help-text {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.header .help-text:after {
  content: '';
  position: absolute;
  bottom:-0.5rem;;
  left:40%;
  right:30%;
  display: block;
  height: 2px;
  background-color:white;
  margin-top: 0.5rem;
}

/* CTA knoppen */
.cta-buttons {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 0.2rem;
}

.cta-button {
  background-color: red;
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 4px;
  font-weight: bolder;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}

.availability {
  position: absolute;
  bottom:-1.5rem;
  left:0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

section { padding-left: 10rem; padding-right: 10rem; }

div > .testimonie {
  position: relative;
  border-radius:8px 8px 0 0; 
  box-shadow:0 10px 20px rgba(0,0,0,0.05);
  padding: 2rem 2rem 0 2rem;
}

.testimonie h4 {
  text-align: center;
}
.testimonie:after {
  content: '';
  position: absolute;
  left:0;
  width: 100%;
  height: 40%;
  background: black;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  background-color: rgb(255, 255, 255);
  box-shadow:0 10px 20px rgba(0,0,0,0.05);
}
.testimonie::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -5px;
  width: calc(100% + 10px);
  height: 50%;
  background: rgba(101, 101, 101, 0.11); 
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 86%);
}

footer {
  position: relative;
  height: 40rem;
  background-image: url('https://i.imgur.com/vkAYOfI.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

footer .logo img {
  width: 15rem;
}

footer .container {
  position: absolute;
  bottom:0;
  left:0;
  right:0;
  display: flex;
  align-items: center;
  gap:10rem;
  padding: 2rem 10rem;
  background-color: #091070;
  color:white;
  max-width: none;
}

footer .container a {
  color:white;
  text-decoration: none;
}

footer .container .logolinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .container .logolinks .links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

footer .container .center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .container .center > div {
  display: flex;
  justify-content: space-between;
  gap:0.2rem;
}

footer .container .center > div:first-of-type {
  border-bottom: solid 1px white;
  padding-bottom: 1rem;
  gap:1rem;
}

footer .container pfooter {
  display: flex;
  gap:0.2rem;
  align-items: center;
}

footer .container pfooter .icon-circle {
  height: 30px;
  width: 30px;
  margin: 0;
}

footer .container pfooter .usp-icon {
  height: 30px;
  width: 30px;
  margin: 0;
}

footer .container .form-container {
  position: absolute;
  right:10rem;
  bottom:1rem;
  height:35rem;
  width: 40vw;
  border:1px solid white;
  padding:1rem;
}

footer .container .form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border:1px solid white;
  padding:2rem;
  height:100%;
  background-color: white;
  color:black;
}

footer .container .form h2 {
  color:#091070;
  text-align: center;
  margin-bottom: 3rem;
}

footer .container .form form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

footer .container .form form > div:nth-of-type(1) {
  grid-area: 1 / 1 / 2 / 2;
}
footer .container .form form > div:nth-of-type(2) {
  grid-area: 1 / 2 / 2 / 3;
}
footer .container .form form > div:nth-of-type(3) {
  grid-area: 2 / 1 / 3 / 2;
}
footer .container .form form > div:nth-of-type(4) {
  grid-area: 2 / 2 / 3 / 3;
}
footer .container .form form > div:nth-of-type(5) {
  grid-area: 3 / 1 / 4 / 3;
}

footer .container .form form > div:nth-of-type(5) textarea {
  height:5rem;
}

footer .container .form form > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer .container .form form input, 
footer .container .form form textarea, 
footer .container .form form select {
  border: 0;
  background-color: #00B1CB1A;
  height:3rem;
  width:100%;
}

.popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}

.popup .popup-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gaP: 5px;
  width: 80px;
  height: 80px;
  background-color: red;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.popup .popup-link svg {
  width: 40%;
  height: 40%;
  fill: white;
}

.popup .popup-link span {
  font-size:12px;
}

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

  @media (max-width: 1784px) {
    footer .container {
      gap:3rem;
    }
  }

  @media (max-width: 1596px) {
    footer .container {
      flex-direction: column;
      align-items: flex-start;
    }

    .hero-image {
      /* aspect-ratio: 1; */
    }
  }

  @media (max-width: 1398px) {

    header.header {
      justify-content: center;
      gap: 1rem;
    }
    
    .testimonies .testimonie:first-of-type:before,
    .testimonies .testimonie:nth-of-type(2):before {
      content: none;
    }
    .testimonies .testimonie:first-of-type,
    .testimonies .testimonie:nth-of-type(2) {
      margin-bottom: 8rem;
    }

    .hero-image {
      /* aspect-ratio: 1/1; */
    }
  }

  @media (max-width: 1200px) {
    .hero-image {
      /* aspect-ratio: 3/4; */
    }
  }

  @media (max-width: 1120px) {
    footer .container {
      padding: 4rem 2rem;
    }

    footer .container .form-container {
      right: 2rem;
    }
  }

  @media (max-width: 1090px) {
    .hero {
      flex-direction: column;
      align-items: center !important;
      gap: 1rem;
    }

    .hero .hero-text {
      max-width: 80%;
    }

    .hero .hero-image {
      width: 70%;
      /* aspect-ratio: 4/3; */
    }

    .hero .hero-bg-image {
      width: 70%;
    }

    .hero .hero-bg-image .hero-image {
      width: 100%;
    }

    section {
      padding-left: 0;
      padding-right: 0;
    }
    
    .testimonies {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .testimonies .testimonie:before {
      content: none;
    }

    .testimonies .testimonie:last-of-type:before {
      content:'';
    }

    footer {
      height: 50rem;
    }

    .form-container {
      height: 47rem !important;
    }

    #contact-form {
      grid-template-columns: 1fr;
    }

    #contact-form > * {
      grid-area:auto !important;
    }
  }

  @media (max-width: 768px) {
    header.header .header-right {
      flex-direction: column;
      gap: 2rem !important;
    }
    .hero, .usp-container, .usp-container-custom { flex-direction: column; text-align: center; }
    .hero .underline {
      margin: 0 auto 1rem;
    }
    .hero .hero-image {
      width: 90%;
    }
    section {
      padding-left: 0;
      padding-right: 0;
    }
    .usp-section-custom {
      margin: 0 auto;
      width: 20rem;
    }
    .usp-section-custom:after,
    .usp-section-custom:before {
      /* height:120%; */
      content: none;
    }
    .usp-container-custom {
      gap: 3rem;
    }

    footer {
      height: 62rem;
    }

    footer .container {
      align-items: center;
      padding: 2rem 1rem;
    }

    footer .container .form-container {
      right: 50%;
      bottom: 26rem;
      transform: translateX(50%);
      width: 60vw;
      height: 35rem !important;
    }

    footer .container .form-container #contact-form {
      grid-template-columns: repeat(2, 1fr);
    }

    footer .container .form-container #contact-form > div:nth-of-type(5) {
      grid-area: 3 / 1 / 4 / 3 !important;
    }
  }

  @media (max-width: 609px) {
    #contact-form {
      grid-template-columns: 1fr !important;
    }

    footer {
      height: 78rem;
    }

    footer .container .form-container #contact-form > div:nth-of-type(5) {
      grid-area: auto !important;
    }

    footer .container .form-container {
      height: 51rem !important;
      width: 90vw;
    }
  }

  @media (max-width: 530px) {
    h1 {
      font-size: 2rem !important;
    }

    p {
      white-space: break-spaces;
    }
  }

  @media (max-width: 420px) {
    h2 {
      font-size: 1.8rem !important;
    }
  }

  @media (max-width: 390px) {
    header .header-left h1 {
      font-size: 1.8rem !important;
    }

    p {
      text-align: left;
    }
  }

@media (max-width: 378px) {

  footer {
    height: 80rem;
  }
  footer .container .form-container {
    bottom: 28rem;
  }

  @media (max-width: 350px) {
    header .header-left h1 {
      font-size: 1.6rem !important;
    }

    h1 {
      font-size: 1.8rem !important;
    }
  }