/* css to reset all the designs */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');


body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

html {
    font-size: 62.5%;
    font-family: 'Roboto', sans-serif;
}

li {
    list-style: none;
}

.li-kbs-1 {
    list-style-type: disc; /* Tanda titik (bullet) */
    text-align: left;
    font-size: 15px;
    margin-bottom: 1rem;
}

.li-kbs-2 {
    list-style-type: disc; /* Tanda titik (bullet) */
    text-align: left;
    font-size: 15px;
}

.a-kbs {
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    margin-top: 1rem;
}

a {
    text-decoration: none;
}

/* css to reset all the designs */

/* add styles on elements */

.header {
 box-shadow: 0 8px 8px rgb(0 0 0 / 24%);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 5px;
}

.nav-link {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.nav-link:hover {
    color: #01a64e;
}

.nav-logo {
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
}

@media only screen and (max-width: 991px) {
    .navbar {
        width: 100%; /* Make navbar narrower on mobile */
        margin: 0 auto; /* Center-align */
        display: flex;
        justify-content: space-around;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: #ffffffdb;
        width: 100%;
        height: 100vh; /* Full height of the viewport */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-left: 0px;
        padding-top: 8.8rem; /* Adjust padding to place content below navbar */
    }

    .nav-link {
        color: #000000;
    }

    .nav-active {
        color: #1c424f;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.banner-syariah {
    padding-top: 100px; /* Adjust the value to match your navbar's height */
}

.carousel-cell {
    width: 100%;
    margin-right: 10px;
}

/* add styles on elements */

/* Container styling */
.search-container {
    display: flex;
    align-items: center;
    border: 2px solid #000000; /* Border color */
    border-radius: 25px;
    padding: 5px 15px;
    width: 300px;
}

/* Magnifying glass icon */
.search-container i {
    font-size: 18px;
    color: #000000; /* Icon color */
}

/* Input styling */
.search-container input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    margin-left: 10px;
    background-color: transparent;
}

/* Jarak untuk elemen collapse */
.collapse {
    margin-top: 20px;
}

.smooth-blink-text {
    cursor: pointer;
}
.card-detail-jaminan {
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  opacity: 0.5;
}
.preloader .loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font: 14px arial;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*===================================================*/
.slider {
  width: 50%;
  margin: 10px auto;
}

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}


.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}

.slick-current {
  opacity: 1;
}

/* Wrapper gambar */
.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* Teks "Open" */
.image-wrapper .hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  opacity: 0; /* Awalnya tidak terlihat */
  transition: opacity 0.3s ease;
  pointer-events: none; /* Tidak bisa diklik */
  z-index: 1; /* Pastikan teks ada di atas gambar */
}

/* Efek hover */
.image-wrapper:hover .hover-text {
  opacity: 1; /* Teks muncul saat hover */
}

/* Overlay gelap (opsional) */
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 20px;
}

.image-wrapper:hover::before {
  opacity: 1;
}

/* Pastikan link bisa diklik */
.image-wrapper a {
  display: block;
  pointer-events: auto;
}

.social-share-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.social-share-center a img {
    display: block; /* Pastikan gambar di dalam <a> ditampilkan sebagai elemen blok */
}

/*=====================================================================================*/

/* Pastikan <a> bisa diklik dan bekerja dengan baik */
.image-wrapper-produk {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Teks "Buka" */
.image-wrapper-produk .hover-text-produk {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Tidak bisa diklik */
  z-index: 2; /* Pastikan teks ada di atas gambar dan overlay */
}

/* Efek hover */
.image-wrapper-produk:hover .hover-text-produk {
  opacity: 1;
}

/* Overlay gelap */
.image-wrapper-produk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(28 66 79 / 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; /* Pastikan overlay berada di bawah teks */
  border-radius: 20px;
}

.image-wrapper-produk:hover::before {
  opacity: 1;
}

.produk-item:hover .overlay {
  display: none;
}

.image-wrapper-produk img {
  transition: transform 0.3s ease;
}

.image-wrapper-produk:hover img {
  transform: scale(1.1); /* Perbesar gambar 10% saat hover */
}

.btn-detail-produk{
    background: #1c424f;
    border: 1px #1c424f;
    border-radius: 20px;
    padding: 10px 45px 10px 45px;
    font-size: 16px;
    color: #fff;
}

.note-syariah {
    color: #000000;
    font-weight: bold;
    border-bottom: 6px #183e4c solid;
}
.note-syariah table{
    width:100%;
    margin-top:10px;
    margin-bottom:10px;
}

.note-syariah td{
    width: 40%;
}

.note-syariah img{
   max-width:70px;
   min-width:140px;
}

.note-syariah h3{
    text-align:right;
}

.note-syariah strong{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16.8px;
    text-align:right;
    font-weight: 700;
}
.btnSubmit {
    border: none;
    border-radius: 0.5rem;
    padding: 8px 10px;
    cursor: pointer;
    background: #0062cc;
    color: #fff;
}
.form-content {
    border: 1px solid #F4F4F4;
    margin-bottom: 2%;
}

.wpstar {
    color: #bf1c2f;
}

.label-judul-form {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}


.map {
    width: 100%;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}