\documentclass[10pt, letterpaper]{article}

% Packages:
\usepackage[
    ignoreheadfoot, % set margins without considering header and footer
    top=2 cm, % seperation between body and page edge from the top
    bottom=2 cm, % seperation between body and page edge from the bottom
    left=2 cm, % seperation between body and page edge from the left
    right=2 cm, % seperation between body and page edge from the right
    footskip=1.0 cm, % seperation between body and footer
    % showframe % for debugging 
]{geometry} % for adjusting page geometry
\usepackage{titlesec} % for customizing section titles
\usepackage{tabularx} % for making tables with fixed width columns
\usepackage{array} % tabularx requires this
\usepackage[dvipsnames]{xcolor} % for coloring text
\definecolor{primaryColor}{RGB}{0, 79, 144} % define primary color
\usepackage{enumitem} % for customizing lists
\usepackage{fontawesome5} % for using icons
\usepackage{amsmath} % for math
\usepackage[
    pdftitle={Keshav Anand's Wright Application},
    pdfauthor={Keshav Anand},
    pdfcreator={LaTeX with RenderCV},
    colorlinks=true,
    urlcolor=primaryColor
]{hyperref} % for links, metadata and bookmarks
\usepackage[pscoord]{eso-pic} % for floating text on the page
\usepackage{calc} % for calculating lengths
\usepackage{bookmark} % for bookmarks
\usepackage{lastpage} % for getting the total number of pages
\usepackage{changepage} % for one column entries (adjustwidth environment)
\usepackage{paracol} % for two and three column entries
\usepackage{ifthen} % for conditional statements
\usepackage{needspace} % for avoiding page brake right after the section title
\usepackage{iftex} % check if engine is pdflatex, xetex or luatex
\usepackage{xstring}
\usepackage{pdfpages} % for including PDF pages


% Ensure that generate pdf is machine readable/ATS parsable:
\ifPDFTeX
    \input{glyphtounicode}
    \pdfgentounicode=1
    % \usepackage[T1]{fontenc} % this breaks sb2nov
    \usepackage[utf8]{inputenc}
    \usepackage{lmodern}
\fi



% Some settings:
\AtBeginEnvironment{adjustwidth}{\partopsep0pt} % remove space before adjustwidth environment
\pagestyle{empty} % no header or footer
\setcounter{secnumdepth}{0} % no section numbering
\setlength{\parindent}{0pt} % no indentation
\setlength{\topskip}{0pt} % no top skip
\setlength{\columnsep}{0cm} % set column seperation
\makeatletter
\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle
\patchcmd{\ps@customFooterStyle}{\thepage}{
    \color{gray}\textit{\small Keshav Anand - Page \thepage}
}{}{} % replace number by desired string
\makeatother
\pagestyle{customFooterStyle}

\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]

\titlespacing{\section}{
    % left space:
    -1pt
}{
    % top space:
    0.3 cm
}{
    % bottom space:
    0.2 cm
} % section title spacing

\renewcommand\labelitemi{$\circ$} % custom bullet points
\newenvironment{highlights}{
    \begin{itemize}[
        topsep=0.10 cm,
        parsep=0.10 cm,
        partopsep=0pt,
        itemsep=0pt,
        leftmargin=0.4 cm + 10pt
    ]
}{
    \end{itemize}
} % new environment for highlights

\newenvironment{highlightsforbulletentries}{
    \begin{itemize}[
        topsep=0.10 cm,
        parsep=0.10 cm,
        partopsep=0pt,
        itemsep=0pt,
        leftmargin=10pt
    ]
}{
    \end{itemize}
} % new environment for highlights for bullet entries


\newenvironment{onecolentry}{
    \begin{adjustwidth}{
        0.2 cm + 0.00001 cm
    }{
        0.2 cm + 0.00001 cm
    }
}{
    \end{adjustwidth}
} % new environment for one column entries

\newenvironment{twocolentry}[2][]{
    \onecolentry
    \def\secondColumn{#2}
    \setcolumnwidth{\fill, 4.5 cm}
    \begin{paracol}{2}
}{
    \switchcolumn \raggedleft \secondColumn
    \end{paracol}
    \endonecolentry
} % new environment for two column entries

\newenvironment{header}{
    \setlength{\topsep}{0pt}\par\kern\topsep\centering\linespread{1.5}
}{
    \par\kern\topsep
} % new environment for the header

\newcommand{\placelastupdatedtext}{% \placetextbox{<horizontal pos>}{<vertical pos>}{<stuff>}
  \AddToShipoutPictureFG*{% Add <stuff> to current page foreground
    \put(
        \LenToUnit{\paperwidth-2 cm-0.2 cm+0.05cm},
        \LenToUnit{\paperheight-1.0 cm}
    ){\vtop{{\null}\makebox[0pt][c]{
        \small\color{gray}\textit{Last updated in January 2026}\hspace{\widthof{Last updated in January 2026}}
    }}}%
  }%
}%

% save the original href command in a new command:
\let\hrefWithoutArrow\href

% new command for external links:
\renewcommand{\href}[2]{\hrefWithoutArrow{#1}{\ifthenelse{\equal{#2}{}}{ }{#2 }\raisebox{.15ex}{\footnotesize \faExternalLink*}}}


\begin{document}
\newcommand{\AND}{\unskip
	\cleaders\copy\ANDbox\hskip\wd\ANDbox
	\ignorespaces
}
\newsavebox\ANDbox
\sbox\ANDbox{}

\placelastupdatedtext
\begin{header}
	\textbf{\fontsize{24 pt}{24 pt}\selectfont Keshav Anand — Wright Application}

	%     \vspace{0.3 cm}

	%     \normalsize
	%     \mbox{{\color{black}\footnotesize\faMapMarker*}\hspace*{0.13cm}Your Location}%
	%     \kern 0.25 cm%
	%     \AND%
	%     \kern 0.25 cm%
	%     \mbox{\hrefWithoutArrow{mailto:youremail@yourdomain.com}{\color{black}{\footnotesize\faEnvelope[regular]}\hspace*{0.13cm}youremail@yourdomain.com}}%
	%     \kern 0.25 cm%
	%     \AND%
	%     \kern 0.25 cm%
	%     \mbox{\hrefWithoutArrow{tel:+90-541-999-99-99}{\color{black}{\footnotesize\faPhone*}\hspace*{0.13cm}0541 999 99 99}}%
	%     \kern 0.25 cm%
	%     \AND%
	%     \kern 0.25 cm%
	%     \mbox{\hrefWithoutArrow{https://yourwebsite.com/}{\color{black}{\footnotesize\faLink}\hspace*{0.13cm}yourwebsite.com}}%
	%     \kern 0.25 cm%
	%     \AND%
	%     \kern 0.25 cm%
	%     \mbox{\hrefWithoutArrow{https://linkedin.com/in/yourusername}{\color{black}{\footnotesize\faLinkedinIn}\hspace*{0.13cm}yourusername}}%
	%     \kern 0.25 cm%
	%     \AND%
	%     \kern 0.25 cm%
	%     \mbox{\hrefWithoutArrow{https://github.com/yourusername}{\color{black}{\footnotesize\faGithub}\hspace*{0.13cm}yourusername}}%

\end{header}

\vspace{0.2 cm}


\section{1. Applicant Information}

\vspace{0.2 cm}

Required Information:

\begin{onecolentry}
	\begin{highlights}
		\item First Name: Keshav
		\item Middle Name: Gopalan
		\item Last Name: Anand
		\item Scholar Email Address: keshavanandofficial@gmail.com
		\item Street Address: 3809 Sagewood Court
		\item City: Plano
		\item State: TX
		\item Zip Code: 75025
		\item Scholar Phone Number: (972) 520-4390
		\item Date of Birth: 07/03/2009 (MM/DD/YYYY)
		\item City, State, Country of Birth: Plano, Texas, USA
		\item US Citizen?: Yes

	\end{highlights}

\end{onecolentry}

% //TODO: Ask Sunny Uncle About Inclusion

Optional Information:

\begin{onecolentry}
	\begin{highlights}
		\item How did you learn about this program?: School or college counselor
		\item Gender: Male
		\item Race: Asian
		\item Disability: N
		\item Languages: Hindi, Other (Tamil)
		\item First Gen College: No

	\end{highlights}

\end{onecolentry}

Required School Information:

\begin{onecolentry}
	\begin{highlights}
		\item HS Name: Plano East Senior High School
		\item HS City: Plano
		\item HS State: Texas
		\item HS Phone: %//TODO: FILL OUT
		\item College Name(s) if accepted: MIT, CalTech
		\item Planned Program of Study: Computer Science

	\end{highlights}

\end{onecolentry}

\section{2. Applicant Certification and Commitment}

\vspace{0.2 cm}

Nothing to do here

\section{3. Essay Section}

\vspace{0.2 cm}

\begin{onecolentry}
	\begin{highlights}
		\item Current Grade: HS Junior
		\item HS GPA (Cumulative Unweighted): 4.0/4.0
		% //TODO: FILL OUT GPA
		\item HS GPA (Weighted [Unspecified Cum or Not]): 4.73
		\item Planned Program of Study/Career Path: Computer Science

	\end{highlights}

\end{onecolentry}

\vspace{0.2 cm}

\hrule
\vspace{0.2 cm}
\textbf{Prompt 1:} List the five most advanced science and math courses you have taken or are taking in high school
and the grade received if completed (AP , Honors, College-level and label as such).
Include any engineering tech prep program classes that you are enrolled in at your school.

\begin{onecolentry}


	\vspace{0.2 cm}
	\input{essays/stem-courses.tex}



\end{onecolentry}
\hrule
\vspace{0.2 cm}
\textbf{Prompt 2:} List participation in extra-curricular high school activities such as athletics, band, choir, orchestra,
National Honor Society, school
newspaper/yearbook, school officer, or any home school extracurriculars.

\begin{onecolentry}


	\vspace{0.2 cm}
	\input{essays/extracurriculars.tex}



\end{onecolentry}
\vspace{0.2 cm}
\hrule
\vspace{0.2 cm}
\textbf{Prompt 3:} Provide 3 or more detailed examples of demonstrated leadership (team captain/class officer/scouts/running
a lawn service/leading fund
raiser/tutoring/community service/volunteer work). Explain your duties.

\begin{onecolentry}


	\vspace{0.2 cm}
	\input{essays/leadership.tex}



\end{onecolentry}

\vspace{0.2 cm}
\hrule
\vspace{0.2 cm}
\textbf{Prompt 4:} Provide detailed examples from high school that showcase your interest or participation in STEM platforms, such as FIRST Lego League, robotics
competitions, science fairs, Science Olympiad, Math Olympiad, science/math clubs, 4-H competitions, etc. If your school does not offer these,
provide detailed information on other hobbies/activities that demonstrate your interest in STEM, such as working with mechanical or electrical
devices, building computers as a hobby, programming/coding skills, volunteering at a medical center, tutoring science/math, etc. Provide specific
information that demonstrates your skills and capabilities in your area/s of interest.

\begin{onecolentry}


	\vspace{0.2 cm}
	\input{essays/stem.tex}



\end{onecolentry}
\vspace{0.2 cm}
\hrule
\vspace{0.2 cm}
\textbf{Prompt 5: }Describe any paid or volunteer work experience and include your responsibilities. Provide examples of strong work ethic (such as no unexcused
absences or reprimands, completes assigned tasks, works well with others, etc). If no formal work experience, provide detailed description of the
effort involved in a major school project (include grade awarded, teamwork involved, how you overcame challenges).

\begin{onecolentry}


	\vspace{0.2 cm}
	\input{essays/work.tex}



\end{onecolentry}


\includepdf[pages=-]{stem-essay/main.pdf}


\end{document}
