* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}

header h1 {
  background: black;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

header h1:hover {
  background: navy;
  color: gold;
  transform: scale(1.05);
}

header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

header nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

.container {
  display: flex;
  min-height: 80vh;
  flex-wrap: wrap;
}

.steps {
  background: #eee;
  padding: 1rem;
  width: 25%;
  min-width: 200px;
}

.steps p {
  margin-bottom: 1rem;
  font-weight: bold;
}

.form-area {
  background: #cceeff;
  padding: 2rem;
  flex: 1;
  min-width: 300px;
}

.form-area h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-area h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

small {
  font-size: 0.8rem;
  color: #333;
}

button {
  padding: 10px 20px;
  background: #2e3a59;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 1rem;
}

button:hover {
  background: #1e2a40;
}

footer {
  background: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.notice {
  color: #b91c1c;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .steps {
    width: 100%;
    text-align: center;
  }

  .form-area {
    padding: 1rem;
  }

  .form-group {
    flex: 1 1 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
}
