/* =========================================================
   CONTACT MAP
========================================================= */

.contact-map-section {
    position: relative;

    width: 100%;

    background: #fff;
}

.contact-map {
    width: 100%;
    height: 450px;

    overflow: hidden;
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.contact-map-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef3f9;

    color: #246ed1;

    font-size: 50px;
}


/* =========================================================
   CONTACT INFORMATION CARD
========================================================= */

.contact-info-container {
    position: relative;
    z-index: 5;
}

.contact-info-card {
    /* width: min(760px, 100%); */

    margin: -95px auto 0;

    padding: 38px 45px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 35px;

    background: #fff;

    border-radius: 4px;

    box-shadow: 0 8px 30px rgba(30, 50, 80, .08);
}


/* =========================================================
   CONTACT ITEM
========================================================= */

.contact-info-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    min-width: 0;
}

.contact-info-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #176bd1;

    font-size: 28px;
}

.contact-info-content {
    min-width: 0;
}

.contact-info-content h4 {
    margin: 2px 0 10px;

    color: #111827;

    font-size: 18px;
    font-weight: 600;
}

.contact-info-content p {
    margin: 0;

    color: #788497;

    font-size: 15px;
    line-height: 1.7;
}

.contact-info-content a {
    display: inline-block;

    color: #176bd1;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    overflow-wrap: anywhere;
}

.contact-info-content a:hover {
    color: #1059b4;
}


/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.contact-form-section {
    padding: 90px 0 100px;

    background: #fff;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 85%;

    margin: 0 auto;

    padding: 30px 28px;

    border: 1px solid #e4e9f0;

    border-radius: 6px;

    background: #fff;
}


/* =========================================================
   FORM HEADER
========================================================= */

.contact-form-header {
    margin-bottom: 25px;
}

.contact-form-header h2 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 22px;
    font-weight: 700;
}

.contact-form-header p {
    margin: 0;

    color: #7a8494;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-wrapper label {
    display: block;

    margin-bottom: 7px;

    color: #687386;

    font-size: 15px;
}

.contact-form-wrapper .form-control {
    width: 100%;

    height: 45px;

    padding: 10px 14px;

    border: 1px solid #e1e7ed;

    border-radius: 5px;

    background: #f3f7fa;

    color: #374151;

    font-size: 15px;

    box-shadow: none;

    transition: .2s;
}

.contact-form-wrapper .form-control:focus {
    border-color: #8db6eb;

    background: #fff;

    box-shadow: 0 0 0 3px rgba(37, 111, 209, .08);
}

.contact-form-wrapper .form-control::placeholder {
    color: #9aa5b4;
}

.contact-message {
    height: auto !important;

    min-height: 140px;

    resize: vertical;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 190px;
    height: 45px;

    border: 0;

    border-radius: 5px;

    background: #246ed1;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.contact-submit-btn:hover {
    background: #155db7;

    color: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .contact-map {
        height: 300px;
    }

    .contact-info-card {
        width: min(720px, calc(100% - 30px));

        margin-top: -70px;

        padding: 30px;

        grid-template-columns: 1fr 1fr;

        gap: 28px;
    }

    .contact-info-item:first-child {
        grid-column: 1 / -1;
    }

    .contact-form-section {
        padding-top: 70px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .contact-map {
        height: 260px;
    }

    .contact-info-card {
        width: calc(100% - 24px);

        margin-top: -45px;

        padding: 25px 20px;

        display: flex;

        flex-direction: column;

        gap: 24px;

        border-radius: 7px;
    }

    .contact-info-item:first-child {
        grid-column: auto;
    }

    .contact-info-item {
        width: 100%;
    }

    .contact-info-icon {
        width: 32px;
        height: 32px;

        flex-basis: 32px;

        font-size: 24px;
    }

    .contact-info-content h4 {
        margin-bottom: 6px;

        font-size: 15px;
    }

    .contact-info-content p,
    .contact-info-content a {
        font-size: 11px;
    }


    /* FORM */

    .contact-form-section {
        padding: 55px 0 65px;
    }

    .contact-form-wrapper {
        margin: 0 12px;

        padding: 25px 18px;

        border-radius: 7px;
    }

    .contact-form-header h2 {
        font-size: 18px;
    }

    .contact-form-wrapper .form-control {
        height: 48px;
    }

    .contact-message {
        min-height: 130px;
    }

    .contact-submit-btn {
        width: 100%;

        height: 48px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-map {
        height: 230px;
    }

    .contact-info-card {
        width: calc(100% - 20px);

        margin-top: -35px;

        padding: 22px 17px;

        gap: 21px;
    }

    .contact-info-item {
        gap: 12px;
    }

    .contact-info-icon {
        font-size: 22px;
    }

    .contact-form-section {
        padding-top: 45px;
    }

    .contact-form-wrapper {
        margin: 0 10px;

        padding: 22px 15px;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .contact-map {
        height: 210px;
    }

    .contact-info-card {
        padding: 20px 14px;
    }

    .contact-info-content a,
    .contact-info-content p {
        font-size: 10px;
    }

}