\begin{figure}[!h]
\centering
\caption{Higher Education in France}\label{fig:higher_educ}
\vspace{0.25cm}


\begin{tikzpicture}[
%node distance = 0.05\textwidth and 0.05\textwidth,
   box/.style = {text width=0.25\textwidth, align=center,semithick,minimum height=1.5cm},
   %, below=1mm,
   %,minimum height=1.5cm
startstop/.style = {text width=0.11\textwidth, minimum height=1cm,
draw,  rounded corners=3mm, align=center}
                    ]
\node (Chap1) [box]   {University \\ (\textit{Master})};
\node (south_Chap1) [below= of Chap1]   {};
\node (Text1-1)  [startstop,left= 0.01mm of south_Chap1]  {Non-STEM};
\node (Text1-2)  [startstop,right= 0.01mm of south_Chap1, fill=gray!50]  {STEM};

\node (Chap2) [box, right= of Chap1]   {Grandes \'Ecoles};
\node (south_Chap2) [below= of Chap2]   {};
\node (Text2-1)  [startstop,left= 0.01mm of south_Chap2]  {Non-STEM};
\node (Text2-2)  [startstop,right= 0.01mm of south_Chap2, fill=gray!50]  {STEM};

%Uncomment for arrows between university and grandes écoles
%\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (Chap1)   -- (Chap2);
%\draw[arrows = {-Stealth[length=10pt, inset=4pt]},anchor = sout.west]        (Chap2)   -- (Chap1);

\node (Chap3) [box, right= of Chap2]   { };
\node (south_Chap3) [below= of Chap3]   {};

\node (ug1) [box, below= 2cm of south_Chap1]   {University  \\ (\textit{Licence})};
\node (s_ug1) [below= of ug1]   {};
\node (Text31-1)  [startstop,left= 0.01mm of s_ug1]  {Non-STEM};
\node (Text31-2)  [startstop,right= 0.01mm of s_ug1, fill=gray!50]  {STEM};

\node (ug2) [box, below= 2cm of south_Chap2]   {Classes Préparatoires aux Grandes \'Ecoles (\textit{CPGE})};
\node (s_ug2) [below= of ug2]   {};
\node (Text32-1)  [startstop,left= 0.01mm of s_ug2]  {Non-STEM};
\node (Text32-2)  [startstop,right= 0.01mm of s_ug2, fill=gray!50]  {STEM};

\node (ug3) [box, below= 2cm of south_Chap3]   {Sections de Techniciens Supérieurs};
\node (voc) [above= 5mm of ug3]   {Technical/Vocational};
\node (s_ug3) [below= of ug3]   {};
\node (Text33-1)  [startstop,left= 0.01mm of s_ug3]  {Non-STEM};
\node (Text33-2)  [startstop,right= 0.01mm of s_ug3, fill=gray!50]  {STEM};

\node (bac) [below= 1.5cm of s_ug2, text width=0.9\textwidth, align=center,draw, semithick, rounded corners=3mm, ]   {Baccalauréat\\ (National Exam)};

\node  [startstop, inner xsep=3mm,
               fit=(Chap1)  (Text1-1.south)] {};
               
\node  [startstop, inner xsep=3mm,
               fit=(Chap2)  (Text2-1.south)] {};
               
\node  [startstop, inner xsep=3mm,
               fit=(ug1)  (Text31-1.south)] {};
               
\node  [startstop, inner xsep=3mm,
               fit=(ug2)  (Text32-1.south)] {};
               
\node  [startstop, inner xsep=3mm,
               fit=(ug3)  (Text33-1.south)] {};
               
\node (ss_Chap1) [below= 4mm of south_Chap1]   {};
\node (ss_Chap2) [below= 4mm of south_Chap2]   {};
                   
\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (ug1)   -- (ss_Chap1);
\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (ug2)   -- (ss_Chap2);

\node (ss_ug1) [below= 4mm of s_ug1]   {};
\node (ss_ug2) [below= 3mm of s_ug2]   {};
\node (ss_ug3) [below= 4mm of s_ug3]   {};

\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (bac)   -- (ss_ug1);
\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (bac)   -- (ss_ug2);
\draw[arrows = {-Stealth[length=10pt, inset=4pt]}]        (bac)   -- (ss_ug3);


\end{tikzpicture}

\end{figure}
