.review-hero {
    width: 100%;
    min-height: 300px;
    background-image: url("/imageserver/UserMedia/tmcexteriors/Slide3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.review-hero-content-wrapper {
    width: 100%;
    height: 300px;
    backdrop-filter: brightness(30%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.review-hero + .purple-line {
    width: 50%;
    margin: 50px 25% 0px 25%;
}

.form-background {
    background: linear-gradient(to bottom, white, #f9f9f9); 
    width: 100%; 
    height: fit-content;
}

.form-wrapper {
    height: fit-content;
    width: 100%;
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.review-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    background-color: transparent;
    padding: 30px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.review-form h1 {
    color: var(--main-color);
    font-size: 4rem;
    margin-bottom: 10px;
}

.review-form p {
    color: #333;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.review-form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 10px 0;
}

.review-form-row label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--main-color);
}

.review-form-row span {
    color: maroon;
    font-size: 12px;
    font-weight: 200;
}

.review-form-row input, 
.review-form-row select, 
.review-form-row textarea {
    width: 100%;
    max-width: 80vw;
    padding: 10px 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
}

.review-form-row input:focus, 
.review-form-row select:focus, 
.review-form-row textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(138, 97, 179, 0.5);
}

.review-form-row textarea {
    height: 150px;
    resize: none;
}

.review-form .button {
    background-color: var(--accent-color);
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease-in-out;
}

.review-form .button:hover {
    background-color: var(--main-color);
}

/***** Media Queries *****/
@media (max-width: 768px) {
    .review-form {
        padding: 20px;
        max-width: 80vw;
    }

    .review-form h1 {
        font-size: 2rem;
    }

    .review-form p {
        font-size: 1.25rem;
    }

    .review-form-row input, 
    .review-form-row select, 
    .review-form-row textarea {
        font-size: 1.25rem;
    }

    .review-form .button {
        font-size: 1.5rem;
        padding: 8px 20px;
    }
}

/****Overwrites of default styles*****/
.form_field_title p {
    text-align: left;
}

.form_field_wrapper:hover {
    background: none;
}

.required_field_element {
    display: none;
}

.required_field {
    width: 100% !important;
}