*,
html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
article section.Layanan {
  padding: 7rem;
  background-image: url("https://res.cloudinary.com/dnhcz1uds/image/upload/v1718075055/Hijau_l1hwub.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.Layanan .item {
  text-align: center;
  margin: 1rem auto;
}

.item .openModal {
  cursor: pointer;
  background-color: transparent;
  border: hidden;
}

.item .modal-warpper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(15 15 15 / 30%);
  display: none;
  z-index: 9999;
}
.item .modal {
  border: 1px solid #ffff;
  width: 60%;
  border-radius: 8px;
  background: white;
  height: 95%;
  box-shadow: 3px 3px 3xp #0000002e;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.item .modal-header {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}
.item .modal-body {
  padding: 1rem 3rem;
  overflow: auto;
  height: 80%;
}
.item .modal-body .modalbodySub {
  display: flex;
  align-items: center;
  gap: 0rem 5rem;
}

.item .modal-body .layananText {
  text-align: right;
  padding: 2rem 0rem;
}
.item .modal-body .layananText h1 {
  padding: 0.5rem;
  font-size: small;
  font-weight: 300;
  font-style: italic;
}
.item .modal-body .layananText hr {
  width: 50%;
  text-align: right;
  margin: 0.5rem 0rem;
  right: 0;
  display: inline-block;
  border: solid 2px;
  border-image: linear-gradient(to left, turquoise, greenyellow) 1 0;
}
.item .modal-body .header-layanan {
  display: flex;
  gap: 5rem;
  padding: 1rem;
}
.item .modal-body img {
  width: 120px;
  height: 120px;
}
.item .modal-body .layananFitur {
  text-align: left;
}

.item .modal-footer {
  border-top: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}
.item .modal-footer > button {
  width: 75px;
  height: 30px;
  border-radius: 3px;
  color: white;
  letter-spacing: 0.5px;
  font-weight: bold;
  cursor: pointer;
}
.item .tutup-btn {
  background: blue;
  border: 1px solid blue;
}
.item2 .modal-body .modalVirtual {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 5rem;
}
.item2 .modal-body .modalVirtual .virtualImg {
  display: flex;
  gap: 0rem 3rem;
  align-items: center;
}
.item2 .modal-body .modalVirtual .virtualImg img.img1 {
  width: 200px;
}
.item2 .modal-body .modalVirtual .virtualImg img.img2 {
  height: 80px;
  width: 80px;
}
.item2 .modal-body .modalVirtual .layanantext2 {
  text-align: right;
}
.item2 .modal-body .modalVirtual .layanantext2 h1 {
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
}
.Layanan .item2 {
  text-align: center;
  margin: 1rem auto;
}
.item2 .openModal {
  cursor: pointer;
  background-color: transparent;
  border: hidden;
}

.item2 .modal-warpper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(15 15 15 / 30%);
  display: none;
  z-index: 9999;
}
.item2 .modal {
  border: 1px solid #ffff;
  width: 80%;
  border-radius: 8px;
  background: white;
  box-shadow: 3px 3px 3xp #0000002e;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.item2 .modal-header {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}
.item2 .modal-body {
  padding: 2rem 3rem;
  overflow: auto;
  height: 70%;
}

.item2 .modal-body .header-layanan {
  display: flex;
  gap: 5rem;
  padding: 1rem;
}
.item2 .modal-body img {
  width: 120px;
  height: 120px;
}
.item2 .modal-body .layananFitur {
  text-align: left;
}

.item2 .modal-footer {
  border-top: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}
.item2 .modal-footer > button {
  width: 75px;
  height: 30px;
  border-radius: 3px;
  color: white;
  letter-spacing: 0.5px;
  font-weight: bold;
  cursor: pointer;
}
.item2 .tutup-btn {
  background: blue;
  border: 1px solid blue;
}

.Layanan .item3 {
  text-align: center;
  margin: 1rem auto;
}

.item3 .openModal {
  cursor: pointer;
  background-color: transparent;
  border: hidden;
}


.item3 .modal {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.item3 .modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.item3 .modal-warpper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(15 15 15 / 30%);
  display: none;
  z-index: 9999;
}

.item3 .modal {
  border: 1px solid #ffff;
  width: 60%;
  border-radius: 8px;
  background: white;
  height: 95%;
  box-shadow: 3px 3px 3xp #0000002e;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.item3 .modal-header {
  font-size:18px;
  font-weight: bold;
  border-bottom: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}



.item3 .modal-footer {
  border-top: 1px solid #cfcfcf;
  padding: 15px 15px;
  text-align: left;
}

.item3 .modal-footer > button {
  width: 75px;
  height: 30px;
  border-radius: 3px;
  color: white;
  letter-spacing: 0.5px;
  font-weight: bold;
  cursor: pointer;
}

.item3 .tutup-btn {
  background: blue;
  border: 1px solid blue;
}



.modalQris {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modalQris img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


.modalQris .layananText {
  flex: 1;
  text-align: left;
}

.modalQris .layananText h1 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.layanan-item img {
  width: 350px;     /* samain lebar gambar */
  height: 200px;    /* samain tinggi gambar */
  object-fit: cover; /* biar proporsinya rapi */
  display: block;
  margin: 0 auto;
}
.layanan-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.layanan-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* biar otomatis turun di layar kecil */
}

.layanan-wrapper .item,
.layanan-wrapper .item2,
.layanan-wrapper .item3 {
  flex: 1 1 400px;   /* lebih lebar */
  max-width: 400px; /* dari 300px -> 400px */
  text-align: center;
}

.layanan-wrapper .item img,
.layanan-wrapper .item2 img,
.layanan-wrapper .item3 img {
  width: 100%;
  max-width: 400px;   /* biar nggak melebar kebangetan */
  height: auto;       /* biar rasio asli terjaga */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

