/* banner */
#banner {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#banner .wrapper {
  width: 1440px;
}

#banner .title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: titleScroll linear forwards;
  animation-timeline: view();
  animation-range-start: 85vh;
  animation-range-end: 125vh;
}

#banner .title p {
  max-width: 800px;
}

/* banner counter */
#counter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 20vh;
  display: flex;
  background: var(--bg-1);
}

#counter .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1440px;
}

#counter .text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

#counter .text .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--purple-opacity);
  border-radius: 50%;
  width: 56px;
  height: 56px;
}

#counter .text .icon span {
  color: var(--purple);
  font-size: 26px;
}

#counter .stats {
  display: flex;
  gap: 88px;
}

#counter .stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#counter .stats .stat p {
  opacity: 0.55;
  font-size: 24px;
  font-weight: 400;
}

#counter .counter-container {
  display: flex;
  height: 1em;
  line-height: 1;
  overflow: hidden;
}

#counter .digit-column {
  display: flex;
  flex-direction: column;
  transition: transform 4s cubic-bezier(0.23, 1, 0.32, 1);
}

#counter .digit {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#counter .stats .stat h2 {
  display: flex;
  align-items: center;
  height: 1em;
  overflow: hidden;
}


/* wie zijn wij? */
#over .info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* visie */
#visie {
  padding: 160px 0px 160px 0px;
  background-color: var(--bg-1);
  display: flex;
  justify-content: center;
  width: 100%;
}

#visie .page-wrapper {
  flex-direction: column;
  gap: 72px;
}

#visie .text {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 16px;
}

#visie .items {
  display: flex;
  gap: 16px;
}

#visie .items .item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#visie .items .item {
  flex: 1;
  transition: 0.25s;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--white-opacity-2);
  padding: 36px 48px 40px;
  border: 1px solid var(--white-opacity-3);
  animation: revealScroll forwards;
  animation-timeline: view();
  animation-range-end: 40vh;
}

#visie .items .item:hover {
  border: 1px solid var(--purple);
}

#visie .items .item h4 {
  color: var(--purple);
  margin: 4px 0px -8px 0px;
}

#visie .items .item h3 {
  font-size: 26px;
  font-weight: 500;
}

#visie .items .item p {
  font-size: 24px;
}

#visie .items .item span {
  color: var(--purple);
  font-size: 36px;
}


/* werkwijze */
#werkwijze {
  position: relative;
}

#werkwijze .page-wrapper {
  align-items: flex-start;
}

#werkwijze .meta {
  display: flex;
  width: 100%;
}

#werkwijze .meta h2 {
  font-size: 72px;
}

#werkwijze .roadmap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

#werkwijze .roadmap-line {
  z-index: -1;
  position: absolute;
  height: 380px;
  width: 3px;
  background-color: var(--white-opacity-3);
  left: 24px; 
}

#werkwijze .roadmap-line::before {
  content: "";
  position: absolute;
  height: 0;
  width: 100%;
  background-color: var(--purple);
  opacity: 0.75;
  animation: roadmapLine linear forwards;
  animation-timeline: view();
  animation-range-end: 92vh;
}

#werkwijze .roadmap .roadmap-item:nth-child(3) .text {
  animation: roadmapItemReveal linear forwards;
  animation-timeline: view();
  animation-range-end: 30vh;
}

#werkwijze .roadmap .roadmap-item:nth-child(4) .text {
  animation: roadmapItemReveal linear forwards;
  animation-timeline: view();
  animation-range-end: 45vh;
}

#werkwijze .roadmap .roadmap-item {
  display: flex;
  gap: 24px;
}

#werkwijze .roadmap .roadmap-item .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 48px;
  border: 1px solid var(--white-opacity-3);
  background-color: var(--bg-1);
  border-radius: 8px;
}

#werkwijze .roadmap .roadmap-item .icon span {
  color: var(--purple);
  font-size: 26px;
}

#werkwijze .roadmap .roadmap-item .text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#werkwijze .roadmap .roadmap-item .text h3 {
  font-size: 26px;
  font-weight: 500;
}

#werkwijze .roadmap .roadmap-item .text p {
  font-size: 24px;
  line-height: 32px;
}


/* cta banner */
#cta-banner {
  padding: 120px 0px; 
}

#cta-banner .container {
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
  padding: 64px;
  z-index: 1;
}

#cta-banner .container h2 {
  max-width: 600px;
}

#cta-banner .container:hover {
  scale: 1.015;
  filter: brightness(1.15);
}

#cta-banner .glow-bg {
  left: 0;
  top: 0;
  opacity: 1;
  z-index: 1 !important;
}

#cta-banner .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* animations */
@keyframes titleScroll {
  0% {
    opacity: 1;
  } 100% {
    opacity: 0;
    scale: 0.95;
    margin-top: 24vh;
  }
}

@keyframes revealScroll {
  0% {
    opacity: 0;
    transform: translateY(100px);
    scale: 0.95;
  } 100% {
    opacity: 1;
    transform: translateY(0px);
    scale: 1;
  }
}

@keyframes roadmapLine {
  0% {
    height: 0%;
  } 100% {
    height: 100%;
  }
}

@keyframes roadmapItemReveal {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  } 100% {
    opacity: 1;
  }
}

/* media queries */
@media (max-width: 1500px) {
  .wrapper {
    width: 80% !important;
  }

  #werkwijze .page-wrapper {
    flex-direction: column !important;
  }
}

@media (max-width: 1400px) {
  #counter {
    height: auto;
    padding: 32px 0px;
  }

  #counter .wrapper {
    flex-direction: column-reverse;
    gap: 32px;
  }

  #counter .stats {
    width: 100%;
    justify-content: space-between;
  }

  #counter .text {
    align-self: flex-start;
  }
}

@media (max-width: 1300px) {
  #werkwijze .meta h2 {
    font-size: 58px !important;
    line-height: 58px !important;
  }

  #visie .items .item p {
    font-size: 22px;
    line-height: 28px;
  }

  #werkwijze .roadmap .roadmap-item .text p {
    font-size: 22px;
    line-height: 28px;
  }

  #counter .stats .stat p {
    font-size: 20px;
    line-height: 26px;
  }
}

@media (max-width: 900px) {
  #visie .items {
    flex-direction: column;
  }

  #banner .title {
    animation: none;
  }

  #cta-banner .container {
    padding: 48px;
  }

  #cta-banner .content {
    flex-direction: column;
    gap: 16px;
  }

  #cta-banner .content button {
    align-self: flex-start;
  }
}

@media (max-width: 750px) {
  #banner {
    height: 75vh;
  }

  #werkwijze .roadmap .roadmap-item .text p {
    font-size: 20px;
  }

  #werkwijze .roadmap .roadmap-item .text h3 {
    font-size: 22px;
  }

  #werkwijze .roadmap .roadmap-item .text {
    gap: 0px;
  }

  #counter .stats {
    gap: 40px;
  }

  #over .info {
    gap: 8px;
  }
}