.wishas {
  width: 100%;
  min-height: 100vh;
  padding: 4rem 8rem;
  background-color: #ffffff !important;
  background-image: none !important;
  position: relative;
  text-align: center;
  padding-top: 4rem; /* Padding top lebih besar */
  margin-top: 3rem; /* Margin top untuk jarak dari section sebelumnya */
}

.wishas > svg:first-child {
  margin-bottom: 2rem; /* Jarak setelah SVG pertama */
}

.wishas div:nth-of-type(1) h2,
.wishas div:nth-of-type(2) h2 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
}

.wishas div:nth-of-type(1) > div {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.wishas div:nth-of-type(1) > div figure {
  width: 24rem;
  text-align: center;
  border-radius: 15px;
  padding: 1rem 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.wishas div:nth-of-type(1) > div figure img {
  width: 10rem;
  height: 3rem;
  object-fit: contain;
  margin-bottom: 1rem;
}

.wishas div:nth-of-type(1) > div figure figcaption {
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

.wishas div:nth-of-type(1) > div figure button {
  padding: 0.4rem 1rem;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-small);
}

.wishas div:nth-of-type(1) > div figure button:hover {
  background-color: #000;
  color: #fff;
}

/* Perbaikan untuk div kedua yang berisi Ucapan & Doa */
.wishas div:nth-of-type(2) {
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.wishas div:nth-of-type(2) h2 {
  margin-bottom: 2rem !important;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(142, 202, 230, 0.3);
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  z-index: 15;
}

.wishas div:nth-of-type(2) > form {
  margin-top: 2rem;
  position: relative;
  z-index: 12;
}

.wishas div:nth-of-type(2) > form {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}

.wishas div:nth-of-type(2) > form label {
  display: block;
  margin-top: 1.4rem;
  margin-bottom: 4px;
}

.wishas div:nth-of-type(2) > form input,
.wishas div:nth-of-type(2) > form select,
.wishas div:nth-of-type(2) > form textarea {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  border: 1px solid #000;
}

.wishas div:nth-of-type(2) > form textarea {
  min-height: 6rem;
}

.wishas div:nth-of-type(2) > form button {
  width: 100%;
  color: #fff;
  background-color: #000;
  padding: 0.6rem 0;
  border-radius: 5px;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}

.wishas div:nth-of-type(3) {
  margin-top: 2rem;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 2rem 4rem;
}

.wishas div:nth-of-type(3) ul {
  margin-top: 1.4rem;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
  gap: 1rem;
  min-height: 26rem;
  max-height: 30rem;
  overflow-y: hidden;
}

.wishas div:nth-of-type(3) ul li {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(1) {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) {
  margin: 0.4rem 0 0;
  padding: 0;
  text-align: start;
  box-shadow: none;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) h4 {
  font-size: 1rem;
  font-weight: 400;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) p:nth-of-type(1) {
  font-size: 0.6rem;
  font-weight: 300;
  line-height: 1rem;
}

.wishas div:nth-of-type(3) ul li div:nth-of-type(2) p:nth-of-type(2) {
  margin-top: 0.4rem;
  font-weight: 300;
  font-size: 0.8rem;
}

.wishas div:nth-of-type(3) .button-grup {
  margin: 1rem auto 0;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: #fff;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishas div:nth-of-type(3) .button-grup > span {
  background-color: #d5d2d2;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishas div:nth-of-type(3) .button-grup button {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.wishas svg:nth-of-type(1) {
  position: absolute;
  z-index: -10;
  top: -12rem;
  left: 0;
  right: 0;
}

.wishas svg:nth-of-type(2) {
  position: absolute;
  z-index: -10;
  left: 0;
  right: 0;
  bottom: -15rem;
}

/* Media queries untuk responsive */
@media (max-width: 768px) {
  .wishas {
    padding: 2rem 1rem;
  }

  .wishas div:nth-of-type(2) {
    margin: 3rem auto 2rem auto;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(142, 202, 230, 0.2);
  }

  .wishas div:nth-of-type(2) h2 {
    margin-bottom: 2.5rem !important;
    padding: 1rem 0 1.5rem 0;
    font-size: 1.6rem !important;
    background-color: rgba(142, 202, 230, 0.05);
    border-radius: 8px;
    margin-top: 0 !important;
  }

  .wishas div:nth-of-type(2) form {
    margin-top: 2.5rem;
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  .wishas {
    padding: 1rem 1rem 2rem;
    padding-top: 6rem; /* Padding maksimal untuk mobile kecil */
    margin-top: 5rem;
  }

  .wishas > div:first-of-type {
    padding-top: 2rem;
  }

  .wishas div:nth-of-type(1) h2,
  .wishas div:nth-of-type(2) h2 {
    font-size: 1.6rem;
  }

  .wishas div:nth-of-type(1) p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .wishas div:nth-of-type(1) > div figure img {
    width: 6rem;
    height: 2rem;
  }

  .wishas div:nth-of-type(2) {
    margin: 4rem auto 2rem auto;
    padding: 3rem 1rem 2rem 1rem;
    border: 2px solid rgba(142, 202, 230, 0.3);
  }

  .wishas div:nth-of-type(2) h2 {
    margin-bottom: 3rem !important;
    padding: 1.5rem 0.5rem;
    font-size: 1.4rem !important;
    background-color: rgba(142, 202, 230, 0.1);
    border: 1px solid rgba(142, 202, 230, 0.2);
    border-radius: 10px;
  }

  .wishas div:nth-of-type(2) form {
    margin-top: 3rem;
  }

  .wishas div:nth-of-type(3) {
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
  }

  .wishas div:nth-of-type(3) ul {
    min-height: 18rem;
    max-height: 22rem;
  }

  .wishas div:nth-of-type(3) ul li {
    gap: 0.6rem;
  }

  .wishas div:nth-of_type(3) ul li div:nth-of-type(1) {
    width: 1.5rem;
    height: 1.5rem;
  }

  .wishas div:nth-of_type(3) ul li div:nth-of-type(2) h4 {
    font-size: 0.9rem;
  }

  .wishas div:nth-of_type(3) ul li div:nth-of-type(2) p:nth-of-type(1) {
    font-size: 0.55rem;
  }

  .wishas div:nth-of_type(3) ul li div:nth-of-type(2) p:nth-of-type(2) {
    font-size: 0.7rem;
  }

  .wishas div:nth-of-type(3) .button-grup {
    width: 100%;
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .wishas div:nth-of-type(3) .button-grup > span {
    margin-bottom: 0.5rem;
  }
}
