.home-cat-link-img {
  object-fit: cover;
  width: 100px;
  height: 100px;
}
.carousel-container {
  background: #fff;
  border-radius: 1rem;
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.12),
    0 1.5px 4.5px rgba(0, 0, 0, 0.07);
  width: 100%;
}
.carousel-title {
  color: #4f46e5;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.carousel-inner {
  border-radius: 1rem;
  overflow: hidden;
}
.carousel-item img {
  width: 100%;
  object-fit: cover;
  height: 340px;
  border-radius: 1rem;
  background: #eef2ff;
  transition: filter 0.4s;
}
.carousel-item.active img,
.carousel-item-next img,
.carousel-item-prev img {
  filter: brightness(0.97) saturate(1.2);
}
.carousel-caption {
  background: #ffffff5e;
  border-radius: 0.7rem;
  padding: 1rem 1.3rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.8rem;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
  backdrop-filter: blur(2px);
}
/* Modern navigation buttons */
.carousel-control-prev,
.carousel-control-next {
  width: 54px;
  height: 54px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  z-index: 2;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-doby) 70%, #f59e42 100%);
  box-shadow: 0 2px 14px rgba(79, 70, 229, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: linear-gradient(135deg, #f59e42 30%, var(--red-doby) 100%);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 5px 20px rgba(79, 70, 229, 0.22);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: "";
}
.carousel-control-prev svg,
.carousel-control-next svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.carousel-indicators [data-bs-target] {
  background: var(--red-doby);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #f3f4f6;
  margin: 0 6px;
  opacity: 0.4;
  transition:
    opacity 0.2s,
    background 0.2s;
}
.carousel-indicators .active {
  background: linear-gradient(135deg, var(--red-doby), #f59e42);
  opacity: 1;
  border: 2px solid #eef2ff;
}
@media (max-width: 600px) {
  /*   .carousel-container {
        padding: 0.8rem 0.2rem;
        max-width: 98vw;
      } */
  .carousel-title {
    font-size: 1.2rem;
  }
  .carousel-item img {
    height: 160px;
  }
  .carousel-caption {
    font-size: 0.7rem;
    padding: 0.6rem 0.7rem;
    bottom: 0.5rem !important;
  }
  .carousel-caption h5 {
    font-size: 0.8rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
    height: 38px;
  }
  .carousel-control-prev svg,
  .carousel-control-next svg {
    width: 18px;
    height: 18px;
  }
}
