 /* General Styles */
 body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../PICTURES/Background_01.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: brightness(1.0);
    z-index: -1;
}

/* Form Container */
form {
    background: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 50px auto;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 200px;
}

h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
    font-size: 30px;
}

label {
    font-weight: bold;
    color: #333;
}

input[type="text"], input[type="file"], input[type="number"], textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

input:focus {
    border-color: #004d99;
    box-shadow: 0 0 5px rgba(0, 77, 153, 0.3);
    outline: none;
}

button {
    display: block;
    width: 100%;
    background-color: #004d99;
    color: white;
    font-size: 1.2em;
    border: none;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    opacity: 0.6;
    pointer-events: none;
}

button.active {
    opacity: 1;
    pointer-events: all;
}

button:hover {
    background-color: #003366;
}

/* Validation Message */
.validation-message {
    font-size: 0.9em;
    color: red;
    margin-top: 5px;
}

.validation-message.valid {
    color: green;
}

header {
    background: rgb(4, 42, 67);
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
animation: slideIn 1s ease-out;
position: fixed; /* Make the header fixed at the top */
width: 100%; /* Ensure the header covers the full width */
z-index: 1000; /* Ensure the header is above other content */
top: 0; /* Aligns the header with the top of the viewport */
height: auto; /* Allow the height to adjust automatically based on content */
}
header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 15px;
}

header .logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f0f0f0;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    header {
padding: 15px 10px; /* Adjust padding for smaller screens */
}
    header .logo img {
        height: 40px;
    }

    header .logo span {
        font-size: 1.2em;
    }

    .container {
        padding: 30px 15px;
    }

    h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px 10px;
        gap: 10px;
    }

    header .logo img {
        height: 30px;
    }

    header .logo span {
        font-size: 1em;
    }

    nav a {
display: inline-block; /* Ensure the links behave like buttons */
font-size: 14px; /* Adjust font size for mobile view */
color: #fff; /* Text color */
text-decoration: none; /* Remove underline */
background-color: rgba(111, 197, 255, 0.35); /* Button background color */
padding: 10px 0; /* Add vertical padding for a consistent appearance */
width: 150px; /* Set a fixed width for all buttons */
text-align: center; /* Center-align the text */
border: 2px solid #6fc5ff; /* Add a border matching the background color */
border-radius: 5px; /* Rounded corners for buttons */
transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
background-color: rgb(91, 177, 230); /* Slightly darker shade on hover */
border-color: #5bb0e6; /* Match border color with hover background */
transform: scale(1.05); /* Slight scaling effect */
}

nav a:active {
background-color: #4a9bcc; /* Even darker shade when clicked */
border-color: #4a9bcc;
}

    .container {
        padding: 20px 10px;
    }

    h2 {
        font-size: 1.5em;
    }

    input, button {
        width: 100%;
    }
}