.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 40px 20px;
  position: relative;
}

.top-banner-image-3d {
  position: relative;
  overflow: hidden;      /* Prevent image from spilling out */
  width: 100%;
}

.top-banner-image-3d img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
  animation: zoom-in 30s forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 2s ease;
}

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

#block-capacity-plus-3dmodelingservices {
  background: url("/sites/default/files/black-abstract-background.webp") center center no-repeat;
  background-size: cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
  overflow: hidden;
}

#block-capacity-plus-3dmodelingservices::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 1);
  z-index: 0;
  transition: opacity 2s ease;
}

#block-capacity-plus-3dmodelingservices.visible::before {
  opacity: 0;
} 

#block-capacity-plus-3dmodelingservices > * {
  position: relative;
  z-index: 1;
}
