ss="pt-4">
                    <button type="submit"
                        class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
                        Submit Application
                    </button>
                </div>
            </form>
            <div id="message" class="mt-4 text-center hidden"></div>
        </div>
    </div>

    <script>
        document.getElementById('mortgageForm').addEve