
/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center;
  color: #000;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.header-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
}

.logo {
  max-width: 80px;
  margin: auto;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 5px; /* Reduced from previous larger values */
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.header-grid p {
  margin: 5px 0;
}

/* Title Section */
.title-container {
  text-align: center;
  padding: 40px 20px 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
}

.main-title {
  font-size: 2.5em;
  font-weight: bold;
}

.sub-title {
  font-size: 1.5em;
  margin-top: 15px;
}

.welcome {
  margin-top: 10px;
  font-size: 1.2em;
}

/* Form Styles */
form {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.1em; /* Added this line */
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.submit-button {
  background-color: #0077cc;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 1em;
}

.submit-button:hover {
  background-color: #005fa3;
}

/* Responsive Adjustments */
@media (min-width: 600px) {
  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
