﻿@import '../Styles/abstracts/_colors.scss';
@import '../Styles/abstracts/_media-queries.scss';
@import '../Styles/abstracts/_functions.scss';

.page-sec {
    width: 100%;
    display: flex;
    max-width: rem2(1440px);
    box-sizing: border-box;
    padding: rem2(40px) rem2(140px);
    margin: 0 auto;

    @include lg {
        padding: rem2(32px) rem2(60px);
    }

    @include sm {
        padding: rem2(16px);
    }
}

.sec-title {
    font-weight: bold;
    font-size: rem2(44px);
    margin-bottom: 1rem;
    text-align: center;

    @include lg {
        font-size: rem2(34px);
    }

    @include md {
        font-size: rem2(30px);
    }

    @include sm {
        font-size: rem2(26px);
    }
}

.sec-title-underline {
    background-color: $Y1;
    width: rem2(240px);
    height: rem2(4px);
    margin-bottom: 2rem;

    @include lg {
        width: rem2(200px);
        height: rem2(2px);
    }

    @include md {
        width: rem2(180px);
    }

    @include sm {
        width: rem2(150px);
    }
}

.sec-content {
    color: $Gray2;
    font-size: rem2(20px);
    text-align: center;
    line-height: 2rem;
    margin-bottom: 4rem;

    @include md {
        font-size: rem2(18px);
    }

    @include sm {
        font-size: rem2(16px);
    }
}


.about-bg {
    background-image: url('/images/about/about_bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: rem2(140px);

    .about-us {
        padding-top: rem2(180px);
        display: flex;
        flex-flow: column;
        align-items: center;

        .about-title {
            font-weight: 800;
            font-size: rem2(40px);
            line-height: rem2(52px);
            color: $B2;
            margin-bottom: rem2(24px);
        }

        .about-bread {
            font-weight: 400;
            font-size: rem2(16px);
            line-height: rem2(24px);
            color: $Gray2;
        }
    }

    .evolve-with-bit {
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: rem2(96px);

        .sec-body {
            .sec-title {
                font-weight: 700;
                font-size: rem2(40px);
                line-height: rem2(52px);
                text-align: unset;
                margin-bottom: rem2(24px);

                @include sm {
                    font-size: rem2(32px);
                    text-align: center;
                }
            }

            .sec-desc {
                font-weight: 400;
                font-size: rem2(20px);
                line-height: rem2(32px);
                color: $Gray1;
                max-width: rem2(880px);

                @include sm {
                    font-size: rem2(18px);
                    text-align: center;
                }
            }
        }
    }
}

.what-we-guarantee {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4rem;

    .guarantee-card-group {
        display: flex;
        flex-flow: row wrap;
        gap: 2rem;

        @include md {
            justify-content: center;
        }
    }

    .guarantee-card {
        width: calc(50% - 1rem);
        display: flex;
        flex-flow: column nowrap;
        align-items: flex-start;
        border: 1px solid $B5;
        border-radius: rem2(15px);
        background-position: top left;
        background-repeat: no-repeat;
        background-size: rem2(220px);
        padding: 2rem;
        //background-color: $B5;

        @include md {
            width: calc(100% - 2rem);
        }

        @include sm {
            background-size: rem2(180px);
            background-position: top left rem2(-25px);
            padding: rem2(24px);
        }

        &:hover {
            box-shadow: 0px 4px 38px rgba(0, 0, 0, 0.12);
        }

        .guarantee-card-title {
            font-weight: 700;
            font-size: rem2(30px);
            line-height: rem2(40px);
            color: $Black;
            padding-top: rem2(40px);
            padding-left: rem2(170px);
            margin-bottom: 3rem;

            @include sm {
                font-size: rem2(24px);
                padding-top: rem2(10px);
                padding-left: rem2(110px);
                margin-bottom: 3rem;
            }

            @include xs {
                font-size: rem2(20px);
                padding-left: rem2(80px);
            }
        }

        .guarantee-card-desc {
            width: 100%;
            font-weight: 400;
            font-size: rem2(22px);
            line-height: rem2(32px);
            color: $Gray1;

            @include sm {
                font-size: rem2(16px);
            }
        }
    }


    .guarantee-card-1 {
        background-image: url('/images/about/guarantee/customer-first_bg.svg');
    }

    .guarantee-card-2 {
        background-image: url('/images/about/guarantee/performance_bg.svg');
    }

    .guarantee-card-3 {
        background-image: url('/images/about/guarantee/integrity_bg.svg');
    }

    .guarantee-card-4 {
        background-image: url('/images/about/guarantee/quality_bg.svg');
    }

    .guarantee-card-5 {
        background-image: url('/images/about/guarantee/technical-skill_bg.svg');
    }
}

.our-team {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4rem;

    .team-image {
        background-image: url('/images/about/team/team-1.webp');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 100%;
        height: rem2(654px);

        @include md {
            background-image: url('/images/about/team/team-2.webp');
        }

        @include sm {
            background-image: url('/images/about/team/team-3.webp');
        }

        @include xs {
            background-image: url('/images/about/team/team-4.webp');
        }
    }
}
