.contact-section {
    color: var(--white);
    position: relative;
    padding-block: 48px;
}

@media (min-width: 767.8px) {
    .contact-section {
        padding-block: 100px;
    }
}

.contact-section:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--grey-900);
    z-index: 0;
}

.contact-section .form-wrapper {
    background-color: var(--purple-200);
    padding: 32px;
    border-radius: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    gap: 40px;
}

@media (min-width: 767.8px) {
    .contact-section .form-wrapper {
        padding: 64px;
        gap: 40px;
    }
}

.contact-section .form-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./images/form-bg.webp");
    opacity: 0.5;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-section .form-wrapper .text-wrapper {
    width: 100%;
    flex-basis: 100%;
    position: relative;
    z-index: 2;
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 991.8px) {
    .contact-section .form-wrapper .text-wrapper {
        width: 550px;
        flex-basis: 550px;
    }
}

.contact-section .form-wrapper .text-wrapper > * {
    width: 100%;
}

.contact-section .form-wrapper .text-wrapper p {
    opacity: 0.5;
}

.contact-section .form-wrapper .form-content {
    flex: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media (min-width: 991.8px) {
    .contact-section .form-wrapper .form-content {
        flex: 1;
    }
}

.contact-section .form-wrapper .form-content form .field {
    margin-bottom: 24px;
}

.contact-section .form-wrapper .form-content form .form-columns-0 {
    margin-bottom: 24px;
}

.contact-section .form-wrapper .form-content form .hs-form-field input[type=text], .contact-section .form-wrapper .form-content form .hs-form-field input[type=email], .contact-section .form-wrapper .form-content form .hs-form-field input[type=phone], .contact-section .form-wrapper .form-content form .hs-form-field input[type=number], .contact-section .form-wrapper .form-content form .hs-form-field input[type=tel], .contact-section .form-wrapper .form-content form .hs-form-field input[type=date] {
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 14px 16px;
    height: 48px;
    outline: none;
    border: none;
    color: var(--black);
}

.contact-section .form-wrapper .form-content form .hs-form-field input[type=text]::placeholder, .contact-section .form-wrapper .form-content form .hs-form-field input[type=email]::placeholder, .contact-section .form-wrapper .form-content form .hs-form-field input[type=phone]::placeholder, .contact-section .form-wrapper .form-content form .hs-form-field input[type=number]::placeholder, .contact-section .form-wrapper .form-content form .hs-form-field input[type=tel]::placeholder, .contact-section .form-wrapper .form-content form .hs-form-field input[type=date]::placeholder {
    color: #a3a3a3;
}

.contact-section .form-wrapper .form-content form select {
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 14px 16px;
    height: 48px;
    outline: none;
    border: none;
}

.contact-section .form-wrapper .form-content form textarea {
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 14px 16px;
    height: auto;
}

.contact-section .form-wrapper .form-content form textarea::placeholder {
    color: #a3a3a3;
}

.contact-section .form-wrapper .form-content form .hs-button {
    background-color: var(--orange-200);
    height: 48px;
    border-radius: 100px;
    color: var(--white);
    border: none;
    outline: none;
    width: 100%;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    display: block !important;
    transition: 0.4s ease;
}

.contact-section .form-wrapper .form-content form .hs-button:hover {
    background-color: var(--green-700);
}
