/* Reset some default browser styles */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li, form, input, button, section, header, nav, main, footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fdfdfd;
  color: #333;
  line-height: 1.8;
}

/* Container */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 5px solid #004494;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3em;
}

/* Navigation */
nav {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px;
  flex-wrap: wrap;
}

nav li {
  margin: 0 15px;
}

nav a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #0056b3;
}

/* Main content */
main {
  padding: 30px 20px;
}

main h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #0056b3;
}

main section {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

main p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #218838;
}

/* Form Styling */
form {
  margin-top: 20px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

form table {
  width: 100%;
}

form td {
  padding: 10px;
}

form input[type="text"],
form input[type="number"],
form input[type="email"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

form input[type="radio"] {
  margin-right: 5px;
}

form input[type="submit"],
form input[type="reset"] {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

form input[type="submit"]:hover {
  background-color: #0056b3;
}

form input[type="reset"]:hover {
  background-color: #6c757d;
}

/* Footer */
footer {
  text-align: center;
  background: #f8f9fa;
  color: #555;
  padding: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.95em;
  margin-top: 40px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  form {
    padding: 15px;
  }

  form td {
    display: block;
    width: 100%;
  }

  form td input {
    width: 100%;
  }
}
