/* =========================================================
   AeroCapital Website
   Contact Page Stylesheet
   ---------------------------------------------------------
   Description: contains styles for the contact page (FULLY RESPONSIVE)
   Author: Shayan Bhatti https://github.com/Shayan-Bhatti
   ========================================================= */
#contact {
    position: relative;
    overflow: hidden;
    background: white;
    padding-top: 4rem;
}

#contact_world {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    opacity: .12;
    pointer-events: none;
}

#contact_leaf {
    position: absolute;
    right: -2%;
    top: 2%;
    width: 21%;
    opacity: .06;
    pointer-events: none;
}

#contact_top {
    width: 100%;
    margin: 0;
    padding: 0 0 0 3%;

    display: grid;
    grid-template-columns: 1fr 420px minmax(0, 1fr);
    column-gap: 3rem;

    align-items: center;

    position: relative;
}

#contact_information {
    z-index: 2;
}

#contact_tagline {
    font-size: clamp(.5rem, 1.2vw, 1.2rem);
    font-weight: 800;
    color: #AD080C;
    margin-bottom: var(--basic_vertical_space);
}

#contact_title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    color: #003852;
    margin-bottom: var(--basic_vertical_space);
}

#contact_divider {
    width: 52px;
    height: 6px;
    background: #AD080C;
    margin-bottom: 2rem;
}

#contact_heading {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

#contact_description {
    width: 75%;
    font-size: clamp(.95rem, 1.25vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact_item {
    display: flex;
    align-items: center;
    margin-bottom: 2.3rem;
}

.contact_icon {
    width: 56px;
    height: 56px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 10px rgba(0, 0, 0, .22);

    flex-shrink: 0;
}

.contact_icon img {
    width: 28px;
}

.contact_text {
    margin-left: 22px;
}

.contact_text h3 {
    font-size: 1.25rem;
    margin-bottom: .4rem;
    color: #111;
}

.contact_text p {
    font-size: 1rem;
    line-height: 1.45;
}

#contact_form_container {
    z-index: 5;
}

#contact_form {

    background: white;

    border: 1px solid #E6E6E6;

    border-radius: 10px;

    box-shadow: 0 5px 14px rgba(0, 0, 0, .15);

    padding: 2.5rem;
}

.form_row {

    display: grid;
    grid-template-columns: 26px 1fr;

    column-gap: 18px;

    align-items: center;

    border-bottom: 2px solid #D8D8D8;

    padding: 1rem 0;

    margin-bottom: 1rem;
}

.form_row img {
    width: 22px;
}

.form_row input,
.form_row textarea {

    border: none;
    outline: none;
    background: transparent;

    font-size: 1.05rem;
    font-weight: 700;

    color: #555;
}

.message_row {
    align-items: start;
}

.message_row textarea {

    resize: none;
    height: 95px;

    font-family: 'Merriweather Sans', sans-serif;
}

#contact_submit {

    width: 100%;
    height: 58px;

    border: none;

    border-radius: 6px;

    background: #031D37;

    color: white;

    font-size: 1.45rem;
    font-weight: 700;

    cursor: pointer;

    margin-top: .5rem;

    transition: .25s;
}

#contact_submit:hover {

    background: #0A355F;
}

#form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}


#contact_city {
    position: absolute;
    right: 0;
    bottom: 0;
    align-self: end;
    display: flex;
    justify-content: flex-end;
    width: min(32vw, 420px);
    z-index: 0;
}

#contact_city img {
    width: 150%;
    display: block;
    object-fit: contain;
    margin-left: auto;
}


#contact_bottom {

    margin-top: 2rem;

    border-top: 2px solid #D9D9D9;

    display: grid;
    grid-template-columns: 1fr 2px 1fr 1.25fr;

    align-items: center;

    padding: 1.5rem 3%;
}

.contact_bottom_item {

    display: flex;
    align-items: flex-start;
}

.contact_bottom_item img {

    width: 46px;

    margin-right: 24px;

    flex-shrink: 0;
}

.contact_bottom_item h3 {

    font-size: 1.35rem;

    margin-bottom: .6rem;
}

.contact_bottom_item p {

    font-size: 1rem;

    line-height: 1.45;
}


#contact_future {

    justify-self: end;

    width: 88%;

    background: white;

    border: 1px solid #DDDDDD;

    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, .14);

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 1.6rem 2rem;
}

#contact_future h3 {

    font-size: 1.5rem;

    margin-bottom: .9rem;
}

#contact_future p {

    width: 90%;

    line-height: 1.5;
}

#future_divider {

    width: 50px;
    height: 4px;

    background: black;

    margin-top: 1.5rem;
}

#contact_future img {

    width: 64px;

    margin-left: 2rem;
}


@media (max-width: 1000px) {
    #contact_top {
        grid-template-columns: 1fr;
        row-gap: 3rem;
        padding-right: 3%;
    }

    #contact_city {
        position: absolute;
        top: 0px;
        bottom: auto;
        right: 0;
        width: 60%;
        max-width: 450px;
        z-index: 1;
    }

    #contact_city img {
        width: 100%;
    }

    #contact_description {
        width: 80%;
        position: relative;
        z-index: 2;
    }

    #contact_bottom {
        grid-template-columns: 1fr;
        row-gap: 2rem;
        padding: 2.5rem 5%;
    }

    .contact_separator {
        display: none;
    }

    .contact_bottom_item {
        padding-bottom: 2rem;
        border-bottom: 1px solid #EAEAEA;
    }

    #contact_future {
        width: 100%;
        justify-self: stretch;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;

        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: flex-start;
    }

    #contact_future img {
        width: 46px;
        margin-left: 0;
        margin-right: 24px;
    }

    #contact_future h3 {
        font-size: 1.35rem;
        margin-bottom: .6rem;
    }

    #contact_future p {
        width: 100%;
        font-size: 1rem;
    }

    #future_divider {
        background: #AD080C;
        height: 2px;
        width: 40px;
        margin-top: 1rem;
    }

    #contact_city img {
        opacity: 0.5;
    }
}

@media (max-width: 700px) {
    #contact {
        padding-top: 2.5rem;
    }

    #contact_top {
        padding: 0 5%;
    }

    #contact_city {
        width: 75%;
        right: -5%;
        opacity: 0.6;
    }

    #contact_description {
        width: 100%;
    }

    #contact_form {
        padding: 1.5rem;
    }

    .form_row {
        grid-template-columns: 20px 1fr;
        column-gap: 12px;
    }

    #contact_submit {
        font-size: 1.15rem;
        height: 50px;
    }
}