\newcommand{\footer}[4]{
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=south, inner sep=0pt] at (current page.south){%
    \begin{tcolorbox}[
        colback=headercolor,
        colframe=headercolor,
        boxsep=0pt,
        sharp corners,
        left=3cm,
        right=3cm,
        top=0mm,
        bottom=0mm,
        width=\paperwidth
    ]
        \begin{tabular}{
            m{0.3\linewidth}
            >{\raggedright\arraybackslash}m{0.35\linewidth}
            m{0.3\linewidth}
        }
            \includegraphics[height=8cm]{Logo/Logo_Defense_PNG.png} % Logo of the department
            \hspace{1cm}%
            \includegraphics[height=8cm]{Logo/Logo_Defense_PNG.png}  % Logo of the resarch unit
            & 

            \begin{tcolorbox}[
                width=30cm,
                top=5mm,
                bottom=5mm,
                boxsep=0pt,
                colback=headercolor,
                colframe=headercolor,
                boxrule=0pt,
                sharp corners,
                halign=left
            ]
                \begin{minipage}[t]{\linewidth}
                    \raggedright
                    \fontsize{36pt}{48pt}\textcolor{mediumBlue}{\textbf{#1}}\\[2mm]
                    \fontsize{36pt}{48pt}\lora\textcolor{mediumBlue}{\textit{#2}}\\[2mm]
                    \fontsize{36pt}{48pt}\textcolor{mediumBlue}{Royal Military Academy, Belgium}\\[2cm]
                    \fontsize{12pt}{24pt}\textcolor{mediumBlue}{Responsible Editor: {#3}}\\
                    \fontsize{12pt}{24pt}\textcolor{mediumBlue}{Email: {#4}}\\

                \end{minipage}
            \end{tcolorbox} &
            \hspace{-2.5cm}\vspace{-0.5cm}{\includegraphics[height=16cm]{Logo/Logo_RMA_Triangle.png}} % Please do not change this.
        \end{tabular}
    \end{tcolorbox}
};
\end{tikzpicture}
}