/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2 {
    text-align: center;
    color: #1a237e; /* Dark blue heading */
}

/* Navbar Styles */
nav {
    background-color: #3949ab; /* Blue navbar */
    padding: 10px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 20px;
    margin: 10px auto;
    max-width: 800px;
    background-color: #e8eaf6; /* Light purple background for sections */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #1a237e;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #1a237e;
    color: white;
}

tr:nth-child(even) {
    background-color: #c5cae9; /* Slightly lighter row */
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], textarea {
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #3949ab;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #1a237e;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #3949ab;
}
