@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 20px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  max-height: 600px;
}

p,
h1,
h2,
h3,
h4,
h5,
strong {
  margin-block: 0;
}

p {
  font-size: 22px;
}

h1 {
  font-size: calc(3.125rem + ((1vw - 7.68px) * 1.7361));
}

h2,
.overview-text {
  font-size: calc(1.5625rem + ((1vw - 7.68px) * 1.3021));
  font-weight: 700;
  color: #29335c;
}
h3 {
  font-size: calc(1.25rem + ((1vw - 7.68px) * 0.8681));
  color: #29335c;
}

.overview-text {
  padding-bottom: 30px;
}

header {
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  position: sticky;
}

.header-menu {
  display: flex;
  gap: 20px;
}

.header-logo {
  width: 200px;
}

.header-item {
  color: #fff;
  text-decoration: none;
}

nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  max-width: 1280px;
  align-items: center;
}

.content-block {
  max-width: 1280px;
  width: 100%;
  padding: 6rem 0 0 0;
}

section {
  display: flex;
  justify-content: center;
}

.hero1-block,
.hero2-block {
  width: 100%;
  max-width: revert;
  background: rgb(17, 24, 53);
  background: linear-gradient(
    45deg,
    rgba(17, 24, 53, 1) 0%,
    rgba(41, 51, 92, 1) 100%
  );
  display: flex;
  justify-content: center;
  padding-top: 15rem !important;
  padding-bottom: 5rem !important;
  margin-top: -10rem;
  color: #fff;
  flex-direction: column;
  align-items: center;
}

.hero-section {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section.hero2-section {
  flex-direction: column;
  text-align: center;
}

.hero2-dr-wrap {
  width: 100%;
  max-width: 1280px;
}

.hero2-dl-wrap {
  padding-bottom: 5rem;
  width: 100%;
  max-width: 1000px;
}

.hero2-d-r-img-wrap {
  width: 100%;
}

.hero2-d-r-img-wrap img {
  border-radius: 20px;
  z-index: 2;
  position: relative;
}

.hero2-section2 {
  background-color: #fff;
  padding-top: 25rem;
  padding-bottom: 6rem;
  width: 100%;
  max-width: revert;
  margin-bottom: -10rem;
  margin-top: -25rem;
}

.hero1-dl-wrap {
  width: 100%;
  max-width: 760px;
}

.hero1-dr-wrap {
  place-items: flex-end;
}

.hero1-d-r-img-wrap {
  max-width: 520px;
  width: 100%;
}

.btn {
  border-radius: 200px;
  background-color: #364379;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
}

.btn-primary {
  background-color: #29335c;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #1a2340;
}

.btn-secondary {
  background-color: #1c2753;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  height: 55px;
  margin-bottom: 20px;
  margin-top: -13px;
}

.btn-secondary:hover {
  background-color: #1c2753;
}

.text-img-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 30px;
  height: 100%;
}

.dr-t-img-wrap, .dl-t-img-wrap {
  width: 100%;
  height: 100%;
  align-content: center;
}

.text-img-section h2, .text-content h2 {
  padding-bottom: 1rem!important;
}

.text-img-button {
  padding: 2rem 0;
}

/* Style for when image is on the left */
.text-img-section.image-left {
  grid-template-columns: 1fr 1fr;
}

.text-img-section.image-left .dl-t-img-wrap {
  order: 2; /* Move text to the right */
}

.text-img-section.image-left .dr-t-img-wrap {
  order: 1; /* Move image to the left */
}

/*OVerzicht klein*/
.ovz-tekst-btn-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

.overview-image {
  width: 100%;
  max-width: 405px;
  height: 405px;
  border-radius: 20px;
  overflow: hidden;
}

.overview-link {
  text-decoration: none;
}

/*Contact*/
.contact-block {
  width: 100%;
  max-width: revert;
  background: rgb(17, 24, 53);
  background: linear-gradient(
    45deg,
    rgba(17, 24, 53, 1) 0%,
    rgba(41, 51, 92, 1) 100%
  );
  display: flex;
  justify-content: center;
  padding-top: 15rem !important;
  padding-bottom: 5rem !important;
  margin-top: -10rem;
  color: #fff;
  margin-bottom: -6rem;
}

.contact-section {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 105px;
}

.contact-left {
  width: 100%;
  max-width: 626px;
}

.contact-text h2{
  padding-top: 2rem;
  padding-bottom: 1rem;
  color: #fff!important;
}

.contact-text a{
  color: #fff;
}

.contact-right {
  width: 100%;
  max-width: 626px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: #ffffff20;
  height: 770px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid #ffffff;
}

.contact-right h2 {
  color: #fff;
  padding-bottom: 70px;
}

.form-group input {
  background-color: #ffffff30;
  border: none;
  height: 55px;
  width: 480px;
  border-radius: 10px;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-group textarea {
  background-color: #ffffff30;
  border: none;
  width: 480px;
  height: 150px;
  border-radius: 10px;
}

.form-group input,
.form-group textarea {
  padding-left: 20px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  color: #fff;
}

.alert.alert-success {
  padding: 2rem;
}

/*image grid*/
.image-grid-row.image-grid-row-top {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.image-grid-row.image-grid-row-bottom {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.image-grid-img {
  height: 100%;
  max-height: 600px;
}

img.image-grid-img-2 {
  height: 100%;
  max-height: 420px;
}

.image-grid-row-bottom img:nth-child(1) {
  grid-column: span 2;
  width: 840px !important;
  max-width: 100%;
}

img.image-section-img {
  max-height: 600px;
}

@media screen and (max-width: 992px) {
  .content-block {
    padding: 3rem 2rem 0 2rem;
  }
  .hero-section {
    flex-direction: column;
  }
  .text-img-section {
    display: flex;
    flex-direction: column;
  }
  .hero2-section2 {
    margin-top: -5rem;
    width: 100%;
    padding: 2rem;
    padding-bottom: 10rem;
  }
  img.image-section-img,
  .dr-t-img-wrap,
  .image-grid-img,
  .image-grid-img-2 {
    max-height: 200px !important;
  }
  .image-grid-row.image-grid-row-bottom {
    gap: revert;
    row-gap: 30px;
  }
  .image-grid-row-top .image-grid-img,
  .image-grid-row-bottom .image-grid-img-2 {
    display: none;
  }
  .image-grid-row-top .image-grid-img:first-child{
    display: block;
  }
  .image-grid-row.image-grid-row-top{
    margin: 0;
  }
}

/* --- Mobile hamburger menu additions --- */

/* Ensure logos sit above overlays */
.header-logo,
.header-logo--mobile {
  position: relative;
  z-index: 999;
}

/* Top mobile bar: logo + hamburger */
.nav-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #fff;
}

/* Hamburger button */
.hamburger {
  position: relative;
  width: 40px;
  height: 32px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10rem 20px 24px; /* leave room for topbar height */
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  height: 100vh; /* ensure full height */
  background: linear-gradient(
    45deg,
    rgba(17, 24, 53, 1) 0%,
    rgba(41, 51, 92, 1) 100%
  );
}

/* Override link color for readability */
.mobile-menu .header-item {
  color: #fff;
  font-size: 30px;
}

/* Make sure [hidden] always hides elements */
[hidden] {
  display: none !important;
}

/* Utility: prevent scrolling when overlay is open */
.no-scroll {
  overflow: hidden !important;
  height: 100%;
}

/* Responsive behavior */
@media screen and (max-width: 992px) {
  /* Show mobile top bar */
  .nav-top {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1001; /* above overlay */
  }

  /* Hide desktop logo and menus on mobile */
  .header-logo:not(.header-logo--mobile) {
    display: none;
  }
  .header-logo--mobile {
    display: block;
  }

  .header-menu {
    display: none;
  }

  /* Slightly adjust nav stacking for mobile */
  nav {
    flex-direction: column;
    align-items: stretch;
  }

  .hero1-block, .hero2-block{
    padding-top: 12rem !important;
  }

  .hero1-dl-wrap{
    padding-bottom: 2rem;
  }
}

@media screen and (min-width: 993px) {
  /* Hide mobile-only elements on desktop */
  .nav-top,
  .mobile-menu {
    display: none !important;
  }
}
