/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    overflow: hidden;
    background: #f7f9fc;
    color: #26394d;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 64px;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(255, 255, 255, .08),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #092c50 0%,
            #0e4675 58%,
            #176695 100%
        );
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -100px;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: 170px;
    bottom: -205px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 830px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.contact-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 19px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.contact-breadcrumb a {
    color: rgba(255, 255, 255, .83);
    font-weight: 600;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.contact-kicker,
.contact-label {
    display: block;
    color: #0e639e;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.contact-kicker {
    margin-bottom: 8px;
    color: #c9e6f9;
    font-size: 11px;
    letter-spacing: 1.4px;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.18;
    font-weight: 750;
    letter-spacing: -.4px;
}

.contact-hero-text {
    max-width: 750px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.75;
}

.contact-hero-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 23px;
    margin-top: 22px;
}

.contact-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 600;
}

.contact-hero-points i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #d8f0ff;
    font-size: 10px;
    font-style: normal;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.contact-section {
    padding: 48px 0 68px;
}

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(420px, 1.08fr);
    gap: 30px;
    align-items: start;
}

.contact-information {
    display: grid;
    gap: 15px;
}


/* =========================================================
   INTRO CARD
========================================================= */

.contact-intro-card {
    padding: 25px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
}

.contact-intro-card .contact-label {
    margin-bottom: 5px;
}

.contact-intro-card h2 {
    margin: 0 0 9px;
    color: #173b5f;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
}

.contact-intro-card p {
    margin: 0;
    color: #617285;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details-grid {
    display: grid;
    gap: 12px;
}

.contact-detail-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid #e0e7ef;
    border-radius: 11px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 3px 14px rgba(15, 23, 42, .025);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

a.contact-detail-card:hover {
    transform: translateY(-2px);
    border-color: #c1d4e5;
    box-shadow: 0 8px 23px rgba(15, 23, 42, .065);
}

.contact-detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: #eaf4fc;
    color: #0d609b;
    font-size: 17px;
    font-weight: 700;
}

.contact-detail-content {
    min-width: 0;
    flex: 1;
}

.contact-detail-content > span {
    display: block;
    margin-bottom: 2px;
    color: #8190a0;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: .7px;
}

.contact-detail-content strong {
    display: block;
    color: #263e56;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-detail-content small {
    display: block;
    margin-top: 2px;
    color: #8592a0;
    font-size: 10px;
    line-height: 1.45;
}

.contact-detail-arrow {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: #f3f7fb;
    color: #2a6b9d;
    font-size: 14px;
    transition:
        transform .2s ease,
        background-color .2s ease;
}

a.contact-detail-card:hover .contact-detail-arrow {
    transform: translateX(2px);
    background: #e6f1fa;
}

.contact-address-card {
    align-items: flex-start;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.contact-why-card {
    padding: 25px;
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .035);
}

.contact-why-card .contact-label {
    margin-bottom: 5px;
}

.contact-why-card h2 {
    margin: 0 0 8px;
    color: #173b5f;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.contact-why-intro {
    margin: 0;
    color: #637487;
    font-size: 12px;
    line-height: 1.7;
}

.contact-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-top: 22px;
}

.contact-why-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.contact-why-icon {
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #eaf5fc;
    color: #0e639e;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.contact-why-content {
    min-width: 0;
    flex: 1;
}

.contact-why-content h3 {
    margin: 0 0 3px;
    color: #263f59;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
}

.contact-why-content p {
    margin: 0;
    color: #778596;
    font-size: 10px;
    line-height: 1.55;
}


/* =========================================================
   IMPORTANT NOTE
========================================================= */

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 19px;
    border: 1px solid #d7e6f1;
    border-radius: 10px;
    background: #edf6fc;
}

.contact-note-icon {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #d7ebf9;
    color: #135e92;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 700;
}

.contact-note strong {
    display: block;
    margin-bottom: 3px;
    color: #174c73;
    font-size: 12px;
}

.contact-note p {
    margin: 0;
    color: #587287;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   FORM COLUMN
========================================================= */

.contact-form-column {
    position: sticky;
    top: 90px;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {
    position: relative;
    overflow: hidden;
    padding: 29px;
    border: 1px solid #dbe5ee;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 15px 45px
        rgba(16, 47, 82, .075);
}

.contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            #0c4e84,
            #2780b5
        );
}


/* =========================================================
   FORM HEADER
========================================================= */

.contact-form-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-form-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 11px;
    background: #eaf4fc;
    color: #0c5d97;
    font-size: 18px;
    font-weight: 700;
}

.contact-form-top .contact-label {
    margin-bottom: 2px;
}

.contact-form-top h2 {
    margin: 0;
    color: #173b5f;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
}

.contact-form-description {
    margin: 13px 0 22px;
    color: #6b7a8b;
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form-group {
    position: relative;
    min-width: 0;
}

.contact-form-full {
    grid-column: 1 / -1;
}

.contact-form-group label {
    display: block;
    margin: 0 0 5px;
    color: #35485c;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}

.contact-form-group label span {
    color: #d92d20;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #cdd8e3;
    border-radius: 8px;
    background: #fff;
    color: #24364a;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
    outline: none;
    box-shadow: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.contact-form input {
    height: 42px;
    padding: 0 11px;
}

.contact-form textarea {
    min-height: 112px;
    padding: 10px 11px 25px;
    resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #afbecd;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0f639d;
    box-shadow: 0 0 0 3px rgba(15, 99, 157, .09);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa6b3;
    opacity: 1;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #cf3f3f;
    background: #fffafa;
}

.contact-form input.is-valid {
    border-color: #68a982;
}


/* =========================================================
   CHARACTER COUNTER
========================================================= */

.contact-character-count {
    position: absolute;
    right: 9px;
    bottom: 7px;
    color: #9aa6b3;
    font-size: 9px;
    line-height: 1;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #0c568e;
    border-radius: 8px;
    background: #0c568e;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    cursor: pointer;
    outline: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
}

.contact-submit-button:hover {
    border-color: #084571;
    background: #084571;
    box-shadow: 0 7px 18px rgba(12, 86, 142, .17);
    transform: translateY(-1px);
}

.contact-submit-button:focus {
    box-shadow: 0 0 0 3px rgba(13, 93, 150, .15);
}

.contact-submit-button:active {
    transform: translateY(0);
}

.contact-submit-button:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.contact-submit-arrow {
    font-size: 15px;
    transition: transform .2s ease;
}

.contact-submit-button:hover
.contact-submit-arrow {
    transform: translateX(3px);
}

.contact-submit-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contactSpin .7s linear infinite;
}

.contact-submit-button.is-loading
.contact-submit-spinner {
    display: block;
}

.contact-submit-button.is-loading
.contact-submit-arrow {
    display: none;
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   FORM RESPONSE
========================================================= */

.contact-form-response {
    display: none;
    margin: 0 0 17px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.55;
}

.contact-form-response.is-success {
    display: block;
    border: 1px solid #b9dfca;
    background: #eefbf4;
    color: #17643a;
}

.contact-form-response.is-error {
    display: block;
    border: 1px solid #efc6c6;
    background: #fff3f3;
    color: #a92b23;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.contact-form-footer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin-top: 13px;
}

.contact-security-icon {
    color: #4c8a67;
    font-size: 10px;
    font-weight: 800;
}

.contact-form-footer p {
    margin: 0;
    color: #7e8b99;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

.contact-form-disclaimer {
    margin: 8px 0 0;
    color: #9aa4af;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   JS REVEAL
========================================================= */

.js .contact-reveal {
    opacity: 0;
    transform: translateY(16px);
}

.js .contact-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .5s ease,
        transform .5s ease;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1050px) {

    .contact-layout {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(390px, 1.1fr);
        gap: 23px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .contact-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-column {
        position: static;
        order: 1;
    }

    .contact-information {
        order: 2;
    }

    .contact-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .contact-container {
        width: calc(100% - 26px);
    }

    .contact-hero {
        padding: 38px 0 42px;
    }

    .contact-breadcrumb {
        margin-bottom: 15px;
    }

    .contact-hero h1 {
        font-size: 29px;
    }

    .contact-hero-text {
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.7;
    }

    .contact-hero-points {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-top: 17px;
    }

    .contact-section {
        padding: 27px 0 43px;
    }

    .contact-layout {
        gap: 18px;
    }

    .contact-form-card {
        padding: 20px 17px;
        border-radius: 12px;
    }

    .contact-form-top h2 {
        font-size: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .contact-form-full {
        grid-column: auto;
    }

    .contact-intro-card,
    .contact-why-card {
        padding: 19px;
    }

    .contact-intro-card h2 {
        font-size: 20px;
    }

    .contact-why-card h2 {
        font-size: 19px;
    }

    .contact-detail-card {
        padding: 15px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-container {
        width: calc(100% - 20px);
    }

    .contact-hero {
        padding: 33px 0 36px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    .contact-why-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-symbol {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .contact-detail-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .contact-detail-arrow {
        display: none;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .js .contact-reveal,
    .js .contact-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .contact-submit-spinner {
        animation: none;
    }

    .contact-detail-card,
    .contact-submit-button {
        transition: none;
    }
}