/* SECTION BANER */
.section-baner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(background_img/calling_guy.jpg);
}

/* SECTION CONTACT */
.contact-information {
    display: flex;
    justify-content: center;
}

.contact-detail {
    text-align: center;
    flex: 0 1 33%;
    background-color: #ccc;
    padding: 20px;
    margin-right: 2px;
    transition: background-color 0.4s;
}

.contact-detail:hover {
    background-color: #aaa;
}

.contact-detail:first-of-type {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.contact-detail:last-of-type {
    margin-right: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;    
}

.contact-detail:last-of-type::after {
    display: none;
}

.details {
    gap: 5px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.details span {
    font-size: 120%;
    font-weight: 400;
    display: block;
}

.contact-detail-header {
    margin-bottom: 20px;
}

.contact-detail-header ion-icon {
    font-size: 160%;
    margin-right: 20px;
    margin-bottom: -7px;
    display: inline-block;
}

.contact-detail-header span {
    font-size: 120%;
    font-weight: 300;
    display: inline-block;
}

.form {
    margin-bottom: 40px;
}

/* SECTION STAFF LINK */
.staff-link {
    margin-top: 30px;
}

.staff-link .row {
    text-align: center;
}

.staff-link h2 {
    font-size: 170%;
}

.staff-link a:link,
.staff-link a:visited,
.staff-link a:hover,
.staff-link a:active {
    transition: color 0.3s;
}

.staff-link a:link,
.staff-link a:visited {
    color: #0b3b7a;
}

.staff-link a:hover,
.staff-link a:active {
    color: #175bb4;
}

.staff-link a:link ion-icon,
.staff-link a:visited ion-icon,
.staff-link a:hover ion-icon,
.staff-link a:active ion-icon {
    margin-bottom: -4px;
    transition: margin-left 0.3s;
}

.staff-link a:link ion-icon,
.staff-link a:visited ion-icon {
    margin-left: 10px;
}

.staff-link a:hover ion-icon,
.staff-link a:active ion-icon {
    margin-left: 20px;
}

/* SECTION CONTACT MOTIVATION */
.session-contact-motivation .row {
    background-color: #eee;
    padding: 40px;
    
    display: flex;
}

.contact-motivation {
    flex: 0 1 50%;
}

.contact-motivation h3 {
    border: 4px solid #002546;
    background-color: #dd2a1b;
    text-transform: uppercase;
    font-size: 190%;
    color: #fff;
    padding: 15px;
}

.contact-motivation p {
    padding: 10px;
    font-weight: 500;
}

.contact-motivation p a:link,
.contact-motivation p a:visited,
.contact-motivation p a:hover,
.contact-motivation p a:active {
    text-decoration: underline;
}

.contact-motivation p a:link {
    color: blue;
}

.contact-motivation p a:visited {
    color: purple;
}

.contact-motivation p a:hover,
.contact-motivation p a:active {
    color: red;
}

.phone-icon {
    flex: 0 1 45%;
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon ion-icon {
    font-size: 1500%;
}

/* SECTION MAP */
.section-map {
    position: relative;
}

.section-map::before {
    position: absolute;

}

#map {
    height: 600px;
    width: 100%;
}

/* FORM */
.form-box {
    margin-bottom: 20px;

    display: flex;
    justify-content: space-between;
}

.section-form span {
    font-size: 100%;
    font-weight: 300;
    width: fit-content;
    float: right;
    margin: 50px 0 0 auto;
}

.form-box:last-of-type {
    margin-bottom: 0;
}

label {
    height: auto;
    font-size: 95%;
    font-weight: 500;
    padding-top: 10px;

    flex: 0 1 35%;
}

input[type=text],
input[type=email],
input[type=tel],
select,
textarea,
button[type=submit] {
    border: 1px solid #002546;
    border-radius: 4px;
    transition: border 0.3s, background-color 0.3s;
}

input[type=text]:hover,
input[type=email]:hover,
input[type=tel]:hover,
select:hover,
textarea:hover {
    border: 1px solid #888;
    background-color: #eee;
}

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
    height: 45px;
    padding: 7px;

    flex: 0 1 65%;
}

textarea {
    height: 140px;
    resize: none;
}

button[type=submit] {
    color: #fff;
    background-color: #dd2a1b;
    font-weight: 500;
    padding: 12px 20px;
    margin-bottom: 0;
    transition: background-color 0.5s, color 0.5s;
    cursor: pointer;
    border-width: 2px;
}

button[type=submit]:hover {
    background-color: #eb4f41;
}

button[type=submit] ion-icon {
    margin-bottom: -3px;
    margin-left: 5px;
}

/*
*
*
*   QUARIES
*
*
*/

@media only screen and (max-width: 1140px) {
    /* SECTION CONTACT */
    .contact-detail {
        font-size: 14px;
    }

    .details {
        height: 60px;
    }

    /* SECTION CONTACT MOTIVATION */
    .session-contact-motivation .row {
        max-width: 100%;
        margin: 0;
    }

    /* SECTION FORM */
    .contact-form {
        margin: 0 30px;
    }
    
    .form-box {
        flex-direction: column;
        max-width: 100%;
        margin: 0 0 10px 0;
        font-size: 20px;
    }

    label {
        margin-bottom: 5px;
    }

    input[type=text],
    input[type=email],
    input[type=tel],
    select,
    textarea {
        width: 100%;
    }

    textarea {
        padding-bottom: 70px;
    }

    button[type="submit"] {
        width: fit-content;
        margin: 0 auto;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 780px) {
    /* SECTION CONTACT */
    .contact-information {
        flex-direction: column;
    }

    .contact-detail {
        margin-right: 0;
        margin-bottom: 2px;
    }

    .contact-detail:first-of-type {
        border-bottom-left-radius: 0;
        border-top-right-radius: 15px;
    }

    .contact-detail:last-of-type {
        border-top-right-radius: 0;
        border-bottom-left-radius: 15px;
    }

    /* SECTION CONTACT MOTIVATION */
    .contact-motivation {
        flex: 1;
    }

    .phone-icon {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    /* SECTION CONTACT */
    .contact-information {
        flex-direction: column;
    }
}