@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
    /* display: flex;
    flex-direction: column; */
    display: grid;
    /* grid-template-rows: repeat(6, min(200px, 1fr)); */
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: 1fr 1fr 1fr;
    height: 100vh;
    background-color: #fff;
    /* Add a light background color for the body */
}


.contactUsTitle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}


.content {
    grid-column: span 3;
    grid-row: 3 / 4;
    margin-bottom: 20px;
    margin-top: 100px;
}


.middle-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
}

/* GOOGLE MAPS */
.maps iframe{
    left: 0;
    top: 0;
    max-height: 100%;
    width: 100%;
}

/* FORM */


.contactUsForm{
    display: flex;
    justify-content: center;
}


form{
    width: 450px;
    display: flex;
    padding: 20px;
    border-radius: 30px;
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    flex-direction: column;
}

input{
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 14px;
}

textarea {
    border: none;
    border-radius: 8px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

input:focus, textarea:focus {
    border: 2px solid #004AAD;
}


.formline1,.formline2{
    display: flex;
    justify-content: space-around;
}

.forename,.telephone{
    margin-right: 10px;
}

.forename,.surname,
.emailSection,
.telephone{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.messageBox{
    display: flex;
}

.messageBox #message{
    padding: 10px;
    font-size: 14px;
    text-align: start;
}

.contactBottom{
    display: flex;
    justify-content: center;
} 

.contactBottom button {
    padding: 15px 20px;
    /* border-radius: 8px; */
    border: none;
    text-transform: uppercase;
    width: 50%;
    border-radius: 8px;
    background-color: #004AAD;
    color: #fff;
    transition: 0.3s ease;

}

.contactBottom button:hover{
    cursor: pointer;
    /*background-color: #005bd1;*/
    color: #ffde59;
}

/* MEDIA QUERY */
@media only screen and (max-width: 953px) {
    .companyInfo .content .description {
        max-width: 100%;
    }

    .content .middle-content{
        display: flex;
        flex-direction: column;
    }

    .contactUsForm {
        flex-direction: column;
    }

    .contactUsForm form {
        max-width: 330px;
    }

    form .formline1, .formline2 {
        flex-direction: column;
    }
}