.bh-contact-form .form-container .contact-form-1 p {
    line-height: normal;
    font-size: 15px;
    padding: 0;
}

.bh-contact-form .contact-form-1 {
    position: relative;
}


.bh-contact-form .contact-form-1 .contact-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: all;
    display: none;
    z-index: 10;
    background-color: transparent;
}

.bh-contact-form .contact-form-1 .contact-loader .loader-icon {
    border: 10px solid #fefefe;
    border-top: 10px solid #0D4E8A;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.bh-contact-form .contact-form-1 .contact-loader.loader-active {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.bh-contact-form .section-subheading {
    font-size: 15px
}

.bh-contact-form label {
    font-size: 12px;
}

.bh-contact-form .form-container {
    display: flex;
    flex-direction: column;
}

.bh-contact-form .form-container.form-container-hidden {
    display: none;
}

.bh-contact-form .form-container .contact-form {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.bh-contact-form button.submit-button {
    background-color: #0D4E8A;
    color: white;
    border-radius: 8px;
    padding: 18px 24px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.section-title {

}


.form-legend {
    margin: 40px 0;
}

.required-indicator {
    color: #BD2100;
}

.form-group {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.form-group.form-group-hidden {
    display: none;
}

.form-group > div {
    flex: 1;
}

.form-group > div.form-group-large {
    flex: 2;
}

.form-group label input, .form-group label select {
    display: block;
    width: 100%;
    height: 32px;
}

.form-group .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    row-gap: 24px;
    column-gap: 32px;
    margin-top: 24px;
}
.form-group .checkbox-group.checkbox-group-small {
    flex-direction: column;
}

.form-group .checkbox-group div  {
    font-weight: 600;
    flex-basis: calc(25% - 33px);
    position: relative;
    display: flex;
    align-items: center;
    line-height: normal;
}
.form-group .checkbox-group label  {
    position: relative;
    display: flex;
    align-items: center;
    line-height: normal;
    cursor: pointer;
}

.form-group label .text-input {
    border: 1px solid #838891;
    border-radius: 4px;
}

.form-group .checkbox-group label input {
    display: none;
}

.form-group .checkbox-group label span {
    position: relative;
    display: inline-block;
    content: "";
    height: 18px;
    width: 18px;
    background: #fff;
    border: 1px solid #838891;
    border-radius: 4px;
    flex-shrink: 0;
    margin-right: 8px;
}
.form-group .checkbox-group label input:checked ~ span {
    background-image: url('../assets/images/checkmark.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.bh-contact-form .confirmation-message {
    display: none;
    text-align: center;
}

.contact-us-container {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.contact-us-container > div {
    flex: 1;
    display: flex;
    gap: 12px;
}

.contact-us-container h2 {
    color: #0D4E8A;
    font-size: 32px;
    font-weight: 600;
    line-height: 52px;
}

.contact-us-container .contact-us-button-container {
    justify-content: flex-end;
}

.contact-us-container .contact-us-button {
    color: white;
    background-color: #0D4E8A;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 35px 24px 24px;
    height: 185px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    max-width: 275px;
    cursor: pointer;
}

.contact-us-container .contact-us-button img {
    width: 24px;
    height: auto;
}

.contact-form-tabs {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(19, 19, 19, 0.2);
    margin-bottom: 64px;
}

.hidden-form {
    display: none;
}

.contact-form-tabs .contact-form-tab {
    font-weight: 600;
    font-size: 18px;
    padding: 14px 24px;
    color: rgba(19, 19, 19, 0.4);
    border-bottom: 4px solid transparent;
    cursor: pointer;
    margin-bottom: -1px;
}

.contact-form-tabs .contact-form-tab.active-tab {
    color: rgba(19, 19, 19, 1);
    border-bottom-color: #0D4E8A;
}

@media (max-width: 1024px) {
    .hidden-tablet {
        display: none;
    }

    .contact-us-container {
        flex-direction: column;
    }
    .contact-us-container .contact-us-button-container {
        justify-content: space-between;
    }
    .contact-us-container .contact-us-button {
        max-width: unset;
        flex: 1;
    }
    .contact-us-container .contact-us-button > div {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .bh-contact-form h2.section-title {
        font-size: 22px;
    }
    .bh-contact-form .section-subheading {
        font-size: 12px
    }


    .form-group {
        flex-direction: column;
        gap: 38px;
    }

    .form-group .checkbox-group div  {
        flex-basis: calc(50% - 33px);
    }

    .contact-us-container h2 {
        font-size: 22px;
        padding-bottom: 0;
    }

    .contact-us-container .contact-us-button-container {
        flex-direction: column;
    }
    .contact-us-container .contact-us-button {
        min-height: 185px;
    }
}

