\titleformat{\section}{%
\color{headings}\fontsize{18pt}{18pt}\selectfont%
\raggedright\scshape}{}{0pt}{}[{\titleline{\titlerule[1.5pt]}}]
\titleformat{\section}{%
\color{headings}\fontsize{18pt}{18pt}\selectfont%
\raggedright\scshape}{}{0pt}{}[{\titleline{\titlerule[1.5pt]}}]