/* Custom CSS styles */

/* Media */
.media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  @media (min-width: 320px) {
    .urlVideo {
        width: 100%;
        height: 300px;
    }
}
  @media (min-width: 768px) {
      .urlVideo {
          width: 100%;
          height: 400px;
      }
  }
  @media (min-width: 920px) {
    .urlVideo {
        width: 75%;
        height: 400px;
    }
}
  @media (min-width: 1200px) {
      .urlVideo {
          width: 75%;
          height: 500px;
      }
  }
  @media (min-width: 1550px) {
      .urlVideo {
          width: 60%;
          height: 600px;
          max-width: 1000px;
      }
  }
  
  .media-display {
    top: 0;
    left: 0;
    right: 0;
    height: auto;
  }

.button-center{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 4de stap toevoegen */
.c-timeline__item--3:after {
    background-image: linear-gradient(to bottom, #45b5b1 0%, #77c680 100%);
    background-repeat: repeat-x;
  }

.c-timeline__item--4 .c-timeline__index {
  background-color: #77c680;
}

.blog-image {
  width: 100%;
}

/* Navigation */
.special-margin {
  margin-left: 1.5rem !important;
}

.dropdown {
  display: flex;
  height: 6rem;
  z-index: 1;
  align-items: center;
}

.dropdown-link {
  height: 19px;
}

.dropdown-content {
  display: grid;
  position: absolute;
  top: 5rem;
  background-color: #fff;
  width: 100%;
  left: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  background: linear-gradient(to right, white 50%, #b9a7e9 0%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, max-height 0.3s ease; /* 0.3 chosen because of this https://ux.stackexchange.com/questions/66604/optimal-duration-for-animating-transitions */
  max-height: 0; /* Added max-height for smoother animation */
  overflow: hidden;
}

@media (min-width: 1550px) {
  .dropdown-content {
    top: 6rem;
  }
}

.dropdown:hover .dropdown-link {
  color: #8284f4;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 1000px; /* Ensure this is large enough to fit the dropdown content */
}

.dropdown-column {
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-height: 250px;
}

.swirl {
  padding: 0 !important;
  display: flex;
  max-height: 250px;
  justify-content: end;
}

.dropdown .row .row {
  margin-left: 4rem;
  margin-right: 4rem;
}

.dropdown .dropdown-column ul {
  list-style: none;
  padding-left: 0;
}

.dropdown .dropdown-column .c-nav__link:hover {
  color: #fff;
}

.dropdown .dropdown-column .c-nav__link--current {
  color: #fff;
}

.c-menu__inner .dropdown {
  display: block;
  height: inherit;
  z-index: 0;
}

.c-menu__item .dropdown-content {
  position: relative;
  align-items: left;
  color: #fff;
  top: 1rem;
  background-color: #000;
  width: 100%;
  left: 0;
  box-shadow: none;
  z-index: 0;
  background: none;
  margin-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s, max-height 0.5s ease;
  max-height: 0; /* Added max-height for smoother animation */
  overflow: hidden;
}

.c-menu__inner .c-menu__item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 1000px; /* Ensure this is large enough to fit the dropdown content */
}

.dropdown-content .c-menu__link {
  font-size: 1rem;
  font-weight: 50;
  color: #fff;
}

.dropdown ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 1rem;
}

.c-menu__link--current {
  color: #b9a7e9 !important;
}

.c-menu {
  overflow: scroll;
}




/* More colors options*/
.u-bg-standard {
  background-color: #f3f3ff !important;
}

.u-bg-aquamarine {
  background-color: #45b5b1 !important;
}
a.u-bg-aquamarine:focus,
a.u-bg-aquamarine:hover {
  background-color: #348885 !important;
}

.u-bg-green {
  background-color: #77c680 !important;
}

a.u-bg-green:focus,
a.u-bg-green:hover {
  background-color: #46a851 !important;
}

.subtitle-white {
  color: #fff;
  margin-bottom: 0.9375rem;
}

.c-btn--primary-dark {
  background-color: #b9a7e9;
  color: #fff;
}
.c-btn--primary-dark .c-btn__icon {
  background-color: #8284f4;
}
.c-btn--primary-dark:hover {
  background-color: #fff;
  color: #8284f4;
}
.c-btn--primary-dark:hover .c-btn__icon {
  background-color: #8284f4;
}

/* Frame text block*/
.horizontal-padding{
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1550) {
  .horizontal-padding{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Button list padding */
.button-list-padding{
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Styling which is not in the main css file */
.u-mb-xs {
  margin-bottom: 1.5625rem !important;
}
.u-mb-sm {
  margin-bottom: 2rem !important;
}
.u-mb-xl {
  margin-bottom: 3rem !important;
}
.u-mb-xxl {
  margin-bottom: 4rem !important;
}

@media (min-width: 544px) {
  .u-mb-xsl-xs {
    margin-bottom: 1.5625rem !important;
  }
  .u-mb-xsl-sm {
    margin-bottom: 2rem !important;
  }
  .u-mb-xsl-xl {
    margin-bottom: 3rem !important;
  }
  .u-mb-xsl-xxl {
    margin-bottom: 4rem !important;
  }
}

@media (min-width: 768px) {
  .u-mb-sm-xs {
    margin-top: 1.5625rem !important;
  }
  .u-mb-sm-sm {
    margin-top: 2rem !important;
  }
  .u-mb-sm-xl {
    margin-top: 3rem !important;
  }
  .u-mb-sm-xxl {
    margin-top: 4rem !important;
  }
}

@media (min-width: 992px) {
  .u-mb-md-0 {
    margin-bottom: 0rem !important;
  }
}

.u-pb-3 {
  padding-bottom: 5rem !important;
}

@media (min-width: 1200px) {
  .u-pb-lg-2 {
    padding-bottom: 2rem !important;
  }
  .u-pb-lg-0 {
    padding-bottom: 0rem !important;
  }
}

.custom-u-gap {
  grid-gap: 1.5625rem !important;
  margin-bottom: 4rem !important;
}

@media (max-width: 544px) {
  .custom-u-gap {
    grid-gap: 0.5rem !important;
  }
}

/* slider */
.slide img {
  width: 250px;
  height: 250px;
}

.slide-track {
  display: flex;
  gap: 3em;
  width: max-content;
  animation: scroll var(--animation-duration, 20s) linear infinite; /* Default to 20s if not set */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.5em));
  }
}

@media (max-width: 544px) {
  .slide img {
    width: 100px;
    height: 100px;
  }
}

.overflow-hidden{
  overflow: hidden;
}

/* Showcase */
.showcase-container{
  position: relative;
  width: 30vw;
  height: 30vw;
}

@media (max-width: 1200px) {
  .showcase-container{
    width: 40vw;
    height: 40vw;
  }
}

@media (max-width: 767px) {
  .showcase-container{
    width: 75vw;
    height: 75vw;
  }
}

.showcase-bar{
  position: absolute;
  height: 30%;
  width: 100%;
  bottom: 0;
}

.showcase-title{
  position: absolute;
  top: 72.5%;
  left: 15px;
  z-index: 1;
}

.showcase-button-placement{
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 1;
}

@media (max-width: 920px) {
  .showcase-bar{
    position: absolute;
    height: 40%;
    width: 100%;
    bottom: 0;
  }

  .showcase-title{
    position: absolute;
    top: 62.5%;
    left: 15px;
    z-index: 1;
  }
  
  .showcase-button-placement{
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 1;
  }
}

.align-text-center{
  text-align: center;
}

/* Custom languages dropdown */
.dropdown-content-languages {
  display: grid;
  position: absolute;
  top: 2.5rem;
  background-color: #fff;
  width: 85px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, max-height 0.3s ease; /* 0.3 chosen because of this https://ux.stackexchange.com/questions/66604/optimal-duration-for-animating-transitions */
  max-height: 0; /* Added max-height for smoother animation */
  overflow: hidden;
}

@media (min-width: 543px) {
  .dropdown-content-languages {
    top: 5rem;
  }
}

@media (min-width: 1550px) {
  .dropdown-content-languages {
    top: 6rem;
  }
}

.dropdown:hover .dropdown-content-languages {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 1000px; /* Ensure this is large enough to fit the dropdown content */
}

.language-padding{
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Spacer 4 colors option */
.four-colors{
  background: linear-gradient(to right, 
  #b9a7e9 0%, #b9a7e9 25%, 
  #8284f2 25%, #8284f2 50%, 
  #45b5b1 50%, #45b5b1 75%, 
  #77c680 75%, #77c680 100%);
}

.four-colors-gradient {
  background: linear-gradient(to right, 
    #b9a7e9 0%, 
    #8284f2 33%, 
    #45b5b1 66%, 
    #77c680 100%);
}

.subtitle-color {
  color: #fff; 
}

.employee-image{
  width: 90%;
  height: min-content;
}

@media (min-width: 1200px) {
  .employee-image{
    width: 70%;
    height: min-content;
  }
}

.u-text-base-link{
  color: #000;
}

.u-text-base-link:focus:hover{
  color: #8284f2;
}

.u-pr{
  padding-right: 2rem;
}

/* FAQ */
/* FAQ LIST */
.c-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Each FAQ item */
.c-faq-list__item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

/* Question */
.c-faq-list__question {
    cursor: pointer;
    font-weight: 600;
    position: relative;
    padding-right: 2rem;
}

    /* position of the + needs to be top right */
.c-faq-list__question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2rem;
    transition: transform 0.3s ease;
    color:#8284f2;
    margin-bottom: 1rem;
}

.c-faq-list__question.is-open::after {
    transform: rotate(45deg);
}

/* Answer (accordion content) */
.c-faq-list__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding-top: 0;
}

/* Open state */
.c-faq-list__answer.is-open {
    padding-top: 0.75rem;
}

/* Hidden FAQ items (those revealed with the button) */
.is-hidden {
    display: none;
}

/* Visueel verborgen, wel leesbaar voor zoekmachines en schermlezers */
.u-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
