/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f6fb; /* Light gray background */
    color: #1d2d50; /* Dark blue text color */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns all content */
}

/* Header and Navbar Styles */
header {
    background-color: #1d2d50; /* Primary dark blue */
    color: #ffffff; /* White text */
    border-bottom: 3px solid #133b5c; /* Slightly darker blue border */
    width: 100%; /* Full width */
}

.navbar {
    display: flex;
    justify-content: center; /* Center-aligns navbar links */
    align-items: center;
    padding: 1rem 2rem;
    background: #1d2d50;
}

.navbar .logo {
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    margin-right: auto; /* Pushes logo to the left */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #133b5c; /* Darker blue hover effect */
}

/* Main Content Styles */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Center-aligns text */
}

/* Section Styles */
section {
    margin-bottom: 2rem; /* Space between sections */
}

/* Form Styles */
form {
    background-color: #ffffff; /* White background */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    max-width: 600px;
    margin: 2rem auto;
    text-align: left; /* Align form content to the left */
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label, form input, form textarea, form select {
    width: 90%; /* Ensure form elements are not full width */
    margin-bottom: 1rem;
    font-size: 1rem;
}

form input, form textarea, form select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button, .btn {
    background-color: #1d2d50; /* Dark blue */
    color: #ffffff; /* White text */
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

form button:hover, .btn:hover {
    background-color: #133b5c; /* Darker blue */
}

/* Footer Styles */
footer {
    background-color: #1d2d50; /* Primary dark blue */
    color: #ffffff; /* White text */
    text-align: center;
    padding: 1rem 0;
    width: 100%; /* Full width */
    margin-top: 2rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    form {
        width: 90%; /* Ensure form does not exceed the screen size */
    }
}
