@import "_mixins";

.fancy-bg {
    min-height: 115px;
    background: #fff;
}

// HERO BANNER

.hero-banner {
    height: 100%;
    max-height: 670px;
    h1 {
        font-size: 32px;
        @include avenir-light;
        margin: 235px 0 100px;
        color: $red;
        text-transform: uppercase;
    }
    a {
        font-size: 24px;
        @include avenir-medium;
        text-transform: uppercase;
        color: $red;
        margin-bottom: 105px;
        &:before {
            content: '\f105';
            font-family: FontAwesome;
            display: inline-block;
            width: 68px;
            height: 68px;
            border: 1px solid $red;
            border-radius: 50%;
            text-align: center;
            line-height: 66px;
            color: #000;
            vertical-align: middle;
            margin-right: 13px;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
        }
        &:hover:before {
            background: $red;
            color: #fff;
        }
    }
    &.video-banner {
        height: 630px;
        margin-top: 130px;
        position: relative;
        overflow: hidden;
        video {
            position: absolute;
            top: -120px;
            width: 100%;
            height: auto;
        }
        h1 {
            margin-top: 210px;
            margin-bottom: 75px;
            color: #fff;
        }
        a {
            color: #fff;
            &:before {
                border-color: #fff;
                color: #fff;
            }
        }
    }
}

// ABOUT WRAP

.about-wrap {
    //padding-bottom: 30px;
    background: #fff;
    .right-banner {
        background-attachment: fixed;
        background-position: right;
        background-size: 50% 100%;
        background-repeat: no-repeat !important;
        min-height: 300px;
        max-width: 801px;
    }
    .our-company {
        margin: 60px 0 60px;
        h2 {
            font-size: 32px;
            @include avenir-light;
            color: $red;
            text-transform: uppercase;
        }
        p {
            font-size: 18px;
            @include avenir-roman;
            color: #000;
            margin-bottom: 38px;
            line-height: 32px;
            padding-right: 50px;
        }
        a {
            font-size: 18px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            &:before {
                content: '\f105';
                font-family: FontAwesome;
                display: inline-block;
                width: 54px;
                height: 54px;
                border: 1px solid $red;
                border-radius: 50%;
                text-align: center;
                line-height: 52px;
                color: #000;
                vertical-align: middle;
                margin-right: 13px;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
            }
            &:hover:before {
                background: $red;
                color: #fff;
            }
        }
    }
    .insight-wrap {
        border: 8px solid $red;
        margin: 40px 0 0 73px;
        .insight {
            margin: 28px;
            background: rgba(255,255,255,0.6);
            padding: 32px 25px 55px 42px;
            overflow: hidden;
            img {
                max-width: 275px;
                display: block;
                margin-bottom: 90px;
                image-rendering: -webkit-optimize-contrast;
            }
            .read-more {
                font-size: 14px;
                @include avenir-medium;
                text-transform: uppercase;
                color: $red;
                display: inline-block;
                float: left;
                &:before {
                    content: '\f04b';
                    font-family: FontAwesome;
                    display: inline-block;
                    width: 44px;
                    height: 44px;
                    background: $red;
                    border-radius: 50%;
                    text-align: center;
                    line-height: 42px;
                    color: #fff;
                    margin-right: 7px;
                    -webkit-transition: all 0.5s;
                    -moz-transition: all 0.5s;
                    -ms-transition: all 0.5s;
                    -o-transition: all 0.5s;
                    transition: all 0.5s;
                }
                &:hover:before {
                    background: #fff;
                    color: $red;
                }
            }
            .download-btn {
                border: 1px solid $red;
                color: #a70240;
                background: #f0f3f8;
                text-align: center;
                text-transform: uppercase;
                padding: 0 12px;
                line-height: 42px;
                font-size: 14px;
                display: inline-block;
                float: right;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
                &:hover {
                    background: $red;
                    color: #fff;
                }
            }
        }
    }
}

.ar {
    .about-wrap {
        .right-banner {
            background-position: left;
        }
    }
}

// GOALS WRAP

.goals-wrap {
    background: #f7f7f7;
    padding: 80px 0 65px;
    text-align: center;
    h2 {
        font-size: 32px;
        @include avenir-light;
        margin: 0 0 35px;
        color: $red;
        text-transform: uppercase;
    }
    p {
        font-size: 18px;
        @include avenir-roman;
        color: #000;
        margin-bottom: 30px;
        line-height: 32px;
    }
    a {
        font-size: 18px;
        @include avenir-medium;
        text-transform: uppercase;
        color: $red;
        &:before {
            content: '\f105';
            font-family: FontAwesome;
            display: inline-block;
            width: 54px;
            height: 54px;
            border: 1px solid $red;
            border-radius: 50%;
            text-align: center;
            line-height: 52px;
            color: #000;
            vertical-align: middle;
            margin-right: 13px;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
        }
        &:hover:before {
            background: $red;
            color: #fff;
        }
    }
}

// SOLUTIONS WRAP

.solutions-wrap {
    background: #fff;
    text-align: center;
    padding: 80px 0 65px;
    h2 {
        font-size: 32px;
        @include avenir-light;
        margin: 0 0 75px;
        color: $red;
        text-transform: uppercase;
    }
    .solution-box {
        border-right: 1px dashed rgba(0,0,0,0.5);
        border-bottom: 1px dashed rgba(0,0,0,0.5);
        padding: 38px 27px;
        height: 100%;
        h3 {
            color: #1a2732;
            font-size: 24px;
            line-height: 24px;
            text-transform: uppercase;
            margin: 0 0 30px;
            min-height: 48px;
        }
        p {
            font-size: 18px;
            @include avenir-roman;
            color: #1a2732;
            margin: 0 0 30px;
            height: 63px;
        }
        a {
            color: $red;
            text-transform: uppercase;
            font-size: 14px;
            @include avenir-roman;
            display: inline-block;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
            &:hover {
                color: $black;
                -webkit-transform: scale(1.1);
                -moz-transform: scale(1.1);
                -ms-transform: scale(1.1);
                -o-transform: scale(1.1);
                transform: scale(1.1);
            }
        }
        .custom-icon {
            display: block;
            width: 80px;
            height: 80px;
            margin: 0 auto 30px;
            background-size: cover;
            &.icon1 {
                background: url(../images/sol-icon1.png) center top no-repeat;
            }
            &.icon2 {
                background: url(../images/sol-icon2.png) center top no-repeat;
            }
            &.icon3 {
                background: url(../images/sol-icon3.png) center top no-repeat;
            }
            &.icon4 {
                background: url(../images/sol-icon4.png) center top no-repeat;
            }
            &.icon5 {
                background: url(../images/sol-icon5.png) center top no-repeat;
            }
            &.icon6 {
                background: url(../images/sol-icon6.png) center top no-repeat;
            }
        }
    }
    .col-md-4:nth-child(3n) .solution-box {
        border-right: 0;
    }
    .col-md-4:nth-last-child(1) .solution-box,
    .col-md-4:nth-last-child(2) .solution-box{
        border-bottom: 0;
    }
}

// OUR PEOPLES

.peoples-wrap {
    background: #fff;
    padding: 0 0 80px;
    text-align: center;
    h2 {
        font-size: 32px;
        @include avenir-light;
        margin: 0 0 70px;
        color: $red;
        text-transform: uppercase;
    }
    .peoples-carousel {
        padding: 0;
        margin: 0 0 30px;
        .avatar {
            width: 112px;
            height: 112px;
            border-radius: 50%;
            overflow: hidden;
            display: inline-block;
            opacity: 0.5;
            -webkit-transition: all 0.5s;
            -moz-transition: all 0.5s;
            -ms-transition: all 0.5s;
            -o-transition: all 0.5s;
            transition: all 0.5s;
            vertical-align: middle;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .slick-slide {
            height: 146px;
            line-height: 146px;
        }
        .slick-center .avatar {
            width: 146px;
            height: 146px;
            opacity: 1;
        }
        .slick-arrow {
            position: absolute;
            top: 50%;
            width: 52px;
            height: 52px;
            background: $red;
            color: #fff;
            border: 0;
            border-radius: 50%;
            margin-top: -26px;
            text-align: center;
            line-height: 54px;
            font-size: 26px;
            &.slick-prev {
                left: -52px;
            }
            &.slick-next {
                right: -52px;
            }
        }
    }
    .peoples-text-slider {
        padding: 0;
        margin: 0;
        h3 {
            color: $red;
            @include avenir-roman;
            font-size: 24px;
            margin: 0;
        }
        h6 {
            color: #1a2732;
            @include avenir-roman;
            font-size: 14px;
            margin: 0 0 30px;
        }
        p {
            color: #1a2732;
            @include avenir-roman;
            font-size: 18px;
            margin: 0 0 35px;
            padding: 0 180px;
        }
        a {
            font-size: 18px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            &:before {
                content: '\f105';
                font-family: FontAwesome;
                display: inline-block;
                width: 54px;
                height: 54px;
                border: 1px solid $red;
                border-radius: 50%;
                text-align: center;
                line-height: 52px;
                color: #000;
                vertical-align: middle;
                margin-right: 13px;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
            }
            &:hover:before {
                background: $red;
                color: #fff;
            }
        }
    }
}

// NEWS WRAP

.news-wrap {
    background: #f7f7f7;
    padding: 80px 0 65px;
    h2 {
        font-size: 32px;
        @include avenir-light;
        margin: 0 0 62px;
        color: $red;
        text-transform: uppercase;
        text-align: center;
    }
    .post {
        background: #ffffff;
        border: 1px solid #e6e6e6;
        overflow: hidden;
        padding-right: 45px;
        figure {
            float: left;
            margin: 0 30px 0 0;
        }
        .date {
            font-size: 14px;
            text-transform: uppercase;
            @include avenir-roman;
            color: $red;
            margin: 29px 0 12px;
        }
        h5 {
            color: #000;
            font-size: 16px;
            @include avenir-roman;
            line-height: 24px;
            margin: 0 0 25px;
        }
        .read-more {
            font-size: 14px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            &:before {
                content: '\f105';
                font-family: FontAwesome;
                display: inline-block;
                width: 44px;
                height: 44px;
                border: 1px solid $red;
                border-radius: 50%;
                text-align: center;
                line-height: 40px;
                color: #000;
                vertical-align: middle;
                margin-right: 20px;
                -webkit-transition: all 0.5s;
                -moz-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -o-transition: all 0.5s;
                transition: all 0.5s;
            }
            &:hover:before {
                background: $red;
                color: #fff;
            }
        }
    }
}

// RESPONSIVE

@media screen and (min-width: 1024px) and (max-width: 1441px) {

    .read-more {
        font-size: 14px !important;
    }

    .hero-banner {
        max-height: 600px;
    }
    .hero-banner h1 {
        margin: 210px 0 50px;
    }
    .hero-banner .read-more {
        font-size: 18px !important;
    }

    .hero-banner.video-banner {
        margin-top: 118px;
    }
    .hero-banner.video-banner h1 {
        margin-top: 170px;
    }

    .about-wrap .insight-wrap {
        margin-left: 0;
    }

    .solutions-wrap h2 {
        font-size: 32px;
    }
    .solutions-wrap .solution-box p {
        height: 84px;
        font-size: 14px;
    }

    .peoples-wrap h2 {
        font-size: 32px;
    }
    .peoples-wrap .peoples-text-slider p {
        font-size: 14px;
    }

    .news-wrap h2 {
        font-size: 32px;
    }
    .news-wrap .post h5 {
        font-size: 14px;
        line-height: 22px;
    }

}

@media screen and (max-width: 1024px) {
    .about-wrap .right-banner {
        background-size: 100% 100%;
    }
}
