alStorage.setItem('language', lang);
            };

            currentFlag.addEventListener('click', (event) => {
                event.stopPropagation();
                languageDropdown.classList.toggle('show');
            });

            window.addEventListener('click', () => {
                if (languageDropdown.classList.contains('show')) {
                    languageDropdown.classList.remove('show');
                }
            });

            document.querySelectorAll('.lang-option').forEach