/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb;
  color: #222;
  padding: 40px 15px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

/* Form container */
.form-container {
  background: #ffffff;
  max-width: 480px;
  width: 100%;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}
.form-container:hover {
  box-shadow: 0 12px 40px rgba(0, 115, 230, 0.25);
}

/* Heading */
.form-container h2 {
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 25px;
  color: #0b1a41;
  text-align: center;
  letter-spacing: 0.03em;
}

/* Form fields */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #3a3f55;
  font-size: 0.95rem;
  user-select: none;
}
input[type="text"],
input[type="email"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.8px solid #d1d9e6;
  border-radius: 8px;
  background-color: #fefefe;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  color: #1e1e2f;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
input[type="file"]:focus {
  outline: none;
  border-color: #0073e6;
  box-shadow: 0 0 6px rgba(0, 115, 230, 0.5);
  background-color: #fff;
}
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.4;
}

/* Button */
button {
  margin-top: 28px;
  width: 100%;
  background: linear-gradient(135deg, #0066ff 0%, #004ecc 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 15px 0;
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 102, 255, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}
button:hover,
button:focus {
  background: linear-gradient(135deg, #004ecc 0%, #002e99 100%);
  box-shadow: 0 8px 18px rgba(0, 78, 204, 0.6);
  outline: none;
}

/* Responsive */
@media (max-width: 520px) {
  .form-container {
    padding: 25px 20px;
  }
  body {
    padding: 30px 10px;
  }
}

/* Footer text */
.footer-text {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #7a7f99;
  font-weight: 600;
  letter-spacing: 0.05em;
  user-select: none;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
