k') {
                        details.style.display = 'none';
                        icon.classList.remove('rotated');
                    } else {
                        details.style.display = 'block';
                        icon.classList.add('rotated');
                    }
                });
            });
        }

        // Form submission handler
        document.getElementById('requirements-form').addEventListener('submit', function(e) {
            e.preventDefault();
            const for