\documentclass[7pt, oneside]{article}
\usepackage[a4paper, top=0.4in, bottom=0.3in]{geometry}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{csquotes}
\usepackage{float}
\usepackage{titlesec}
\usepackage{ebgaramond}

\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{xcolor}

\usepackage{enumitem}
\usepackage[export]{adjustbox}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}
\usepackage{multirow}
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{ctable}
\usepackage{hyperref}       % hyperlinks
\usepackage{url}            % simple URL typesetting

\usepackage{booktabs}       % professional-quality tables
\usepackage{amsfonts}       % blackboard math symbols
\usepackage{nicefrac}       % compact symbols for 1/2, etc.

\usepackage{microtype}      % microtypography
\usepackage{fontawesome}
\usepackage{environ}
\usepackage{tabularx}
\usepackage{framed}

\thispagestyle{empty}
\setlength\parindent{0pt}

\titleformat{\section}
{\small}
{\hspace{-0.85em}}
{0em}
{}


\titleformat{\subsection}
{\footnotesize}
{}
{0em}
{}

\newcommand{\ruler}[0]{\noindent{\color{gray}\rule{\textwidth}{.2pt}}\par\vspace{0.1cm}}

\newcommand{\largesubsection}[1]{
\normalsize\selectfont\fontshape{}\textbf{#1}}

\newcommand{\smallsubsection}[1]{
\small\selectfont\fontshape{}\textbf{#1}}

\newcommand{\about}[1]{%
  {\scriptsize #1}% Apply small font to content
}

\newcommand{\Hquad}{\hspace{0.4em}} 

\newcommand{\company}[5]{
% Job Title
\fontshape{}\footnotesize\selectfont\textbf{#1}\Hquad\textbullet\Hquad
% Company name
\fontshape{}\footnotesize\selectfont{\textbf{#2}} \Hquad\textbullet\Hquad
% Location, Duration
\fontshape{}\footnotesize\selectfont{#3 \textbullet\Hquad #4}\vspace{0.1cm}
% Description
% According to Google Recruiters, use the XYZ formula - Accomplished [X] as measured by [Y], by doing [Z]
\\\begin{minipage}{\textwidth}
\fontshape{}\scriptsize\selectfont{#5}
\end{minipage}
\vspace{0.8em}
}

\newcommand{\skills}[2]{
  \fontshape{}\footnotesize\selectfont\textbf{#1}
  \vspace{0.1em}
  \\\begin{minipage}{\textwidth}
    \centering\fontshape{}\scriptsize\selectfont{#2}
  \end{minipage}
  }

\newcommand{\school}[2]{
% Course
\fontshape{}\footnotesize\selectfont{#1},
% School
\fontshape{}\footnotesize\selectfont{#2}
}

\newcommand{\projects}[1]{
\begin{minipage}{\textwidth}
\fontshape{}\scriptsize\selectfont{#1}
\end{minipage}
}

\begin{document}
\begin{samepage}
{
  \input{title}
  \input{about}
  \ruler
  \input{technical}
  \ruler
  \input{experience}
  \ruler
  \vspace{-0.5cm}
  \input{projects}
  \ruler
  \vspace{-0.5cm}
  \input{education}
  \ruler
}
\end{samepage}
\end{document}
