:root {
  --color-accent: #0673cc;
  --color-body-bg: #262537;
  --color-secondary: #454462;
  --color-light: #f2f0ef;
  --color-text: #ffffff;
  --color-dark: #18191a;
  --color-black-text: #000000;
  --color-dark-text: #3a3a3a;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "poppins", serif;
  background-color: var(--color-body-bg);
  color: var(--color-text);
  overflow-x: hidden;
  box-sizing: border-box;
}

body.no-scroll {
  overflow: hidden;
}

header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/contact-banner.png");
  height: 80vh;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  text-align: center;
  background-color: #d9d9d9;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Adjust the opacity as needed */
  z-index: 1;
}

header > * {
  position: relative;
  z-index: 2;
}

.content {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Ensures both child elements match height */
  height: 75vh; /* Parent height explicitly set */
  margin: 5% 10%;
}

.whatsapp a {
  text-decoration: underline !important;
  color: var(--color-accent);
}

.whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp img {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translate(-20%, -90%);
  width: 100px ;
}

.width {
  width: 60%;
}
.icon img {
  width: 25px;
}

.info-content p:nth-child(10),
.info-content p:nth-child(11),
.whatsapp a:nth-child(1),
.info-content a:nth-child(14),
.info-content p:nth-child(7) {
  text-decoration: none;
  font-size: 16px;
  margin-left: 45px;
  margin-bottom: 10px;
}

.info-content p:nth-child(10),
.info-content p:nth-child(11) {
  margin-bottom: 5px;
}
.info-content a:nth-child(14) {
  color: var(--color-black-text);
}
.info-content span {
  text-decoration: underline;
}
.align {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center; /* Align items vertically in the center */
  gap: 20px;
  margin: 10px 0;
}

.align img {
  width: 25px !important;
}

.algin img{
  width: 25px !important; 
}

.info-content,
.img-content {
  height: auto;
  color: var(--color-black-text);
}
.info-content {
  background-color: var(--color-light);
  padding: 80px; /* Add padding to create a small gap */
  color: var(--color-black-text);
}

.info-content h2 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 30px;
}

.inleiding {
  margin: 20px 0;
}

.img-content img {
  object-fit: cover; /* Ensures the image scales properly */
  height: 100%; /* Fills the container */
}

hr {
  height: 0px !important;
}

.form-container {
  background: var(--color-light);
  padding: 20px 30px;
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: var(--color-black-text);
  row-gap: 20px;
  width: 100%;
  margin-top: 20px; /* Add margin to separate from other content */
  transform: translate(100%, -100%);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-container input,
.form-container textarea {
  background-color: var(--color-light);
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
  border: none;
  border-bottom: 1px solid var(--color-black-text);
  border-radius: 0;
  outline: none;
  z-index: 5;
}

.form-container textarea {
  resize: none;
  height: 200px;
}

.submit-image {
  display: flex;
  justify-content: flex-start;
  align-self: start;
}

button {
  display: inline-block;
  background: var(--color-dark);
  color: #fff;
  padding: 10% 50%;
  border: none;
  cursor: pointer;
  transition: 0.5s;
  border: 1px solid var(--white);
  font-size: 20px;
  margin-top: 50px;
}

.floating-label-container {
  position: relative;
  margin-top: 20px;
  width: 100%;
}

.floating-label-container input,
.floating-label-container textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--color-black-text);
  outline: none;
  background-color: var(--color-light);
}

.floating-label-container label {
  position: absolute;
  top: 10px;
  left: 10px;
  transition: all 0.2s ease-in-out;
  opacity: 0.5;
  pointer-events: none;
}

.floating-label-container input:focus + label,
.floating-label-container input:not(:placeholder-shown) + label,
.floating-label-container textarea:focus + label,
.floating-label-container textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 5px;
  font-size: 0.8em;
  opacity: 1;
  background-color: var(--color-light);
  padding: 0 5px;
}

@media (max-width: 1350px) {
  .form-container {
    transform: translate(80%, -112%);
    width: 130%;
  }
  .info-content h2 {
    font-size: 30px;
  }
  hr {
    margin: 0 10px 0 0 !important;
  }
  .whatsapp img {
    transform: translate(0%, -90%);
    width: 50px !important;

  }
}

@media (max-width: 1200px) {
  header {
    height: 80vh;
  }
  .info-content h2 {
    font-size: 25px;
  }
}

@media (max-width: 1125px) {
  .content {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 5% 10%;
  }

  .info-content{
    height: 750px;
  }

  .width, .img-content {
    width: 100%; 
  }

  .img-content img {
    width: 100%; 
    height: auto; 
    content: url("../img/content-img2.png"); 

  }

  .inleiding {
    font-size: 14px;
  }

  .form-container {
    width: 100%; 
    transform: translate(-25px, 100px); 
  }

  .whatsapp img {
    transform: translate(45%, -90%);
  }

  .align p {
    font-size: 14px;
  }

  .content p {
    font-size: 14px;
  }
 
}

@media (max-width: 800px) {
  header {
    clip-path: none;
  }

  header {
    height: 70vh;
  }
}

@media (max-width: 650px){
  .form-container{
    transform: translate(-25px, 50px);   
  }
}

@media (max-width: 480px) {
  .content{
    margin: 5% 5%;
  }
  header {
    height: 50vh;
  }
  .form-container{
    transform:translate(-25px, 20px);
  }
}
