/* Background Image */
.section-background1 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section-background1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/background-keunggulan.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.07;
}

.same-size {
  width: 100%;
  /* Menyesuaikan lebar kontainer */
  height: 300px;
  /* Sesuaikan tinggi */
  object-fit: cover;
  /* Memastikan gambar tidak terdistorsi */
  object-position: center;
  /* Memusatkan gambar jika ada pemotongan */
}

/* Untuk layar lebih kecil (opsional) */
@media (max-width: 768px) {
  .same-size {
    height: 200px;
    /* Sesuaikan tinggi untuk layar kecil */
  }
}

.product-image-slider .swiper-slide img {
  width: 100%;
  /* Menjaga lebar gambar mengikuti lebar kontainer */
  height: 400px;
  /* Atur tinggi yang sama untuk semua gambar */
  object-fit: cover;
  /* Memastikan gambar tidak terdistorsi dan di-crop jika perlu */
}

.product-image-thumb .swiper-slide img {
  width: 100%;
  /* Menjaga lebar gambar mengikuti lebar kontainer */
  height: 80px;
  /* Atur tinggi yang sama untuk semua thumbnail */
  object-fit: cover;
  /* Memastikan gambar tidak terdistorsi dan di-crop jika perlu */
}

/* Welcome Text */
.custom-border {
  position: relative;
  margin-bottom: 20px;
  /* Tambah jarak antara kontainer dan elemen lainnya */
}

.custom-border::before {
  content: "";
  position: absolute;
  bottom: -10px;
  /* Jarak dari bawah */
  left: -10px;
  /* Jarak dari kiri */
  width: calc(100% + 10px);
  /* Menambah lebar agar border sesuai kontainer */
  height: calc(100% + 10px);
  /* Menambah tinggi agar border sesuai kontainer */
  border-left: 5px solid #333;
  /* Border kiri */
  border-bottom: 5px solid #333;
  /* Border bawah */
  border-radius: 8px;
  /* Mengikuti radius border gambar */
}

/* CKE Editor*/
.description-list a {
  color: var(--main-color);
}

.description-list ul li {
  list-style: initial;
}

/* Artikel */
.truncate-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* text-align: justify; */
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}

/* Background Image */
/* .background-1 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/bg-1.jpg");
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url('../../../images/lain-lain/bg-1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.1;
} */

.background-produk {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-produk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../../images/lain-lain/bg-white.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* opacity:0.07; */
}

/*------back-to-top------------*/
.prgoress_indicator {
  position: fixed;
  right: 40px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgb(214 168 45 / 27%);
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transform: translateY(15px) !important;
  transition: all 200ms linear !important;
}

.prgoress_indicator.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) !important;
}

.prgoress_indicator::after {
  position: absolute;
  content: "\f106";
  font-family: "Font Awesome 5 Free";
  text-align: center;
  line-height: 46px;
  font-size: 18px;
  color: var(--base-color);
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  font-weight: 900;
  z-index: 1;
  transition: all 200ms linear !important;
}

.prgoress_indicator::before {
  position: absolute;
  content: "\f106";
  font-family: "Font Awesome 5 Free";
  text-align: center;
  line-height: 46px;
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 2;
  transition: all 200ms linear !important;
}

.prgoress_indicator:hover ::after {
  color: var(--base-color);
}

.prgoress_indicator:hover ::before {
  opacity: 1;
}

.prgoress_indicator svg path {
  fill: none;
}

.prgoress_indicator svg.progress-circle path {
  stroke: var(--base-color);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear !important;
}

/* 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);
  }
}

/* welcome text */
.about-image::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80%;
  height: 80%;
  border-radius: 10px;
  background-color: var(--base-color);
  z-index: -1;
}

#about-us .paragraf {
  left: 490px;
  right: -600px;
}

#about-us .card-position {
  position: absolute;
}

#about-us .img-about {
  /* aspect-ratio: 3/4;
  object-fit: cover; */
}

@media (max-width: 991px) {
  #about-us .card-position {
    position: static;
    padding: 30px !important;
    --bs-box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0%);
  }

  #about-us .img-about {
    aspect-ratio: 1/1;
  }
}

/* .about-image::after {
  content: '';
  position: absolute;
  top: -35px;
  left: -35px;
  width: 130px; 
  height: 130px;
  background: url('../../../images/lain-lain/ornamen.webp') no-repeat center center;
  background-size: contain;  
  z-index: -1; 
} */

