I particularly appreciate a style of title used for a CV got online (see following image) and I am trying to reproduce it in my LaTeX CV.

Here follows my MWE (it's the actual version of my first page CV). Compiler: XeLaTeX.
\documentclass[11 pt,oneside,a4paper,titlepage]{article}
%%% PREAMBLE (start) %%%
% Info
\title{My CV}
\usepackage[most]{tcolorbox}
\usepackage{geometry}
\geometry{
a4paper,
left=0.1cm, % left=0.1cm
right=0.6cm, % right=0.6cm
top=0.5cm, % top=0.1cm
bottom=1.2cm, % bottom=0.1cm
includefoot,
headheight=2.5cm, % needed to avoid warnings with fancyhdr package
showframe=false
}
\usepackage{lipsum} % dummy text
\usepackage{adjustbox} % to a better alignement of text
% Headers and footers
\usepackage{fancyhdr}
%\setlength{\headheight}{12.6pt}
\usepackage{lastpage}
% Fonts
\usepackage[TU]{fontenc}
\usepackage{fourier-otf}
\usepackage{xspace}
\usepackage{microtype} %it helps to fit text inside margins)
\usepackage[en-AU]{datetime2}
\usepackage{csquotes}
% Tables
\usepackage{multirow}
% to have awesome icon
\usepackage{fontawesome5}
\usepackage{academicons}
% advanced drawing
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{smartdiagram}
\usepackage{float}
\usepackage{array}
\usetikzlibrary{decorations.text}
\usetikzlibrary{fadings}
\usetikzlibrary{calc}
\usetikzlibrary{shapes.misc,positioning}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{backgrounds}
\usetikzlibrary{shadings}
\usetikzlibrary{calendar}
\usetikzlibrary{er}
\usetikzlibrary{patterns}
\usetikzlibrary{shapes}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{decorations}
\usetikzlibrary{topaths}
\usepackage{graphicx}
% set TikZ styles
\tikzset{
contactIcon/.style={%
minimum height=\baselineskip,
}
}
% pictures
\usepackage{graphicx}
% loads graphicx, provides align=c option for vertical alignment w.r.t. text
\RequirePackage{graphbox}
\newcommand{\roundpic}[1]{\begin{figure}[H]\tikz \draw [path picture={ \node at (path picture bounding box.center){\includegraphics[height=3cm]{#1}} ;}] (0,2) circle (1.7) ;\end{figure}}
% more advanced expressions in \setlength
\usepackage{calc}
% Define Colors
\RequirePackage{xcolor}
\definecolor{titleBackColor}{RGB}{25,20,60}
\definecolor{sideBarColor}{rgb}{0.6,0.6,0.6}
\definecolor{mydarkblue}{rgb}{0.07,0.08,0.4}
\definecolor{myblue}{rgb}{.4,.4,1}
\definecolor{myyellow}{RGB}{245,169,34}
% Lists
\usepackage{enumitem}
\setlist{leftmargin=*,nosep}
% Define Lengths
\newlength\cvPictureWidth \setlength\cvPictureWidth{4cm}
\newlength\SidebarTextWidth \setlength\SidebarTextWidth{7cm}
\newlength\leftSideSecWidth \setlength\leftSideSecWidth{2cm}
\newlength\rightSideSecWidth \setlength\rightSideSecWidth{9cm}
\newlength\SecVertSpace \setlength\SecVertSpace{0.4cm}
% avoid line overflow
% \setlength{\emergencystretch}{2pt}
% CV tag for skills
\newcommand{\cvtag}[1]{%
\tikz[baseline]\node[anchor=base,draw=black!30,rounded corners,inner xsep=1ex,inner ysep =0.75ex,text height=1.5ex,text depth=.25ex]{\footnotesize #1};
}
% top box with simple header
\newcommand{\simpleheader}[5]{
\tikz[remember picture,overlay] {%
\node[rectangle, fill=#1, anchor=north, minimum width=\paperwidth, minimum height=3.3cm] (header) at (current page.north){};% height=3.5cm
\nodedraw=none, align=left at (header) {%
{\Huge \color{#5} \MakeUppercase{#2} \MakeUppercase{#3} }%\textbf{#3}
};%
\nodedraw=none, below at (name.south) {\color{white}#4};%
}\vspace{-0.7cm} %\vspace{-0.7cm}
}
% SideBar
\newcommand{\sidebar}[1]{
\tikz[remember picture,overlay] {%
\noderectangle, fill=#1, anchor=north west, minimum width=8.3cm, minimum height=\textheight at (current page.north west){};%
}
}
% Flag for Languages section and for all small personal icons
\newcommand{\flag}[1]{\includegraphics[align=c, width=1em]{#1}}
\newcommand{\TitleIcon}[1]{\includegraphics[align=c, scale=0.05]{#1}}
% Command for section title
\newcommand{\MySectionTitle}[3]{% inputs: #1: icon, #2: title
\begin{tikzpicture}[remember picture,overlay]
% \draw [help lines] (0,0) grid (5,-2);
\node[font = {\Large},circle,fill=myyellow, minimum size = 1cm] (c) at (0.5,-1){\color{titleBackColor} #1};
\draw[myyellow, ultra thick] (c.0) -- (\textwidth,-1); % draw of horizontal line
\node at (4.0,-.66) {\bf \Large \raggedright \color{titleBackColor}\MakeUppercase{#2}}; % original: \node at (4.8,-.66)
\end{tikzpicture}
\vspace{1.6cm}
}
% Command for Education and Works
\newcommand{\MySection}[7]{ % input: years, logo, title, university, city, specialization, description
\adjustbox{valign=t}{\begin{minipage}{\leftSideSecWidth}
\begin{flushleft} %original alignment:center
{\small #1} \ %years
\vspace*{0.1cm}
\includegraphics[width=1.2cm]{#2} %logo
\end{flushleft}
\end{minipage}}
\hspace{0.1cm} \hfill %\vline %\hfill
\adjustbox{valign=t}{\begin{minipage}{\rightSideSecWidth} %9cm
{\normalsize\bfseries #3} %title
\hfill {\footnotesize \faMapMarker ~ #5} % city
\newline
{\small\bfseries \textsc{#4}} %university
\newline
\small {\emph{#6}} %specialization
%\newline %originally not commented
\footnotesize {#7} %description
\end{minipage}}
}
% % ITC section (customized)
% \newcommand{\ITCskill}[4]{\raisebox{-0.7\height}{\includegraphics[height=0.6cm]{#1}} & \footnotesize \textbf{#2}\newline{\footnotesize #3}\vspace{0.5em} &\multirow{2}*{\footnotesize #4}} %height=0.5cm
% Format of the title section in the side column
% based on https://tex.stackexchange.com/questions/65731
\makeatletter
\def\cv@hrulefill{{\color{titleBackColor}\leavevmode\leaders\hrule height 1pt\hfill\kern\z@}}
% line before and after text (some tweaking is required here)
% based on https://tex.stackexchange.com/questions/15119
\NewDocumentCommand{\ruleline}{m}{\par\noindent\raisebox{\baselineskip/4}{\makebox[\linewidth]{\cv@hrulefill\hspace{1ex}\raisebox{-\baselineskip/4}{\large #1}\hspace{1ex}\cv@hrulefill}}\vspace*{0.05cm}}
\makeatother
\usepackage{titlesec} % Allows creating custom \sections
% Format of the section titles
\titleformat{\section}{
\bf \Large\raggedright}{}{0em}{}[\titlerule] % smallcaps, Large, continuous line - looks better if two columns, might look a bit too dramatic if just one ;)
\titlespacing{\section}{0pt}{12pt}{5pt} % Spacing around titles {<left spacing>}{<before spacing>}{<after spacing>}
% Multiple Column Package
\usepackage{multicol}
%%% PREAMBLE (end) %%%
% DOCUMENT
\begin{document}
%%% Footer
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[C]{\small \textcolor{black}{\footnotesize I hereby authorize the processing of the personal data contained in this CV in compliance with the European Regulation (UE) 2016/679.\
\small \textcolor{black}{Page \thepage \hspace{1pt} of \pageref{LastPage}}}}
% Side bar
\sidebar{sideBarColor!25}
\simpleheader{titleBackColor}{Name}{Surname}{xxxxxxxx Engineer \hspace{0.1cm} \TitleIcon{example-image-c}}{white}
% Left-side page
\vspace{3.0cm}
\adjustbox{valign=t}{\begin{minipage}{7cm}
%Picture
\begin{center}
\begin{tikzpicture}
\node[
circle,
minimum size=\cvPictureWidth,
path picture={
\node at (path picture bounding box.center){
\includegraphics[width=\cvPictureWidth]{example-image-b}
};
}]
{};
\end{tikzpicture}
\end{center}
\section{Side bar}
\lipsum[1-2]
\end{minipage}} %
\hfill
% Right-side page
\adjustbox{valign=t}{\begin{minipage}{11.6cm} %11.3cm
\vspace*{1cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Work Experience
\MySectionTitle{\faSuitcase}{Work Experience}
\MySection{Feb.--Mar. 20XX}{example-image-a}{Role}{University name}{Rome, ITA}{Aerospace Engineering}{\newline \lipsum[2]}
\vspace*{\SecVertSpace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\section*{\color{titleBackColor}{{\faGraduationCap} EDUCATION}} %OLD Style
\MySectionTitle{\faGraduationCap}{Education}
\MySection{20XX--20XX}{example-image-a}{Master's Degree}{University of}{Rome, Italy}{Aerospace Engineering}{\begin{itemize}
\item Thesis title
\item Graduation grade: \textbf{XXX/110}
\end{itemize}
}
\vspace*{0.22cm}
\MySection{20XX--20XX}{example-image-b}{Bachelor's Degree}{University of Rome}{Rome, Italy}{Aerospace Engineering}{
\begin{itemize}
\item Final report title
\item Graduation grade: \textbf{XXX/110}
\end{itemize}
}
\vspace*{0.22cm}
\MySection{20XX--20XX}{example-image-c}{High School Diploma}{School name}{Rome}{school type}{
\begin{itemize}
\item Diploma grade: \textbf{XXX/100}
\end{itemize}
}
\vspace*{\SecVertSpace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\MySectionTitle{\faBook}{Academic Projects}
\begin{itemize}
\footnotesize
\item \lipsum[2]
\item \lipsum[2]
\end{itemize}
\end{minipage}} %
\end{document}
The image below shows the result.

Can you help me with the following points? I need to:
- align the section title with the text below (see the first two red segments);
- ensure that all the section titles have the same distance with respect to the icon (the issue in my case is that I got a bad alignment depending on the title length)
P.s. This CV template is a customized version of a freely available template on Overleaf website: CV template

