@import url('https://fonts.googleapis.com/css2?family=Noto+Znamenny+Musical+Notation&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Golos+Text:wght@400..900&family=Instrument+Serif:ital@0;1&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: 'Tinos', serif;
}

body::-webkit-scrollbar {
    display: none;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    transition: color 0.3s;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #27347d;
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 50%;
}

.client:hover,
.client.hovered {
    background-color: #f3f4f6;
}

#page-loader {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Golos Text", sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: black;
    border-radius: 50%;
    background-color: transparent;
    z-index: 30;
    margin: 0;
}

.loader-letter {
    display: inline-block;
    opacity: 0.4;
    transform: translateY(0);
    animation: loader-letter-anim 3s infinite;
    z-index: 30;
    border-radius: 50ch;
    border: none;
}

.loader-letter:nth-child(1) {
    animation-delay: 0s;
}

.loader-letter:nth-child(2) {
    animation-delay: 0.1s;
}

.loader-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-letter:nth-child(4) {
    animation-delay: 0.3s;
}

.loader-letter:nth-child(5) {
    animation-delay: 0.4s;
}

.loader-letter:nth-child(6) {
    animation-delay: 0.5s;
}

.loader-letter:nth-child(7) {
    animation-delay: 0.6s;
}

.loader-letter:nth-child(8) {
    animation-delay: 0.7s;
}

.loader-letter:nth-child(9) {
    animation-delay: 0.8s;
}

.loader-letter:nth-child(10) {
    animation-delay: 0.9s;
}

.loader-letter:nth-child(11) {
    animation-delay: 1s;
}

.loader-letter:nth-child(12) {
    animation-delay: 1.1s;
}

.loader-letter:nth-child(13) {
    animation-delay: 1.2s;
}

.loader-letter:nth-child(14) {
    animation-delay: 1.3s;
}

@keyframes loader-letter-anim {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        transform: scale(1.15);
    }

    40% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

.loader-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Base hidden state */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(0) translateX(0);
    transition: all 0.8s ease-out;
}

/* Directions */
.from-top {
    transform: translateY(-50px);
}

.from-bottom {
    transform: translateY(50px);
}

.from-left {
    transform: translateX(-50px);
}

.from-right {
    transform: translateX(50px);
}

/* Visible state */
.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.interFontClass {
    font-family: 'Inter Tight', sans-serif;
}

.corner-btn {
    font-family: 'Inter Tight', sans-serif;
      position: relative;
      padding: 12px 40px;
      background: none;
      border: none;
      font-size: 13px;
      /*font-weight: 500;*/
      cursor: pointer;
      color: black;
      transition: all 0.3s ease;
    }

    /* corner lines */
    .corner-btn::before,
    .corner-btn::after,
    .corner-btn span::before,
    .corner-btn span::after {
      content: "";
      position: absolute;
      width: 15px;
      height: 15px;
      border: 2px solid black;
      transition: all 0.4s ease;
    }

    /* Top-left */
    .corner-btn::before {
      top: 0;
      left: 0;
      border-right: none;
      border-bottom: none;
    }

    /* Top-right */
    .corner-btn::after {
      top: 0;
      right: 0;
      border-left: none;
      border-bottom: none;
    }

    /* Bottom-left */
    .corner-btn span::before {
      bottom: 0;
      left: 0;
      border-right: none;
      border-top: none;
    }

    /* Bottom-right */
    .corner-btn span::after {
      bottom: 0;
      right: 0;
      border-left: none;
      border-top: none;
    }

    /* Hover effect: expand corners into full rectangle */
    .corner-btn:hover::before,
    .corner-btn:hover::after,
    .corner-btn:hover span::before,
    .corner-btn:hover span::after {
      width: 100%;
      height: 100%;
    }
    
    @keyframes zoomIn {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Apply the animation to the image */
.zoom-onload {
  animation: zoomIn 2s ease-in-out forwards; /* duration 2s, easing */
  transform-origin: center center; /* zoom from center */
}

.reveal-wrapper {
  display: inline-block;
  overflow: hidden;      /* mask */
  padding: 0.2em 0.1em;  /* bigger wrapper space */
}

.reveal-text {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: revealBehind 0.3s ease-out forwards;
}

.reveal-text:nth-child(1) { animation-delay: 0.02s; }
.reveal-text:nth-child(2) { animation-delay: 0.05s; }
.reveal-text:nth-child(3) { animation-delay: 0.08s; }
.reveal-text:nth-child(4) { animation-delay: 0.11s; }
.reveal-text:nth-child(5) { animation-delay: 0.14s; }
.reveal-text:nth-child(6) { animation-delay: 0.17s; }
.reveal-text:nth-child(7) { animation-delay: 0.20s; }
.reveal-text:nth-child(8) { animation-delay: 0.23s; }
.reveal-text:nth-child(9) { animation-delay: 0.25s; }
.reveal-text:nth-child(10){ animation-delay: 0.28s; }
.reveal-text:nth-child(11){ animation-delay: 0.31s; }
.reveal-text:nth-child(12){ animation-delay: 0.34s; }
.reveal-text:nth-child(13){ animation-delay: 0.37s; }
.reveal-text:nth-child(14){ animation-delay: 0.40s; }
.reveal-text:nth-child(15){ animation-delay: 0.43s; }

@keyframes revealBehind {
  0% {
    transform: translateY(100%) scale(1.1);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Initial state: hidden and slightly down */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
  transition-delay: var(--delay, 0s); /* default delay 0s */
}

/* When visible: move up and fade in */
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes planeBlink {
    0%, 20% { opacity: 1; }
    33.3%, 100% { opacity: 0; }
  }

  .plane-1 {
    animation: planeBlink 3s infinite;
  }
  .plane-2 {
    animation: planeBlink 3s infinite;
    animation-delay: 1s;
  }
  .plane-3 {
    animation: planeBlink 3s infinite;
    animation-delay: 2s;
  }
  
  
  .container-cards-ticket {
  perspective: 1000px;
}

.card-ticket {
  position: relative;
  height: 150px;
  width: 320px;
  display: flex;
  color: #2d2d2d;
  background-color: #ffffff;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.25);
  z-index: 10;
  gap: 1rem;
  animation: animation-card 10s infinite;
  overflow: hidden;

  &:hover {
    animation-play-state: paused;
    transform: translateY(-30px);

    & .content-ticket::after,
    & .content-ticket::before,
    & .container-icons {
      animation-play-state: paused;
    }
  }
}

.separator {
  position: absolute;
  top: 0;
  left: 50px;
  width: 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10;

  & .span-lines {
    position: relative;
    display: flex;
    height: 100%;
    border-left: 2px dashed #e8e8e8;

    &::after {
      content: "";
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 16px;
      height: 16px;
      border-radius: 16px;
      background-color: #e8e8e8;
    }

    &::before {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 16px;
      height: 16px;
      border-radius: 1rem;
      background-color: #e8e8e8;
    }
  }
}

.content-ticket {
  position: relative;
  justify-content: space-between;
  width: 100%;
  display: flex;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.8)
    );
    transform: translateX(200px) scale(1.5);
    filter: blur(10px);
    width: 200px;
    height: 100%;
    animation: shadow-card 10s infinite;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100px;
    background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0),
      #ffffff,
      rgba(0, 0, 0, 0)
    );
    transform: translateX(-100px) scale(1.5) rotate(20deg);
    width: 80px;
    height: 100%;
    animation: light-card 10s infinite;
  }
}

.content-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 0.625rem 0.75rem;
  gap: 0.25rem;

  & .data-flex,
  & .data-flex-col {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
  }

  & .data-flex-col {
    padding-bottom: 0.25rem;
    flex-direction: column;
  }
}

.data {
  font-size: 10px;
  line-height: 12px;

  & .title {
    color: #aeaeae;
  }

  & .subtitle {
    font-weight: 500;
    color: #212121;
  }
}

.destination {
  display: flex;
  align-items: center;
  justify-content: space-between;

  & .dest {
    display: flex;
    flex-direction: column;

    & .country {
      font-size: 10px;
      line-height: 1;
      color: #aeaeae;
    }

    & .acronym {
      font-weight: 700;
      color: #2d2d2d;
    }

    & .hour {
      font-size: 10px;
      line-height: 12px;
      display: flex;
      align-items: center;
      gap: 4px;
      color: #2d2d2d;
    }
  }
}

.container-icons {
  width: fit-content;
  padding: 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  animation: color-card 10s infinite;
  z-index: -1;

  & .icon {
    color: #ffffff;
  }
}

@keyframes animation-card {
  0% {
    transform: translateZ(0px);
  }

  25% {
    transform: translateX(-10px) rotateY(-20deg);
  }

  75% {
    transform: translateX(10px) rotateY(20deg);
  }

  100% {
    transform: translateZ(0px);
  }
}

@keyframes light-card {
  25% {
    transform: translateX(450px) scale(1.5) rotate(25deg);
  }

  50% {
    transform: translateX(-100px) scale(1.5) rotate(25deg);
  }
}

@keyframes shadow-card {
  35% {
    transform: translateX(200px) scale(1.5);
  }

  75% {
    transform: translateX(0px) scale(1.5);
  }
}

@keyframes color-card {
  0% {
    background-color: #1e3a8a; /* deep indigo */
  }

  10% {
    background-color: #1d4ed8; /* blue-700 */
  }

  15%, 25% {
    background-color: #2563eb; /* blue-600 */
  }

  35% {
    background-color: #1d4ed8; /* blue-700 */
  }

  40% {
    background-color: #1e40af; /* blue-800 */
  }

  50% {
    background-color: #1d4ed8; /* blue-700 */
  }

  55%, 75% {
    background-color: #3b82f6; /* blue-500 */
  }

  75% {
    background-color: #1d4ed8; /* blue-700 */
  }

  100% {
    background-color: #1e3a8a; /* deep indigo */
  }
}

/* Floating Clouds */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}
.animate-float-slow {
  animation: float 7s ease-in-out infinite;
}
.animate-float-fast {
  animation: float 9s ease-in-out infinite;
}


.earth-loader {
  --watercolor: #fafafa;
  --landcolor: #0d47a1;
  width: 7.5em;
  height: 7.5em;
  background-color: var(--watercolor);
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  box-shadow:
    inset 0em 0.5em #0d47a1,
    inset 0em -0.5em rgb(0, 0, 0, 0.25);
border: solid 0.01em #27347d;
  animation: startround 1s;
  animation-iteration-count: 1;
}

.earth p {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.25em;
  font-size: 1.25em;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.earth-loader svg:nth-child(1) {
  position: absolute;
  bottom: -2em;
  width: 7em;
  height: auto;
  animation: round1 5s infinite linear 0.75s;
}

.earth-loader svg:nth-child(2) {
  position: absolute;
  top: -3em;
  width: 7em;
  height: auto;
  animation: round1 5s infinite linear;
}
.earth-loader svg:nth-child(3) {
  position: absolute;
  top: -2.5em;
  width: 7em;
  height: auto;
  animation: round2 5s infinite linear;
}
.earth-loader svg:nth-child(4) {
  position: absolute;
  bottom: -2.2em;
  width: 7em;
  height: auto;
  animation: round2 5s infinite linear 0.75s;
}

@keyframes startround {
  0% {
    filter: brightness(500%);
    box-shadow: none;
  }
  75% {
    filter: brightness(500%);
    box-shadow: none;
  }
  100% {
    filter: brightness(100%);
    box-shadow:
      inset 0em 0.5em rgb(255, 255, 255, 0.25),
      inset 0em -0.5em rgb(0, 0, 0, 0.25);
  }
}

@keyframes round1 {
  0% {
    left: -2em;
    opacity: 100%;
    transform: skewX(0deg) rotate(0deg);
  }
  30% {
    left: -6em;
    opacity: 100%;
    transform: skewX(-25deg) rotate(25deg);
  }
  31% {
    left: -6em;
    opacity: 0%;
    transform: skewX(-25deg) rotate(25deg);
  }
  35% {
    left: 7em;
    opacity: 0%;
    transform: skewX(25deg) rotate(-25deg);
  }
  45% {
    left: 7em;
    opacity: 100%;
    transform: skewX(25deg) rotate(-25deg);
  }
  100% {
    left: -2em;
    opacity: 100%;
    transform: skewX(0deg) rotate(0deg);
  }
}

@keyframes round2 {
  0% {
    left: 5em;
    opacity: 100%;
    transform: skewX(0deg) rotate(0deg);
  }
  75% {
    left: -7em;
    opacity: 100%;
    transform: skewX(-25deg) rotate(25deg);
  }
  76% {
    left: -7em;
    opacity: 0%;
    transform: skewX(-25deg) rotate(25deg);
  }
  77% {
    left: 8em;
    opacity: 0%;
    transform: skewX(25deg) rotate(-25deg);
  }
  80% {
    left: 8em;
    opacity: 100%;
    transform: skewX(25deg) rotate(-25deg);
  }
  100% {
    left: 5em;
    opacity: 100%;
    transform: skewX(0deg) rotate(0deg);
  }
}

/* sliding animation */
.slide-in-right {
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.slide-in-left {
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.slide-current {
  transform: translateX(0);
  transition: transform 0.5s ease;
}
