.header.hide {
  transform: translateY(-100%);
}

.header.show {
  transform: translateY(0);
}

.bottom-nav,
.header {
  transition: transform 0.3s ease-in-out;
}

.hide-after:after {
  display: none !important;
}

.hide-before ::before {
  display: none !important;
}

.transition-100 {
  transition: 1s ease-in-out !important;
}
.transition-75 {
  transition: 0.75s ease-in-out !important;
}
.transition-50 {
  transition: 0.5s ease-in-out !important;
}
.transition-25 {
  transition: 0.25s ease-in-out !important;
}
.transition-10 {
  transition: 0.1s ease-in-out !important;
}

.rotate-360 {
  transform: rotate(-360deg) !important;
}
.rotate-180 {
  transform: rotate(-180deg) !important;
}
.rotate-90 {
  transform: rotate(-90deg) !important;
}
.rotate-45 {
  transform: rotate(-45deg) !important;
}
.rotate-0 {
  transform: rotate(0deg) !important;
}

.rotate-45-left {
  transform: rotate(45deg) !important;
}
.rotate-90-left {
  transform: rotate(90deg) !important;
}
.rotate-180-left {
  transform: rotate(180deg) !important;
}
.rotate-360-left {
  transform: rotate(360deg) !important;
}
/* Hide descriptions initially */
.description {
  cursor: pointer;
  display: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Hover effect for the cards */
.hover-card:hover {
  transform: scale(1.1); /* Enlarge the card */
  z-index: 3000;
  animation-play-state: paused;
  transition: 0.5s ease-in-out all;
}

.hover-card:hover .description {
  display: block;
  opacity: 1; /* Show the description */
  visibility: visible; /* Make description visible */
}

.hover-card h3 {
  transition: opacity 0.3s ease;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.hover-card:hover h3 {
  opacity: 0.8; /* Optionally, make the heading slightly transparent on hover */
  margin-bottom: 10px !important;
}

/* Continuous up and down animation */
@keyframes moveUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Moves up by 10px */
  }
  100% {
    transform: translateY(0); /* Moves back down to the original position */
  }
}

/* Hover card base styles */
.hover-card {
  animation: moveUpDown 10s ease-in-out infinite; /* Applies the animation indefinitely */
  transition: transform 1s ease, opacity 0.3s ease;
  animation-play-state: running;
}

.hover-card:nth-child(1) {
  animation-delay: 0s; /* No delay for the first card */
}

.hover-card:nth-child(2) {
  animation-delay: 5s; /* Delay by 0.5s for the second card */
}

.hover-card:nth-child(3) {
  animation-delay: 1.3s; /* Delay by 1s for the third card */
}

.hover-card:nth-child(4) {
  animation-delay: 5.7s; /* Delay by 1.5s for the fourth card */
}

.hover-card:nth-child(5) {
  animation-delay: 0.5s; /* Delay by 2s for the fifth card */
}

/* Webkit scrollbar styles */
.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent; /* Background of the track */
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #4d4c4c; /* Scrollbar thumb color */
  border-radius: 10px; /* Padding around the thumb */
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #707070; /* Scrollbar thumb color */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.landing-carousel-height {
  height: 350px !important;
}

.summary-widget {
  height: 350px !important;
}

.ai-widget {
  height: 500px !important;
}

.search-slide-in {
  transform: translateX(0%);
}

.search-slide-out {
  transform: translateX(100%);
}
