.landingForm {
    width: calc(100% - 2rem);
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
}
.radio-item {
    position: relative;
    width: 4rem; /* Increased width to accommodate images */
    height: 6rem; /* Increased height to accommodate images */
}
.radio-item input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-item label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-size: contain; /* Scales the image to fit inside the label */
    background-repeat: no-repeat;
    background-position: center;
    transition: border-color 0.3s;
}
.radio-item input[type="radio"]:checked + label {
    border-color: #FFF200;
}
.hidden {
    display: none;
}

#form1 input,
#form1 select,
#form1 textarea {
    border-radius: 3px;
    font-size: 1.1rem;
    font-family: sans-serif;
    resize: none;
    width: calc(100% - 2rem);
    padding: 1rem;
    border: 1px solid grey;
    background-color: white; /* Ensures a white background for all input fields */
    color:black
}

#form1 input:focus,
#form1 select:focus,
#form1 textarea:focus {
    border-color: #FFF200;
}

#form1 label {
    display: block; /* Makes labels block elements */
    font-weight: bold; /* Makes label text bold */
    margin-bottom: .5rem; /* Adds space below the labels */
    color: #333; /* Sets the color of the labels */
    font-size: 14px; /* Sets the font size of the labels */
}

#form1 select {
    width: 100%;
}

.form-group {
    margin-top: 1rem;
    transition: all .5s;
}

.ffWithIcon {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.mLF-icon {
    height: 2.5rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 1rem;
}

.dateRow {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    color:black /* Ensures white background for the date row */
}

.dateInput {
    margin-right: 1rem;
    background-color: white;
    color:black /* Ensures white background for the date input */
}

.mLF-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: black;
    font-size: 1rem;
    background-color: #FFF200;
    border: 2px solid #FFF200;
    display: flex;
    justify-content: center;
    width: calc(100%);
    padding: 1rem;
    border-radius: 3px;
    overflow: hidden;
    align-items: end;
    font-family: 'Open Sans', sans-serif;
    margin-top: 1rem;
}
.mLF-button:hover {
    border: 2px solid black;
}

.fOne-sTwo {
    height: 0;
    overflow: hidden;
    margin: 0;
    width: 0;
}

@media (min-width: 850px) {
    .stepOneWide {
        width: calc(100% / 3);
        margin: 0 1rem 0 0;
    }
    .stepOneWideOuter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }
    .stepOneBTN {
        width: calc(100% / 3);
        margin: 0;
    }
}

@media (min-width: 1100px) {
    .formGroupOuter {
        display: flex;
        justify-content: space-around;
    }
}


#form1 .comply,
#form2 .comply{width: 1rem; padding: 0;aspect-ratio: 1/1;}



#form2 input,
#form2 select,
#form2 textarea {
    border-radius: 1.5px;
    font-size: 1.1rem;
    font-family: sans-serif;
    resize: none;
    width: calc(100% - .5rem);
    padding: .3rem;
    border: none;
    background-color: white; /* Ensures a white background for all input fields */
    margin: 0;
    color:black
}

#form2 select {
    width: 100%;color: black;
}
#form2 .form-group {
    margin-top: .4rem;
   
}

.hidden {
    display: none !important;
}

.thankyou-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.thankyou-card {
    max-width: 640px;
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: #ffffff;
}

.thankyou-animate {
    animation: thankyouFadeUp 0.7s ease forwards;
}

.thankyou-logo img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 22px;
    display: block;
}

.thankyou-title {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.2;
}

.thankyou-text {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.thankyou-button {
   
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding-right: 1rem;
}

.thankyou-card .mLF-button.thankyou-button {
    width: auto !important;
    display: inline-flex !important;
}
@keyframes thankyouFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}