   <script src="./navbar.js"></script>
    <script src="./light-dark-theme.js"></script>
  
    <script>
      document.getElementById('survey-form').addEventListener('submit', function(event) {
    // Validate phone number
    const phoneField = document.getElementById('tel');
    const phonePattern = /^[0-9]{10}$/;
    if (!phonePattern.test(phoneField.value)) {
      phoneField.setCustomValidity("Please enter a valid 10-digit phone number.");
      phoneField.reportValidity();
      event.preventDefault(