@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

/* Style for the body */
.nunito-body {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  /* Default weight */
  font-style: normal;
}
* {
  font-family: "Nunito", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400; /* Default weight */
  font-style: normal;
}

/* a tag underline remove  */

a {
  text-decoration: none !important;
}

.fs-18 {
  font-size: 18px !important;
}

.new-card-mt {
  margin-top: -65px;
}

/* Custom animations for smoother transitions */
.slide {
  transition: opacity 0.5s ease-in-out;
}

.slider-indicator {
  transition: all 0.3s ease;
}

.slider-indicator:hover {
  transform: scaleY(1.2);
}

.slider-indicator.active {
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.new-map-icon {
  margin-top: -145px;
}

.new-number-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(#000000 5%, transparent 70%);
}

.new-number-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(#000000 5%, transparent 70%);
}

.new-mm-0 {
  margin: 0 !important;
}

.slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: calc(12rem * 6 * 2);
  /* 6 logos × 12rem width × 2 sets */
  animation: scrollLeft 20s linear infinite;
}

.slider-item {
  width: 12rem;
  /* Must match calculation in slider-track */
  flex-shrink: 0;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.slider:hover .slider-track {
  animation-play-state: paused;
}

/* in rem */
.text-year {
  font-size: 15rem !important;
}

.rotate-anticlockwise-5 {
  transform: rotate(-5deg);
}

.rounded-25 {
  border-radius: 25px !important;
}

/* Animated Light Lines */
.light-line {
  position: absolute;
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #f3f945, transparent);
  animation: lightMove 3s ease-in-out infinite;
  opacity: 0.6;
}

.light-line:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.light-line:nth-child(2) {
  left: 50%;
  animation-delay: 1s;
}

.light-line:nth-child(3) {
  left: 80%;
  animation-delay: 2s;
}

@keyframes lightMove {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
/* essentials */
.marquee {
  overflow: hidden;
  position: relative;
  --marquee-width: 1000px;
  --marquee-duration: 20s;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  flex-shrink: 0;
  display: block;
}

/* marquee animations that use the exact measured width */
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }

  to {
    transform: translateX(0);
  }
}

/* applied to track after JS sets --marquee-duration */
.marquee.play-left .marquee__track {
  animation: marquee-left var(--marquee-duration) linear infinite;
}

.marquee.play-right .marquee__track {
  animation: marquee-right var(--marquee-duration) linear infinite;
}

/* responsiveness: reduce image size on narrow screens */
@media (max-width: 640px) {
  .marquee__item {
    width: 140px !important;
    height: 140px !important;
  }
}

/* Timeline Gradient Line */
.timeline-gradient-line {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

.font-outline {
  font-weight: 700;
  -webkit-text-stroke: 1px #94cc21;
  color: transparent;
}

.font-outline:hover {
  -webkit-text-stroke: 2px #94cc21;
  color: #94cc21;
}

/* Smooth infinite scroll animation */
@keyframes scroll-slow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll-slow {
  animation: scroll-slow 20s linear infinite;
}
