* {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

.swiper-pagination {
    display: none;
    opacity: 0;
}

html, body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #3E3E3E;
}

h1, h2, h3 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    text-align: left;
    color: #3E3E3E;
    position: relative;
    margin: 60px 0;
}

h3 {
    color: #ffffff;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: #169FF2;
    border-radius: 2px;
    bottom: -14px;
}

h1::after {
    left: 0;
}

h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.header {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 62px 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.header .inner {
    width: 100%;
    max-width: 1040px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    box-sizing: border-box;


    .left, .right {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .right {
        > img {
            transform: translateY(-50%);
            position: absolute;
            right: 0;
            width: 45%;
            height: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 5px 0 0 5px;
        }
    }
}


.header p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    text-align: left;
    color: #3E3E3E;
    max-width: 872px;
    margin: 0 0 60px 0;

    &:first-of-type {
        margin-bottom: 20px;
    }
}

.open-system .inner .btns .button {
    margin: 40px 0 80px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    background: #169FF2;
    border-radius: 7px;
    box-sizing: border-box;
    margin: 12px 0;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    margin: 0 0 60px 0;
    border: 1px solid #fff;
    transition: background .25s, color .25s, opacity 1s, transform .35s ease-out;
}

.button.outline {
    color: #169FF2;
    border-color: #169FF2;
    background-color: transparent;
}

.button:hover {
    background-color: transparent;
    color: #169FF2;
    border-color: #169FF2;
}

.button.outline:hover {
    background-color: #169FF2;
    color: #ffffff;
}

.benefits {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefits::before {
    content: ' ';
    position: absolute;
    height: 60%;
    left:0;
    right:0;
    bottom:0;
    background: linear-gradient(134.71deg, rgba(224, 245, 255, 0.977355) -0.5%, #F6EEFF 76.8%, #E8D5FF 98.45%);
    opacity: 0.5;
}

.benefits .inner {
    width: 100%;
    max-width: 1040px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
    z-index: 1;
}

.benefits .inner ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    column-gap: 50px;
    row-gap: 30px;
}

/* .benefits .inner ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 20%;
    height: 220px;
    margin-top: 20px;
    padding: 0 7px;

    width: 232px;
    height: 210px;
    min-width: 200px;
    min-height: 209px;
    flex-shrink: 0;

    border-radius: 7px;
    background: #FFF;
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.25);
}

.benefits .inner ul li h4 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #3E3E3E;
    margin: 0;
    -webkit-text-stroke: black .3px;
}

.benefits .inner ul li > div {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} */

.instagram{
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;

    padding-bottom: 30px;
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0 0 0;
}

.instagram .inner{
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}

.instagram .inner h2{
    color: #FFF;
    text-align: center;
    font-family: Open Sans;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.instagram .inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 50px;
    border-radius: 7px;
    box-sizing: border-box;
    margin: 12px 0;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid #fff;
    transition: background .25s, color .25s, opacity 1s, transform .35s ease-out;
}

.instagram .inner a:hover{
    background-color: #fff;
    color: #169FF2;
}
 
.jobs {
    position: relative;
    width: 100%;
    padding: 32px 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.jobs .inner {
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}

.jobs h1 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    text-align: center;
    color: #3E3E3E;
    position: relative;
    margin: 60px  0;
}

.jobs h1:after {
    content: ' ';
    position: absolute;
    width: 40px;
    height: 4px;
    left: 50%;
    background-color: #169FF2;
    border-radius: 2px;
    bottom: -24px;
    margin-left: -20px;
}

.jobs .cards {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    list-style: none;
    width: 100%;
    gap: 20px;
    margin: 40px 0 120px 0;
    flex-wrap: wrap;
}

.jobs .cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 332px;
    height: 296px;
    max-width: 320px;
    background: #FFFFFF;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    box-sizing: border-box;
    padding: 44px 28px;
    position: relative;
    text-decoration: none;
    transition: .2s;
}

.jobs .cards .card:hover{
    transform: scale(1.05);
    transition: .2s;
}

.jobs .cards .card:after {
    content: ' ';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    border-radius: 0px 0px 7px 7px;
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
}

.jobs .cards h4 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    color: #3E3E3E;
    margin: 0 0 40px 0;
    cursor: pointer;
    min-height: 66px;
}

.jobs .cards .card > div {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
    margin: 0 0 12px 0;
}

.jobs .cards label {
    display: flex;
    flex-direction: row;
    line-height: 28px;
    align-items: flex-start;
    flex: 1 1 50%;
    color: #3E3E3E;
    cursor: pointer;
}

.jobs .cards label > svg {
    flex: 0 0 auto;
    margin: 0 8px 0 0;
    position: relative;
    top: 4px;
}

.images {
    position: relative;
    width: 100%;
    padding: 32px 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    margin-bottom: 100px;
    overflow: hidden;
}

.images .inner {
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3em;
    box-sizing: border-box;
    position: relative;


    .career-swiper-container {
        width: 100%;
        height: 500px;

        .swiper-pagination {
            opacity: 0;
        }

        i.swiper-button-prev,
        i.swiper-button-next {
            top: 50%;
            transform: translateY(-50%);
        }

        i.swiper-button-prev {
            left: -29px;
        }

        i.swiper-button-next {
            right: -29px;
        }

        .career.swiper-wrapper {
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                user-select: none;
                border-radius: 5px;

                &.not-active {
                    opacity: .12;
                    scale: .9;
                }
            }
        }
    }
}


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

    .header .inner,
    .benefits .inner,
    .jobs .inner, .images .inner {
        padding: 0 32px 0 32px;
    }

    .benefits .inner {
        padding: 50px 32px;

    }
}

@media only screen and (max-width: 1040px) {
    .benefits .inner {
        padding: 50px 32px;
    }
    .benefits .inner ul {
        justify-content: center;
    }

    .images .inner .image-container .image {
        padding: 0 40px;
    }

    .images .inner .image-container .image div{
        height: 300px;
        overflow: hidden;
    }

    .images .inner .image-container .image div img {
        height: 100%;
        width: 332px;
    }  

    .image-grid div:nth-of-type(1) img:nth-of-type(2){
        left: 30px;
        width: 200px;
    }

    .image-grid div:nth-of-type(7) img:nth-of-type(2){
        top: 80px;
    }
}

@media only screen and (max-width: 732px) {
    h1, h2, h3 {
        font-size: 24px;
        margin: 0;
        line-height: normal;
    }

    h1 {
        margin: 30px 0 40px 0;
    }

    .header {
        padding: 0;
    }

    .header .inner {   
        display: flex;
        flex-direction: column-reverse;

        .buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;

            > a {
                width: 100%;
            }
        }
    
        .left, .right {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }
    
        .right {
            margin-top: 1em;
            width: 100%;
            height: 200px;

            > img {
                object-fit: cover;
                height: 100%;
                width: 100%;
                height: 200px;
                transform: translateY(0);
                position: absolute;
                left: 0;
                right: 0;
            }
        }
    }

    .header .inner h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 33px;    
        color: #3E3E3E;
        text-align: center;
        width: 100%;
    }

    .header .inner h1::after {
        width: 32px;
        height: 4px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -16px;
    }

    .header p  {
        width: 100%;
        text-align: center;
    }

    .benefits {
       padding: 28px 32px;

       &::before {
        height: 90%;
       }
    }

    .benefits h2 {
        display: none;
        visibility: none;
     }
 

    .benefits .inner {
        padding: 10px;
    }

    .benefits .inner ul {
        flex-direction: column;
        gap: 40px;
    }
    
    .jobs .inner h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 33px;    
        color: #3E3E3E;
        text-align: left;
        width: 100%;
    }

    .jobs .inner h1::after {
        width: 32px;
        height: 4px;
        margin: 0;
        left: 0;
    }

    .jobs .cards {
        flex-direction: column;
        gap: 28px;
        margin: 40px 0 60px 0;
    }
}

@media only screen and (max-width: 667px) {    
    .image-grid{
        display: none;
    }
    .images {
        margin: 70px 0;
        padding: 0;
    }

    .instagram .inner {
        padding: 0 32px 0 32px;

        h3 {
            text-align: center;
            margin: 40px 0;
        }

        .button {
            height: 49px;
        }
    }

    .images .inner {
        .career-swiper-container {
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding-bottom: 2em;

            .swiper-pagination {
                opacity: 1;
                display: flex;
                justify-content: center;

                .swiper-pagination-bullet {
                    background-color: white;
                    border: 1px #169FF2 solid;
                    opacity: 1;
                }

                .swiper-pagination-bullet-active {
                    background-color: #169FF2;
                }

            }

            i.swiper-button-prev,
            i.swiper-button-next {
                display: none;
                opacity: 0;
            }

            img {
                aspect-ratio: 16 / 9;
                min-height: 250px;
            }
        }
    }
    
    .images .inner .image-container {
        width: 332px;
        overflow: hidden;
        display: flex;
    }

    .images .inner .image-container .image{
        display: flex;
        flex-wrap: nowrap;
        will-change: transform;
        flex-direction: row;
        transition: transform 300ms ease 0s;
        transform: translate3d(0px, 0px, 0px);
        padding: 0;
        overflow: visible;
        gap: 0;
    }

    .images .inner .image-container .image div {
        height: 248px;
        flex: 0 0 332px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        overflow: hidden;
    }

    .images .inner .image-container .image div img {
        object-fit: cover;
    }

    .instagram .inner h2{
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 33px;
        text-align: center;
        color: #FFFFFF;
        width: 280px;
    }

    .jobs {
        padding: 0;

        h2 {
            margin: 50px 0;
        }

        .cards {
            margin: 0 0 80px 0;
        }
    }

    .bullets {
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style: none;
        margin-top: 24px;
    }

    .bullets li{
        height: 12px;
        width: 12px;
        border-radius: 6px;
        box-sizing: border-box;
        border: 1px solid #169FF2;
        margin-right: 8px;
    }

    .bullets li.active{
        background-color: #169FF2;
    }
}