/* Container */
.cf7-modern {
  max-width: 700px;
}

/* Reset bawaan CF7 */
.cf7-modern p {
  margin: 0;
}

.cf7-modern .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
}

/* Row 2 kolom */
.cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.cf7-col {
  flex: 1;
}

/* Group spacing (antar field) */
.cf7-group {
  margin-bottom: 24px;
}

/* Label */
.cf7-modern label {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px; /* rapet ke input */
  line-height: 1.3;
}

.cf7-modern label span {
  color: red;
}

/* Input & textarea */
.cf7-modern input,
.cf7-modern textarea {
  width: 100%;
  margin-top: 0; /* pastikan tidak ada jarak tambahan */
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

/* Focus effect */
.cf7-modern input:focus,
.cf7-modern textarea:focus {
  border-color: #2b8a9e;
  background: #fff;
  outline: none;
}

/* Textarea */
.cf7-modern textarea {
  min-height: 150px;
  resize: none;
}

/* Button */
.cf7-modern input[type="submit"] {
  width: 100%;
  background: #10462C;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.3s;
}

/* Hover */
.cf7-modern input[type="submit"]:hover {
  background: #10462C;
}

/* Responsive */
@media (max-width: 600px) {
  .cf7-row {
    flex-direction: column;
  }
}