* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.contact {
  width: 100%;
  max-width: 600px;
}

.contact h2 {
  font-size: 40px;
  color: black; /* Updated */
  text-align: center;
  margin-bottom: 10px;
}

.contact form {
  width: 100%;
  text-align: center;
}

form .input-box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.input-box .input-field {
  width: 48.5%;
}

.field .item {
  width: 100%;
  padding: 18px;
  background: white; /* Updated */
  border: 2px solid rgb(0, 0, 0);
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  color: black; /* Updated */
  margin: 12px 0;
}

.field .item::placeholder {
  color: black; /* Updated */
}

.field .error-txt {
  font-size: 14.5px;
  color: #d90325;
  text-align: left;
  margin: -5px 0 10px;
  display: none;
}

form .textarea-field .item {
  resize: none;
}

form .textarea-field .error-txt {
  margin-top: -10px;
}

form button {
  padding: 12px 32px;
  background: black; /* Updated */
  border: none;
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 10px rgb(0, 0, 0);
  font-size: 16px;
  color: white; /* Updated */
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.5s;
}

form button:hover {
  box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact h2 {
    font-size: 30px;
  }

  form .input-box {
    flex-direction: column;
  }

  .input-box .input-field {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact h2 {
    font-size: 24px;
  }

  .field .item {
    padding: 14px;
    font-size: 14px;
  }

  form button {
    padding: 10px 28px;
    font-size: 14px;
  }
}
