.rubiks-cube-container {
    perspective: 1000px;
}

.rubiks-cube {
    transform-style: preserve-3d;
    /* Aangepast: Een kortere, vloeiendere transitie */
    transition: transform 0.05s ease-out; 
    cursor: grab; 
}

.rubiks-cube:active {
    cursor: grabbing;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 5px solid #333;
    cursor: pointer
}

/* basis: desktop */
.front  { transform: translateZ(150px); }
.back   { transform: rotateY(180deg) translateZ(150px); }
.right  { transform: rotateY(90deg) translateZ(150px); }
.left   { transform: rotateY(-90deg) translateZ(150px); }
.top    { transform: rotateX(90deg) translateZ(150px); }
.bottom { transform: rotateX(-90deg) translateZ(150px); }

/* mobiel: kleinere cube → minder diepte */
@media (max-width: 768px) {
  .front  { transform: translateZ(100px); }
  .back   { transform: rotateY(180deg) translateZ(100px); }
  .right  { transform: rotateY(90deg) translateZ(100px); }
  .left   { transform: rotateY(-90deg) translateZ(100px); }
  .top    { transform: rotateX(90deg) translateZ(100px); }
  .bottom { transform: rotateX(-90deg) translateZ(100px); }
}


.face > div {
  border: 3px solid black;
}



.floating-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 25s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 40px) scale(0.95);
  }
  75% {
    transform: translate(30px, 30px) scale(1.05);
  }
}

.gradient-blauw {
  background: #0c89ff;
  animation-delay: 0s;
}
.gradient-geel {
  background: #ffc90f;
  animation-delay: 7s;
}
.gradient-groen {
  background: #2f7339;
  animation-delay: 14s;
}
.gradient-rood {
  background: #fd3f03;
  animation-delay: 21s;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
}

.text-gradient-blauw-groen {
  background: linear-gradient(135deg, #0c89ff, #2f7339);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.filter-btn.active {
  background-color: #0c89ff;
  color: white !important;
  border-color: #0c89ff !important;
  transform: translateY(-2px);
  transition: all 0.25s ease;
}


.border-gradient {
  position: relative;
  background: white;
}

.border-gradient::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #0c89ff, #2f7339, #ffc90f);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.pulse-border {
  animation: pulse-shadow 2s ease-in-out infinite;
}

@keyframes pulse-shadow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
  }
}

  
        /* Tailwind custom colors */
        .bg-blauw { background-color: #0c89ff; }
        .bg-geel { background-color: #ffc90f; }
        .bg-groen { background-color: #2f7339; }
        .bg-rood { background-color: #fd3f03; }
        .text-blauw { color: #0c89ff; }
        .text-geel { color: #ffc90f; }
        .text-groen { color: #2f7339; }
        .text-rood { color: #fd3f03; }
        .border-blauw { border-color: #0c89ff; }
        .border-geel { border-color: #ffc90f; }
        .border-groen { border-color: #2f7339; }
        .border-rood { border-color: #fd3f03; }


    .font-heading {
      font-weight: 900;
    }

    :root {
      --blauw: #0c89ff;
      --geel: #ffc90f;
      --groen: #2f7339;
      --rood: #fd3f03;
    }

    body {
      background: white;
    }

    .text-gradient-blauw-groen {
      background: linear-gradient(135deg, var(--blauw), var(--groen));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .reveal {
      opacity: 0;
      transform: translateY(40px);
      animation: reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes reveal {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal:nth-child(1) { animation-delay: 0.1s; }
    .reveal:nth-child(2) { animation-delay: 0.2s; }
    .reveal:nth-child(3) { animation-delay: 0.3s; }
    .reveal:nth-child(4) { animation-delay: 0.4s; }
    .reveal:nth-child(5) { animation-delay: 0.5s; }
    .reveal:nth-child(6) { animation-delay: 0.6s; }

    .image-gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    }

    .image-gallery-item:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    }

    .image-gallery-item img {
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .image-gallery-item:hover img {
      transform: scale(1.08);
    }

    .back-button {
      transition: all 0.3s ease;
    }

    .back-button:hover {
      transform: translateX(-5px);
    }

    .stats-card {
      transition: all 0.3s ease;
    }

    .stats-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    }

    .tech-badge {
      transition: all 0.3s ease;
    }

    .tech-badge:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px -5px rgba(12, 137, 255, 0.4);
    }

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.95);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      animation: fadeIn 0.3s ease;
    }

    .modal.active {
      display: flex;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-content {
      max-width: 90vw;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes zoomIn {
      from { 
        transform: scale(0.8);
        opacity: 0;
      }
      to { 
        transform: scale(1);
        opacity: 1;
      }
    }

    .close-modal {
      position: absolute;
      top: 2rem;
      right: 2rem;
      color: white;
      font-size: 3rem;
      cursor: pointer;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .hero-image {
      position: relative;
      overflow: hidden;
      border-radius: 32px;
      box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    }


    
    .marquee img {
      width: 320px;   /* Kies zelf formaat */
      height: auto;
    }
     */
        /* Er mag GEEN animation of @keyframes meer op #moving-icon-row staan! */
#moving-icon-row {
  width: 300%; 
  /* GEEN animation: marquee-scroll ... */
}

/* De rest van je Tailwind/Utility classes: */
.marquee { overflow: hidden; }
.marquee .inner { display: flex; white-space: nowrap; }
.marquee .track { display: flex; flex-shrink: 0; }
    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    