body {
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative; /* For background image positioning */
}

nav {
    background-color: #001f3f;
    width: 100%;
    padding: 10px 0;
    text-align: center;
}

nav a {
    color: yellow;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

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

header {
    background-color: #001f3f;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: white;
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

label {
    text-align: right;
    padding-right: 10px;
}

input,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

button {
    padding: 10px;
    background-color: #001f3f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    grid-column: 1 / 3;
}

button:hover {
    background-color: #0056b3;
}

.logo {
    max-width: 120px; /* From inline to CSS */
    margin: 0 auto;
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.close {
    display: none;
}

.close-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #001f3f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.close-button:hover {
    background-color: #0056b3;
}

footer {
    background-color: #001f3f;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    width: 100%; /* Added to match header/nav */
}

footer span {
    display: block;
    margin: 5px 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/mini4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
}

a[href^="tel"] {
    text-decoration: none;
}