ation}</p>
                <p>${trekDetails.difficulty}</p>
                <p>${trekDetails.bestTime}</p>
            `;

            document.getElementById("trekDetails").innerHTML = detailsHTML;
        }

        // Function to confirm the booking based on input details
        function confirmBooking() {
            var name = document.getElementById("name").value;
            var email = document.getElementById("email").value;
            var phone = document.getElementById("phone").value;
          