.k-hfsn-list-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.k-hfsn-list-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.k-hfsn-list-item-wrapper {
    --slant: 50px;
    width: calc(100% / 12);
    transition: width 0.25s ease, margin 0.25s ease;
    margin-left: calc(-1 * var(--slant) + 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    height: 422px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: none;
}

.k-hfsn-list-item-wrapper:first-child {
    margin-left: 0;
}

.k-hfsn-list-item-wrapper.active {
    width: 70%;
    z-index: 1;
}

.k-hfsn-li-inner {
    width: 100%;
    height: 100%;
    background: url('/wp-content/uploads/2025/08/what-is-a-server.webp') center/cover no-repeat;
    clip-path: polygon(var(--slant) 0%, 100% 0%, calc(100% - var(--slant)) 100%, 0% 100%);
    border-radius: inherit;
    position: relative;
    overflow: hidden;
}

.k-hfsn-li-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.k-hfsn-li-inner > * {
    position: relative;
    z-index: 2;
}

.k-hfsn-li-content-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.k-hfsn-list-item-wrapper .k-hfsn-li-content-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.k-hfsn-li-side-heading-wrapper {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(165px) rotate(-82.6deg);
    transform-origin: left center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 1s ease;
    opacity: 1;
    visibility: visible;
}

.k-hfsn-list-item-wrapper.active .k-hfsn-li-side-heading-wrapper {
    opacity: 0;
    visibility: hidden;
}

.k-hfsn-li-content-inner {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.k-hfsn-li-sd-icon-wrapper {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    margin-right: 6px;
}
.k-hfsn-li-content-icon-wrapper {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    margin-bottom: 30px;
}
.k-hfsn-li-content-heading-wrapper {
    margin-bottom: 16px;
}
.k-hfsn-li-content-heading-wrapper h2 {
    color: #fff;
    text-transform: capitalize;
    font-size: 30px;
    line-height: 30px;
}
.k-hfsn-li-content-desc-wrapper {
    font-size: 18px;
    line-height: 24px;
    text-align: justify;
    font-weight: 500;
}