/* HEADER TEXT */

.text-dark {
  color: #000;
}

.text-light {
  color: #fff;
}

/* TILES */

.tiles {
  background: rgba(255, 255, 255, 1);
  opacity: 1;
}


.full-tiles {
  background: rgba(0, 0, 0, 1);
  opacity: 1;
}


.w-full {
  width: 100%;
}

/* 1st Round */
.n1 {
  animation: blink 2s 1 ease-in-out alternate 3.000s, blink 4s infinite ease-in-out alternate 7s;
}

/* 2nd Round */
.n2 {
  animation: blink 2s 1 ease-in-out alternate 3.250s, blink 4s infinite ease-in-out alternate 8s;
}

.n6 {
  animation: blink 2s 1 ease-in-out alternate 3.250s, blink 4s infinite ease-in-out alternate 6s;
}

/* 3rd Round */

.n3 {
  animation: blink 2s 1 ease-in-out alternate 3.275s, blink 4s infinite ease-in-out alternate 8s;
}

.n7 {
  animation: blink 2s 1 ease-in-out alternate 3.275s, blink 4s infinite ease-in-out alternate 7s;
}

.n11 {
  animation: blink 2s 1 ease-in-out alternate 3.275s, blink 4s infinite ease-in-out alternate 6.5s;
}

/* 4th Round */
.n4 {
  animation: blink 2s 1 ease-in-out alternate 3.500s, blink 4s infinite ease-in-out alternate 6.5s;
}

.n8 {
  animation: blink 2s 1 ease-in-out alternate 3.500s, blink 4s infinite ease-in-out alternate 8s;
}

.n12 {
  animation: blink 2s 1 ease-in-out alternate 3.500s, blink 4s infinite ease-in-out alternate 7.5s;
}

.n16 {
  animation: blink 2s 1 ease-in-out alternate 3.500s, blink 4s infinite ease-in-out alternate 7s;
}

/* 5th Round */

.n5 {
  animation: blink 2s 1 ease-in-out alternate 3.625s, blink 2s infinite ease-in-out alternate 7s;
}

.n9 {
  animation: blink 2s 1 ease-in-out alternate 3.625s, blink 4s infinite ease-in-out alternate 6.5s;
}

.n13 {
  animation: blink 2s 1 ease-in-out alternate 3.625s, blink 4s infinite ease-in-out alternate 8s;
}

.n17 {
  animation: blink 2s 1 ease-in-out alternate 3.625s, blink 4s infinite ease-in-out alternate 7.5s;
}

/* 6th Round */

.n10 {
  animation: blink 2s 1 ease-in-out alternate 3.750s, blink 4s infinite ease-in-out alternate 7.5s;
}

.n14 {
  animation: blink 2s 1 ease-in-out alternate 3.750s, blink 4s infinite ease-in-out alternate 6s;
}

.n18 {
  animation: blink 2s 1 ease-in-out alternate 3.750s, blink 4s infinite ease-in-out alternate 8s;
}

/* 7th Round */

.n15 {
  animation: blink 2s 1 ease-in-out alternate 4.000s, blink 4s infinite ease-in-out alternate 7s;
}

.n19 {
  animation: blink 2s 1 ease-in-out alternate 4.000s, blink 4s infinite ease-in-out alternate 6.5s;
}

/* 8th Round */

.n20 {
  animation: blink 2s 1 ease-in-out alternate 4.000s, blink 4s infinite ease-in-out alternate 8s;
}

/* 9th Round */
.n21 {
  animation: blink 2s 1 ease-in-out alternate 4.125s, blink 4s infinite ease-in-out alternate 7.5s;
}

.n22 {
  animation: blink 2s 1 ease-in-out alternate 4.125s, blink 4s infinite ease-in-out alternate 6s;
}

.n23 {
  animation: blink 2s 1 ease-in-out alternate 4.125s, blink 4s infinite ease-in-out alternate 8s;
}

/* 10th Round */
.n24 {
  animation: blink 2s 1 ease-in-out alternate 4.250s, blink 4s infinite ease-in-out alternate 7s;
}

.n25 {
  animation: blink 2s 1 ease-in-out alternate 4.250s, blink 4s infinite ease-in-out alternate 6.5s;
}

.n26 {
  animation: blink 2s 1 ease-in-out alternate 4.250s, blink 4s infinite ease-in-out alternate 7.5s;
}

/* 11th Round */
.n27 {
  animation: blink 2s 1 ease-in-out alternate 4.375s, blink 4s infinite ease-in-out alternate 6s;
}



/* 1st Round */
.x1 {
  animation: blink 2s infinite ease-in-out alternate;
}

/* 2nd Round */
.x2 {
  animation: blink 4.5s infinite ease-in-out alternate;
}

.x6 {
  animation: blink 3s infinite ease-in-out alternate;
}

/* 3rd Round */

.x3 {
  animation: blink 2s infinite ease-in-out alternate;
}

.x7 {
  animation: blink 5s infinite ease-in-out alternate;
}

.x11 {
  animation: blink 3s infinite ease-in-out alternate;
}

/* 4th Round */
.x4 {
  animation: blink 2.5s infinite ease-in-out alternate;
}

.x8 {
  animation: blink 3.4s infinite ease-in-out alternate;
}

.x12 {
  animation: blink 4s infinite ease-in-out alternate;
}

.x16 {
  animation: blink 5s infinite ease-in-out alternate;
}

/* 5th Round */

.x5 {
  animation: blink 2.5s infinite ease-in-out alternate;
}

.x9 {
  animation: blink 6s infinite ease-in-out alternate;
}

.x13 {
  animation: blink 4.5s infinite ease-in-out alternate;
}

.x17 {
  animation: blink 3s infinite ease-in-out alternate;
}

/* 6th Round */

.x10 {
  animation: blink 3s infinite ease-in-out alternate;
}

.x14 {
  animation: blink 4.5s infinite ease-in-out alternate;
}

.x18 {
  animation: blink 6s infinite ease-in-out alternate;
}

/* 7th Round */

.x15 {
  animation: blink 4s infinite ease-in-out alternate;
}

.x19 {
  animation: blink 3.5s infinite ease-in-out alternate;
}

/* 8th Round */

.x20 {
  animation: blink 4s infinite ease-in-out alternate;
}

/* 9th Round */
.x21 {
  animation: blink 3.5s infinite ease-in-out alternate;
}

.x22 {
  animation: blink 4.2s infinite ease-in-out alternate;
}

.x23 {
  animation: blink 2.8s infinite ease-in-out alternate;
}

/* 10th Round */
.x24 {
  animation: blink 3.8s infinite ease-in-out alternate;
}

.x25 {
  animation: blink 4.7s infinite ease-in-out alternate;
}

.x26 {
  animation: blink 2.5s infinite ease-in-out alternate;
}

/* 11th Round */
.x27 {
  animation: blink 3.2s infinite ease-in-out alternate;
}


/* 1st Round */
.z1 {
  animation: reverseBlink 2s infinite ease-in-out alternate;
}

/* 2nd Round */
.z2 {
  animation: reverseBlink 4.5s infinite ease-in-out alternate;
}

.z6 {
  animation: reverseBlink 3s infinite ease-in-out alternate;
}

/* 3rd Round */

.z3 {
  animation: reverseBlink 2s infinite ease-in-out alternate;
}

.z7 {
  animation: reverseBlink 5s infinite ease-in-out alternate;
}

.z11 {
  animation: reverseBlink 3s infinite ease-in-out alternate;
}

/* 4th Round */
.z4 {
  animation: reverseBlink 2.5s infinite ease-in-out alternate;
}

.z8 {
  animation: reverseBlink 3.4s infinite ease-in-out alternate;
}

.z12 {
  animation: reverseBlink 4s infinite ease-in-out alternate;
}

.z16 {
  animation: reverseBlink 5s infinite ease-in-out alternate;
}

/* 5th Round */

.z5 {
  animation: reverseBlink 2.5s infinite ease-in-out alternate;
}

.z9 {
  animation: reverseBlink 6s infinite ease-in-out alternate;
}

.z13 {
  animation: reverseBlink 4.5s infinite ease-in-out alternate;
}

.z17 {
  animation: reverseBlink 3s infinite ease-in-out alternate;
}

/* 6th Round */

.z10 {
  animation: reverseBlink 3s infinite ease-in-out alternate;
}

.z14 {
  animation: reverseBlink 4.5s infinite ease-in-out alternate;
}

.z18 {
  animation: reverseBlink 6s infinite ease-in-out alternate;
}

/* 7th Round */

.z15 {
  animation: reverseBlink 4s infinite ease-in-out alternate;
}

.z19 {
  animation: reverseBlink 3.5s infinite ease-in-out alternate;
}

/* 8th Round */

.z20 {
  animation: reverseBlink 4s infinite ease-in-out alternate;
}

@keyframes blink {
  0% {
    opacity: 0.05;
  }

  25% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.20;
  }

  75% {
    opacity: 0.1;
  }

  100% {
    opacity: 0.05;
  }
}

/* Mobile: avoid initial black flash before animations kick in */
@media (max-width: 768px) {
  .container-tiles .full-tiles {
    opacity: 0.05;
    /* Ensure first keyframe applies during delay and reduce FOUC */
    animation-fill-mode: both;
    will-change: opacity;
  }
}

@keyframes reverseBlink {
  0% {
    opacity: 0.95;
  }

  25% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.65;
  }

  75% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.95;
  }
}

/* CROSSFADER SECTION 1 */

.crossfader-section {
  width: 100%;
}

.crossfader-container {
  width: 100%;
  height: 100vh;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  overflow-anchor: none;
}

.crossfader-section .crossfader-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s linear;
  width: 100%;
  /* max-width: 90vw; */
  background: #fff;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout paint;
}

.fixed-crossfader-section {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 10;
  transform: translate3d(0, -50%, 0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.1s ease-out;
}

.crossfader-section-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crossfader-section-2 .crossfader-content {
  height: 100%;
}

.fixed-crossfader-section-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.1s ease-out;
}

.sticky-crossfader-section-fullscreen {
  position: sticky;
  top: 0;
}

.crossfader-img {
  width: 572px;
  height: 450px;
  /* max-height: 70vh; */
  object-fit: cover;
}

.crossfader-text {
  margin-top: 38px;
  text-align: left;
  width: 572px;
  line-height: 1em;
}

.crossfader-section .crossfader-content p {
  width: 100%;
  /* min-height: 120px; */
  /* max-width: 70vh; */
  font-size: 15px;
  padding-left: 3px;
  @media (max-width: 768px) {
    font-size: 14px;
  }
}

.crossfader-full .crossfader-content p {
  max-width: 100%;
}

/* CROSSFADER FULL */

.crossfader-full .crossfader-content {
  width: 100%;
  max-width: 100vw;
}

.crossfader-full .crossfader-content-text {
  position: absolute;
  line-height: 1.5em;
  /* top: 50%;
  transform: translateY(-50%); */
  color: white;
  text-align: center;
}

.crossfader-content-text-responsive {
  display: none;
}

.crossfader-full-img {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  object-fit: cover;
  object-position: top;
}

.crossfader-full-img.object-position {
  @media (max-width: 768px) { 
    object-position: 69%;
  }
}

.contrast-filter {
  /* filter: brightness(0.8) contrast(1.25); */
  filter: brightness(0.5) contrast(0.80);
}

.crossfader-section .crossfader-full .crossfader-content p {
  font-size: 22px;
  text-align: center;
  min-height: 0px;
  line-height: 2em;
  margin-bottom: 0;
  @media (max-width: 768px) {
    font-size: 13px;
    line-height: 1.7;
  }
}

.fixed-crossfader-section-fullscreen .container-tiles {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  z-index: 999;
}

.fixed-crossfader-section-sticky { position: sticky; top: 0; }

/*  */

.inactive {
  opacity: 0;
  pointer-events: none;
}

.active {
  opacity: 1;
}

.section-divider {
  /* margin-top: -10px; */
  /* margin-bottom: 48px; */
  height: 10px;
  font-size: 10px;
}

/*  */

.low-brightness {
  filter: brightness(0.5);
  transition: all 0.5s linear;
}

#sticky-container {
  height: 250vh;
  /* 100vh for the section + 300vh for sticky duration */
  position: relative;
  /* Added */
  @media (max-width: 768px) {
    height: 100vh;
  }
}

.section3-area {
  background-color: #fff;
  height: 100vh;
}

.crossfader-container {
  height: 100vh;
}

.gradient-divider {
  height: 5px;
  width: 100%;
  /* You can adjust this as needed */
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 70%);
  margin-top: 10px;
  margin-bottom: 10px;
}

.gradient-divider-top {
  margin-bottom: 12.5px;
}

.gradient-divider-bottom {
  margin-top: 7.5px;
}

.video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
}

.video_cnt.wow,
.crossfader-content-text {
  z-index: 1000;
}

.volume_trigger {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  pointer-events: auto;
}

.volume-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1500;
  pointer-events: none;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.close-banner-img {
  width: 562px;
  height: 477px;
  object-fit: cover;
}

.crossfader-text-responsive {
  display: none;
}

/* Ensure hero video stays visible even if WOW animations are applied elsewhere */
#video-cover {
  visibility: visible !important;
  opacity: 1 !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Chat bubble button: default styles and responsive right offset */
.chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgb(151, 188, 98);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
}

/* Small size variant (e.g., for ES page) */
.chat-bubble--sm {
  width: 40px;
  height: 40px;
}

/* Alternate green color variant */
.chat-bubble--alt {
  background-color: rgb(151, 188, 98);
}

/* Icon inside chat bubble */
.chat-icon {
  stroke: #ffffff;
  fill: transparent;
  stroke-width: 2;
  width: 28px;
  height: 28px;
}

@media (min-width: 992px) {
  .chat-bubble {
    right: 40px;
    bottom: 20px;
  }
}

/* Mobile: make sure video occupies the viewport height and is not collapsed */
@media (max-width: 992px) {
  #video-cover {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  .crossfader-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .crossfader-container.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}