% ------------------------------------------------------
% Title Page Template
% ------------------------------------------------------

\begin{titlepage}

	\centering % Center everything on the page

	% Thesis Title
	\begingroup
	\setstretch{1.5} % Adjust spacing (1.3, 1.5, etc.)
	{\Large \textbf{\ThesisTitle}}
	\par
	\endgroup
	
	\vspace{1.5cm}

	% Thesis type
	\textbf{\large A THESIS}\\[0.5cm]

	\textit{\textbf{\large submitted by}}\\[0.5cm]

	{\Large \textbf{\MakeUppercase \ScholarName \\ % Only name as in certificate
			\vspace*{.1in}
			(\MakeUppercase \RegNo)}}\\[1cm]

	\textit{\textbf{\large in partial fulfillment for the requirement of award of the degree of}}\\[0.5cm]

	\textbf{\large DOCTOR OF PHILOSOPHY}\\[0.5cm]

	\textit{\textbf{\large in}}\\[0.5cm]

	\textbf{\large \MakeUppercase \Department}\\[0.5cm]

	\textit{\textbf{\large under the supervision of}}\\[0.5cm]

	\textbf{\Large Dr. \MakeUppercase \SupervisorName}\\[0.5cm] % Supervisor only

	% --------------------------------
	% Co-supervisor block (toggleable)
	% --------------------------------
	\ifcosupervisor
	\textit{\textbf{\large and the joint supervision of}}\\[0.5cm]
	\textbf{\Large Dr. \MakeUppercase \CoSupervisorName}\\[1.5cm]
	\else
	\vspace*{1in} % Add extra space if NO co-supervisor, so layout looks balanced
	\fi

	% School name
	\textbf{\Large \MakeUppercase \School}\\[0.5cm]

	% University logo
	\begin{figure*}[h!]
		\centering
		\includegraphics[width=0.9\linewidth]{TeX_files/Front_Matter/KITS_Logo.png}
	\end{figure*}

	\vspace*{0.in}

	% Submission month and year
	\textbf{\Large \MakeUppercase \MonthYear}
\end{titlepage}
