section.contact {
  display: flex;
  justify-content: center;
  min-height: 100%;
  background: #f9f6f3;
  padding: 2rem 0;

}

.ipText{
  color: gray;
}

.contact .container {
  background: #f9f6f3;
  max-width: 700px;
  width: 90%;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact h1 {
  margin-top: 0;
  font-size: 2rem;
  color: rgb(83, 80, 80);
}

.contact p {
  color: gray;
  margin-bottom: 2rem;
}

.contact form {
  width: 100%;
}

.contact .row {
  display: flex;
  gap: 1rem;
}

.contact .input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: goldenrod;
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.2);
}

.contact button {
  width: 100%;
  background: gray;
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: goldenrod;
}

.contact #result {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ============================
   MEDIA QUERIES
   ============================ */

@media (max-width: 880px) {
  .contact .row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .contact .container {
    padding: 1.5rem;
  }

  .contact h1 {
    font-size: 1.5rem;
  }

  .contact input, .contact textarea {
    font-size: 0.95rem;
  }

  .contact button {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}