.switch {
    position: relative;
    display: inline-block;
    width: 97px;
    height: 35px;
    background-color: #F36F25;
    border-radius: 60px;
}

.switch::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 48px;
    height: 27px;
    background-color: #fff;
    border-radius: 52px;
    transition: transform 0.2s;
}

.switch:has(.hi.active)::before {
    transform: translateX(44px);
}

.language-option {
    position: absolute;
    top: 14px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    width: 50%;
    text-align: center;
}

.en {
    left: 0;
    padding-left: 2px;
    margin-top: -4px;
}

.hi {
    right: 0;
    padding-right: 4px;
    margin-top: -4px;

}

.language-option.active {
    color: #F36F25;
}

.language-option:not(.active) {
    color: #fff;
}