.owl-carousel .item {
    position: relative;
    min-height: 60vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

main .container{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

img{
    width: 100%;
    object-fit: contain;
}




@media(min-width: 1024px){

    main .container {
        width: 80%;
    }

    .service-item {
        width: 100%;
        display: flex;
        align-items: center;
        min-height: 450px;
        font-size: 1.1em;
        line-height: 1.6;
    }

    .slide-left{
        padding: 15px 50px;
        gap: 80px;
        /* background-color: #FFFBD6; */
    }
    
    .slide-left .details{
        width: 70ch;
        align-self: center;
    }

    .image-wrapper {
        align-self: center;
        width: 50%;
    }

    .slide-left,
    .slide-right {
        display: flex;
        align-content: center;
    }

    .slide-right{
        justify-content: flex-end;
        padding: 15px 50px;
    }

    .slide-right .details {
        width: 50%;
        align-self: center;
        z-index: 1;
    }
    
    .houses,
    .property{
        position: relative;
        background-size: cover;
        background-position: center center;
        color: #fff;
    }
    
    .houses{
        background-image: url("../media/bird-s-eye-view-of-three-houses-1546166@2x.jpg");
    }

    .houses::before,
    .property::before{
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #00000071;
    }

    .property{
        background-image: url("../media/property-management.jpg");
    }
}