body {
    width: 95%;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0 auto;
    padding: 10px;
    max-width: 100%;
}

h1, h2 {
    color: #444;
}

form {
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    margin-right: 10px;
    font-weight: bold;
}

select, input {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

input{
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.search-section {
    width:95%;
    margin:auto auto 30px auto;
}

.search-result {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.search-result:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.search-result h3 {
    margin-top: 0;
    color: #333;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    form {
        padding: 10px;
    }

    button {
        width: 100%;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #dee2e6;
    text-align: center;
    padding: 8px;
}

th {
    background-color: #f1f1f1;
    font-weight: bold;
}

td {
    font-size: 0.9rem;
    text-align: center;
}

a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.highlight {
    background-color: #9ae4ab; /* Light green for highlight */
    color: #155724; /* Dark green text */
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Adds spacing between fields */
  }

  label {
    margin-bottom: 5px;
    /* Adds a little space under labels */
  }

  select,
  input,
  button {
    max-width: 100%;
    /* Ensures elements fit within the container */
    padding: 10px;
    font-size: 16px;
  }

  button {
    align-self: flex-start;
    /* Aligns button to the left */
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #0056b3;
  }

  .search-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  h2 {
    margin-bottom: 15px;
    color: #333;
  }

  nav {
    padding: 8px 16px;
    border-radius: 12px; /* Rounded corners */
    margin-bottom: 20px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    position: sticky; /* Sticky positioning */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 1000; /* Ensures it stays above other elements */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Equal spacing for items */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 10px;
}

nav li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px; /* Fully rounded buttons */
    transition: background-color 0.3s, transform 0.2s;
    background-color: #0056b3; /* Slightly darker for contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for buttons */
    text-transform:uppercase;
}

nav a:hover {
    background-color: #003f7f; /* Darker blue on hover */
    transform: translateY(-2px); /* Lift effect */
    color:white;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack items vertically on small screens */
        gap: 10px;
        align-items: center; /* Center items on smaller devices */
    }

    nav a {
        width: 90%; /* Make links span most of the container */
        text-align: center;
    }

    nav{
        position: unset; /* Sticky positioning */
        top: unset; /* Sticks to the top of the viewport */

    }
}

.header{
    text-align: center;

}