/* Button Styling */
.cta {
    display: flex;
    align-items: center;
    padding: 6px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    background: #6225E6; /* Blue background */
    text-decoration: none;
    transition: 0.5s;
    box-shadow: 3px 3px 0 black;
    transform: skewX(-15deg);
    border: none;
    cursor: pointer;
}

/* Mobile Button */
.cta-container-mobile {
    /* Adds some margin for spacing below the carousel */
    margin-top: 15px;
    padding-right: 10px;
}

.cta,
.cta-container-mobile {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.cta:focus {
    outline: none;
}

.cta:hover {
    box-shadow: 8px 8px 0 #FBC638;
}

.cta span {
    transform: skewX(15deg);
}

.cta span:nth-child(2) {
    width: 14px;
    margin-left: 15px;
    position: relative;
    top: 5%;
    transition: 0.4s;
}

.cta:hover span:nth-child(2) {
    margin-right: 30px;
}

/* SVG Animation Paths */
path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

/* SVG Color Animation */
@keyframes color_anim {
    0%, 100% {
        fill: white;
    }
    50% {
        fill: #FBC638;
    }
}

/* Positioning Adjustments */
.position-absolute {
    position: absolute;
}
.top-0 {
    top: 0;
}
.end-0 {
    right: 0;
}
