@import "_mixins";

.inner-banner {
    background: #fff url(../images/banner-company.jpg);
}

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

.solutions-wrap {
    background: #f0f3f8;
    text-align: center;
    margin: 75px 0 0;
    padding: 80px 0 70px;
    h6 {
        font-size: 24px;
        line-height: 36px;
        @include avenir-light;
        margin: 0 0 45px;
        color: $black;
        a {
            color: $red;
        }
    }
    .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%;
        p {
            font-size: 18px;
            @include avenir-roman;
            color: #1a2732;
            margin: 0 0 30px;
            line-height: 36px;
        }
        a {
            color: $red;
            text-transform: uppercase;
            font-size: 18px;
            @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;
            &.icon7 {
                background: url(../images/sol-icon7.png) center top no-repeat;
            }
            &.icon8 {
                background: url(../images/sol-icon8.png) center top no-repeat;
            }
            &.icon9 {
                background: url(../images/sol-icon9.png) center top no-repeat;
            }
            &.icon10 {
                background: url(../images/sol-icon10.png) center top no-repeat;
            }
        }
    }
    .col-md-6:nth-child(2n) .solution-box {
        border-right: 0;
    }
    .col-md-6:nth-last-child(1) .solution-box,
    .col-md-6:nth-last-child(2) .solution-box {
        border-bottom: 0;
    }
}

.content-blocks-wrap {
    position: relative;
    padding-top: 75px;
    .col-md-6 {
        margin-bottom: 75px;
    }
    .content-box {
        background: #f2f2f2;
        margin: 0 20px 0 0;
        height: 100%;
        .inner {
            padding: 60px 50px 60px 90px;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        h3 {
            color: $red;
            text-transform: uppercase;
            @include avenir-light;
            font-size: 32px;
            margin: 0 0 35px;
        }
        p {
            color: $black;
            font-size: 18px;
            line-height: 36px;
            @include avenir-light;
            margin: 0 0 35px;
            a {
                color: $red;
            }
            &:last-child {
                margin: 0;
            }
        }
        .read-more {
            font-size: 18px;
            @include avenir-medium;
            text-transform: uppercase;
            color: $red;
            position: absolute;
            bottom: 70px;
            &: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: 30px;
                -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;
            }
        }
        &.alt {
            margin-right: 0;
            margin-left: 20px;
        }
    }
}

.goals-wrap {
    .row {
        padding: 0 15px;
    }
    .col-md-6 {
        padding: 0;
    }
    article {
        padding: 60px 80px 60px 110px;
        background: #edeadf;
        min-height: 100%;
        h2 {
            @include avenir-light;
            color: $red;
            font-size: 32px;
            text-transform: uppercase;
            margin: 0 0 25px;
        }
        p {
            @include avenir-light;
            color: $black;
            font-size: 18px;
            line-height: 32px;
            margin: 0 0 25px;
            &:last-child {
                margin: 0;
            }
            a {
                color: $red;
            }
        }
    }
    figure {
        text-align: center;
        margin: 0;
        background: #fbf6ef;
        min-height: 100%;
        overflow: hidden;
        img {
            width: auto;
            height: 100%;
            float: right;
        }
    }
    .contact-detail {
        padding-left: 105px;
        background: url(../images/call.png) left top no-repeat;
        font-size: 18px;
        color: $black;
        margin: 50px 0 40px;
        strong {
            display: block;
            font-size: 24px;
            color: $red;
            @include avenir-light;
        }
        small {
            display: block;
            @include avenir-light;
            font-size: 18px;
            line-height: 36px;
        }
    }
    .read-more {
        font-size: 18px;
        @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: 30px;
            -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;
        }
    }
}

.bottom-blocks-wrap {
    .block {
        padding: 40px 0;
        background: #f1f1f1;
        min-height: 100%;
        &.alt {
            background: #edeadf;
        }
    }
    .col-md-6 {
        padding: 0;
    }
    .col-5 {
        text-align: right;
    }
    h6 {
        color: $red;
        text-transform: uppercase;
        @include avenir-light;
        font-size: 28px;
        margin: 5px 0 28px 35px;
    }
    .read-more {
        font-size: 18px;
        @include avenir-medium;
        text-transform: uppercase;
        color: $red;
        margin-left: 35px;
        &: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: 30px;
            -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) {

    .solutions-wrap h6 {
        font-size: 18px;
        line-height: 30px;
    }
    .solutions-wrap .solution-box p {
        font-size: 14px;
        line-height: 26px;
    }
    .solutions-wrap .solution-box a {
        font-size: 14px;
    }

    .content-blocks-wrap .content-box .inner {
        padding: 60px 40px 60px 60px;
    }
    .content-blocks-wrap .content-box h3 {
        font-size: 26px;
    }
    .content-blocks-wrap .content-box p {
        font-size: 14px;
        line-height: 28px;
    }

    .goals-wrap article {
        padding: 60px 40px 60px 60px;
    }
    .goals-wrap article h2 {
        font-size: 26px;
    }
    .goals-wrap article p {
        font-size: 14px;
        line-height: 28px;
    }
    .goals-wrap .contact-detail {
        font-size: 14px;
        margin: 40px 0 30px;
    }
    .goals-wrap .contact-detail strong {
        font-size: 18px;
    }
    .goals-wrap .contact-detail small {
        font-size: 14px;
        line-height: 28px;
    }
    .goals-wrap .read-more {
        font-size: 14px;
    }

    .bottom-blocks-wrap h6 {
        margin-left: 0;
        font-size: 20px;
    }
    .bottom-blocks-wrap img {
        width: 100px;
    }
    .bottom-blocks-wrap .read-more {
        margin: 0;
        font-size: 14px;
    }

}

@media screen and (max-width: 768px) {

    .solutions-wrap {
        margin: 25px 0 0;
        h6 {
            font-size: 16px;
            line-height: 24px;
        }
        .solution-box {
            padding: 0 20px !important;
        }
    }

    .content-blocks-wrap {
        .col-md-6 {
            margin-bottom: 35px;
        }
        .content-box {
            margin: 0;
            h3 {
                font-size: 22px;
                margin: 0 0 25px;
            }
            p {
                font-size: 12px;
                line-height: 24px;
                margin: 0 0 25px;
            }
            .read-more {
                position: static;
            }
            .inner {
                padding: 30px;
            }
        }
    }

    .goals-wrap {
        padding: 0 !important;
        figure {
            height: auto;
            img {
                width: 100%;
                height: auto;
            }
        }
        article {
            padding: 30px;
            h2 {
                font-size: 22px;
                margin: 0 0 25px;
            }
            p {
                font-size: 12px;
                line-height: 20px;
            }
        }
        .contact-detail {
            margin: 30px 0 20px;
            padding-left: 90px;
            font-size: 12px;
            small {
                font-size: 12px;
                line-height: 20px;
            }
            strong {
                font-size: 16px;
            }
        }
    }

}