/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
    position: relative;
    padding: 92px 0 86px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 20%, rgba(18, 63, 109, 0.72), transparent 34%),
        linear-gradient(135deg, #0b2a50 0%, #00102a 100%);
    color: #ffffff;
}

.contact-hero::before {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 330px;
    height: 330px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.contact-hero::after {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 360px;
    height: 360px;
    content: "";
    background: rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
}

.contact-hero p {
    max-width: 740px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.75;
}

.contact-section {
    padding: 78px 0 90px;
    background: #f7f9fc;
}

.contact-section__title {
    margin-bottom: 14px;
    color: #0b2a50;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-section__intro {
    max-width: 800px;
    margin: 0 auto;
    color: #5f6b78;
    font-size: 17px;
    line-height: 1.85;
}

.contact-cards {
    margin-top: 44px;
    margin-bottom: 52px;
}

.contact-card {
    min-height: 218px;
    height: 100%;
    margin-bottom: 30px;
    padding: 30px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 16, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 42, 80, 0.22);
    box-shadow: 0 16px 36px rgba(0, 16, 42, 0.12);
}

.contact-card__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #123f6d, #00102a);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 9px 22px rgba(0, 16, 42, 0.2);
}

.contact-card__icon i {
    font-size: 23px;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: #0b2a50;
    font-size: 17px;
    font-weight: 700;
}

.contact-card p,
.contact-card address {
    margin: 0;
    color: #66717e;
    font-size: 14px;
    font-style: normal;
    line-height: 1.75;
}

.contact-card a {
    color: #0b2a50;
    font-weight: 500;
    word-break: break-word;
}

.contact-card a:hover,
.contact-card a:focus {
    color: #123f6d;
}

.contact-main-row {
    display: flex;
    flex-wrap: wrap;
}

.contact-main-row > [class*="col-"] {
    display: flex;
}

.contact-panel {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0, 16, 42, 0.08);
}

.contact-panel__header {
    padding: 30px 32px 24px;
}

.contact-panel__label {
    display: inline-block;
    margin-bottom: 8px;
    color: #123f6d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.contact-panel__header h2 {
    margin-bottom: 8px;
    color: #0b2a50;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-panel__header p {
    margin: 0;
    color: #6b7580;
    font-size: 14px;
    line-height: 1.7;
}

.contact-map {
    display: flex;
    flex-direction: column;
}

.contact-map__frame {
    min-height: 520px;
    display: flex;
    flex: 1;
    background: #e8edf3;
}

.contact-map__frame iframe {
    width: 100%;
    min-height: 520px;
    display: block;
    border: 0;
}

.contact-form-panel {
    padding-bottom: 4px;
}

.contact-form {
    position: relative;
    padding: 0 32px 32px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    margin-bottom: 8px;
    display: block;
    color: #26384b;
    font-size: 13px;
    font-weight: 700;
}

.contact-form label span {
    color: #9b1c31;
}

.contact-form .form-control {
    width: 100%;
    height: 50px;
    padding: 12px 14px;
    background: #f9fbfd;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea.form-control {
    min-height: 170px;
    height: auto;
    resize: vertical;
}

.contact-form .form-control:focus {
    background: #ffffff;
    border-color: #123f6d;
    box-shadow: 0 0 0 3px rgba(18, 63, 109, 0.12);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #98a2ad;
}

.contact-form__help {
    margin-top: 6px;
    display: block;
    color: #87919c;
    font-size: 12px;
}

.contact-form__status {
    min-height: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form__submit {
    min-height: 50px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #123f6d, #00102a);
    color: #ffffff;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(0, 16, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(0, 16, 42, 0.29);
    outline: none;
}

.contact-form__submit:focus-visible {
    outline: 3px solid rgba(18, 63, 109, 0.26);
    outline-offset: 3px;
}

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

@media screen and (max-width: 991px) {
    .contact-main-row {
        display: block;
    }

    .contact-main-row > [class*="col-"] {
        display: block;
    }

    .contact-map__frame,
    .contact-map__frame iframe {
        min-height: 430px;
    }
}

@media screen and (max-width: 767px) {
    .contact-hero {
        padding: 68px 0 62px;
    }

    .contact-hero h1 {
        font-size: 38px;
    }

    .contact-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

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

    .contact-section__title {
        font-size: 29px;
    }

    .contact-section__intro {
        font-size: 16px;
        line-height: 1.7;
    }

    .contact-cards {
        margin-top: 34px;
        margin-bottom: 24px;
    }

    .contact-card {
        min-height: auto;
    }

    .contact-panel__header,
    .contact-form {
        padding-right: 22px;
        padding-left: 22px;
    }

    .contact-panel__header h2 {
        font-size: 23px;
    }

    .contact-map__frame,
    .contact-map__frame iframe {
        min-height: 350px;
    }

    .contact-form__submit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero h1 {
        font-size: 33px;
    }

    .contact-card {
        padding: 26px 20px;
    }

    .contact-panel {
        border-radius: 12px;
    }

    .contact-map__frame,
    .contact-map__frame iframe {
        min-height: 300px;
    }
}
