.lottie-black {
  filter: brightness(0);
}

.menu-button-icon {
  transition: filter 0.3s ease;
}

/* Logo color changes */
.logo {
  transition: color 0.3s ease;
}

.logo-blue {
  color: #206484 !important;
}

.logo-scrolled {
  color: #206484 !important;
}

/* Hide links when menu open */
.hide-link {
  opacity: 0 !important;
  pointer-events: none !important;
}

.language-link,
.secondary-page-link {
  transition: opacity 0.3s ease;
}

/* Navbar scroll state */
.w-nav {
  transition: background-color 0.3s ease;
}
.navbar-white {
  background-color: #ebeef7;
}
.menu-white {
  color: black !important;
}

.navbar-scrolled {
  background-color: #ebeef7 !important;
}

/* Links turn black on scroll */
.link-scrolled {
  color: black !important;
}
/* menu-hover-animation */
.menu-link-absoute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 1;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

/* When hovering, overlay slides to center */
.menu-link {
  transition: color 0.25s ease;
}
.link-block:hover .menu-link {
  color: #ebeef7;
}
.navbar-bg {
  transition: all 0.4s ease;
  opacity: 0;
}
.navbar-bg-in {
  opacity: 1;
}
.menu-line {
  transition: all 0.3s ease;
  transform-origin: center;
  position: absolute;
}
.menu-line:first-child {
  transform: translateY(-4px);
}
.menu-line:last-child {
  transform: translateY(4px);
}
.menu-line:first-child.menu-open {
  transform: translateY(0px) rotate(45deg);
  background-color: black;
}
.menu-line.color-black {
  background-color: black;
}
.menu-line:last-child.menu-open {
  background-color: black;
  transform: translateY(0px) rotate(-45deg);
}
.color-white-menu {
  color: black;
}
/* .navbar-heading {
  transition: transform 1.7s ease;
  transition-delay: 2s;
}
.navbar-heading.navbar-heading-animate {
  transform: translateX(200px);
  transition-delay: 2s;
} */

.button2 .button2_icon-wrap {
  left: calc(100% - 0.5em);
  transform: translateX(-100%);
  transition: all 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.button2:hover .button2_icon-wrap {
  left: 0.5em;
  transform: translateX(0);
  background: rgba(255, 255, 255, 0);
}

.button2 .button2_text {
  position: relative;
  left: 0;
  transition: all 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.button2:hover .button2_text {
  left: 3.5em;
}

.button2 .button2_icon {
  filter: invert(0%);
  transition: all 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.button2:hover .button2_icon {
  filter: invert(100%);
}

/*  */
.button2_icon {
  transition: transform 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.button4_bg {
  width: 0%;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.button4:hover .button4_bg {
  width: 100%;
}

.button4:hover .button2_icon {
  transform: translateX(0.5em);
}

/*  */

.w-webflow-badge,
a.w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 991px) {
  .menu-link-absoute {
    display: none !important;
  }
}

/* 
 */

.vimeo-cover {
  position: relative;
  width: 100%;
  height: 100vh; /* change to desired container height (e.g., 60vh) */
  overflow: hidden;
  /* background: url("https://cdn.prod.website-files.com/68e9087af72868f5686bf586/68f280a11353fdb68050c14e_fallback.avif"); fallback while loading */
}
/* vimeo mobile size video */

.vimeo-cover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77778vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  background: url("https://cdn.prod.website-files.com/68e9087af72868f5686bf586/68f280a11353fdb68050c14e_fallback.avif");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.vimeo-cover iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  /* 16:9 math to preserve aspect ratio while covering */
  width: 177.77778vh; /* = 100vh * (16/9) */
  height: 56.25vw; /* = 100vw * (9/16) */

  /* ensure the iframe always fills */
  min-width: 100%;
  min-height: 100%;

  transform: translate(-50%, -50%);
  border: 0;
}

/* Optional: ensure the thumbnail or other overlay stays centered */
.vimeo-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* z-index: 2; */
  transition: opacity 0.6s ease;
  z-index: 997;
  pointer-events: none;
}

/*  */

.spinner {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.5)
  );
  animation: luxuryMorph 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes luxuryMorph {
  0%,
  100% {
    border-radius: 8px;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 50%;
    transform: rotate(90deg) scale(0.8);
  }
  50% {
    border-radius: 8px;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 50%;
    transform: rotate(270deg) scale(0.8);
  }
}
