.slider-container{
  justify-content: center;
  justify-items: center;
  text-align: center;
  width: 100%;
  margin-left: 5%;
  margin-bottom: 50px;
  max-width: 1000px;   /* optional, kalau mau dibatasi */
  margin: 0 auto 50px; /* center horizontal */
}

.sliderindex{
  justify-content: center;
  justify-items: center;
  text-align: center;
  margin-left: 11%;
  margin-top: 60px;
  margin-bottom: 95px;
  width: 1000px;
}

.slider .slider1{
  border-radius:10px ;
}

/* === Update layout tiap slide === */
.slide-item {
  display: flex;
  align-items: center;
  gap: 20px;             /* jarak antara gambar dan teks */
}

.slide-item img {
  width: 520px;
  height: 280px;        /* samakan tinggi */
  border-radius: 10px;
  object-fit: cover;    /* isi penuh, bagian kelebihan dicrop */
}


.bacground{
  width: 550px;
  height: 280px; 
  padding: 20px;
  background-color:#145aa051;
  border-radius: 10px;
  align-items: center;
}

.bacgroundindex{
  width: 550px;
  height: 250px;
  background-color:#145aa01e;
  border-radius: 10px;
}

.bacground p{
  margin: 0;
  font-weight: bold;
}

.slick-prev{
  position: absolute;
  height: 32px;
  top: 40%;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  left: -50px;
  box-shadow: 2 2 2rem rgba(0, 0, 0, 0.197);
  border: 1px;
}
.slick-next{
  position: absolute;
  height: 32px;
  top: 40%;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  box-shadow: 2 2 2rem rgba(0, 0, 0, 0.197);
  right: -50px;
  border: 1px;
}

.custom-dots {
  list-style-type: none;
  border: 0px;
  padding: 0;
  margin: 0 auto;
  text-align: center;   /* ini bikin dots ada di tengah */
  display: block;
}
   
ul.custom-dots {
  padding: 0;
  border: 0px;
  box-shadow: 2 2 2rem rgba(0, 0, 0, 0.197);
}

ul.custom-dots li {
  display: inline-block;
  margin: 0 2px;
  border: 0px;
}

/* ================= MOBILE ================= */
@media (max-width: 767px){
  .slider-container{
    justify-content: center;
    justify-items: center;
    text-align: center;
    width: 410px;
    margin-left: 5%;
    margin-bottom: 10px;
  }
  .sliderindex{
    justify-content: center;
    justify-items: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 355px;
  }
  .slider .slider1{
    border-radius:10px ;
  }

  /* di HP jadi gambar atas teks bawah */
  .slide-item {
    flex-direction: column;
  }

  .slide-item img {
    width: 100%;
  }

  .bacground{
    width: 100%;
    height: auto;
    padding: 15px;
    background-color:#145aa051;
    border-radius: 10px;
  }

  .bacgroundindex{
    width: 100%;
    height: 200px;
    background-color:#145aa01e;
    border-radius: 10px;
  }

  .bacground p{
    margin: 0;
    font-weight: bold;
    font-size: 12px;
  }

  .slick-prev{
    position: absolute;
    height: 32px;
    top: 32%;
    justify-content: center;
    align-items: center;
    left: -30px;
    border: 1px;
  }
  .slick-next{
    position: absolute;
    height: 32px;
    top: 32%;
    justify-content: center;
    align-items: center;
    right: -30px;
    border: 1px;
  }

  .custom-dots{
    list-style-type: none;
    border: 0px;
  }    
  ul.custom-dots {
    padding: 0;
    border: 0px;
    box-shadow: 2 2 2rem rgba(0, 0, 0, 0.197);
  }
  
  ul.custom-dots li {
    display: inline-block;
    margin: 0 2px;
    border: 0px;
  }
}
