* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: url('img_5.jpg') no-repeat center center fixed;
  background-size: cover;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark layer */
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  background-color: white;
  padding: 30px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}


.form-container label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #222;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-container button:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .form-container {
    padding: 25px 20px;
  }
}

.back-button {
  display: inline-block;
  margin-bottom: 20px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  
  position: relative;  /* add this */
  z-index: 10;         /* add this to bring it above overlay */
}

.back-button:hover {
  background-color: #00b0b6;
}
