.cta {
    position: relative;
    padding: 12px 18px;
    padding-left: 7px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #fff;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
    transition: color 0.3s ease;
    /* Add transition for color change */
}

.cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #234567;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta:hover:before {
    width: 100%;
    background: #31485E;
    color: white;
}

.cta:hover svg {
    transform: translateX(0);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #fff;
    stroke-width: 2;
}

/* This rule changes the color of the .cta span when hovering */
.cta:hover span {
    color: white;
    /* Change color to white or any other color */
}

.cta:active {
    transform: scale(0.95);
}