@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Syne", sans-serif;
  scroll-behavior: smooth;
}

@keyframes green-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
    box-shadow: 0 0 0 0 rgba(166, 206, 56, 0.5);
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
    box-shadow: 0 0 0 20px rgba(166, 206, 56, 0);
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.pulse-ring {
  position: relative;
  width: 48px; /* or w-12 */
  height: 48px; /* or h-12 */
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 9999px;
  animation: green-pulse 1.6s ease-out infinite;
  z-index: 0;
}

#hero-carousel {
  position: relative;
  overflow: hidden;
}

#slide-layer {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease-in-out;
  z-index: 10;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee {
  display: flex;
  width: max-content; /* So content doesn't wrap */
  animation: marquee 30s linear infinite;
}

/* Tailwind config or global CSS */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-container {
  overflow: hidden;
  scroll-behavior: smooth;
}

.carousel-images {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
}

.carousel-images img {
  width: 100%;
  height: 7rem; /* same as h-28 */
  object-fit: cover;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.carousel-images img.active {
  transform: scale(1.1);
  z-index: 1;
}
.carousel-highlight {
  transform: scale(1.2) translateY(0px);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.carousel-image {
  transition: all 0.3s ease-in-out;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}



@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-270px);
  }
  45% {
    transform: translateX(-270px);
  }
  50% {
    transform: translateX(-540px);
  }
  70% {
    transform: translateX(-540px);
  }
  75% {
    transform: translateX(-810px);
  }
  95% {
    transform: translateX(-810px);
  }
  100% {
    transform: translateX(-1080px);
  }
}

.card {
  width: 250px;
  margin-right: 25px;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
 

  @keyframes slideLeft {
    0% {
      transform: translateX(0);
    }
    20% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-236px);
    }
    45% {
      transform: translateX(-236px);
    }
    50% {
      transform: translateX(-472px);
    }
    70% {
      transform: translateX(-472px);
    }
    75% {
      transform: translateX(-708px);
    }
    95% {
      transform: translateX(-708px);
    }
    100% {
      transform: translateX(-944px);
    }
  }
}
/* Optional: only if using external CSS */
.active {
  @apply bg-[#A6CE38] text-white;
}

  @media (min-width: 770px) and (max-width: 1260px) {
    .hover-stretch:hover {
      flex: 0 0 60% !important;
    }
  }

  @media (min-width: 1261px) {
    .hover-stretch:hover {
      flex: 2 2 40% !important;
    }
  }
/* Hide scrollbar for Chrome, Safari, and Opera */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}


@media (max-width: 640px) {
  .carousel-container {
    overflow: hidden;
    width: 260px; /* exactly 1 card wide */
    margin: 0 auto; /* center container */
  }

  .carousel-track {
    display: flex;
    justify-content: flex-start;
  }

  .carousel-track .card {
    flex: 0 0 260px;
    margin: 0;
  }

    #left-btn {
    left: -10px !important;
  }

  #right-btn {
    right: -10px !important;
  }
}
/* Add this to your CSS */
@media (hover: none) {
  .hover\:bg-\[\#16242F\]:active {
    background-color: #16242F !important;
  }
}

