/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8;
    /* Light gray background */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Header Section Styling */
header {
    background-color: #1e3a8a;
    /* Blue background */
    color: white;
    text-align: center;
    padding: 30px;
    width: 100%;
}

header h1 {
    font-size: 36px;
    margin: 0;
}

header p {
    font-size: 18px;
}

/* Form container */
.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Heading of the form */
h2 {
    text-align: center;
    color: #1e3a8a;
    /* Dark blue color */
    margin-bottom: 20px;
    font-size: 24px;
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="file"],
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 100px;
}

/* Input focus styling */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
textarea:focus {
    border-color: #1e3a8a;
    outline: none;
    box-shadow: 0 0 5px rgba(30, 58, 138, 0.5);
}

/* Submit button styling */
button {
    background-color: #1e3a8a;
    /* Blue background */
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2563eb;
    /* Slightly lighter blue on hover */
}

button:focus {
    outline: none;
}

/* Responsive styling for smaller screens */
@media screen and (max-width: 480px) {
    .form-container {
        padding: 20px;
        width: 90%;
    }
}

/* Success message styling */
.success-message {
    background-color: #e0f7fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #00796b;
    font-size: 16px;
    text-align: center;
}

/* Form label styling */
label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Front Page Styles */

/* Links Container */
.links-container {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
}

.links-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-container ul li {
    margin: 20px 0;
    /* Add spacing between links */
}

.links-container a {
    font-size: 20px;
    color: #1e3a8a;
    text-decoration: none;
    padding: 15px 25px;
    /* Increased padding for better button size */
    border: 2px solid #1e3a8a;
    border-radius: 8px;
    display: inline-block;
    /* Ensures the links look like buttons */
    width: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth transition on hover */
}

.links-container a:hover {
    background-color: #1e3a8a;
    color: white;
}

/* Footer Section */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 15px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    font-size: 16px;
    margin: 0;
}

/* Additional page content */
.main-content {
    margin-top: 50px;
    text-align: center;
}

h1 {
    font-size: 36px;
    color: #1e3a8a;
}

p {
    font-size: 18px;
    color: #555;
}

/* Custom styles for specific page elements, if needed */
a {
    text-decoration: none;
    color: #1e3a8a;
}

a:hover {
    text-decoration: underline;
}