.cs-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* LEFT PANEL */
.cs-left {
    position: absolute;
    top: 50%;
    left: 0; /* NO GAP */
    transform: translateY(-50%);
    z-index: 10;
}

.cs-left ul {
    list-style: none; /* REMOVE BULLETS */
    padding: 0;
    margin: 0;
}

.cs-left li {
    margin: 8px 0;
    padding: 12px 22px;
    background: rgba(5, 14, 27, 0.4); /* #050E1B transparent */
      backdrop-filter: blur(14px); /* Apply the blur effect to the background area */
        -webkit-backdrop-filter: blur(14px);
    color: #fff;
    cursor: pointer;
    border-radius: 0 10px 10px 0; /* attached to left */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-left li.active {
    background: rgba(5, 14, 27, 0.8);
    transform: scale(1.08);
}

/* RIGHT SECTION */
.cs-right {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* SMOOTH TRACK */
.cs-track {
    display: flex;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); /* SUPER SMOOTH */
    will-change: transform;
}

.cs-item {
    min-width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* TEXT OVERLAY */
.cs-overlay {
    position: absolute;
    bottom: 40px;
    left: 250px;
    color: #fff;
    max-width: 500px;
}

.cs-overlay h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cs-overlay p {
    font-size: 16px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .cs-left {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: none;
    }

    .cs-left ul {
        display: flex;
        justify-content: center;
        background: rgba(5,14,27,0.6);
         backdrop-filter: blur(14px); /* Apply the blur effect to the background area */
        -webkit-backdrop-filter: blur(14px);
    }

    .cs-left li {
        margin: 0;
        border-radius: 0;
        flex: 1;
        text-align: center;
        font-size: 14px;
        padding: 12px;
    }

    .cs-right,
    .cs-item {
        height: 400px;
    }

    .cs-overlay {
        left: 20px;
        bottom: 100px;
    }

    .cs-overlay h2 {
        font-size: 22px;
    }

    .cs-overlay p {
        font-size: 14px;
    }
}