.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* This ensures it takes full viewport height */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.card-container-inverse {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px; /* Adjust this value based on your preferred maximum width */
    margin: 0 auto;
}

.card-container-item-left-inverse,
.card-container-item-right-inverse {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.formContainer {
    width: 100%;
    max-width: 500px; /* Adjust based on your preference */
    display: flex;
    justify-content: center;
}

.order-flex-item {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* For larger screens, you might want the original side-by-side layout */
@media (min-width: 768px) {
    .card-container-inverse {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .card-container-item-left-inverse,
    .card-container-item-right-inverse {
        width: 50%;
        align-items: flex-start;
    }
    
    .formContainer,
    .order-flex-item,
    form {
        align-items: flex-start;
    }
}

/* Additional styling for your form elements */
.input-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

/* .input-container input,
.input-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
} */

.read-more-button {
    display: block;
    margin: 0 auto;
}