/* =========================================================
   CONTACT PAGE
   =========================================================

/* =========================================================
   UNIPULSE - FULL STYLESHEET
   ========================================================= */

:root {
  --navy: #19375a;
  --navy-dark: #152f4f;
  --rose: #cf3b52;
  --rose-dark: #b82f45;
  --blush: #fbeaec;
  --mist: #f7f8fa;
  --ink: #19375a;
  --body: #617083;
  --line: #e5e9ee;
  --white: #ffffff;
  --max: 1180px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}




/* =========================================================
   MAIN CONTACT SECTION
   ========================================================= */

.contact-page .contact-main-section {
    width: 100%;

    padding: 62px 0 80px;

    background: #ffffff;
}


/* =========================================================
   CONTACT CONTAINER
   ========================================================= */

.contact-page .contact-content-container {
    width: 100%;

    max-width: 1140px;

    margin: 0 auto;

    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   CONTACT PAGE HEADING
   ========================================================= */

.contact-page .contact-section-heading {
    width: 100%;

    text-align: center;

    margin-bottom: 62px;
}


.contact-page .contact-section-heading h2 {
    margin: 0;

    font-size: 34px;

    line-height: 1.2;

    font-weight: 800;

    color: #17385f;
}


/* =========================================================
   RED TITLE LINE
   ========================================================= */

.contact-page .contact-heading-line {
    width: 170px;

    height: 2px;

    background: #cbd1d8;

    margin: 20px auto 24px;

    position: relative;
}


.contact-page .contact-heading-line span {
    position: absolute;

    width: 62px;

    height: 3px;

    background: #d33245;

    left: 50%;

    top: 50%;

    transform: translate(
        -50%,
        -50%
    );
}


.contact-page .contact-section-heading p {
    margin: 0;

    font-size: 16px;

    line-height: 1.7;

    color: #334d6e;
}


/* =========================================================
   CONTACT INFORMATION GRID
   ========================================================= */

.contact-page .contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    width: 100%;

    margin-bottom: 50px;
}


/* =========================================================
   CONTACT INFORMATION CARD
   ========================================================= */

.contact-page .contact-info-card {
    min-height: 207px;
    width: 100%;

    padding: 64px 15px 25px;

    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-bottom: 3px solid #d33245;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.contact-page .contact-info-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(
            0,
            0,
            0,
            0.07
        );
}


/* =========================================================
   CARD ICON
   ========================================================= */

.contact-page .contact-info-icon {
    width: 68px;

    height: 68px;

    flex-shrink: 0;

    margin-bottom: 17px;

    border-radius: 50%;

    background: #d33245;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.contact-page .contact-info-card h3 {
    margin: 0 0 8px;

    font-size: 18px;

    line-height: 1.3;

    font-weight: 800;

    color: #17385f;
}


/* =========================================================
   CARD TEXT
   ========================================================= */

.contact-page .contact-info-card p {
    margin: 0;

    max-width: 260px;

    font-size: 14px;

    line-height: 1.6;

    color: #6c7a8b;
}


/* =========================================================
   CARD LINKS
   ========================================================= */

.contact-page .contact-info-card a {
    color: #6c7a8b;

    text-decoration: none;

    transition: color 0.2s ease;
}


.contact-page .contact-info-card a:hover {
    color: #d33245;
}


/* =========================================================
   MAP + FORM GRID
   ========================================================= */

.contact-page .contact-lower-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 25px;

    align-items: stretch;
}


/* =========================================================
   MAP CARD
   ========================================================= */

.contact-page .contact-map-card {
    width: 100%;

    min-height: 500px;

    overflow: hidden;

    background: #eeeeee;

    border-radius: 0;
}


.contact-page .contact-map-card iframe {
    display: block;

    width: 100%;

    height: 100%;

    min-height: 500px;

    border: 0;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.contact-page .contact-form-card {
    width: 100%;

    padding: 34px 36px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 5px 30px rgba(
            31,
            56,
            85,
            0.10
        );
}


/* =========================================================
   FORM TITLE
   ========================================================= */

.contact-page .contact-form-card h2 {
    margin: 0 0 12px;

    font-size: 25px;

    line-height: 1.3;

    font-weight: 800;

    color: #17385f;
}


/* =========================================================
   FORM INTRO
   ========================================================= */

.contact-page .contact-form-intro {
    margin: 0;

    color: #758293;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   FORM DIVIDER
   ========================================================= */

.contact-page .contact-form-divider {
    width: 100%;

    height: 1px;

    background: #e3e6e9;

    margin: 23px 0 28px;
}


/* =========================================================
   FORM ROW
   ========================================================= */

.contact-page .contact-form-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.contact-page .contact-field {
    width: 100%;

    margin-bottom: 22px;
}


/* =========================================================
   FORM LABEL
   ========================================================= */

.contact-page .contact-field label {
    display: block;

    margin-bottom: 9px;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 800;

    color: #304968;
}


/* =========================================================
   INPUT / TEXTAREA
   ========================================================= */

.contact-page .contact-field input,
.contact-page .contact-field textarea {
    display: block;

    width: 100%;

    margin: 0;

    border: 1px solid #dce1e6;

    border-radius: 7px;

    padding: 13px 15px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   TEXT INPUT HEIGHT
   ========================================================= */

.contact-page .contact-field input {
    height: 48px;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.contact-page .contact-field textarea {
    min-height: 130px;

    resize: vertical;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus {
    border-color: #d33245;

    box-shadow:
        0 0 0 3px rgba(
            211,
            50,
            69,
            0.08
        );
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
    color: #aeb6bf;

    opacity: 1;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-page .contact-submit-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 0;

    margin: 0;

    padding: 13px 28px;

    border-radius: 5px;

    background: #d33245;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   BUTTON HOVER
   ========================================================= */

.contact-page .contact-submit-button:hover {
    background: #b92739;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {


    /* ---------------------------------------------
       INFORMATION CARDS
       --------------------------------------------- */

    .contact-page .contact-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }


    /* ---------------------------------------------
       MAP + FORM
       --------------------------------------------- */

    .contact-page .contact-lower-grid {
    width: 100%;

    display: grid;

    /*
     * Screenshot style:
     * Map ≈ 41%
     * Form ≈ 59%
     */
    grid-template-columns:
        41% 59%;

    gap: 25px;

    align-items: start;

    /*
     * Prevent the 59% + 41% + gap from overflowing.
     */
    box-sizing: border-box;
}


    /* ---------------------------------------------
       MAP
       --------------------------------------------- */

    .contact-page .contact-map-card,
    .contact-page .contact-map-card iframe {
        min-height: 420px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    /* ---------------------------------------------
       CONTACT SECTION
       --------------------------------------------- */

    .contact-page .contact-main-section {
        padding: 45px 0 60px;
    }


    /* ---------------------------------------------
       CONTAINER
       --------------------------------------------- */

    .contact-page .contact-content-container {
        padding-left: 15px;

        padding-right: 15px;
    }


    /* ---------------------------------------------
       HEADING
       --------------------------------------------- */

    .contact-page .contact-section-heading {
        margin-bottom: 40px;
    }


    .contact-page .contact-section-heading h2 {
        font-size: 29px;
    }


    .contact-page .contact-section-heading p {
        padding: 0 10px;

        font-size: 14px;
    }


    /* ---------------------------------------------
       INFORMATION CARDS
       --------------------------------------------- */

    .contact-page .contact-info-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 35px;
    }


    .contact-page .contact-info-card {
        min-height: 190px;
    }


    /* ---------------------------------------------
       MAP
       --------------------------------------------- */

    .contact-page .contact-map-card,
    .contact-page .contact-map-card iframe {
        min-height: 350px;
    }


    /* ---------------------------------------------
       FORM CARD
       --------------------------------------------- */

    .contact-page .contact-form-card {
        padding: 27px 20px;
    }


    .contact-page .contact-form-card h2 {
        font-size: 22px;
    }


    /* ---------------------------------------------
       FORM ROW
       --------------------------------------------- */

    .contact-page .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* ---------------------------------------------
       BUTTON
       --------------------------------------------- */

    .contact-page .contact-submit-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .contact-page .contact-section-heading h2 {
        font-size: 27px;
    }


    .contact-page .contact-info-icon {
        width: 62px;

        height: 62px;

        font-size: 23px;
    }


    .contact-page .contact-form-card {
        padding: 24px 16px;
    }

}


/* =========================================================
   MAP + FORM SECTION
   ========================================================= */

.contact-page .contact-lower-grid {
    width: 100%;

    display: grid;

    /*
     * Screenshot style:
     * Map ≈ 41%
     * Form ≈ 59%
     */
    grid-template-columns:
        41% 59%;

    gap: 25px;

    align-items: start;

    /*
     * Prevent the 59% + 41% + gap from overflowing.
     */
    box-sizing: border-box;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.contact-page .contact-map-card {
    width: 100%;

    height: 410px;

    min-height: 410px;

    overflow: hidden;

    background: #eeeeee;

    border-radius: 0;

    box-shadow: none;

    box-sizing: border-box;
}


.contact-page .contact-map-card iframe {
    display: block;

    width: 100%;

    height: 100%;

    min-height: 410px;

    border: 0;

    margin: 0;

    padding: 0;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.contact-page .contact-form-card {
    width: 100%;

    padding: 38px 38px 40px;

    background: #ffffff;

    border-radius: 14px;

    border: 0;

    box-shadow:
        0 8px 30px rgba(
            31,
            56,
            85,
            0.10
        );

    box-sizing: border-box;
}


/* =========================================================
   FORM TITLE
   ========================================================= */

.contact-page .contact-form-card h2 {
    margin: 0 0 12px;

    font-size: 25px;

    line-height: 1.3;

    font-weight: 800;

    color: #17385f;
}


/* =========================================================
   FORM INTRO
   ========================================================= */

.contact-page .contact-form-intro {
    margin: 0;

    max-width: 100%;

    color: #758293;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   FORM DIVIDER
   ========================================================= */

.contact-page .contact-form-divider {
    width: 100%;

    height: 1px;

    background: #e1e5e9;

    margin: 23px 0 28px;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-page .contact-form {
    width: 100%;

    margin: 0;

    padding: 0;
}


/* =========================================================
   NAME + EMAIL
   ========================================================= */

.contact-page .contact-form-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 26px;

    box-sizing: border-box;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.contact-page .contact-field {
    width: 100%;

    margin: 0 0 20px;

    box-sizing: border-box;
}


/* =========================================================
   FORM LABEL
   ========================================================= */

.contact-page .contact-field label {
    display: block;

    margin: 0 0 9px;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 800;

    color: #304968;

    text-transform: uppercase;
}


/* =========================================================
   INPUT
   ========================================================= */

.contact-page .contact-field input {
    display: block;

    width: 100%;

    height: 51px;

    margin: 0;

    padding: 0 17px;

    border: 1px solid #dce1e6;

    border-radius: 8px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.5;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.contact-page .contact-field textarea {
    display: block;

    width: 100%;

    min-height: 142px;

    margin: 0;

    padding: 14px 17px;

    border: 1px solid #dce1e6;

    border-radius: 8px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.6;

    outline: none;

    resize: vertical;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   INPUT / TEXTAREA FOCUS
   ========================================================= */

.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus {
    border-color: #d33245;

    box-shadow:
        0 0 0 3px rgba(
            211,
            50,
            69,
            0.08
        );
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
    color: #b0b8c1;

    opacity: 1;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-page .contact-submit-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 202px;

    height: 53px;

    border: 0;

    margin: 0;

    padding: 0 28px;

    border-radius: 7px;

    background: #d33245;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 700;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   BUTTON HOVER
   ========================================================= */

.contact-page .contact-submit-button:hover {
    background: #b92739;

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(
            211,
            50,
            69,
            0.20
        );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .contact-page .contact-lower-grid {
        grid-template-columns:
            minmax(0, 40fr)
            minmax(0, 60fr);

        gap: 22px;
    }


    .contact-page .contact-form-card {
        padding: 32px 30px 35px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .contact-page .contact-lower-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .contact-page .contact-map-card {
        height: 420px;

        min-height: 420px;
    }


    .contact-page .contact-map-card iframe {
        min-height: 420px;
    }


    .contact-page .contact-form-card {
        padding: 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-page .contact-lower-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* ---------------------------------------------
       MAP
       --------------------------------------------- */

    .contact-page .contact-map-card {
        height: 350px;

        min-height: 350px;

        border-radius: 0;
    }


    .contact-page .contact-map-card iframe {
        min-height: 350px;
    }


    /* ---------------------------------------------
       FORM
       --------------------------------------------- */

    .contact-page .contact-form-card {
        padding: 28px 20px 30px;

        border-radius: 12px;
    }


    .contact-page .contact-form-card h2 {
        font-size: 22px;

        margin-bottom: 10px;
    }


    .contact-page .contact-form-intro {
        font-size: 14px;

        line-height: 1.7;
    }


    /* ---------------------------------------------
       FORM ROW
       --------------------------------------------- */

    .contact-page .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* ---------------------------------------------
       INPUT
       --------------------------------------------- */

    .contact-page .contact-field input {
        height: 50px;
    }


    /* ---------------------------------------------
       BUTTON
       --------------------------------------------- */

    .contact-page .contact-submit-button {
        width: 100%;

        min-width: 0;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .contact-page .contact-form-card {
        padding: 25px 16px 28px;
    }


    .contact-page .contact-form-card h2 {
        font-size: 21px;
    }


    .contact-page .contact-map-card {
        height: 320px;

        min-height: 320px;
    }


    .contact-page .contact-map-card iframe {
        min-height: 320px;
    }

}

/* =========================================================
   MAP + SOCIAL BAR
   ========================================================= */

.contact-page .contact-map-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.contact-page .contact-map-card iframe {
    width: 100%;
    height: 410px;
    min-height: 410px;

    display: block;

    border: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   GAP BETWEEN MAP AND SOCIAL BAR
   ========================================================= */

.contact-page .social-bar {
    margin-top: 12px;
}


/* =========================================================
   SOCIAL BAR
   ========================================================= */

.contact-page .social-bar {
    width: 100%;

    min-height: 62px;

    padding: 12px 20px;

    background: #f7f9fc;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    box-sizing: border-box;
}


/* =========================================================
   CONNECT WITH US TEXT
   ========================================================= */

.contact-page .social-bar > span {
    color: var(--navy);

    font-size: 15px;

    font-weight: 700;

    line-height: 1.4;

    white-space: nowrap;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.contact-page .social-icons {
    display: flex;

    align-items: center;

    gap: 9px;
}


/* =========================================================
   SOCIAL ICON
   ========================================================= */

.contact-page .social-icons a {
    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--blush);

    color: #d33245;

    text-decoration: none;

    font-size: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.contact-page .social-icons a:hover {
    background: #ffffff;

    color: #d33245;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-page .contact-map-card iframe {
        height: 350px;
        min-height: 350px;
    }

    .contact-page .social-bar {
        margin-top: 10px;

        padding: 12px 15px;

        min-height: 58px;
    }

    .contact-page .social-bar > span {
        font-size: 14px;
    }

    .contact-page .social-icons {
        gap: 6px;
    }

    .contact-page .social-icons a {
        width: 31px;
        height: 31px;

        font-size: 14px;
    }

}