@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&display=swap");

.swiper-slide{
height:auto !important;
}

.img-zoom-hover {
  transition: transform 0.4s ease;
}

.img-zoom-hover:hover {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.latest-product:hover {
  /*create a slow effect */
  transition: transform 0.9s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.heading {
  float: left;
  width: 100%;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  text-align: left;
}

.heading-underline {
  display: inline-block;
  position: relative;
}

.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 28px;
  background-color: #7C3AED; /* Tailwind blue-500 */
  border-radius: 2px;
}

.card-hover {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.card-hover:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}
.card-hover img {
  transition: transform 0.4s ease;
}
.card-hover:hover img {
  transform: scale(1.05);
}

/* popup box-----*/

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.rotate-hover {
  transition: transform 0.4s ease;
}

.rotate-hover:hover {
  transform: rotate(180deg);
}

/*================ Success/Error Notification Styles ================*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

.animate-fade-out {
  animation: fadeOut 0.3s ease-in forwards;
}
