.nav-item {
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-item.selected-nav-item {
  color: #183b67;
  font-weight: bold;
}

.nav-item.selected-nav-item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #183b67;
}

/* ================================ explore */

.carousel-card {
  position: relative;
  width: 250px;
  height: 350px;
  color: #fff;
  transition: 0.5s;
  cursor: pointer;
}

.carousel-card:hover {
  transform: translateY(-50px);
}

.carousel-card::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 1.2em;
}

.carousel-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-card span {
  position: absolute;
  background-color: rgb(0, 0, 0);
  z-index: 2;
  border-radius: 2em;
}

.carousel-card .carousel-content {
  position: relative;
  padding: 10px;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5em;
  overflow: hidden;
  border-radius: 0em;
}

.carousel-card .carousel-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-card .carousel-text {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 15;
  background: #183b6780;
  margin: 0px 10px;
}

.carousel-card .carousel-text p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.carousel-card .carousel-text .explore-btn {
  display: none;
  margin-top: 10px;
  padding: 8px 16px;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-transform: uppercase;
  font-weight: normal;
}

.carousel-card:hover .carousel-text .explore-btn {
  display: inline-block;
}

.carousel-card .carousel-text .explore-btn:hover {
  background-color: #183c67a9;
}

@media (min-width: 1024px) {
  #carousel {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
  }
}

