.job-gallery--hmepage {
    background-color: #021327;
}

.job-gallery__heading .sub-heading {
    color: #fff;
    font-size: 35px;
    font-style: italic;
    margin-bottom: 13px;
    line-height: 1.142em;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    padding-left: 0;
}

.job-gallery__heading .sub-heading::before {
    display: none;
}

.job-gallery__heading h2 {
    color: #fff;
    font-size: 53px;
    font-style: italic;
    line-height: 0.9em;
    text-align: right;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(0, 75, 255, 0.25), #004BFF 83%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 7px;
    margin: 0 0 30px;
}

@media( max-width:600px ) {
    .job-gallery__heading h2 {
        max-width: 320px;
        margin-left: auto;
    }
}

.job-gallery__heading h2 span {
    margin-right: 10px;
}

.job-gallery__list {
    position: relative;
    width: 437px;
    height: 301px;
    left: 50%;
    transform: translate(-50%, 0);
    margin-bottom: 83px;
}

.job-gallery__list__item {
    position: absolute;
}

.job-gallery__list__item img {
    border-radius: 8px;
    box-shadow: 0 2px 50px rgba(255, 255, 255, 0.1);
}


.job-gallery__list__item.small {
    width: 153px;
    height: 101px;
    left: 0;
    bottom: 54px;
}

.job-gallery__list__item.large {
    width: 266px;
    height: 156px;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.job-gallery__list__item.medium {
    width: 210px;
    height: 128px;
    left: 97px;
    top: 0;
}

.gallery-round-curve {
    position: absolute;
    bottom: -57px;
    left: -73px;
    width: 319px;
    box-shadow: none !important;
    max-width: initial;
}

.job-gallery__btn .btn {
    padding: 14px 51px 14px 25px;
}

.job-gallery__btn .btn::after {
    right: 24px;
}

.job-gallery__btn {
    text-align: center;
}

@media(min-width: 768px) {
    .job-gallery__list {
        display: flex;
        width: calc(100% + 16px);
        height: 156px;
        flex-wrap: wrap;
        margin: 0 -8px 67px;
        align-items: flex-start;
    }


    .job-gallery__list__item {
        position: relative;
        padding: 0 8px;
    }



    .job-gallery__list__item.small {
        bottom: 0;
        width: 25%;
    }

    .job-gallery__list__item.large {
        width: 42%;
    }

    .job-gallery__list__item.medium {
        left: 0;
        width: 33%;
    }

    .gallery-round-curve {
        bottom: -51px;
        left: -65px;
    }

    .job-gallery__heading .sub-heading {
        font-size: 38px;
        margin-bottom: 16px;
    }

    .job-gallery__heading h2 {
        font-size: 68px;
        letter-spacing: normal;
        padding-right: 7px;
        margin: 0 0 25px;
    }

    .job-gallery__heading h2 span {
        margin-right: 0;
    }

    .job-gallery__heading {
        max-width: 664px;
        margin: 0 auto;
    }
}


@media(min-width: 1200px) {
    .job-gallery__list {
        width: calc(100% + 32px);
        height: 298px;
        margin:0 -16px 10px;
        position: relative;
        z-index: 1;
    }

    .job-gallery__list__item {
        padding: 0 16px;
    }

    .job-gallery__list__item.small {
       
        height: 170px;
    }

    .job-gallery__list__item.large {
        
        height: 274px;
    }

    .job-gallery__list__item.medium {
       
        height: 221px;
    }

    .job-gallery__btn {
        text-align: right;
    }

    .gallery-round-curve {
        bottom: -113px;
        width: 640px;
        left: -130px;
    }

    .job-gallery--hmepage {
        padding-bottom: 68px;
        position: relative;
        background: linear-gradient(215deg, rgb(2 30 63) 20%, rgb(2 19 39) 100%);
    }

    .job-gallery__heading {
        max-width: 100%;
        position: relative;
        z-index: 1;
    }

    .job-gallery__heading .sub-heading {
        font-size: 50px;
        margin-bottom: 8px;
    }

    .job-gallery__heading h2 {
        font-size: 114px;
        margin: 0 0 44px;
    }

    .job-gallery--hmepage:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(180deg, rgba(2, 19, 39, 1) 0, rgba(2, 19, 39, 0) 49%);
    }

    .job-gallery--hmepage:before {
        content: "";
        position: absolute;
        right: 0;
        top: -60px;
        width: 100%;
        height: 300px;
        background: linear-gradient(180deg, rgb(2 19 39) 10%, rgb(2 19 39 / 3%) 64%);
    }

    .job-gallery__btn .btn {
        padding: 19px 76px 19px 50px;
    }

    .job-gallery__btn .btn::after {
        right: 48px;
    }
}

@media(min-width: 1500px) {
    .job-gallery__list__item.small {
        height: 194px;
    }

    .job-gallery__list__item.large {
        height: 298px;
    }

    .job-gallery__list__item.medium {
        height: 245px;
    }

}
