@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Yellowtail&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Yellowtail&display=swap');

/* custom css */
.container {
    max-width: 1440px !important;
    padding: 0 15px;
    margin: 0 auto;
}

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #F8FAFC !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Switzer', sans-serif !important;
    letter-spacing: -0.02rem !important;
}

h1 {
    font-size: 52px !important;
    line-height: 56px !important;
}

h2 {
    font-size: 36px !important;
    line-height: 44px !important;
}

h3 {
    font-size: 32px !important;
    line-height: 40px !important;
}

h4 {
    font-size: 28px !important;
    line-height: 36px !important;
}

h5 {
    font-size: 24px !important;
    line-height: 32px !important;
}

h6 {
    font-size: 20px !important;
    line-height: 28px !important;
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 36px !important;
        line-height: 44px !important;
    }

    h2 {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    h3 {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    h4 {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    h5 {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    h6 {
        font-size: 18px !important;
        line-height: 24px !important;
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    h3 {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    h4 {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    h5 {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    h6 {
        font-size: 14px !important;
        line-height: 20px !important;
    }
}

.p-large {
    font-size: 18px !important;
    line-height: 28px !important;
}

.p-normal {
    font-size: 14px !important;
    line-height: 20px !important;

}

.p-medium {
    font-size: 16px !important;
    line-height: 24px !important;
}

.p-extraBold {
    font-family: 'Switzer', sans-serif !important;
    font-style: normal;
    font-weight: 600 !important;
    font-size: 44px !important;
    line-height: 48px !important;
    text-align: center;
    letter-spacing: -0.02em !important;
}

.font-yellowTail {
    font-family: 'Inter', sans-serif !important;
    font-family: 'Yellowtail', cursive !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    color: #334155 !important;
}

.font-yellowTailonly {
    font-family: 'Inter', sans-serif !important;
    font-family: 'Yellowtail', cursive !important;
}

/* animation on scroll */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Example using animate.css */
.banner-section {
    animation-duration: 1s;
    animation-name: fadeIn;
}

.fade-in {
    animation-duration: 1s;
    animation-name: fadeIn;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bounce {
    animation-duration: 4s;
    animation-name: bounce; 
    animation-iteration-count: infinite;

}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-15%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}




  @keyframes scrollPingPong {
    0%, 100% {
      transform: translateX(3%);
    }
    50% {
      transform: translateX(-3%);
    }
      100% {
      transform: translateX(3%);
    }

  }
  
  .scroll-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scrollPingPong 25s linear infinite;
  }

@media (max-width: 640px) {
  .scroll-track {
    animation: scrollLeft 25s linear infinite;
  }

  @keyframes scrollLeft {
   0%, 100% {
      transform: translateX(42%);
    }
    50% {
      transform: translateX(-42%);
    }

  }
}

@media (min-width: 641px) and (max-width: 940px) {
 .scroll-track {
    animation: scrollLeft 25s linear infinite;
  }

  @keyframes scrollLeft {
   0%, 100% {
      transform: translateX(43%);
    }
    50% {
      transform: translateX(-43%);
    }
    100% {
      transform: translateX(43%);
    }
  }
}

@media (min-width: 941px) and (max-width: 1440px) {
   .scroll-track {
    animation: scrollLeft 25s linear infinite;
  }

  @keyframes scrollLeft {
   0%, 100% {
      transform: translateX(22%);
    }
    50% {
      transform: translateX(-22%);
    }
    100% {
      transform: translateX(22%);
    }
  }
}




/* @media (max-width: 940px) {
 
}

@media (max-width: 1240px) {
  .scroll-track {
    animation: scrollLeft 25s linear infinite;
  }

  @keyframes scrollLeft {
   0%, 100% {
      transform: translateX(22%);
    }
    50% {
      transform: translateX(-22%);
    }
    100% {
      transform: translateX(22%);
    }
  }
} */


  @keyframes scrollPingPongback {
    0%,100% {
        transform: translateX(-3%);
      }
      50% {
        transform: translateX(3%);
      }
  }

.scroll-track:has(>*:hover) {
  animation-play-state: paused;
}

.scroll-track-back {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollPingPongback 25s ease-in-out infinite;
}


@media (max-width: 640px) {
  .scroll-track-back {
    animation: scrollrght 25s linear infinite;
  }

  @keyframes scrollrght {
   0%,100% {
        transform: translateX(-42%);
      }
      50% {
        transform: translateX(42%);
      }
  }
}





 @media (min-width: 641px) and (max-width: 940px) {
  .scroll-track-back {
    animation: scrollrght 25s linear infinite;
  }

  @keyframes scrollrght {
   0%,100% {
        transform: translateX(-43%);
      }
      50% {
        transform: translateX(43%);
      }
  }
}

@media (min-width: 941px) and (max-width: 1440px) {
  .scroll-track-back {
    animation: scrollrght 25s linear infinite;
  }

  @keyframes scrollrght {
   0%,100% {
        transform: translateX(-22%);
      }
      50% {
        transform: translateX(22%);
      }
  }
} 

.scroll-track-back:has(>*:hover) {
  animation-play-state: paused;
}

 .nft-animation {
    animation: moveTopRight 2s ease-in-out infinite alternate;
 }

 @keyframes moveTopRight {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(30px);
    }
  }

  .nft-animation2 {
    animation: moveBottomLeft 2s ease-in-out infinite alternate; 
 }

 @keyframes moveBottomLeft {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-30px, -30px);
    }
  }

  @keyframes moveTopLeft {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(0px, -50px);
    }
  }
  .nft-animation3 {
    animation: moveTopLeft 2s ease-in-out infinite alternate;
  } 

@keyframes moveTopbottom {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.eth-animation {
  animation: moveTopbottom 4s ease-in-out infinite;
  animation-delay: 1s;
  animation-fill-mode: both;
}

@keyframes moveEth {
  0% {
    opacity: 0;
    transform: translate(80px, -70px); /* Start far right and top */
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-15px, 60px); /* Move to left bottom (diagonally) */
  }
}

.eth-animated {
  animation: moveEth 4s ease-in-out infinite;
  animation-delay: 4.5s;
  animation-fill-mode: both;
}

  .nft-animation4 {
    animation: moveBottomRight 2s ease-in-out infinite alternate;
  } 
@keyframes moveBottomRight {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(30px, 30px);
    }
  }

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

@keyframes machine {
    0% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1.1);
    }
  }

@keyframes spin-slow {
    0% {
      transform: rotate(360deg);
    }

    100% {
      transform: rotate(0deg);
    }
  }

.spin-slow {
    animation: spin-slow 50s linear infinite;
  }

.slider-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 400%; /* 3 real + 1 cloned slide */
    }
    .slide {
      flex: 0 0 100%;
    }


@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.shimmer-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite alternate ease-in-out;
  filter: blur(4px);
  z-index: 1;
}

.card-slide {
  animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


  @media (min-width: 1024px) {
    .blogplay .slick-slide {
      padding-right: 16px;
    }
    .blogplay .slick-list {
      margin-right: -16px; /* prevents layout shift on last item */
    }
  }

/* border style for hero    section */
.subbox {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.border-gradient {
    background-image: linear-gradient(to left, #FE7317, #001070);
    position: relative;
    z-index: 1;
}

.border-gradient::before {
    content: '';
    display: block;
    background-color: #000316;
    position: absolute;
    border-radius: calc(20px - 2%);
    height: 86%;
    width: 98%;
    z-index: -1;
}

.change:hover {
    filter: invert(100%) grayscale(100%);
}

.bannerlogoupper {
    position: absolute;
    top: -60px;
    left: 54%;
}

/* for case study */
.bg {
    background: linear-gradient(90.92deg, #000316 -52.68%, #0033B5 137.25%);
}

/* for service */
.child {
    transition: opacity 0.3s ease-in-out;
}

.child:hover {
    opacity: 1;
}

.child:hover~.child {
    opacity: 0.5;
}