\chapter*{BONAFIDE CERTIFICATE}
\addcontentsline{toc}{chapter}{\hspace{7mm}BONAFIDE CERTIFICATE}
\thispagestyle{plainroman}

\vspace{.2in} % Add some vertical space

\normalsize % Reset to normal font size

\noindent
\begin{minipage}{\textwidth} % Ensure text block respects margins
	\begin{spacing}{2} % Double line spacing (as per thesis rules)
		Certified that this Thesis titled \textbf{\MakeUppercase{\ThesisTitle}} 
		is the bonafide work of \textbf{\MakeUppercase{\ScholarName \ (\RegNo)}} who carried out the research under my supervision. Certified further, that to the best of my knowledge the work reported herein does not form part of any other thesis or dissertation on the basis of which a degree or award was conferred on an earlier occasion on this or any other scholar.
	\end{spacing}
\end{minipage}

\vspace{0.8in} % Space before supervisor/co-supervisor signatures

\begin{center}
	\ifcosupervisor
	% Case 1: Supervisor + Co-Supervisor side by side
	\begin{tabular}{p{0.45\textwidth} p{0.45\textwidth}}
		\vtop{\centering \textbf{Dr. \MakeUppercase \CoSupervisorName} \\
			\textit{JOINT-SUPERVISOR} \\
			\CoSupervisorDesignation} &
		\vtop{\centering \textbf{Dr. \MakeUppercase \SupervisorName} \\
			\textit{SUPERVISOR} \\
			\SupervisorDesignation} \\
	\end{tabular}
	\else
	% Case 2: Only Supervisor (centered)
	\vtop{\centering \textbf{Dr. \SupervisorName} \\
		\textit{SUPERVISOR} \\
		\SupervisorDesignation}
	\fi
	
	\vspace{0.8in}
	
	Countersigned by
	
	\vspace{0.8in}
	
	\begin{tabular}{p{0.45\textwidth} p{0.45\textwidth}}
		\vtop{\centering \textbf{Dr. \MakeUppercase \HoDName} \\
			Head, Division of \HoDDivision, \\
			KITS} &
		\vtop{\centering \textbf{Dr. \MakeUppercase \DeanName} \\
			Dean, \School, \\
			KITS} \\
	\end{tabular}
\end{center}
