property of the elements with the given IDs to 'none'.
         */
        function hideAllLostPersonDetails() {
            // Hide the father details
            document.getElementById('father-details').style.display = 'none';

            // Hide the mother details
            document.getElementById('mother-details').style.display = 'none';

            // Hide the child details
            document.getElementById('child-details').style.display = 'none';

            // Hide the partner details
       