.card-login {
  background-color: white;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.fotm-control-login,
input {
  padding: 5px 15px !important;
}

.center-logo .navbar-nav .nav-link {
  padding: 25px 30px;
}

/* FIXED NAVBAR */
.header-with-topbar.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

/* .swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.btn-login {
  background: #3498db;
  color: white;
  border: 2px solid #3498db;
  border-radius: 8px;
}

.btn-login:hover {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.btn-register {
  background: #25d366;
  color: white;
  border: 2px solid #25d366;
  border-radius: 8px;
}

.btn-register:hover {
  background: transparent;
  color: #25d366;
  border: 2px solid #25d366;
}

.theme-demos {
  display: none !important;
}

.bg-slider {
  background: linear-gradient(
    145deg,
    #1e2533,
    #2a2f3d
  ); /* ganti dengan warna yang kamu mau */
  position: relative; /* wajib supaya konten di dalam bisa posisi absolute */
  z-index: 1; /* ganti dengan warna yang kamu mau */
  height: 100%;
  width: 100%;
}

/* .bg-slider::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
  background-color: grey;
} */

.background-1 {
  position: relative;
  background-image: url("../../../assets/public/Aset Desain/pakai/bg/7.webp");
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
}

.background-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(255 255 255 / 92%);
  z-index: 2;
}

.background-2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /* background: url('../../../images/lain-lain/bg-1.jpg'); */
  /* background: url("../Aset Desain/pakai/bg/16.webp"); */
  background: #0a1237;
  /* background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom; */
  z-index: -1;
  opacity: 0.05;
}

.background-3 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../../assets/public/Aset Desain/pakai/bg/5.webp");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.1;
}

.background-4 {
  position: relative;
  background-image: url("../Aset Desain/pakai/bg/12.webp");
  background-size: cover;
  background-position: top;
  z-index: 1;
  overflow: hidden;
  background-attachment: fixed;
}

.background-5 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.background-5::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /* background: url('../../../images/lain-lain/bg-1.jpg'); */
  /* background: url("../Aset Desain/pakai/bg/16.webp"); */
  background: var(--second-color);
  /* background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom; */
  z-index: -1;
  opacity: 0.3;
}

.background-6 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.background-6::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  /* background: url('../../../images/lain-lain/bg-1.jpg'); */
  background-image: url("../../../assets/public/Aset Desain/pakai/bg/6.webp");
  /* background: var(--second-color); */
  background-repeat: no-repeat;
  background-size: cover;
  /* background-position: bottom; */
  z-index: -1;
  opacity: 0.08;
}

.btn-shop {
  background-color: var(--second-color);
  color: white;
  border-radius: 50px;
}
.btn-shop:hover {
  background-color: transparent;
  color: var(--second-color);
  border: 2px solid var(--second-color);
}

.btn-learn {
  background-color: transparent;
  border: 2px solid var(--second-color);
  color: var(--second-color);
}

.btn-learn:hover {
  background-color: var(--second-color);
  color: white;
}

.bg-welcome-text {
  position: relative;
  z-index: 1;
}

.bg-welcome-text::before {
  position: absolute;
  content: "";
  width: 90%;
  height: 70%;
  right: -10px;
  bottom: -10px;
  background-color: var(--second-color);
  z-index: -1;
  border-radius: 10px;
}

/*CARD*/
.card-keunggulan {
  width: 100%;
  padding: 10px 10px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  z-index: 1; /* ✅ card berada di atas */
}

.card-keunggulan::before {
  content: "";
  position: absolute;
  background-color: var(--second-color);
  width: 70px;
  height: 70px;
  left: -10px;
  top: -10px;
  border-radius: 10px;
  z-index: -1; /* ✅ selalu di bawah card */
}

.card-keunggulan:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  background-color: white;
  z-index: 2; /* ✅ card makin di atas saat hover */
}

.product-card {
  position: relative;
  /* background-color: #f8f8f8; */
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    to top,
    #0a1237,
    #10255d07
  ); /* Gradasi dari hijau ke putih */
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.product-card h3,
.product-card .price {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.product-card:hover::before {
  transform: translateY(0%);
}

.product-card:hover .image-wrapper {
  transform: translateY(-10px);
}

.product-card:hover h3,
.product-card:hover .price {
  color: white;
}

/* Tombol + */
.detail-button {
  position: absolute;
  bottom: 10px;
  left: 5%;
  transform: translate(-50%, 30px);
  background-color: #fff;
  color: var(--second-color);
  border: none;
  font-size: 24px;
  width: 40%;
  height: 30px;
  font-size: 16px;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Tombol muncul saat hover */
.product-card:hover .detail-button {
  transform: translate(0%, 0);
  opacity: 1;
}

.shop-button {
  position: absolute;
  bottom: 10px;
  right: 5%;
  transform: translate(-50%, 30px);
  background-color: #fff;
  color: var(--second-color);
  border: none;
  font-size: 24px;
  width: 45%;
  height: 30px;
  font-size: 16px;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Tombol muncul saat hover */
.product-card:hover .shop-button {
  transform: translate(0%, 0);
  opacity: 1;
}

/* card-produk 2 */
.product-card2 {
  position: relative;
  /* background-color: #f8f8f8; */
  /* height: 400px; */
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

/* Tombol + */
.detail-button2 {
  position: relative;
  bottom: 10px;
  left: 5%;
  /* transform: translate(-50%, 30px); */
  background-color: #fff;
  color: var(--second-color);
  border: none;
  font-size: 24px;
  width: 40%;
  height: 30px;
  font-size: 16px;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.shop-button2 {
  position: relative;
  bottom: 10px;
  right: 5%;
  /* transform: translate(-50%, 30px); */
  background-color: #fff;
  color: var(--second-color);
  border: none;
  font-size: 24px;
  width: 45%;
  height: 30px;
  font-size: 16px;
  border-radius: 10px;
  opacity: 1;
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn-wa {
  background: transparent;
  border-radius: 8px;
  border: 2px solid var(--base-color);
  color: var(--base-color);
  padding: 10px;
}

.btn-wa:hover {
  background-color: var(--base-color);
  color: white;
  border: 2px solid var(--base-color);
}

.btn-checkout {
  background: var(--base-color);
  color: white;
  border: 2px solid var(--base-color);
  border-radius: 10px;
  padding: 4px 10px;
}

.btn-checkout:hover {
  background-color: transparent;
  color: var(--base-color);
  border: 2px solid var(--base-color);
}

.btn-checkout1 {
  background: var(--base-color);
  color: white;
  border: 2px solid var(--base-color);
  border-radius: 10px;
  padding: 10px 10px;
}

.btn-checkout1:hover {
  background-color: transparent;
  color: var(--base-color);
  border: 2px solid var(--base-color);
}

.card-layanan {
  width: 100%;
  padding: 10px 10px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  cursor: pointer;
}

.card-layanan:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.overlay-header {
  position: relative;
  z-index: 1;
}
.overlay-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Sesuaikan tingkat gelapnya */
  z-index: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .content-slider {
    top: 50%;
  }
  .content-slider-mobile {
    display: flex;
    flex-wrap: nowrap; /* Jangan biarkan pecah ke bawah */
    align-items: center;
    gap: 16px;
  }
  .content-slider-mobile > div {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .content-slider-mobile h1 {
    font-size: 20px;
  }
}
.whatsapp-shake {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shake 2s infinite;
  transition: transform 0.3s;
}

.whatsapp-shake img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(1px, -1px);
  }
  40% {
    transform: translate(-1px, 1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(-1px, -1px);
  }
}

/* Membuat gambar & teks sejajar */
.produk-row {
    display: flex;
    align-items: center; /* sejajarkan vertikal */
    gap: 12px;
}

/* Atur ukuran gambar */
.produk-row .portfolio-image {
    width: 90px;       /* sesuaikan seperti referensi */
    height: 90px;
    flex-shrink: 0;    /* supaya tidak mengecil */
    border-radius: 8px;
    overflow: hidden;
}

/* Gambar tetap rapi */
.produk-row .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* atau "cover" jika mau memenuhi */
}

/* Kolom teks */
.produk-info {
    flex: 1;
    padding: 0; /* hilangkan padding tinggi bawaan */
}

/*MOBILE HP Responsive*/
@media only screen and (max-width: 600px) {
  .sticky-mobile {
    min-height: 0 !important;
  }
  .sticky-img {
    position: relative !important;
    top: 0 !important;
  }
  .swiper-wrapper {
    margin-top: 40px;
  }
}

.card-rental {
  background: white;
  border-radius: 10px;
  padding: 5px;
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
  overflow: hidden;
}
.card-rental:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.card-rental img {
  transition: transform 0.4s ease-in-out;
}

.card-rental:hover img {
  transform: scale(1.1);
}

.judul-rental {
  position: relative;
  display: inline-block;
}
.judul-rental::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid var(--base-color);
  bottom: 10px;
  left: 0;
  width: 100%;
}

.mfp-arrow-right:before {
  content: "\f061";
  font-family: FontAwesome;
}

.mfp-arrow-left:before {
  content: "\f060";
  font-family: FontAwesome;
}

/* Floating action Buttton */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  cursor: pointer;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.float:hover {
  color: #fff;
}

.my-float {
  margin-top: 16px;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  25%,
  50%,
  75%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-12px);
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.scroll-to-top .progress-circle {
  position: absolute;
  transform: rotate(-90deg);
}

.scroll-to-top .arrow-up {
  position: absolute;
  font-size: 20px;
  color: #3498db;
  z-index: 2;
}

.sticky-img {
  position: sticky;
  top: 150px;
  height: 100%;
}



/* MOBILE BOTTOM NAV */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

.mobile-bottom-nav .mobile-nav-item {
    flex: 1;
    text-align: center;
    color: var(--base-color);
    font-size: 12px;
    text-decoration: none;
    padding-top: 5px;
}

.mobile-bottom-nav .mobile-nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

/* Active state */
.mobile-bottom-nav .active {
    color: #00a6ff; /* warna biru seperti gambar */
    font-weight: 600;
}

.mobile-bottom-nav .active span {
    border-bottom: 2px solid #00a6ff;
    padding-bottom: 2px;
}

/* Hide on desktop */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none;
    }
}
