body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 15px;
}

p, ul, ol {
    margin-bottom: 20px;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff; /* White background for content area */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.responsive-img {
    width: 100%;
    height: auto;
}

header {
    background-color: #004d99;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

nav ul {
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes padding */
    margin: 0; /* Removes margin */
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 5px; /* Adds space between buttons */
    justify-content: center; /* Centers the buttons within the container */
}

nav ul li {
    flex: 1 1 auto; /* Allows items to adjust their size */
    margin: 5px 0; /* Adds vertical space between buttons */
    max-width: calc(100% - 10px); /* Ensures no button is wider than the container */
}

nav ul li a {
    display: block;
    color: #004d99; /* Ensure the text color is visible */
    text-decoration: none;
    padding: 8px 12px; /* Adjust padding for a more compact size */
    border: 1px solid #004d99;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* Prevents text from breaking within the button */
    background-color: #E6E6E6; /* Light background color */
    text-align: center;
}

nav ul li a:hover, nav ul li a:focus {
    background-color: #285C3F; /* Darker green for hover effect */
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Additional spacing between lines */
nav {
    line-height: 1.5;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    padding: 0 10px; /* Adds padding to ensure buttons don't touch the viewport edges */
}



.cta-button {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #004d99;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
}

.cta-button:hover {
    background-color: #003366;
}

.external-link {
    color: #004d99;
    text-decoration: none;
}

.external-link:hover {
    text-decoration: underline;
}

.back-to-top {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    background-color: #003366; /* Button background color */
    color: #fff; /* Button text color */
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    text-align: right;
    float: right; /* Right-justified */
    transition: background-color 0.3s, color 0.3s;
}

.back-to-top:hover, .back-to-top:focus {
    background-color: #285C3F; /* Hover background color */
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}


footer {
    text-align: center;
    padding: 20px 0;
    background-color: #f5f5f5;
    color: #333;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}

footer a {
    color: #004d99;
    text-decoration: none;
}

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

@media only screen and (max-width: 600px) {
    .cta-button {
        font-size: 0.875rem;
        padding: 8px 16px;
    }
}
