.heroInner--services {
    background-position: center center;
}

/*********************
START: 
*********************/
.services ul{
    width: 90%;
    margin-inline: auto;
}

li.services--content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

li.services--content:nth-child(odd){
    flex-direction: row;
}

li.services--content:nth-child(even){
    flex-direction: row-reverse;
}

li.services--content:not(:last-child){
    margin-block-end: 80px;
}

.services--text {
    width: 55%;
}

.services--text>span {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.services--text>h2 {
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-block: 1.25rem 2rem;
}

.services--text>p {
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height150);
}

.services--img {
    width: 40%;
    position: relative;
}

.services--img::before {
    position: absolute;
    content: "";
    left: 0;
    top: -34px;
    background-image: url("../img/rectangle.svg");
    background-repeat: no-repeat;
    z-index: -1;
}

.services--img img,
.services--img::before {
    width: 90%;
    height: 520px;
}

.services--img img {
    display: block;
    object-fit: cover;
    object-position: center;
    margin-inline-start: auto;
    border-radius: 250px 250px 30px 30px;
}

/*********************
END: 
*********************/


/*********************
START: CONTACT FORM
*********************/
.dedicatedService{
    padding-block: 140px;
    background-color: #F2F1EB;
}
.dedicatedService--content{
    display: flex;
    justify-content: space-between;
}

.dedicatedService--content > *{
    width: 48%;
}

.dedicatedService--text p{
    margin-block-start: 1rem;
    width: 85%;
}
/*********************
END: CONTACT FORM
*********************/
/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
    .services--text>span {
        font-size: 28px;
    }

    .services--text>h2 {
        font-size: 45px;
    }

    .services--text>p {
        font-size: var(--text-2xl);
        margin-inline-end: 2rem;
    }

}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .services--text>span {
        font-size: var(--text-2xl);
    }

    .services--text>h2 {
        font-size: 40px;
    }

    .services--text>p {
        font-size: var(--text-xl);
        margin-inline-end: 0;
    }

    .dedicatedService{
        padding-block: 130px;
    }
}

@media screen and (max-width: 1319px) {
    .services--text>span {
        font-size: var(--text-xl);
    }

    .services--text>h2 {
        font-size: var(--text-4xl);
    }

    .services--img {
        width: 45%;
    }

    .services--text {
        width: 50%;
    }

     .services--text>p {
        font-size: var(--text-xl);
    }

    
    .dedicatedService{
        padding-block: 120px;
    }

    .dedicatedService--text p{
        width: 90%;
    }
}

@media screen and (max-width: 1200px) {
    .services--text {
        width: 45%;
    }

    .services--img {
        width: 52%;
    }

    .services--img::before {
        top: -30px;
    }

    .dedicatedService{
        padding-block: 110px;
    }

    .dedicatedService--text p{
        width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .services ul{
        width: 100%;
    }

    .services--img img,
    .services--img::before {
        height: 425px;
        width: 93%;
    }

    .services--img::before {
        top: -20px
    }

    .dedicatedService{
        padding-block: 100px;
    }
}

@media screen and (max-width: 768px) {

    li.services--content {
        flex-direction: column-reverse !important;
    }

    .services--text {
        width: 100%;
        margin-block-start: 2rem;
    }

    .services--text>h2 {
        font-size: var(--text-3xl);
        margin-block: 1rem 1.5rem;
    }

    li.services--content:nth-child(odd) .services--text>p {
        font-size: var(--text-lg);
    }

    .services--img {
        width: 100%;
    }

    .services--img img,
    .services--img::before {
        width: 380px;
        height: 450px;
    }

    .services--img img {
        margin-inline: auto;
    }

    .services--img::before {
        left: 40%;
        transform: translateX(-40%);
    }

    .dedicatedService{
        padding-block: 90px;
    }

    .dedicatedService--content{
        flex-direction: column;
    }

    .dedicatedService--content > *{
        width: 100%;
    }

    .dedicatedService--text{
        margin-block-end: 2rem;
    }
}

@media screen and (max-width: 576px) {

    .services--img img,
    .services--img::before {
        width: 300px;
        height: 380px;
    }
}

@media screen and (max-width: 470px) {

    .services--img img,
    .services--img::before {
        width: 250px;
        height: 330px;
    }

    .services--img::before {
        top: -15px;
    }

    .services--img::before {
        left: 37%;
        transform: translateX(-40%);
    }
}

@media screen and (max-width: 425px){
    .services--text>span {
        font-size: var(--text-lg);
    }

    .services--text>h2 {
        font-size: var(--text-2xl);
        margin-block: 1rem;
    }

    li.services--content:nth-child(odd) .services--text>p {
        font-size: var(--text-base);
    }
}

@media screen and (max-width: 375px) {
    .services--img::before {
        left: 35%;
        transform: translateX(-40%);
    }
}


@media screen and (max-width: 320px) {
    .services--img::before {
        content: unset;
    }

    .services--img img {
        width: 100%;
    }
}

/*********************
END: MEDIA
*********************/