/* Contact page should not center vertically */
#middle {
  background: #000;
  align-items: flex-start;
}

/* No overlay on contact */
#middle::before {
  display: none;
}

/* Contact layout */
.contact-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;

  padding-top: 20px; /* higher up */
}

/* Left column */
.contact-title {
  font-size: 72px;
  line-height: 0.95;
  margin: 30px 0 26px; /* higher up than before */
  letter-spacing: -1px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-item i {
  color: #ff8000;
  font-size: 18px;
  width: 22px;
}

/* Social icons row */
.social {
  display: flex;
  gap: 14px;
  margin: 20px 0 18px;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #ff8000;
  border: 1px solid rgba(255, 128, 0, 0.18);
}

.social a:hover {
  border-color: rgba(255, 128, 0, 0.45);
}

/* Buttons */
.btn {
  display: inline-block;
  background: #ff8000;
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  width: 230px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-small {
  width: 170px;
  margin-top: 14px;
}

/* Disabled button state (while sending) */
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Right column form - higher up */
.contact-right {
  margin-top: 20px;
}

.contact-form {
  width: 100%;
  max-width: 920px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #2f2f2f;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  margin-bottom: 18px;
  font-size: 14px;
}

.contact-form textarea {
  background: #252525;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ✅ Success/Error message styles */
.form-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 18px;
  opacity: 0.95;
}

.form-msg.success {
  color: #4caf50;
}

.form-msg.error {
  color: #ff5252;
}

/* Responsive */
@media (max-width: 980px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 10px;
  }

  .contact-title {
    font-size: 46px;
    margin-top: 20px;
  }

  .contact-right {
    margin-top: 10px;
  }
}
