body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
}


/* ----------------------------- Header Section ----------------------------- */
#logo img {
    justify-content: left;
    width: 240px;
    height: 160x;
    z-index: 1;
}

#logo {
    flex: 0 1 auto;
}

#header {
    margin: 0;
    padding: 0;
    /* change to white once done more stuff */
}

#header-container {
    display: flex;
    align-items: center;
    /* Align items vertically centered */
    padding: 10px 20px;
    /* Optional: Add some padding */
    /*!!!!!!Change the font to Azur sans-serif!!!!!!*/
    margin: 0;
    font-size: 15px;
}

nav {
    flex: 1 1 auto;
    /* Allow the nav to grow and shrink */
    text-align: center;
    /* Center the nav content */
}

nav ul {
    list-style-type: none;
    /* Remove bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
    display: flex;
    /* Use flexbox to arrange items horizontally */
    justify-content: center;
}

nav ul li {
    padding: 10px 20px;
    text-align: center;
    /* Add padding for spacing */
}

nav ul li a {
    text-decoration: none;
    /* Remove underline from links */
    color: black;
    /* Set link color */
}

nav ul li a:hover {
    color: grey;
    /* Change color on hover */
}

/* ------------------------------- Mobile Mode Header ------------------------------ */

/* Hide the menu icon by default */
#menu-toggle {
    display: none;
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 960px) {
    #header-container {
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }

    #menu-toggle {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    #menu-toggle img {
        width: 30px;
        height: 30px;
    }
}

/* ----------------------------- Contact Writing ---------------------------- */

.contacting {
    background-color: white;
    transition: background-color 0.2s ease-in;
}

.contacting:hover {
    background-color: #F4F5F5;
}

.contact-title {
    padding-top: 20px;
    font-size: large;
    text-align: center;
    color: #bf0000;
}

.questions {
    line-height: 1.7;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 60px;
}

.contact-strip {
    background-color: #f4f4f4;
    /* Light gray background color */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item span {
    font-weight: bold;
    font-size: 25px;
    color: #bf0000;
    /* Red color for labels */
}

.contact-item p {
    margin: 0;
    color: black;
    /* Dark gray color for text */
    font-size: 20px;
}

.contact-form-container {
    max-width: 600px;
    margin: 50px 100px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-top: 0;
    font-size: 2em;
    color: #bf0000;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.required {
    color: #bf0000;
    /* Red color for asterisk */
}

.name-fields {
    display: flex;
    justify-content: space-between;
}

.name-fields input {
    width: 48%;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
    width: 85%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form-container input[type="submit"] {
    background: #bf0000;
    color: #fff;
    border: none;
    padding: 15px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form-container input[type="submit"]:hover {
    background: #555;
}

@media only screen and (max-width: 960px) {
    .contacting {
        display: flex;
        flex-direction: column;
    }

    .contact-strip {
        flex-direction: column;
        align-items: flex-start;
        order: 2;
    }

    .contact-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-item p {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-container {
        margin: 20px 10px;
        padding: 15px;
        order: 1;
    }

    .name-fields {
        flex-direction: column;
    }

    .name-fields input {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 10px;
    }
}


/* ----------------------------- Footer Section ----------------------------- */

#footer {
    width: 100%;
    padding: 30px 20px;
    transition: background-color 0.2s ease-in;
}

#footer:hover {
    background-color: #F4F5F5;
}

#footer #icon-container {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    position: relative;
    right: 50px;
}

#footer #icon-container img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

@media only screen and (max-width: 960px) {
    #footer #icon-container {
        justify-content: center;
        right: 0;
    }
}