@import "../partials/stats.prtial";
@import "../variables";

.home-banner {
    position: relative;
    background: linear-gradient(to right, #424661, #4E6077);
    padding: 60px 0;
    min-height: calc(100vh - #{$header-height + $header-link-height});
    display: flex;
    align-items: center;
    h1 {
        font-size: 30px;
        color: white;
        line-height: 48px;
        margin-bottom: 40px;
        max-width: 500px;
    }
    .img {
        display: block;
        max-width: 120%;

    }
    .links {
        margin-top: 30px;
    }
    .buildings {
        position: absolute;
        bottom: 0;
        left: -50px;
        width: 340px;
        opacity: 0.5;

    }
}
h2 {
    font-size: 30px;
    text-align: center;
    color: #424651;
    line-height: 52px;
}
.honestly {
    padding: 160px 0;

    .subtitle {
        font-size: 18px;
        color: #6C6F76;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 20px;

    }
    .cards {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
    }
    .card {
        width: 48%;
        border-radius: 30px;
        overflow: hidden;
        background-color: rgba(#ECF1F5, 0.2);
        .upper {
            background-color: #ECF1F5;
            font-size: 22px;
            font-weight: bold;
            text-align: center;
            padding: 7.5% 10%;
            line-height: 40px;
            color: #424651;
        }
        .content {
            padding: 20px;
        }
        ul {
            padding: 0;
            margin: 0 auto;
            list-style-type: none;
            width: 380px;
            max-width: 100%;
            font-size: 18px;
            line-height: 35px;
            color: #6C6F76;
            font-weight: 500;
            li {
                display: flex;
                align-items: flex-start;
                margin-bottom: 14px;
            }
            i {
                color: #F15A4D;
                margin-top: 5px;
                margin-right: 10px;
            }
        }
    }
}
.reach {
    margin-bottom: 40px;
    h2 {
        margin-bottom: 30px;
    }
    ul {
        list-style-type: none;
        font-size: 18px;
        line-height: 30px;
        font-weight: 500;
        padding: 0;
        margin-top: 150px;
        margin-bottom: 0;
        li {
            margin-bottom: 14px;
            display: flex;

        }
        i {
            color: #F15A4D;
            margin-right: 6px;
            margin-top: 3px;
        }
        &.positive {
            i {
                color: #00C8AD;
            }
        }

    }
    .phone-wrapper {
        text-align: center;
        position: relative;
        .phone {
            width: 340px;
            display: block;

        }
        .badge {
            position: absolute;
            left: -190px;
            top: 35px
        }
    }
    .developed {
        margin-top: 24px;
        font-size: 12px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        img {
           margin-left: 15px;
            margin-right: 6px;
        }
        span {
            color: #6C6F76;
            font-weight: bold;
        }
        div {
            height: 20px;

            margin-left: 15px;
            border-left: thin solid #292929;
        }
    }
    .more {
        font-size: 18px;
        font-weight: 500;
        color: #6C6F76;
    }

}

.recommend-logos {
    border: 2px solid #ECF1F5;
    border-radius: 20px;
    text-align: center;
    padding: 34px 0;
    width: 1080px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 24px;
    font-weight: bold;
    color: #424651;
    img {
        margin: 0 20px;
    }
    div {
        margin-bottom: 20px;
    }
}
.functions {
    margin-top: 90px;
    .upper {
        background-color: #F0604B;
        border-radius: 40px 40px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        height: 90px;
        color: white;
    }
    .middle {
        border: 1px solid #ECF1F5;
        padding: 0 30px 170px;
        //background-image: url("/img/home/background-simple.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .function {
        display: flex;
        margin-top: 170px;
        > * {
            width: 50%;
        }
        .img {
            text-align: center;
            img {
                display: inline-block;
                max-width: 90%;
            }
        }
        h2 {
            color: #424651;
            text-align: left;
            margin-bottom: 14px;
        }
        ul {
            background-color: white;
        }
        p {
            color: #6C6F76;
            font-size: 18px;
            line-height: 30px;
            font-weight: normal;
            margin: 0;
            background-color: white;
        }
        &.mobile {
            .img img {
                width: 430px;
            }
        }
        &.desktop {
            img {
                padding-top: 80px;
            }
        }
    }

    div.function:nth-of-type(2n){
        flex-direction: row-reverse;
    }


    ul {
        list-style-type: none;
        padding: 30px 0;
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        color: #292929;
        text-align: left;
        li {
            margin-bottom: 18px;
            padding-left: 30px;
            background-image: url("/img/icons/circle-check.svg");
            background-repeat: no-repeat;
            background-position-y: 3px;
        }
    }
    .lower {
        background-color: #F5F8FA;
        border-radius: 0 0 50px 50px;
        text-align: center;
        padding: 70px 0;
        display: flex;
        align-items: center;
        flex-direction: column;
        h2 {
            max-width: 840px;
            margin: 0 auto 30px;
        }
    }
}

.need-help {
    h2 {
        margin-top: 160px;
        text-align: center;
        color: #424651;
        margin-bottom: 60px;
    }
    .card {
        border: 2px solid #F15A4D;
        border-radius: 20px;
        padding: 40px 20px;
        padding-right: 0;
        display: flex;
        align-items: center;
        span {
            font-size: 18px;
            font-weight: 500;
            div {
                font-weight: bold;
                font-size: 22px;
            }
        }
        img {
            margin-right: 18px;
        }
    }
}
.why-us {
    margin-bottom: 100px;
    h2 {
        text-align: center;
        margin: 140px 0 110px;
    }
    .item {
        flex: 1 0 33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        font-weight: 500;
        line-height: 40px;
        margin-bottom: 24px;
        span {
            width: 310px;
            text-align: center;
            margin-top: 12px;
            max-width: 100%;
        }
        img {
            height: 74px;
        }
    }
}

.experiences {
    background-color: #F5F8FA;
    padding: 120px 0;
    h2 {
        color: #424651;
        margin-bottom: 50px;
    }
    .card {
        background-color: white;
        border-radius: 40px 40px 40px 0;
        box-shadow: 0 0 15px rgba(black, 0.16);
        margin-bottom: 30px;

        .upper {
            font-size: 18px;
            border-bottom: 1px #ECF1F5 solid;
            span {
                font-weight: bold;
                color: #F15A4D;
            }
        }

        p {
            margin: 0;
            font-size: 18px;
            line-height: 40px;
            font-weight: normal;
        }
        > * {
            padding: 18px 55px;
        }
    }
}

@media (max-width: 1199px){
    h2 {
        font-size: 28px;
        line-height: 46px;
    }
    .home-banner {
        padding-bottom: 80px;
        min-height: auto;
        h1 {
            font-size: 24px;
            line-height: 35px;
        }
        .img {
            max-width: 100%;
        }
    }
    .honestly {
        padding: 120px 0;
        h2 {
            max-width: 570px;
            margin-left: auto;
            margin-right: auto;
        }
        .cards {
            margin-top: 0;
        }
        .card {
            .upper {
                font-size: 24px;
                padding: 30px 18px;
            }
            ul {
                font-size: 18px;
            }
        }
    }
    .goto-button {
        font-size: 14px;
    }


    .reach {
        ul {
            margin-top: 80px;
        }
        .phone-wrapper {
            display: inline-block;
            margin-left: calc(50% - 170px);
        }
    }
    .functions {
        .function {
            //flex-direction: column;
            > * {
                width: 100%;
            }
            h2 {
                font-size: 34px;
            }
            p {
                font-size: 20px;
                line-height: 35px;
            }

        }
        ul {
            font-size: 18px;
            li {
                background-position-y: 3px;
            }
        }


    }

    .need-help {
        h2 {
            margin-top: 100px;
        }
        .card {
            display: block;
            text-align: center;
            padding: 40px 30px;

            span {
                line-height: 40px;
                div {
                    margin-bottom: 20px;
                }
            }
        }
    }

    .why-us .item {
        font-size: 16px;
        line-height: 30px;
        span {
            width: 260px;
        }
    }
    .experiences .card {
        .upper {
            font-size: 16px;
        }
        p {
            font-size: 14px;
            line-height: 25px;
        }
    }

    .recommend-logos {
        font-size: 20px;
    }
}


@media (max-width: 967px){
    .home-banner {
        padding-bottom: 100px;
        h1 {
            font-size: 22px;
            margin-bottom: 20px;
        }
        .buildings {
            width: 270px;
        }
        .links {
            margin-top: 20px;
        }
    }

    .honestly {
        .card {
            width: 49%;
        }
    }
    .recommend-logos img {
        margin: 0 15px;
        max-width: 120px;
    }
    .functions {
        .function {
            flex-direction: column !important;
            margin-top: 140px;
            &.desktop img {
                padding-top: 0;
            }
        }

    }
    .why-us {
        .item {
            span {
                width: 200px;
            }
        }
    }
}

@media (max-width: 767px){
    h2 {
        font-size: 26px;
    }
    .home-banner {
        padding-top: 60px;
        padding-bottom: 0;
        text-align: center;
        h1 {
            font-size: 28px;
            margin-bottom: 32px;

        }
        .buildings {
            display: none;
        }
        .img {
            margin-bottom: -80px;
            display: inline-block;
            margin-right: -10%;
            margin-top: 30px;
            width: 80%;
        }
    }
    .honestly {
        padding-bottom: 100px;
        h2 {
            font-size: 26px;
        }
        .subtitle {
            font-size: 16px;
        }
        .cards {
            display: block;
        }
        .card {
            width: 100%;
            margin-bottom: 30px;
            .upper {
                line-height: 30px;
                padding: 30px 15%;
            }
            ul {
                width: 330px;
                font-size: 16px;
            }
        }
    }
    .reach {
        h2 {
            font-size: 28px;
            line-height: 33px;
        }

        .phone-wrapper {
            margin-left: calc(50% - 130px);
            .phone {
                width: 260px;
            }
            .badge {
                width: 110px;
                left: -130px;
            }
        }
        ul {
            max-width: 360px;
            margin: 25px auto;
        }
        .more {
            max-width: 360px;
            margin: 0 auto;
        }
    }
    .recommend-logos img {
        max-width: 100px;
        margin: 0 10px;
    }

    .why-us .item {
        flex: 1 0 50%
    }
}

@media (max-width: 575px){
    .home-banner h1 {
        font-size: 26px;
    }
    .honestly {
        padding-bottom: 60px;
        .card {
            .upper {
                padding: 30px 10px;
            }
            ul {
                font-size: 14px;
            }
        }
    }
    .reach h2 {
        font-size: 24px;
        line-height: 30px;
    }
    .reach .phone-wrapper {
        margin-left: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        .badge {
            display: inline-block;
            position: relative;
            left: auto;
            top: auto;
            margin-bottom: 18px;
        }
        .phone {
            display: inline-block;
            width: 200px;
        }
    }
    .reach ul {
        margin: 15px auto;
    }
    .recommend-logos {
        font-size: 13px;
        img {
            width: 120px;
            margin: 7px 15px;
        }
    }
    .functions {
        margin-top: 60px;
        .upper {
            font-size: 26px;
            height: 80px;
        }
        .function {
            margin-top: 100px;
            h2 {
                font-size: 28px;
            }
            &.desktop img {
                max-width: 100%;
            }
        }
        .middle {
            padding: 0 6px 70px;
            border: none;
        }
        .lower {
            padding: 50px 20px;
            border-radius: 0 0 30px 30px;
        }
        ul {
            padding: 20px 0;
        }
    }

    .need-help {
        h2 {
            margin-top: 60px;
        }
        .card {
            padding: 40px 15px;
        }
    }
    .why-us h2 {
        margin-top: 70px;
        margin-bottom: 50px;
    }
    .why-us .item span {
        width: 160px;
    }
    .experiences .card > * {
        padding: 18px 30px;
    }

}

