

.page-content .title {
    text-align: center;
    
}

/*-------------------- CONTACT FORM -------------------*/
.alert-success{
    z-index: 1;
    background: #D4edda;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 20px;
    width: 100%;
    border-left: 8px solid #3ad66e;
    border-radius: 5px;
    text-align: center;

}


.alert-error{
    z-index: 1;
    background: #fff3cd;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 20px;
    width: 100%;
    border-left: 8px solid #ffa502;
    border-radius: 5px;
    text-align: center;

}

.form{
    grid-area: form;
    transition: 0.4s ease;
}

.form:hover,
.info:hover,
.map:hover{
    transform: translateY(5px);
    box-shadow: 2px 2px 26px 0px rgba(136, 136, 136, 0.7);
}

.info{
    grid-area: info;
    transition: 0.4s ease;
}

.map{
    grid-area: map;
    transition: 0.4s ease;
}

.contact{
    padding: 40px;
    background: #fff6f6;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.contact h3{
    color: #711114;
    margin-bottom: 40px;
}

#contactUs .box{
    position: relative;
    /* margin-left: 120px;
    margin-right: 120px; */
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form map";
    grid-gap: 25px;
    /* margin-top: 10px;
    margin-bottom: 100px; */
}

/* FORM INPUT */
.contact .form .formBox{
    padding: 90px;
}
.formBox{
    position: relative;
    width: 100%;
}

.formBox .row50{
    display: flex;
    gap: 30px;
}

.inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    width: 50%;
}

.formBox .row50 .inputBox{
    width: 100%;
}

.formBox .row100 .inputBox{
    width: 100%;
}

.inputBox span{
    color: #580505;
    font-weight: 500;
}


.inputBox input,
.inputBox textarea{
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 17px;
    font-weight: 400;
    background: #fff6f6fe;;
    color: #333;
    border: none;
    outline: none;
    border-bottom: 1px solid #777;
}

.inputBox textarea{
    height: 200px;
}

.inputBox span{
    position: absolute;
    padding: 1px 0;
    pointer-events: none;
    font-size: 16px;
    font-weight: 300;
    transition: 0.3s ease; 
    pointer-events: none;
}

.inputBox input:focus ~ span,
.inputBox input:valid ~ span,
.inputBox textarea:focus ~ span,
.inputBox textarea:valid ~ span{
    transform: translateY(-20px);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #7d1212;
    font-weight: 500;
}

.inputBox input[type="submit"]{
    position: relative;
    cursor: pointer;
    background: #6f0e0e;
    color: #fff;
    border: none;
    max-width: 150px;
    padding: 12px;
    border-radius: 5px;
    transition: 0.4s ease;
}

.inputBox input[type="submit"]:hover{
    background: #6c7cd3;
}

/* FORM INFO */
.info{
    background: #ffe8e8;
}

.info h3{
    color: #711114;
    margin-bottom: 20px;
}

.info .infoBox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info .infoBox div span{
    min-width: 30px;
    height: 30px;
    color: #fff;
    background: #7d1212;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 50%;
    margin-right: 15px;
}

.info .infoBox div p{
    color: #0a0a65;
    font-size: 15px;
    font-weight: 500;
}

.info .infoBox div a{
    text-decoration: none;
    color: #0a0a65;
    font-size: 15px;
    font-weight: 500;
}

/* FORM MAP */
.map{
    padding: 0;
}

.map iframe{
    width: 100%;
    height: 100%;
}

@media (max-width: 1270px){
    .contactUs{
        padding: 20px;
    }
    #contactUs .box{
        margin-left: 40px;
        margin-right: 40px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "form"
        "info"
        "map";
    }
    .map{
        min-height: 300px;
    }

}

@media (max-width: 800px){
    .contactUs{
        padding: 0;
    }
    .formBox .row50{
        display: flex;
        gap: 0;
        flex-direction: column;
    }
    .formBox .row50 .inputBox input{
        width: 100%;
    }
}

@media (max-width: 490px){ 
    #contactUs .box{
        margin-left: 20px;
        margin-right: 20px;
    }
    .form,
    .info,
    .map{
        width: 90%;
    }
}

@media (max-width: 407px){ 
    #contactUs .box{
        margin-left: 10px;
        margin-right: 10px;
    }
    .form,
    .info,
    .map{
        width: 90%;
    }
}