.we-are__wrapper {
    padding: 120px 0;
    background: #17333a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.we-are__hero {
    width: 100%;
    max-width: 1148px;
    border-radius: 16px;
    background: #def4ff;
    padding: 80px 88px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.we-are__hero::before {
    content: '';
    position: absolute;
    background-image: url('../images/boxes-background.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 25%;
    height: 65%;
    left: 0;
    top: 0;
    border-top-left-radius: 16px;
    z-index: 1;
}

.we-are__hero::after {
    content: '';
    position: absolute;
    background-image: url('../images/boxes-background.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 25%;
    height: 65%;
    right: 0;
    bottom: 0;
    border-top-left-radius: 16px;
    z-index: 1;
    transform: rotate(180deg);
}

.we-are__title-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 463px;
    margin-right: 80px;
    z-index: 10;
}

.we-are__pre-title {
    margin-bottom: 16px;
    color: #000;
    font-size: 40px;
    
    font-weight: 300;
}

.we-are__title {
    color: #000;
    font-size: 90px;
    font-family: ABC Favorit;

    font-weight: 350;
    line-height: 97px;
}

.we-are__bulletpoints {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.we-are__bulletpoint {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    font-size: 20px;
    line-height: 34px;
}

.we-are__bulletpoint:last-child {
    margin-bottom: 0;
}

.we-are__dot {
    background-image: url('../images/dot.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 14px;
    min-height: 14px;
    margin-right: 24px;
}

.we-are {
    display: flex;
    flex-direction: column;
}

.we-are__clarification {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.we-are__clarification-title {
    color: #FFF;
    font-size: 64px;
    font-family: 'ABC Favorit';
    
    font-weight: 350;
    line-height: 82px;
    margin-bottom: 24px;
}

.we-are__clarification-description {
    color: #E6EBF0;
    font-size: 20px;
    line-height: 34px;
}


.we-are__container {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
}

.we-are__cards {
    display: flex;
}

.we-are__card {
    display: flex;
    flex-direction: column;
}

.we-are__card:nth-child(2) {
    margin: 0 96px;
}

.we-are__card-image {
    margin-bottom: 21px;
}

.we-are__card-description {
    color: #E6EBF0;
    font-size: 16px;
    
    line-height: 27px;
    margin-bottom: 24px;

}

.we-are__card-link a {
    display: flex;
    width: 100%;
    color: #ACF445;
    font-size: 20px;
    line-height: 34px;
    align-items: center;
}

.we-are__card-link a:hover {
    color: #C8FF70;
}

.we-are__card-link svg {
    margin-left: 8px;
    fill: currentColor;
}

.we-are__top-wrapper {
    display: flex;
}

.we-are__stats {
    width: 100%;
    margin-top: 120px;
    display: flex;
    z-index: 1000;
    justify-content: center;
}

.we-are__stat {
    display: flex;
    flex-direction: column;
    margin-right: 32px;
    flex: 0 0 auto;
    width: 100%;
    max-width: 185px;
}

.we-are__stat:last-child {
    margin-right: 0;
}

.we-are__stat-heading {
    color: #000;
    font-size: 40px;
    font-weight: 500;
    line-height: 52px;
    text-align: center;
}

.we-are__stat-description {
    color: #000;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 34px;
}

@media (min-width: 999px) and (max-width: 1312px) {

    .we-are__wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .we-are__wrapper .section__body {
        padding: 0 !important;
    }

    .we-are__hero {
        padding: 80px 120px;
    }

    .we-are__title-container {
        max-width: 250px;
        margin-right: 40px;
    }
    
    .we-are__pre-title {
        font-size: 24px;
    }
    
    .we-are__title {
        font-size: 45px;
        line-height: 60px;
    }

    .we-are__stat {
        flex: 1;
        width: unset;
        max-width: unset;
    }
    
}

@media only screen and (max-width: 998px) {
    .we-are__wrapper {
        padding: 40px 0;
        padding-right: 16px;
        padding-left: 16px;
    }

    .we-are__wrapper .section__body {
        padding: 0 !important;
    }

    .we-are__hero {
        padding: 40px 25px;
        flex-direction: column;
    }

    .we-are__hero::before {
        min-width: 168px;
        min-height: 168px;
    }
    
    .we-are__hero::after {
        min-width: 168px;
        min-height: 168px;
    }
    
    .we-are__title-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
        max-width: unset;
    }
    
    .we-are__pre-title {
        margin-bottom: 8px;
        font-size: 32px;
    }
    
    .we-are__title {
        font-size: 56px;
        line-height: 68px;
    }
    
    .we-are__dot {
        margin-right: 16px;
    }

    .we-are__container {
        padding-top: 40px;
    }

    .we-are__bulletpoint {
        font-size: 16px;
        line-height: 27px;
    }

    .we-are__clarification {
        margin-bottom: 48px;
    }
    
    .we-are__clarification-title {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 24px;
    }

    .we-are__cards {
        flex-direction: column;
    }
    
    .we-are__card:nth-child(2) {
        margin: 40px 0;
    }
    
    .we-are__card-image {
        margin-bottom: 16px;
    }

    .we-are__top-wrapper {
        flex-direction: column;
    }
    
    .we-are__stats {
        margin-top: 40px;
        flex-wrap: wrap;
    }
    
    .we-are__stat {
        margin-right: 0;
        margin-bottom: 32px;
        width: 50%;
        max-width: unset;
    }

    .we-are__stat-description {
        font-size: 14px;
    }

    .we-are__stat-heading {
        font-size: 32px;
    }

    .we-are__stat {
        margin-right: 0;
        margin-bottom: 32px;
        width: 50%;
        max-width: unset;
    }

    .we-are__stat:nth-child(3) {
        margin-bottom: 0;
    }

    .we-are__stat:last-child {
        margin-bottom: 0;
    }
}
