.services { display: flex; justify-content: space-between; box-sizing: border-box;}
.services_posts_con { width: 50%; display: flex;flex-wrap: wrap;height: fit-content;gap: 3rem; }
.featured_con { width: 45%; }
.services_posts_info p { margin: 0 0 2rem; }
.services_posts { display: flex; justify-content: space-between;  position: relative;height: fit-content;gap: 2rem; width: 100%; transition: all 0.3s ease; --line-progress: 0;}
.service-icon-wrapper { flex: 0 0 15%; position: relative; z-index: 2; /*! width: fit-content; */}
.services_posts_info { flex: 1 1 auto; min-width: 0; }
.services_posts figure { width: 100%; position: relative; border: 1px solid #c1bfbf; height: fit-content; padding: 1.5rem; border-radius: 50px; transition: border-color 0.3s ease; background: #fff; }
.services_posts::after {content: ''; position: absolute; top: 40%; left: 7.5%; width: 1px; height: 120%; background-color: #c1bfbf; z-index: 1; transform: translateX(-50%);}
.services_posts::before {content: ''; position: absolute; top: 40%; left: 7.6%; width: 2.5px; height: 120%; background-color: var(--fifthColor);  transform: translateX(-50%) scaleY(var(--line-progress)); transform-origin: top;z-index: 2;border-bottom: 2rem;}
.services_posts:last-child::before { height: 60%;}
.services_posts:last-child::after { height: 60%; }


.featured_con {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    isolation: isolate;
}

.featured-image {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.featured-image.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.services_posts.active figure {
    border-color: var(--fifthColor);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
