
/* ---------- GLOBAL ---------- */

body {
 
  background: url("https://images.unsplash.com/photo-1483706799423-125c0738c674?q=80&w=876&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
 height: 470px;
 
}

/* ---------- CARD ---------- */
.umai-contact-card {

  width: 100%;

  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ---------- HEADER IMAGE ---------- */
.contact-umai {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-umai::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  margin-top: 60px;
  margin-bottom: -86px;
}

.contact-umai h3 {
  position: relative;
  color: #fff;
  font-size: 1.8rem;
  margin-top: 154px;
}

/* ---------- FORM ---------- */
.contact-form {
  padding: 40px;
  margin-top: 143px;
  text-align: end;
}

h3 {
  text-align: start;
}
/* GRID FOR FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: 1 / -1;
}

/* ---------- INPUT GROUP ---------- */
.umai-form-group {
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #15887c;
  outline: none;
}

/* FLOATING LABEL */
.umai-form-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 0 6px;
  color: #777;
  font-size: 14px;
  transition: 0.2s ease;
  pointer-events: none;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: -9px;
  font-size: 12px;
  color: #15887c;
}

/* ---------- BUTTON ---------- */
.umai-btn-sumit {
  margin-top: 30px;
  width: 13%;
  padding: 14px;
  background: #2e6c8a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.umai-btn-sumit:hover {
  background: #327799;
}
.umai-we-text {text-align: center;
  margin-left: -266px;
  margin-top: 203px;
  color: #ffd700;
}
/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

