\begin{titlepage}
\newgeometry{margin=3cm, left=4cm}
\noindent
\begin{minipage}[t][0.49\textheight][t]{\textwidth}
\centering
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
\vspace{1.5cm}
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thetitle}}\par}
\vspace{1cm}
{\normalsize\selectfont Diajukan guna melengkapi persyaratan untuk memenuhi gelar Sarjana Teknik di Program Studi Teknik Sipil, Fakultas Teknik, Universitas Muhammadiyah Yogyakarta\par}
\vfill
\end{minipage}
\begin{tikzpicture}[remember picture, overlay]
    % This respects your geometry margins
    \coordinate (center) at (current page text area.center);
    
    % The logo at center of page (ANCHOR POINT) shift up by 1cm
    \node at ($(center) + (0cm,1cm)$)
        {\includegraphics[width=5cm]{frontmatter/img/logo.png}};

    % --- Option A: diagonal across the whole paper ---
    % \draw[red, line width=1pt] (current page.north west) -- (current page.south east);
    % \draw[red, line width=1pt] (current page.north east) -- (current page.south west);
    % % horizontal and vertical
    % \draw[blue, line width=1pt] (current page.north) -- (current page.south);
    % \draw[blue, line width=1pt] (current page.west) -- (current page.east);
    % % horizontal line with 1cm up offset
    % \draw[green, line width=1pt] ($(current page.west) + (0cm,1cm)$) -- ($(current page.east) + (0cm,1cm)$);
\end{tikzpicture}%
\begin{minipage}[b][0.49\textheight][b]{\textwidth}
\centering
\vfill

\textbf{Disusun oleh:} \\
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthorid}} \\
\vfill
{\fontsize{12pt}{14pt}\selectfont
\textbf{\MakeUppercase\theprogram} \\
\textbf{\MakeUppercase\thefaculty} \\
\textbf{\MakeUppercase\theuniversity} \\
\textbf{\theyearofsubmission}
}
\end{minipage}
\end{titlepage}%

