body {
  font-family: Arial, sans-serif;
  background-color: #f7f9fc;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 50px auto;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

header,
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 10px 0;
}

h1,
footer p {
  margin: 0;
}

h2 {
  text-align: center;
  color: #333;
}

h4 {
  text-align: center;
  color: bisque;
}

/* Form Row */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Form Group */
.form-group {
  flex: 1;
  min-width: 45%;
  font-weight: bold;
}

/* Input styles */
label {
  display: block;
  margin-bottom: 5px;
}
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 5px;
}

/* Center Buttons and Align Together */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

button {
  padding: 12px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

button[type="reset"] {
  background-color: #e74c3c;
}

button[type="reset"]:hover {
  background-color: #c0392b;
}

/* Footer styling */
footer {
  margin-top: 50px;
  padding: 15px 0;
  background-color: #2c3e50;
  color: #fff;
  font-size: 14px;
}

footer p {
  margin: 0;
  line-height: 1.5;
}

footer a {
  color: #1abc9c;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #16a085;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .form-group {
    min-width: 100%;
  }
}
