.contact-card {
    margin: 0.5rem 0 3rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid #dce8eb;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfc 100%);
    box-shadow: 0 1rem 2.5rem rgba(16, 65, 77, 0.1);
}

.contact-masthead {
    overflow: hidden;
    background-image: none;
}

.contact-masthead .contact-banner-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.contact-masthead:before {
    z-index: 1;
}

.contact-masthead .container {
    z-index: 2;
}

.contact-intro {
    margin-bottom: 1.75rem;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #0085a1;
    font-family: "Open Sans", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-intro h2 {
    margin-bottom: 0.75rem;
    color: #173c48;
}

.contact-intro p {
    margin-bottom: 0;
    color: #536a70;
}

.contact-card .form-floating {
    margin-bottom: 1rem;
}

.contact-card .form-control:focus {
    border-color: #0085a1;
    box-shadow: 0 0 0 0.25rem rgba(0, 133, 161, 0.15);
}

.contact-card textarea.form-control {
    min-height: 12rem;
    resize: none;
}

.contact-message {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.6rem;
    font-weight: 700;
}

.contact-success {
    border: 1px solid #a9d8bd;
    background: #e9f7ef;
    color: #146c43;
}

.contact-error {
    border: 1px solid #f1b8be;
    background: #fff0f1;
    color: #a52834;
}

@media (max-width: 575.98px) {
    #mainNav .navbar-brand {
        max-width: calc(100vw - 160px);
        white-space: normal;
        font-size: 0.9rem;
        line-height: 1.2;
    }
}
