* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f6f8;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header.header {
  background-color: #244a74;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .logo {
  max-width: 220px;
  height: auto;
}

#main-container {
  max-width: 800px;
  background: #fff;
  margin: 30px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

h1 {
  text-align: center;
  color: #1a2b48;
}

hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 15px 0 25px;
}

.form-section {
  margin-bottom: 25px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-top: 6px;
  background-color: #fafafa;
  transition: border 0.3s, background 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #244a74;
  background-color: #fff;
  outline: none;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

button {
  background-color: #244a74;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #1a3a5c;
}

.submit-container {
  text-align: center;
  margin-top: 20px;
}

.success-message {
  text-align: center;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 20px;
}

.extra-fields {
  display: none;
  margin-top: 15px;
  padding: 15px;
  border-radius: 10px;
  background: #f0f4f9;
}

footer {
  text-align: center;
  padding: 20px;
  background: #f4f6f8;
  color: #666;
  font-size: 14px;
}

@media (max-width: 600px) {
  #main-container {
    width: 90%;
    padding: 20px;
  }
  header .logo {
    max-width: 180px;
  }
}
