/* =========================================================
   CONTACT PAGE
========================================================= */

.npv-contact-page {
    --contact-red: var(--main-color);
    --contact-navy: var(--second-color);

    background: #f5f7f9;

    color: var(--second-color);
}


/* =========================================================
   HERO
========================================================= */

.npv-contact-page .contact-hero {
    position: relative;

    overflow: hidden;

    padding: 76px 0 72px;

    background: var(--second-color);

    color: #ffffff;
}


/* Decoration */

.npv-contact-page .contact-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -245px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}


.npv-contact-page .contact-hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: 15px;
    bottom: -180px;

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}


/* Eyebrow */

.npv-contact-page .contact-eyebrow {
    display: flex;
    align-items: center;

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.7px;
}


.npv-contact-page .contact-eyebrow-line {
    flex: 0 0 30px;

    width: 30px;
    height: 3px;

    margin-right: 11px;

    background: var(--main-color);

    border-radius: 10px;
}


/* Title */

.npv-contact-page .contact-hero-title {
    max-width: 100%;

    margin: 0;

    color: #ffffff;

    font-size: 46px;
    font-weight: 700;

    line-height: 1.17;
}


.npv-contact-page .contact-hero-title span {
    color: #ffffff;

    position: relative;
}


/* Description */

.npv-contact-page .contact-hero-description {
    max-width: 100%;

    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;

    line-height: 1.8;
}


/* Right note */

.npv-contact-page .contact-hero-note {
    display: flex;
    align-items: center;

    justify-content: flex-end;

    padding-bottom: 7px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 11px;
    font-weight: 500;
}


.npv-contact-page .contact-hero-note-dot {
    width: 7px;
    height: 7px;

    margin-right: 9px;

    background: var(--main-color);

    border-radius: 50%;
}


/* =========================================================
   MAIN
========================================================= */

.npv-contact-page .contact-main {
    position: relative;
    z-index: 2;

    padding: 56px 0 80px;

    margin-top: 0;
}

.npv-contact-page .contact-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 86px;
    background: var(--second-color);
    color: #ffffff;
}


/* =========================================================
   LEFT PANEL
========================================================= */

.npv-contact-page .contact-info-panel {
    height: 100%;

    padding: 38px 32px;

    background: var(--second-color);

    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(13, 34, 64, 0.14);

    color: #ffffff;
}


/* Heading */

.npv-contact-page .contact-info-small {
    display: block;

    margin-bottom: 10px;

    color: var(--main-color);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.npv-contact-page .contact-info-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.3;
}


.npv-contact-page .contact-info-heading h2 span {
    display: block;
}


.npv-contact-page .contact-info-heading p {
    margin: 16px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.75;
}


/* Divider */

.npv-contact-page .contact-info-heading {
    padding-bottom: 28px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}


/* Contact item */

.npv-contact-page .contact-info-item {
    display: flex;
    align-items: center;

    padding: 23px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}


.npv-contact-page .contact-info-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 11px;

    color: #ffffff;
}


.npv-contact-page .contact-info-item-content {
    min-width: 0;

    padding-top: 1px;
}


.npv-contact-page .contact-info-item-content span {
    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}


.npv-contact-page .contact-info-item-content strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}


.npv-contact-page .contact-info-item-content small {
    display: block;

    color: rgba(255, 255, 255, 0.52);

    font-size: 11px;

    line-height: 1.55;
}


/* Footer */

.npv-contact-page .contact-info-footer {
    display: flex;
    align-items: flex-start;

    margin-top: 26px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 10px;

    line-height: 1.6;
}


.npv-contact-page .contact-info-footer svg {
    flex-shrink: 0;

    margin-right: 9px;
    margin-top: 1px;

    color: #ffffff;
}


/* =========================================================
   FORM CARD
========================================================= */

.npv-contact-page .contact-form-card {
    min-height: 100%;

    padding: 38px 40px 36px;

    background: #ffffff;

    border: 1px solid #e4e9ef;
    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(13, 34, 64, 0.08);
}


/* Header */

.npv-contact-page .contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.npv-contact-page .contact-form-header-left {
    display: flex;
    align-items: center;
}


.npv-contact-page .contact-form-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    background: rgba(200, 16, 46, 0.08);

    color: var(--main-color);

    border-radius: 12px;
}


.npv-contact-page .contact-form-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--main-color);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


.npv-contact-page .contact-form-header h2 {
    margin: 0;

    color: var(--second-color);

    font-size: 26px;
    font-weight: 700;

    line-height: 1.3;
}


.npv-contact-page .contact-form-description {
    margin: 18px 0 27px;

    color: #7d899a;

    font-size: 15px;

    line-height: 1.65;
}


.npv-contact-page .contact-form-description strong {
    color: var(--main-color);
}


/* =========================================================
   FORM
========================================================= */

.npv-contact-page .contact-form .form-group {
    margin-bottom: 20px;
}


.npv-contact-page .contact-form label {
    display: block;

    margin: 0 0 8px;

    color: #182b47;

    font-size: 15px;
    font-weight: 600;
}


.npv-contact-page .contact-form label > span {
    color: var(--main-color);
}


.npv-contact-page .contact-form label small {
    color: #9aa5b3;

    font-size: 10px;
    font-weight: 400;
}


/* Input */

.npv-contact-page .contact-control {
    height: 47px;

    padding: 10px 14px;

    border: 1px solid #d9e0e8;
    border-radius: 8px;

    background-color: #ffffff;

    color: var(--second-color);

    font-size: 13px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.npv-contact-page .contact-control::placeholder {
    color: #a9b3c1;
}


.npv-contact-page .contact-control:hover {
    border-color: #bcc7d3;
}


.npv-contact-page .contact-control:focus {
    border-color: var(--second-color);

    background-color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(13, 34, 64, 0.07);
}


/* Select */

.npv-contact-page .contact-select {
    cursor: pointer;
}


/* Textarea */

.npv-contact-page .contact-textarea {
    min-height: 130px;

    height: auto;

    padding-top: 13px;

    resize: vertical;
}


/* Error */

.npv-contact-page .contact-control.is-invalid {
    border-color: var(--main-color);
}


.npv-contact-page .invalid-feedback {
    margin-top: 6px;

    color: var(--main-color);

    font-size: 11px;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.npv-contact-page .contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 4px;
    padding-top: 22px;

    border-top: 1px solid #edf0f3;
}


.npv-contact-page .contact-form-security {
    display: flex;
    align-items: center;

    color: #929dab;

    font-size: 10px;
}


.npv-contact-page .contact-form-security svg {
    flex-shrink: 0;

    margin-right: 7px;

    color: var(--second-color);
}


/* =========================================================
   SUBMIT
========================================================= */

.npv-contact-page .contact-submit-btn {
    min-width: 166px;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 21px;

    border: 0;
    border-radius: 8px;

    background: var(--main-color);

    color: #ffffff !important;

    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(200, 16, 46, 0.2);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.npv-contact-page .contact-submit-btn:hover {
    background: var(--second-color);

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(13, 34, 64, 0.2);
}


.npv-contact-page .contact-submit-btn:focus {
    outline: none;
}


/* Arrow */

.npv-contact-page .contact-submit-arrow {
    margin-left: 10px;

    transition: transform 0.25s ease;
}


.npv-contact-page .contact-submit-btn:hover
.contact-submit-arrow {
    transform: translateX(3px);
}


/* =========================================================
   LOADING
========================================================= */

.npv-contact-page .contact-submit-loading {
    display: none;
    align-items: center;
}


.npv-contact-page .contact-submit-spinner {
    width: 15px;
    height: 15px;

    margin-right: 8px;

    border: 2px solid rgba(255, 255, 255, 0.4);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation: contactSubmitSpin 0.7s linear infinite;
}


@keyframes contactSubmitSpin {

    to {
        transform: rotate(360deg);
    }
}


.npv-contact-page .contact-submit-btn.is-loading {
    opacity: 0.88;

    cursor: not-allowed;

    pointer-events: none;

    transform: none !important;
}


.npv-contact-page .contact-submit-btn.is-loading
.contact-submit-text,
.npv-contact-page .contact-submit-btn.is-loading
.contact-submit-arrow {
    display: none;
}


.npv-contact-page .contact-submit-btn.is-loading
.contact-submit-loading {
    display: inline-flex;
}


/* =========================================================
   HONEYPOT
========================================================= */

.npv-contact-page .contact-honeypot {
    position: absolute !important;

    left: -9999px !important;
    top: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .npv-contact-page .contact-hero {
        padding: 58px 0 68px;
    }

    .npv-contact-page .contact-hero-title {
        font-size: 38px;
    }

    .npv-contact-page .contact-main {
        margin-top: -20px;
    }

    .npv-contact-page .contact-info-panel {
        height: auto;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .npv-contact-page .contact-hero {
        padding: 45px 0 54px;
    }

    .npv-contact-page .contact-hero-title {
        font-size: 31px;
    }

    .npv-contact-page .contact-hero-description {
        font-size: 13px;
    }

    .npv-contact-page .contact-main {
        padding-bottom: 50px;
    }

    .npv-contact-page .contact-info-panel {
        padding: 28px 24px;

        border-radius: 13px;
    }

    .npv-contact-page .contact-info-heading h2 {
        font-size: 23px;
    }

    .npv-contact-page .contact-form-card {
        padding: 28px 22px 25px;

        border-radius: 13px;
    }

    .npv-contact-page .contact-form-header h2 {
        font-size: 22px;
    }

    .npv-contact-page .contact-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .npv-contact-page .contact-form-security {
        margin-bottom: 15px;
    }

    .npv-contact-page .contact-submit-btn {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .npv-contact-page .contact-hero-title {
        font-size: 27px;
    }

    .npv-contact-page .contact-form-icon {
        flex: 0 0 42px;

        width: 42px;
        height: 42px;
    }

    .npv-contact-page .contact-form-card {
        padding-left: 17px;
        padding-right: 17px;
    }
}
/* =========================================================
   SECTION HEADING
========================================================= */

.npv-contact-page .contact-section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
}

.npv-contact-page .contact-section-eyebrow {
    display: inline-block;
    margin-bottom: 10px;

    color: var(--main-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.npv-contact-page .contact-section-heading h2 {
    margin: 0 0 12px;

    color: var(--second-color);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

.npv-contact-page .contact-section-heading p {
    margin: 0;

    color: #6f7c8d;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   LOCATION SECTION
========================================================= */

.npv-contact-page .contact-location-section {
    padding: 58px 0 16px;
    background: #f5f7f9;
}


/* Card chung */

.npv-contact-page .contact-map-card,
.npv-contact-page .contact-branch-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e3e9ef;
    border-radius: 16px;

    box-shadow: 0 14px 38px rgba(13, 34, 64, 0.07);

    overflow: hidden;
}

.npv-contact-page .contact-card-head {
    padding: 22px 24px 16px;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
}

.npv-contact-page .contact-card-head h3 {
    margin: 0 0 4px;

    color: var(--second-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.npv-contact-page .contact-card-head span {
    color: #8090a2;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   MAP
========================================================= */

.npv-contact-page .contact-map-embed {
    height: 520px;
    line-height: 0;
}

.npv-contact-page .contact-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}


/* =========================================================
   BRANCHES
========================================================= */

.npv-contact-page .contact-branch-list {
    padding: 10px 20px 20px;
}

.npv-contact-page .contact-branch-item {
    display: flex;
    align-items: flex-start;

    padding: 18px 4px;

    border-bottom: 1px solid #edf1f5;
}

.npv-contact-page .contact-branch-item:last-child {
    border-bottom: 0;
}

.npv-contact-page .contact-branch-badge {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    border-radius: 12px;

    background: rgba(200, 16, 46, 0.09);
    color: var(--main-color);

    font-size: 13px;
    font-weight: 700;
}

.npv-contact-page .contact-branch-content {
    min-width: 0;
}

.npv-contact-page .contact-branch-content h4 {
    margin: 0 0 10px;

    color: var(--second-color);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.npv-contact-page .contact-branch-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.npv-contact-page .contact-branch-content ul li {
    position: relative;

    margin-bottom: 8px;
    padding-left: 18px;

    color: #5e6b7d;
    font-size: 15px;
    line-height: 1.8;
}

.npv-contact-page .contact-branch-content ul li:last-child {
    margin-bottom: 0;
}

.npv-contact-page .contact-branch-content ul li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--main-color);
}
@media (max-width: 991.98px) {
    .npv-contact-page .contact-location-section {
        padding: 46px 0 10px;
    }

    .npv-contact-page .contact-map-embed {
        height: 380px;
    }

    .npv-contact-page .contact-main {
        padding-top: 42px;
    }
}

@media (max-width: 767.98px) {
    .npv-contact-page .contact-section-heading h2 {
        font-size: 27px;
    }

    .npv-contact-page .contact-card-head {
        padding: 18px 18px 14px;
    }

    .npv-contact-page .contact-map-embed {
        height: 300px;
    }

    .npv-contact-page .contact-branch-list {
        padding: 6px 16px 16px;
    }

    .npv-contact-page .contact-branch-item {
        padding: 16px 0;
    }

    .npv-contact-page .contact-branch-badge {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin-right: 12px;
        border-radius: 10px;
    }

    .npv-contact-page .contact-branch-content h4 {
        font-size: 15px;
    }
}
