/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/

#hero-forms {
    background-color: var(--headingText);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 200px; /* adjust as needed */
}

.forms-cs-title-white {
    padding-bottom: 2rem;
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--bodyTextWhite);
}

@media only screen and (min-width: 1024px) {

    #hero-forms {
        height: 275px; /* adjust as needed */
    }

}

/*-- -------------------------- -->
<---        forms             -->
<--- -------------------------- -*/


#forms {
    background-color: #F5F5F5;
}

.forms-cs-title {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--headingText);
}

.forms-cs-h3 {
    padding-bottom: 25px;
    opacity: 0.8;
    font-size: clamp(1rem, 1.5vw, 2rem);

}

.forms-form-wrapper, 
.details {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute the space evenly in the container */
    min-height: 100%; /* Force the container to at least full height */
}



.forms-form-wrapper {
    background-color: #fff;
    box-shadow: 0 0 29px 0 rgb(0 0 0 / 9%);
    border-radius: 5px;
    padding: 25px;
    max-width: 1000px;
    margin: auto; 
}




#forms .cs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 1.5vw, 3rem);
}



.forms-input {
    color: var(--bodyText);
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.6;
    width: 100%;
    border: 1px solid #ccc;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 5px;
}

.form-submit {
    display: flex;
    justify-content: end;
}

/*details */

.details {
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 0 29px 0 rgb(0 0 0 / 9%);
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
}


.input-row {
    flex-direction: column;
}

.input-row > div {
    margin-bottom: 10px;
    margin-right: 0;
}

.input-row > div:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
    #forms .cs-container {
        flex-direction: row;
        justify-content: center;
    }

    .input-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .input-row > div {
        flex: 1;
        margin-right: 10px;
    }
    
    .input-row > div:last-child {
        margin-right: 0;
    }
}