\documentclass[12pt,oneside,a4paper,openright]{book} % This style for A4 format. 

%\documentclass[14pt,twoside,a4paper,openright]{extbook}


\input{./prem/packages}
%\include{./prem/newcommands}
% Ensure xcolor or color package is loaded
\usepackage{xcolor}
\usepackage{wrapfig}  % Add this to your preamble if not already included
\usepackage{graphicx}
\usepackage{etoolbox} % for citation blue and bold
\usepackage{atbegshi}
% Make only ToC, LoF, LoT titles blue (not entries)
\renewcommand*\contentsname{{\color{blue} \large \centerline{TABLE OF CONTENTS}}}
\renewcommand*\listfigurename{{\color{blue} \large \centerline{LIST OF FIGURES}}}
\renewcommand*\listtablename{{\color{blue} \large \centerline{LIST OF TABLES}}}
% TOC entries (chapters, sections, subsections)
\renewcommand{\cftchapfont}{\color{blue}\bfseries}
\renewcommand{\cftsecfont}{\color{blue}}
\renewcommand{\cftsubsecfont}{\color{blue}}
\renewcommand{\cftsubsubsecfont}{\color{blue}}

% Page numbers in TOC
\renewcommand{\cftchappagefont}{\color{blue}}
\renewcommand{\cftsecpagefont}{\color{blue}}
\renewcommand{\cftsubsecpagefont}{\color{blue}}
\renewcommand{\cftsubsubsecpagefont}{\color{blue}}

% List of Figures
\renewcommand{\cftfigfont}{\color{blue}}
\renewcommand{\cftfigpagefont}{\color{blue}}

% List of Tables
\renewcommand{\cfttabfont}{\color{blue}}
\renewcommand{\cfttabpagefont}{\color{blue}}

%%%%%%%%%%%%%%%%for Citation [1] blue and bold%%%%%%%%%%%%%%%%for Citation [1] blue and bold
\makeatletter
% In-text citation style: [1] as blue and bold
\renewcommand\@cite[2]{%
  {\color{blue}\bfseries[#1]}%
  \if@tempswa, #2\fi}

% Bibliography label style: [1] as blue and bold
\renewcommand{\@biblabel}[1]{\color{blue}\bfseries[#1]\hfill}
\makeatother

% Force in-text citations to be blue and bold
\let\oldcite\cite
\renewcommand{\cite}[1]{\textcolor{blue}{\textbf{\oldcite{#1}}}}


%%%%%%%%%%%%%%%%till here for Citation [1] blue and bold%%%%%%%%%%%%%%%% till herefor Citation [1] blue and bold

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Discard any unwanted page before the first image
\AtBeginShipoutNext{\AtBeginShipoutDiscard}

\pagenumbering{gobble} % no page numbers on covers

% --- PAGE 1 ---
\begingroup
  \let\cleardoublepage\clearpage % stop openright from inserting blanks
  \newgeometry{left=0cm,right=0cm,top=0cm,bottom=0cm}
  \thispagestyle{empty}
  \noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/coverimage1.png}
  \restoregeometry
\endgroup
\clearpage

% --- PAGE 2 ---
\begingroup
  \newgeometry{left=0cm,right=0cm,top=0cm,bottom=0cm}
  \thispagestyle{empty}
  \noindent\includegraphics[width=\paperwidth,height=\paperheight]{images/coverimage2.png}
  \restoregeometry
\endgroup
\clearpage

  \input{./coverpage/coverpage1}
  \clearpage
  \input{./coverpage/coverpage2}
  \clearpage
  \input{./coverpage/coverpage3}
  \clearpage
  \input{./coverpage/coverpage4}
\cleardoublepage


\begin{spacing}{1.5}
\input{./coverpage/preface}
\newpage
\input{./coverpage/Acknowledgments}
\newpage
\setcounter{page}{1}     % Reset page count to 1
\pagenumbering{roman}
\input{./coverpage/aboutthisbook}
\end{spacing}
\newpage
\begin{spacing}{1.5}
\vspace*{-70pt}
	\tableofcontents
         \end{spacing}
\newpage
%For Removing Extra Space in List of Tables and Figures before every chapter
\let\origaddvspace\addvspace
\renewcommand{\addvspace}[1]{}
\begin{spacing}{1.5}
\vspace*{-60pt}
	\addcontentsline{toc}{section}{\bf LIST OF FIGURES}
	\setcounter{lofdepth}{2} \listoffigures
\end{spacing}
\newpage
\begin{spacing}{1.5}
\vspace*{-60pt}
	\addcontentsline{toc}{section}{\bf LIST OF TABLES}
	\setcounter{lotdepth}{2} \listoftables 	
\end{spacing}

\mainmatter

\pagenumbering{arabic}

\input{./chapter1/Chapter-1}
\input{./chapter2/Chapter-2}
\input{./chapter3/Chapter-3}
\input{./chapter4/Chapter-4}
\input{./chapter5/Chapter-5}
\input{./chapter6/Chapter-6}
\input{./chapter7/Chapter-7}
\input{./chapter8/Chapter-8}
\input{./chapter9/Chapter-9}
\begin{spacing}{1.5}
\vspace*{-60pt}
\addcontentsline{toc}{section}{\bf ~~~~~~~~~~~REFERENCES}
\bibliographystyle{unsrt}
\bibliography{references/references}
\end{spacing}
	
\end{document}
