.contact__text {
  background-color: #42723d;
  height: 100%;
  width: 40%;
  border-radius: 10px;
  padding: 30px;
}

.kontak-kami {
  background-color: rgb(66, 114, 61, 0.3);
}

.row-contact {
  display: flex;
  height: 500px;
  padding-bottom: 100px;
}

.content-right {
  width: 60%;
}

.contact__text h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 3px;
  margin-bottom: 48px;
  padding-top: 20px;
}

.contact__text p {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 30px;
}

.contact__text ul li {
  list-style: none;
  position: relative;
  padding-top: 5px;
  margin-bottom: 30px;
}

.contact__text ul li span {
  line-height: 46px;
  text-align: center;
  border-radius: 10px;
  font-size: 24px;
  color: #ffffff;
  position: absolute;
  left: -38px;
  top: 0;
}

.contact__text ul li h5 {
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact__text ul li p {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 0;
}

.contact__social {
  display: flex;
  gap: 20px;
  position: relative;
  left: -30px;
}

.contact__text .contact__social a {
  display: inline-block;
  font-size: 24px;
  color: #ffffff;
}

.contact__text .contact__social a:last-child {
  margin-right: 0;
}

.content-right iframe {
  width: 100%;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 0 100px 0;
}

.contact-form {
  width: 45%;
  background: #f7f2f2;
  padding: 80px 140px;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.contact-form:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 8px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h1 {
  color: #42723d;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.contact-form p {
  color: #2e7d32;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 24px;
  text-align: justify;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.form-field {
  flex: 1 1 250px;
}
label {
  display: block;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 5px;
}
input,
textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  background-color: transparent;
}
textarea {
  min-height: 40px;
  resize: none;
  overflow: hidden;
  line-height: 1.5;
}
.btn-kirim {
  color: #ffffff;
  background-color: #f9d541;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}

.btn-kirim:hover {
  background-color: #ffdd55;
}
/* Menghapus outline default browser saat focus */
input:focus,
textarea:focus {
  border-bottom: 2px solid #2e7d32;
}
/* Mengubah style placeholder */
::placeholder {
  color: #999;
}
/* Khusus untuk field pesan */
.pesan-field {
  flex: 1 1 100%;
}
.pesan-field textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
}

/* Responsive styles */
@media (max-width: 1280px) {
  .contact {
    width: 100%;
  }

  .contact-form {
    width: 72%;
    padding: 50px;
  }

  .contact-form h1 {
    width: 100%;
    font-size: 28px;
  }

  .contact-form p {
    font-size: 20px;
  }

  .form-group {
    gap: 40px;
  }

  .container {
    width: 90%;
  }

  .contact__text {
    width: 80%;
    height: auto;
  }

  .content-right {
    width: 100%;
  }

  .contact__text ul li p {
    font-size: 16px;
  }

  .contact__text ul li span {
    font-size: 20px;
  }
  .row-contact {
    height: auto;
  }
}

@media (max-width: 992px) {
  .contact {
    width: 100%;
  }

  .contact-form {
    width: 70%;
    padding: 50px;
  }

  .contact-form h1 {
    width: 100%;
    font-size: 28px;
  }

  .contact-form p {
    font-size: 20px;
  }

  .form-group {
    gap: 10px;
  }

  .container {
    width: 90%;
  }

  .contact__text {
    width: 80%;
    height: auto;
  }

  .content-right {
    width: 100%;
  }

  .contact__text ul li p {
    font-size: 16px;
  }

  .contact__text ul li span {
    font-size: 20px;
  }
  .row-contact {
    height: auto;
  }
}

@media (max-width: 768px) {
  .contact {
    width: 100%;
  }

  .contact-form {
    width: 80%;
    padding: 50px;
  }

  .contact-form h1 {
    width: 100%;
    font-size: 24px;
  }

  .contact-form p {
    font-size: 18px;
  }

  .form-group {
    gap: 10px;
  }

  .container {
    width: 80%;
  }

  .row-contact {
    display: flex;
    flex-direction: column;
  }

  .contact__text {
    width: 100%;
    height: auto;
  }

  .content-right {
    width: 100%;
  }

  .contact__text ul li p {
    font-size: 16px;
  }

  .contact__text ul li span {
    font-size: 20px;
  }
  .row-contact {
    height: auto;
  }
}

@media (max-width: 480px) {
  .contact {
    width: 100%;
  }

  .contact-form {
    width: 90%;
    padding: 50px;
  }

  .contact-form h1 {
    width: 100%;
    font-size: 20px;
  }

  .contact-form p {
    font-size: 16px;
  }

  .form-group {
    gap: 10px;
  }

  .container {
    width: 90%;
    padding: 0;
  }

  .row-contact {
    display: flex;
    flex-direction: column;
  }

  .contact__text {
    width: 100%;
    height: auto;
  }

  .content-right {
    width: 100%;
  }

  .contact__text ul li p {
    font-size: 16px;
  }

  .contact__text ul li span {
    font-size: 20px;
  }

  .row-contact {
    height: auto;
  }
}

@media (min-width: 1281px) {
  .contact-form {
    width: 50%;
  }

  .form-group {
    gap: 20px;
  }

  .contact__text {
    width: 50%;
    height: auto;
  }

  .contact-form {
    font-size: 20px;
    padding: 80px;
  }
  .row-contact {
    height: auto;
  }
}
