.carousel-item {
  height: 90vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main,
#wisata,
#relawan {
  min-height: 70vh;
}
#lokasi {
  min-height: 50vh;
}

.kegiatan {
  background-image: url("../Svg/wave.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

footer {
  min-height: 250px;
  background-image: url("../Svg/footer.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.card-container {
  perspective: 1200px;
  width: 100%;
  height: 100%;
}

.card-flip {
  position: relative;
  width: 100%;
  height: 350px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
}

.card-container:hover .card-flip {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-front {
  background-color: #fff;
}

.card-back {
  background-color: #f8f9fa;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.card-img-top {
  height: 100%;
  object-fit: cover;
}

.lang-toggle {
  background-color: #f1f1f1;
  display: inline-flex;
  border-radius: 50px;
  border: 1px solid #ccc;
}

.btn-lang {
  padding: 5px 15px;
  font-weight: bold;
  border: none;
  transition: background-color 0.3s ease;
  color: #333;
}

.btn-check:checked + .btn-lang {
  background-color: #aef3fc;
  color: #000;
}

.btn-lang {
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 992px) {
  #langToggleDesktop {
    display: inline-flex;
    gap: 0.1rem;
    padding: 0.5rem 0.5rem;
  }

  #langEN:checked + label[for="langEN"],
  #langID:checked + label[for="langID"] {
    background-color: #00e1ff !important;
    color: #000 !important;
  }
}

@media (max-width: 991.98px) {
  #langToggleMobile {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0.25rem;
    padding: 0.5rem;
  }

  .btn-lang {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  #langEN2:checked + label[for="langEN2"],
  #langID2:checked + label[for="langID2"] {
    background-color: #ffc107 !important;
    color: #000 !important;
  }
}
