See Sergio has already responded ... so I'll add 2 cents ...
Appears you have fallen victim to the mis-information/understanding of
what you saw on notifications screen.

You can acquire the highest 3.11.x:
under Legacy releases:
https://download.moodle.org/releases/legacy/Once you get the highest 3.11.x back up and running, plan your upgrade path:
https://moodledev.io/general/releasesFor example: 4.0.x
https://moodledev.io/general/releases/4.0Server requirementsThese are just the minimum supported versions. We recommend keeping all of your software and operating systems up-to-date.
Moodle upgrade: Moodle 3.6 or later
PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x and 8.0.x are supported too. See PHP for details.
PHP extension sodium is recommended. It will be required in Moodle 4.2. For further details, see Environment - PHP extension sodium.
PHP extension exif is recommended.
PHP setting max_input_vars is recommended to be >= 5000 for PHP 7.x installations. It's a requirement for PHP 8.x installations. For further details, see Environment - max input vars.The easiest way for you to plan your upgrades is to access:
Site Admin Environment check - update the component and then use the moodle version
drop down list checking each version above 3.11.x to see what you might need to do
prior to upgrading to the version chosen in the pick list.
Your screen shot shows your site is missing php extensions for zip, gd, and intl.
You must acquire those prior to upgrading.
If you have additonal plugins installed, you should also check to see if those plugins have a compatible version for your destination version of moodle.
Theme's are important .... suggest adding a line to your config.php file to force the use of boost theme while you are marching your moodle to highest you can reach:
$CFG->theme='boost';
an incompatible theme will render the dreaded 'white screen of death' or other errors.

'SoS', Ken