  var selectedTrek = document.getElementById("trekSelection").value;

            if (name && email && phone) {
                alert("Thank you " + name + "! Your booking for " + selectedTrek + " has been confirmed. We will contact you at " + email + " or " + phone + ".");
                closeModal();
            } else {
                alert("Please fill in all the details before confirming.");
            }
        }
    </script>


    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/d