﻿.ContactUs {
    position: relative;
    width: 100%;
    padding: 40px 100px;
    background-color: #fff;
}

    .ContactUs .title {
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
    }

        .ContactUs .title h2 {
            font-weight: 500;
        }

.contact-bg {
    background: url(../images/hero-bg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 170px 0;
}

.bg-overlay {
    background-color: #2c2927;
    opacity: 0.75;
    transition: 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contact-bg .container {
    position: relative;
    min-height: 1px;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
}

    .contact-bg .container .row .line {
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
        display: flex; /* Make the span element display as a block-level element */
        direction: ltr;
        width: 64px; /* Set the width of the line */
        height: 5px; /* Set the height of the line */
        background-color: #fbe8a6; /* Set the background color of the line */
        margin-bottom: 20px;
        margin: 0 auto;
        margin-left: 0;
    }

    .contact-bg .container .row h1 {
        
        color: #fff;
        font-size: 5.5882352941176rem;
        font-family: 'DM Serif Display', serif;
        font-weight: 600;
        line-height: 1.2;
    }


.form {
    grid-area: form;
}

.info {
    grid-area: info;
}

.map {
    grid-area: map;
}

.contact {
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

    .contact h3 {
        text-transform: uppercase;
        color: #0e3959;
        font-weight: 500;
        font-size: 1.4em;
        margin-top: 10px;
    }

.box {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: "form info" "form map";
    grid-gap: 20px;
    margin-top: 20px;
}

.formBox {
    position: relative;
    width: 100%;
}

    .formBox .row50 {
        display: flex;
        gap: 20px;
    }

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox {
    width: 100%;
}

.inputBox span {
    color: #18b7ff;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
}

.inputBox textarea {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 250px;
    margin-bottom: 10px;
}

.inputBox input[type="submit"] {
    text-transform: uppercase;
    background-color: #18b7ff;
    color: white;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    max-width: 155px;
    cursor: pointer;
    padding: 14px 15px;
}

    .inputBox input[type="submit"]:hover {
        background-color: #0e3959;
    }

.inputBox ::placeholder {
    color: #999;
}

/* Info */

.info {
    background: #0e3959;
}

    .info h3 {
        color: #fff;
    }

    .info .infoBox div {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

        .info .infoBox div span {
            min-width: 40px;
            height: 40px;
            color: white;
            background: #18b7ff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5em;
            border-radius: 50%;
            margin-right: 15px;
        }

        .info .infoBox div p {
            color: white;
            font-size: 1em;
        }

        .info .infoBox div a {
            color: white;
            text-decoration: none;
            font-size: 1em;
        }

.sci {
    margin-top: 40px;
    display: flex;
}

    .sci li {
        list-style: none;
        margin-right: 15px;
    }

        .sci li a {
            font-size: 2em;
            color: #ccc;
        }

            .sci li a:hover {
                color: #fff;
            }

/*  Map  */

.map {
    padding: 0;
}

    .map iframe {
        width: 100%;
        height: 100%;
    }

/*  Responsive Code  */
@media (max-width: 991px) {
    .ContactUs {
        padding: 20px;
    }

    .box {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "form"
            "info"
            "map";
    }

    .map {
        min-height: 300px;
        padding: 0;
    }

    .formBox .row50 {
        display: flex;
        gap: 0;
        flex-direction: column;
    }

    .inputBox {
        width: 100%;
    }

    .contact {
        padding: 30px;
    }
}
