html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff, #d4e6f1); /* Light gradient */
    color: #333;
}

header {
    background-color: #004085;
    color: white;
    text-align: center;
    padding: 20px;
}

header .logo {
    width: 300px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the logo */
    display: block; /* Ensure proper alignment */
}

h1 {
    font-size: 1.8em;
    margin-top: 10px;
}

main {
    padding: 20px;
    max-width: 900px;
    margin: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-in-out;
}

form {
    display: flex;
    flex-direction: column;
}

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

form input, form select, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background-color: #007bff; /* Modern blue */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    box-shadow: 0 0 10px #007bff;
    transform: scale(1.1); /* Slightly larger on hover */
}

#confirmationMessage {
    margin-top: 20px;
    padding: 15px;
    background-color: #e0ffe0; /* Light green background */
    border: 1px solid #008000; /* Green border */
    border-radius: 5px;
    color: #008000; /* Dark green text */
    font-weight: bold;
    text-align: center;
}

#loadingSpinner {
    display: none; /* Hidden by default */
    text-align: center;
    margin: 20px 0;
    color: #004085;
    font-weight: bold;
}

#loadingSpinner.active {
    display: block; /* Show when active */
}

.hidden {
    display: none;
}

/* Styles for the file upload info */
.file-info {
    font-size: 0.9em; /* Slightly smaller text */
    color: #333; /* Neutral text color */
    margin-top: 15px;
    text-align: center;
}

.file-info a {
    color: #007bff; /* Link color to match form button */
    text-decoration: none;
    font-weight: bold;
}

.file-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #000c1a;
    color: white;
    text-align: center; /* Center-align text and content */
    padding: 20px;
    margin-top: 20px;
    font-size: 1em;
    line-height: 1.6;
    border-top: 3px solid #FFD700;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Fade-in animation for the main section */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    @media (max-width: 600px) {
    main {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }
}
