/* =========================
       G E N E R A L
 ========================= */


html {
    height: 100%;
}

body {
    background-color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2b2b2d;
    overflow-x: hidden;
}

*,
*::before, *::after {
    box-sizing: border-box;
}

*,
*::before, *::after {
    box-sizing: border-box;
}

.container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1310px;
}

.clear {
    clear: both;
}

.image {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

a {
    text-decoration: none;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}

#toTop {
    width: 30px;
    height: 30px;
    background: #363739 url("../images/totop.png") center center no-repeat;
    background-size: contain;
    text-align: center;
    padding: 10px;
    line-height: 20px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    z-index: 40;
    border: 1px solid #fff;
}

/* =========================
       H E A D E R
 ========================= */

#main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 60px;
    transition: all .7s ease;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -o-transition: all .7s ease;
    z-index: 100;
}

/* ------------------------ */
@media only screen and (max-width: 1024px) {
    #main-header {
        position: absolute;
        background-color: rgba(43, 43, 45, .8);
    }
}


/* =========================
       M A I N  M E N U
 ========================= */

#main-menu {
    background-color: rgba(43, 43, 45, .4);
    text-align: center;
    padding: 13px 0;
    margin: 0 40px;
    transition: all .7s ease;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -o-transition: all .7s ease;
}


#main-menu li {
    display: inline-block;
    margin: 0 5px;
}

#main-menu li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
}

#main-menu li > a:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: transparent;
    transition: all .7s ease;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -o-transition: all .7s ease;
}

#main-menu li > a:hover:after,
#main-menu li > a.selected:after {
    background-color: #fff;
}


/* =========================
       M O B I L E  M E N U
 ========================= */

#nav-toggle {
    position: absolute;
    display: none;
    width: 50px;
    height: 36px;
    top: 7px;
    right: 20px;
    cursor: pointer;
    padding: 4px 8px;
    outline: none;
    z-index: 201;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    border-radius: 1px;
    height: 1px;
    width: 34px;
    background: #f7f8fc;
    position: absolute;
    display: block;
    content: '';
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

#nav-toggle span:before {
    top: -9px;
}

#nav-toggle span:after {
    bottom: -9px;
}

#nav-toggle span {
    top: 18px;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}


/* ------------------------ */

@media only screen and (max-width: 1024px) {
    #nav-toggle {
        display: block;
    }

    #main-menu {
        display: none;
        background-color: transparent;
        width: 100%;
        padding-top: 70px;
        padding-bottom: 5px;
        margin: auto;
        text-align: left;
        left: 0;
        position: absolute;
        top: -10px;
        transition: none;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
    }

    #main-menu ul {
        background-color: rgba(43, 43, 45, .8);
    }

    #main-menu li {
        display: block;
    }

}

/* =========================
       M A I N  B A N N E R
 ========================= */

#main-banner {
    position: relative;
    height: 100vh;
    background: url("../images/banner-6.jpg") top center no-repeat;
    background-size: cover;
}

#logo {
    position: absolute;
    max-width: 320px;
    padding: 25px 30px;
    background: #363638;
    text-indent: -9999px;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    margin: 0;
    top: 20%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
}

#logo:hover {
    background-color: rgba(48, 48, 54, .9);
}

.logo-anim {
    display: block;
    position: relative;
}

@keyframes scanLogo {
    0% {
        bottom: -34px;
        opacity: 0;
    }

    10% {
        bottom: -24px;
        opacity: 1;
    }

    80% {
        bottom: 60px;
        opacity: 1;
    }

    90% {
        bottom: 65px;
        opacity: 0;
    }

    95% {
        bottom: 80px;
        opacity: 0;
    }

    100% {
        bottom: -34px;
        opacity: 0;
    }
}

@-webkit-keyframes scanLogo {
    0% {
        bottom: -34px;
        opacity: 0;
    }

    10% {
        bottom: -24px;
        opacity: 1;
    }

    80% {
        bottom: 60px;
        opacity: 1;
    }

    90% {
        bottom: 65px;
        opacity: 0;
    }

    95% {
        bottom: 80px;
        opacity: 0;
    }

    100% {
        bottom: -34px;
        opacity: 0;
    }
}

.scan {
    position: absolute;
    content: '';
    left: -10px;
    width: 80px;
    height: 37px;
    background: url("../images/scan.png") top left no-repeat;
    background-size: contain;
    opacity: 0;
    animation: scanLogo 10s linear infinite;
    -webkit-animation: scanLogo 10s linear infinite;
}

/* =========================
       S E C T I O N S
 ========================= */

#section-1 {
    margin-top: -302px;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.section {
    position: relative;
    width: calc(100% - 160px);
    max-width: 1120px;
    margin-bottom: 100px;
}

.section.color-one {
    background: #fa8334;
}

.section.color-two {
    background-color: #2589bd;
}

.section.color-three {
    background-color: #f0a202;
}

.section.color-four {
    background-color: #8ea604;
}

.color-side {
    position: relative;
    width: 33.3333%;
    height: 100%;
    padding: 20px;
}

.color-side:after {
    position: absolute;
    content: '';
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 25px;
    right: -60px;
    top: 95px;
}

.color-side.pull-left:after {
    right: -60px;
    left: auto;
}

.color-side.pull-right:after {
    right: auto;
    left: -60px;
}

.color-one .color-side:after {
    background: #fa8334 url("../images/icon-ball.png") center no-repeat;
}

.color-two .color-side:after {
    background: #2589bd url("../images/icon-files.png") center no-repeat;
}

.color-three .color-side:after {
    background: #f0a202 url("../images/icon-files.png") center no-repeat;
}

.color-four .color-side:after {
    background: #8ea604 url("../images/icon-helpdesk.png") center no-repeat;
}

.color-side > h2 {
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin: 120px 0 30% 0;
    z-index: 10;
}

.color-side.pull-left > h2 {
    padding-right: 65px;
}

.color-side.pull-right > h2 {
    padding-left: 65px;
}

.color-side > p {
    line-height: 150%;
}

.content-side {
    width: 66.6666%;
}

.text {
    padding: 20px;
    background-color: #fff;
}

.text h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    text-align: center;
    padding: 0 10px 5px 10px;
    margin-bottom: 50px;
}

.text h3.color-one {
    border-bottom: 1px solid #fa8334;
}

.text h3.color-two {
    border-bottom: 1px solid #2589bd;
}

.text h3.color-three {
    border-bottom: 1px solid #f0a202;
}

.text h3.color-four {
    border-bottom: 1px solid #8ea604;
}

.text p {
    line-height: 150%;
    margin-bottom: 15px;
}

.text ul {
    margin-bottom: 10px;
    width: 95%;
    max-width: 500px;
}

.text ul > li {
    line-height: 150%;
    padding-left: 30px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.text ul > li:last-child {
    margin-bottom: auto;
}

.color-two .text ul > li {
    background: url("../images/icon-blue.png") top left no-repeat;
    border-bottom: 1px solid #2589bd;
}

.color-four .text ul > li {
    background: url("../images/icon-green.png") top left no-repeat;
    border-bottom: 1px solid #8ea604;
}


#section-5 .container {
    background: url("../images/contact.jpg") top left no-repeat;
    background-size: cover;
}


/* =========================
       C O N T A C T
 ========================= */

.wrapper {
    padding: 60px 45px;
}

.contact-box {
    text-align: center;
    margin-bottom: 50px;
}

.contact-box > a {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: #fff;
}

.contact-box > a:hover {
    color: #28abe2;
}

.contact-box > a > span {
    display: inline-block;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    padding: 13px;
    margin-right: 15px;
    vertical-align: middle;
}

.contact-box > a:nth-child(1) > span {
    background: #28abe2 url("../images/icon-phone.png") center no-repeat;
}

.contact-box > a:nth-child(2) > span {
    background: #28abe2 url("../images/icon-envelope.png") center no-repeat;
}

.form-row {
    margin-bottom: 50px;
    text-align: center;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}

#contact-form input,
#contact-form textarea {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #fff;
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #fff;
    -webkit-appearance: none;
}

#contact-form input {
    height: 50px;
    width: 30%;
    margin: 0 5px;
}

#contact-form textarea {
    min-height: 50px;
    width: 92%;
    margin: 0 11px;
    padding-top: 15px;
    resize: vertical;
}

#contact-form input:hover,
#contact-form input:focus,
#contact-form textarea:hover,
#contact-form textarea:focus {
    background-color: rgba(0, 0, 0, .4);
}

#contact-form button {
    border-radius: 0;
    border: 1px solid transparent;
    -webkit-appearance: none;
    padding: 10px 20px;
    background-color: #28abe2;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

#contact-form button:hover {
    color: #2b2b2d;
    border: 1px solid #fff;
}

.social-box {
    margin: 100px 0;
}

.social-box > a {
    display: inline-block;
    text-indent: -9999px;
    width: 50px;
    height: 50px;
    padding: 10px;
    background-color: #28abe2;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 2px solid transparent;
}

.social-box > a:hover {
    border: 2px solid #fff;
    background-color: #353638;
}

.fb {
    background-image: url("../images/icon-f.png");
}

.tw {
    background-image: url("../images/icon-t.png");
}

.gg {
    background-image: url("../images/icon-g.png");
}

#main-footer {
    text-align: center;
}

#main-footer small {
    color: #fff;
}


#alert-message {
    display: none;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
}

/* ------------------------ */

@media only screen and (max-width: 1280px) {
    #section-1 {
        margin-top: -280px;
    }
}


@media only screen and (max-width: 1180px) {

    main > .container {
        padding: inherit;
    }
    #section-1 {
        margin-top: -250px;
    }
}

@media only screen and (max-width: 1080px) {
    #section-1 {
        margin-top: -235px;
    }
}

@media only screen and (max-width: 1024px) {
    .section {
        width: calc(100% - 50px);
    }
}

@media only screen and (max-width: 990px) {
    .color-side.pull-right > h2 {
        padding-left: 35px;
    }
}

@media only screen and (max-width: 890px) {
    .color-side > h2,
    .text h3 {
        font-size: 22px;
    }

    #contact-form input {
        height: 40px;
        margin: 0 0 20px 0;
        width: 100%;
    }

    #contact-form textarea {
        width: 100%;
        margin: auto;
    }
}

@media only screen and (max-width: 890px) and (orientation: landscape) {
    #section-1 {
        margin-top: auto;
    }
}

@media only screen and (max-width: 796px) {
    .wrapper .contact-box:nth-child(1) > a:nth-child(1) {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 768px) {

    #logo {
        max-width: 260px;
        padding: 20px;
    }

    .scan {
        display: none;
    }

    .section {
        margin-bottom: 50px;
    }

    #section-1 {
        margin-top: auto;
    }

    .section,
    .color-side,
    .content-side {
        width: 100%;
    }

    .color-side:after {
        display: none;
    }

    .color-side > h2 {
        margin: 0 0 20px 0;
    }

    .color-side.pull-left > h2 {
        padding-right: 0;
    }

    .color-side.pull-right > h2 {
        padding-left: 0;
    }

    .wrapper {
        padding: 60px 20px;
    }

    .social-box {
        margin: 50px 0;
    }

}

@media only screen and (max-width: 500px) {

    #logo {
        max-width: 220px;
        padding: 15px;
    }

    .wrapper {
        padding: 60px 0;
    }

    .contact-box > a {
        font-size: 18px;
    }

    .contact-box > a > span {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 350px) {
    .contact-box > a > span {
        display: none;
    }
}




