body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    background-color: #fcfcfc;
    color: #003366;
}

header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #F0F0F0;
    color: #003366;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 20px;
    width: auto;
}

nav {
    display: flex;
}

nav a {
    margin: 0 10px;
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6699cc;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.hamburger div {
    width: 2rem;
    height: 0.25rem;
    background: #003366;
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .modal-content {
        width: 90%; 
        max-width: 400px;
        margin-top: 20%; 
    }

    #home h1 {
        font-size: 1.5em;
    }

    #home p {
        font-size: 1em;
    }

    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    nav {
        display: none;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    nav a {
        display: block;
        padding: 10px;
    }

}



#home {
    background: url('background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fcfcfc;
    text-align: center;
    padding: 0 20px;
}

#home h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

#home p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

button {
    background-color: #6699cc;
    border: none;
    color: #fcfcfc;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

section {
    padding: 50px 20px;
    border-bottom: 1px solid #F0F0F0;
}

footer {
    background-color: #003366;
    color: #fcfcfc;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

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

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    position: relative; /* Added to position the close button relative to this container */
    background-color: #fcfcfc;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #F0F0F0;
    width: 50%; /* Reduced from 80% to 50% */
    max-width: 500px; /* Maximum width of 500px */
    font-family: 'Montserrat', sans-serif;
    color: #003366;
}

/* The Close Button */
.close {
    position: absolute; /* Positioned absolutely within the modal-content container */
    top: -10px; /* Positioned above the container */
    right: 3px; /* Positioned to the right of the container */
    color: #003366;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #6699cc;
    text-decoration: none;
    cursor: pointer;
}

/* Form Styles */
#fs-frm input,
#fs-frm textarea {
    width: 100%;
    box-sizing: border-box; /* Includes padding and border in the total width */
    border: 1px solid #003366;
    margin-bottom: 10px;
    padding: 10px;
}

#fs-frm input[type="submit"] {
    width: 100%;
    box-sizing: border-box; /* Includes padding and border in the total width */
    background-color: #6699cc;
    border: none;
    color: #fcfcfc;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#fs-frm input[type="submit"]:hover {
    background-color: #003366;
}
