/*-------------------------------------------------------------------------*/
/*  Reset style
/*-------------------------------------------------------------------------*/

* { outline: 0; }
body { line-height: 1; }
blockquote, q { quotes: none; }
input[type=submit] { appearance: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
*, *:before, *:after {  box-sizing: border-box; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code, del,
dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; }

/*-------------------------------------------------------------------------*/
/*  Font Awesome
/*-------------------------------------------------------------------------*/

@font-face {
  font-family: 'FontAwesome';
  src: url('./fonts/fontawesome.woff') format('woff');
  font-style: normal;
}


/*-------------------------------------------------------------------------*/
/*  Basic style
/*-------------------------------------------------------------------------*/

body {
    text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection{ color: #ffffff; }
::-moz-selection{ color: #ffffff; }



/*-------------------------------------------------------------------------*/
/*  Typography style
/*-------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 { 
    clear: both; 
    line-height: 1.2;
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3 { margin-bottom: 20px; }
h4, h5, h6 { margin-bottom: 15px; }

p { line-height: 22px;  margin-bottom: 20px; }
* p:last-child, p.form-submit {  margin-bottom: 0; }
p:empty { display: none; line-height: 0; height: 0; margin: 0; }

b, strong { font-weight: 700; }
small { font-size: 80%; }
cite { font-style: normal; }
em { font-style: italic; }



/*------------------------------------------
    links
------------------------------------------*/
a {
    text-decoration: none;
    transition: all 0.2s ease;
}

p a, p a:visited { line-height: inherit; }
a img { border: none; vertical-align: middle;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }



/*------------------------------------------
    blockquote
------------------------------------------*/
blockquote {
    padding: 0;
    margin: 0;
    border: none;
}

blockquote p { line-height: 24px; }


/*------------------------------------------
    list
------------------------------------------*/
ul, ol, dl {
    line-height: 22px;
    margin-bottom: 25px;
    list-style-position: inside;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin-left: 20px;
    margin-bottom: 0;
}

dt { font-weight: bold; }
dd { margin-left: 10px; }

ul {
    list-style-type: square;
}

/*------------------------------------------
        clearfix
    ------------------------------------------*/
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after { clear: both; }
.clear { clear:both; }

/*------------------------------------------
        container
    ------------------------------------------*/

.container {
    margin: 0 auto;
    max-width: 860px;
    padding: 100px 0;
    position: relative;
}
.container:before, .container:after { display: table; content: ""; line-height: 0;}
.container:after { clear: both; }

@media only screen and (min-width: 1500px) { .container { max-width: 960px; } }
@media only screen and (min-width : 690px) and (max-width : 1000px) { .container { max-width: 600px; } }
@media only screen and (max-width : 690px) { .container { max-width: 300px; } }



/*------------------------------------------
        main
    ------------------------------------------*/


body {
    font-family: 'PT Sans', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 13px;
    color: #888888;
}

#header {
    position: fixed;
    top: -80px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #ffffff;
    transition: all 0.5s;
    z-index: 2;
}

#header.header-wide {
    padding: 0 3%;
}
#header.active {
    top: 0;
}

#header a {
    color: #555555;
    text-transform: uppercase;
    font-family: 'Carrois Gothic SC', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
}

#header a.active, #header a:hover {
    color: #b20000;
}

#header a {
    margin-right: 25px;
}

#header a:last-child {
    margin-right: 0;
}

#header a.logo {
    margin-right: auto;
}


section {
    background: #ffffff;
    min-height: 50vh;
}

#home {
    background-image: url('./images/section1.jpg');
    background-position: 50% 50%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

#home .container {
    position: relative;
    padding: 0 30px;
    text-align: center;
    max-width: none;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    overflow-x: hidden;
}

#home .slider {
    position: relative;
    width: 500%;
    animation: animate 30s ease infinite;
}

@keyframes animate{
    0%{
        left: 0;
    }
    16%{
        left: 0;
    }
    20%{
        left: -100%;
    }
    36%{
        left: -100%;
    }
    40%{
        left: -200%;
    }
    56%{
        left: -200%;
    }
    60%{
        left: -300%;
    }
    76%{
        left: -300%;
    }
    80%{
        left: -400%;
    }
    96%{
        left: -400%;
    }
    100%{
        left: 0;
    }
}

#home .slide {
    position: relative;
    width: 20%;
    float: left;
    height: 85px;
}

#home .slider h1 {
    font-size: 70px;
    color: #fff;
    text-transform: uppercase;
}

#home .btn {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-top: 20px;
    padding: 20px 50px;
    display: inline-block;
    border: 1px solid #fff;
    letter-spacing: 0.2em;
    border-radius: 3px;
    text-transform: uppercase;
}

#home .btn:hover {
    color: #c40000;
    border-color: #c40000;
}

img {
    max-width: 100%;
    height: auto;
}

.title {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 90px;
}

.title h1 {
    line-height: 1;
    position: relative;
    padding-bottom: 28px;
    margin-bottom: 25px;
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 40px;
    color: #2b2b2b;
}

.title h1::after {
    left: 50%;
    content: "";
    width: 6%;
    bottom: 0;
    margin-left: -3%;
    position: absolute;
    border-bottom: 2px solid #dedede;
}

.container .tiles {
    display: flex;
    flex-wrap: wrap;
}

.container .tiles a {
    background-color: rgba(0, 0, 0, 0.3);
    flex-basis: calc(33.333333% - 2px);
    text-align: center;
    padding: 43px;
    margin-right: 1px;
    margin-left: 1px;
    margin-bottom: 2px;
}

.container .tiles a:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

#what-we-do {
    text-align: center;
}

#what-we-do .columns-wrapper {
    display: flex;
    flex-direction: row;
}

.columns-wrapper .column {
    margin: 15px;
    flex: 1 1 0px;
}

.column i {
    background-color: #c40000;
    width: 80px;
    height: 80px;
    color: #fff;
    font-size: 35px;
    line-height: 80px;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.column i::after {
    box-shadow: 0 0 0 2px #c40000;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    transform: scale(1.15);
    transition: all 0.2s ease;
}

.column:hover i::after {
    transform: scale(1.4);
    opacity: 0;
}

.fa {
    font-family: 'FontAwesome', sans-serif;
    font-style: normal;
    font-weight: normal;
}

.fa-sitemap::before {
    content: "\f0e8";
}

.fa-user::before {
    content: "\f007";
}

.fa-smile-o::before {
    content: "\f118";
}

.column h4 {
    font-size: 18px;
    color: #555555
}

.column span {
    display: block;
    font-weight: bold;
    margin: 25px 0 20px;
}

#contact-us {
    background-color: #dd3333;
    text-align: center;
}

#contact-us h2 {
    font-size: 26px;
    color: #ffffff;
}

#contact-us p {
    color: #000;
}

#contact-us p.email {
    color: #c0c0c0;
}

#testimonials {
    text-align: center;
}

#testimonials blockquote {
    font-family: 'Roboto Slab', serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    color: #888888;
}

#testimonials blockquote p {
    font-size: 18px;
}

#testimonials span {
    color: #c40000;
    margin: 15px 0 5px;
    display: block;
    font-size: 12px;
    font-weight: 700;
}


#testimonials ul {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}


.slide-container { 
    display: none; 
    min-height: 100px;
}

.slide-container.active {
    display: block;
}

.testimonials-slider .slider {
    display: inline-block;
    width: 20px;
    height: 5px;
    background-color: #f4f4f4;
    margin: 0 3px;
    cursor: pointer;
}

.testimonials-slider .slider.active {
    background-color: #c40000;
} 

/*
   Responsive
*/


/*===================================================================================*/
/*  TABLET PORTRAIT                                                                  */ 
/*===================================================================================*/

@media only screen and (min-width : 690px) and (max-width : 1000px) { 
    .title {
        margin-bottom: 60px;
    }

    .container {
        padding: 90px 0;
    }

    #what-we-do .columns-wrapper {
        flex-direction: column;
    }
}


/*===================================================================================*/
/*  MOBILE LANDSCAPE                                                                 */ 
/*===================================================================================*/

@media only screen and (max-width : 690px) { 
    #header {
        display: none;
    }

    #home .container {
        padding: 0;
    }

    #what-we-do .columns-wrapper {
        flex-direction: column;
    }

    .container .tiles a {
        flex-basis: calc(100% - 2px);
        padding: 10px;
    }

    .container {
        padding: 50px 0;
    }

    .slide-container {
        min-height: 250px;
    }

    #testimonials blockquote p {
        font-size: 16px;
    }
}