.p-services-services-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.p-service-item {
    display: flex;
    flex-direction: column;
    gap: 25px;
    scroll-margin-top: 200px;
}

.p-service-item-image {
    width: 100%;
    height: 400px;
}

.p-service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-service-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--theme-primary);

}

.p-service-item-icon img {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
    object-fit: contain;
}

.p-service-item-title-and-icon span {
    display: block;
    margin-top: 10px;
}

.p-service-item-content p {
    margin-top: 20px;
}

.p-service-item-content p span {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 10px;
}

.p-service-item-title-and-icon {
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.p-service-item-title-and-icon::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0px;
    height: 1px;
    width: 30%;
    min-width: 100px;
    background: var(--theme-primary);
}

.p-services-property-image {
    display: none;
}

.p-services-mobile-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p-services-mobile-item {
    width: 100%;
    background: var(--theme-primary);
    padding: 0px 15px;
}

.p-service-immobilie-item-content p {
    margin-top: 20px;
}

.p-service-immobilie-item-content {
    padding: 20px 0px;
    color: var(--white);
}

.p-service-immobilie-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    margin-bottom: 10px;
}

.p-service-immobilie-item-icon img {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
    object-fit: contain;
}

.p-service-immobilie-item-icon-text {
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.p-service-immobilie-item-icon-text::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 50%;
    height: 1px;
    background: var(--white);
}

.p-services-desktop-wrapper {
    display: none;
}

@media only screen and (min-width:992px) {
    .p-service-item {
        flex-direction: row;
        gap: 30px;
    }

    .p-services-mobile-only {
        display: none;
    }

    .p-service-item-image {
        width: calc(40% - 15px);
    }

    .p-service-item-content {
        width: calc(60% - 15px);
    }

    .p-services-services-container {
        gap: 150px;
        margin-top: 80px;
    }

    .p-service-item-content p {
        margin-top: 35px;
    }

    .p-service-item-reverse .p-service-item-image {
        order: 2;
    }

    .p-service-item-reverse .p-service-item-content {
        order: 1;
    }

    .p-services-desktop-wrapper {
        display: block;
    }

    .p-services-mobile-items {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 50px;
        position: relative;
        z-index: 10;
    }

    .p-service-immobilie-item {
        width: calc(45% - 25px);
    }

    .p-services-desktop {
        position: absolute;
        width: calc(50% - 10px);
        background: var(--theme-primary);
        height: 100%;
        top: 0px;
        z-index: 2;
    }

    .p-services-desktop-first {
        left: 0px;
    }

    .p-services-desktop-second {
        right: 0px;
    }

    .p-services-property-section {
        position: relative;
    }

    .p-services-property-image {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 3;
    }

    .p-services-property-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .p-service-immobilie-item-content {
        padding: 50px 0px 20px 0px;
    }
}

@media only screen and (min-width:1200px) {
    .p-service-item {
        align-items: center;
        gap: 50px;
    }

    .p-service-item-image {
        width: calc(40% - 25px);
        height: 500px;
    }

    .p-service-item-content {
        width: calc(60% - 25px);
    }

    .p-service-immobilie-item-content {
        padding: 80px 0px 35px 0px;
    }

    .p-service-immobilie-item-content p {
        width: 90%;
    }
}

@media only screen and (min-width:1400px) {
    .p-service-item-image {
        height: 550px;
        width: calc(45% - 25px);
    }

    .p-service-item-content {
        width: calc(55% - 25px);
    }

    .p-service-immobilie-item-content p {
        margin-top: 25px;
    }
}

@media only screen and (min-width:1600px) {
    .p-service-item-image {
        height: 600px;
    }

    .p-service-item-content p {
        width: 90%;
    }

    .p-service-item-content p span {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .p-service-immobilie-item-content {
        padding: 100px 0px 30px 0px;
    }

    .p-service-immobilie-item-content p {
        width: 80%;
    }
}

@media only screen and (min-width:1800px) {
    .p-service-item-image {
        height: 650px;
        width: calc(44% - 25px);
    }

    .p-service-item-content {
        width: calc(56% - 25px);
    }
}