.services-hero {
    height: 500px;
    width: 100%;
    background-image: 
        linear-gradient(to right, rgba(42, 42, 42, 0.757)),
        url(/imageserver/UserMedia/jfroofing/jf-banner-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 5%;
    user-select: none;
    border-bottom: solid 8px var(--main-color-500);
    background-color: white;
}

.services-hero h2{
    margin: 0;
    font-size: 48px;
    line-height: 48px;
    background-color: white;
    color: var(--main-color-500);
    width: fit-content;
    padding: 8px 32px 8px 8px;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%);
}

.services-hero h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    line-height: 24px;
    color: var(--main-color-500);
}

.services-hero p {
    color: white;
    font-size: 24px;
    width: 800px;
    max-width: 85vw;
    margin: 16px 0;
}

.review-main {
    background: 
        linear-gradient(to right, rgba(20, 20, 20, 0.827)),
        url(/imageserver/UserMedia/jfroofing/abstract-1.jpeg);
    background-position: center;
    background-size: cover;
    padding: 32px 0;
}

/* OUTSIDE FORM */
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form-wrapper h2 {
    margin: 10px 0px;
}

.form-wrapper h4 {
    margin: 8px 0px;
    font-size: 24px;
    color: white;
    background-color: var(--main-color-500);
    padding: 8px 32px 8px 8px;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%);
}

/* FORM */
.form-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 800px;
    max-width: 90vw;
    row-gap: 40px;
    padding: 20px 0px;
    background-color: white;
    border: inset 8px var(--main-color-500);
    position: relative;
}

/* FORM OVERLAY */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--form-overlay);
    backdrop-filter: blur(0.5px);
    display: none;
}

/* FORM ROW */
.form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORM LABEL */
.form-row label {
    font-weight: 600;
    text-align: left;
    width: 80%;
    font-size: 18px;
    color: var(--main-color-500);
}

.form-row:has(input[required]) label::after, .form-row:has(textarea[required]) label::after  {
    content: " - Required";
    color: var(--main-color-700);
    font-size: 12px;
    display: inline;
}

/* FORM INPUT, SELECT & TEXTAREA */
.form-row input, .form-row select, .form-row textarea {
    border: solid 2px var(--main-color-700);
    padding: 5px;
    font-family: inherit;
    width: 80%;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border: solid 2px var(--main-color-500);
}

/* FORM TEXTAREA */
.form-row textarea {
    resize: none;
    height: 75px;
}

/* FORM #ERRORLABEL */
#error-label {
    color: var(--form-alert);
    margin: 0 0 -30px 0;
    visibility: hidden;
    min-height: 1.5rem;
}