.contact-hero {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 390px;
    padding: 135px 0 65px;
    overflow: hidden;
    align-items: center;
    background: url("../images/IMG_20181212_121538.jpg") center 46% / cover no-repeat;
}

.contact-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 30, 51, .91) 0%, rgba(7, 43, 74, .8) 52%, rgba(8, 45, 75, .58) 100%);
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -210px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.contact-hero-content {
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.contact-hero-eyebrow,
.contact-section-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #65b7f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-hero h1 {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 14px;
    color: #fff;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
}

.contact-hero h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    border-radius: 3px;
    background: #55ace7;
}

.contact-hero p {
    max-width: 590px;
    margin: 0;
    color: #d6e5ef;
    font-size: 17px;
    line-height: 1.65;
}

.contact-page-section {
    padding: clamp(58px, 6vw, 88px) 0;
    background: linear-gradient(180deg, #f7fafc 0%, #edf4f8 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr);
    overflow: hidden;
    border: 1px solid #dbe6ed;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 54, 83, .12);
}

.contact-information {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #082f50 0%, #104c99 115%);
}

.contact-information::after {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(93, 177, 235, .1);
}

.contact-information-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    padding: 46px 39px 34px;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
}

.contact-information h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.25;
}

.contact-information > div > p {
    margin: 0;
    color: #c9ddea;
    font-size: 14.5px;
    line-height: 1.75;
}

.contact-info-list {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.contact-info-item {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    display: inline-flex;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #8dcdf8;
    background: rgba(255, 255, 255, .08);
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.contact-info-item span,
.contact-info-item a {
    color: #c9ddea;
    font-size: 13px;
    line-height: 1.55;
}

.contact-info-item a:hover {
    color: #fff;
}

.contact-illustration {
    margin-top: auto;
    padding-top: 35px;
    text-align: center;
}

.contact-illustration img {
    width: min(250px, 76%);
    max-height: 175px;
    opacity: .94;
}

.contact-form-card {
    padding: 45px 44px;
    font-family: 'Roboto', sans-serif;
    background: #fff;
}

.contact-form-heading {
    margin-bottom: 27px;
}

.contact-form-heading .contact-section-eyebrow {
    color: #1768b3;
}

.contact-form-heading h2 {
    margin: 0 0 8px;
    color: #17324d;
    font-size: 29px;
    font-weight: 700;
}

.contact-form-heading p {
    margin: 0;
    color: #667c8e;
    font-size: 14px;
    line-height: 1.6;
}

.contact-alert {
    display: flex;
    gap: 11px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 8px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
}

.contact-alert-success {
    border-color: #b8dfc8;
    color: #24623d;
    background: #eef9f2;
}

.contact-alert-error {
    border-color: #efc5c5;
    color: #812d2d;
    background: #fff4f4;
}

.contact-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
    list-style: disc;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 17px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #29465f;
    font-size: 13px;
    font-weight: 600;
}

.contact-field label > span {
    color: #c63d3d;
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #d4e0e8;
    border-radius: 7px;
    color: #17324d;
    background: #fbfcfd;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field input {
    height: 45px;
    padding: 0 13px;
}

.contact-field textarea {
    min-height: 145px;
    padding: 12px 13px;
    line-height: 1.6;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #1768b3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 104, 179, .1);
}

.contact-field small {
    display: block;
    margin-top: 5px;
    color: #b12e2e;
    font-size: 11px;
}

.contact-field-help {
    margin-top: 5px;
    color: #788c9c;
    font-size: 11px;
}

.contact-verification {
    max-width: 260px;
}

.contact-submit {
    display: inline-flex;
    margin-top: 25px;
    padding: 12px 20px;
    border: 0;
    border-radius: 7px;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: #104c99;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(16, 76, 153, .2);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-submit:hover {
    background: #0b3d78;
    box-shadow: 0 10px 22px rgba(16, 76, 153, .28);
    transform: translateY(-2px);
}

.contact-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-privacy-note {
    margin: 13px 0 0;
    color: #728797;
    font-size: 11px;
}

.contact-privacy-note i {
    margin-right: 4px;
    color: #1768b3;
}

.contact-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-information-inner {
        padding: 38px 34px;
    }

    .contact-info-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-illustration {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        min-height: 325px;
        padding: 115px 0 48px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-info-list {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 36px 30px;
    }
}

@media (max-width: 575.98px) {
    .contact-page-section {
        padding: 42px 0;
    }

    .contact-layout {
        border-radius: 10px;
    }

    .contact-information-inner,
    .contact-form-card {
        padding: 30px 21px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-verification {
        max-width: none;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-field input,
    .contact-field textarea,
    .contact-submit {
        transition: none;
    }
}
