/* Scrolling Pills Section */
.scrolling-pills-area {
    position: relative;
}

.scrolling-pills-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-top: 15px;
}

.scrolling-pills-wrapper {
    position: relative;
    padding: 10px 0;
    overflow: hidden;
}

.scrolling-pills-wrapper::before,
.scrolling-pills-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.scrolling-pills-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.scrolling-pills-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.pills-row {
    display: flex;
    overflow: hidden;
    margin-bottom: 16px;
}

.pills-track {
    display: flex;
    gap: 14px;
    white-space: nowrap;
    will-change: transform;
}

/* Left scrolling */
.pills-row--left .pills-track {
    animation: scrollLeft 35s linear infinite;
}

/* Right scrolling */
.pills-row--right .pills-track {
    animation: scrollRight 35s linear infinite;
}

/* Slower variant */
.pills-row--slow .pills-track {
    animation-duration: 45s;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.pill-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    flex-shrink: 0;
}

.pill-item:hover {
    background: #7463FF;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(116, 99, 255, 0.4);
}

/* Pause on hover */
.scrolling-pills-wrapper:hover .pills-track {
    animation-play-state: paused;
}

.hero-cards {
    /* border-radius: 12px; */
    /* overflow: hidden; */
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
    max-width: 320px;
}

.app-screen-container {
    max-width: 90%;
    margin: 0 auto;
}

.ais-section-title {
    font-size: 36px;
    line-height: 1.35;
    text-transform: capitalize;
}

#current-year {
    font-weight: 500;
    color: var(--tp-common-blue);
}

.text-blue {
    color: var(--tp-common-blue);
}

.tp-header-menu>nav>ul>li>a {
    font-size: 15px;
}

.xuuri-business-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #111013;
}

.xuuri-business-brand__mark {
    display: block;
    width: auto;
    height: 20px;
    object-fit: contain;
}

.xuuri-business-brand__text {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}

.xuuri-business-brand__xuuri {
    font-weight: 500;
}

.xuuri-business-brand__business {
    font-weight: 300;
}

#ball {
    background-color: var(--tp-common-blue);
}

@media (max-width: 768px) {
    .scrolling-pills-desc br {
        display: none;
    }

    .pill-item {
        padding: 10px 22px;
        font-size: 13px;
    }

    .pills-row {
        margin-bottom: 10px;
    }

    .scrolling-pills-wrapper::before,
    .scrolling-pills-wrapper::after {
        width: 40px;
    }
}

.app-feature-title {
    font-size: 1.25rem;
    text-transform: capitalize;
}

/* Animated Business Types */
.business-type-slider {
    display: inline-block;
    height: 1.25em;
    overflow: hidden;
    vertical-align: text-bottom;
}

.business-type-slider .type-wrapper {
    display: flex;
    flex-direction: column;
    animation: textScrollUp 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.business-type-slider .type-item {
    height: 1.25em;
    line-height: 1.25em;
    text-transform: capitalize;
    white-space: nowrap;
    display: flex;
    align-items: center;
    color: #7463FF;
}

.ais-testimonial-wrap::before {
    background: linear-gradient(91deg, #d9daf8 10.9%, rgba(255, 255, 255, 0) 88.65%)
}

.ais-testimonial-wrap::after {
    background: linear-gradient(-91deg, #d9daf8 10.9%, rgba(255, 255, 255, 0) 88.65%);
}

.pills-row {
    margin-bottom: 0;
    padding: 8px;
    overflow: visible;
}



@keyframes textScrollUp {

    0%,
    16% {
        transform: translateY(0);
    }

    20%,
    36% {
        transform: translateY(-16.666%);
    }

    40%,
    56% {
        transform: translateY(-33.333%);
    }

    60%,
    76% {
        transform: translateY(-50%);
    }

    80%,
    96% {
        transform: translateY(-66.666%);
    }

    100% {
        transform: translateY(-83.333%);
    }
}

/* Nav menu active class */
.tp-mobile-menu-active ul li.active>a,
.tp-offcanvas-menu ul li.active>a {
    color: #7463FF !important;
}

/* Ensure #7463FF is the primary color for buttons */
:root {
    --tp-common-blue: #7463FF;
}

.tp-btn-black-radius.btn-blue-bg,
.btn-blue-bg {
    background-color: #7463FF !important;
    border-color: #7463FF !important;
}

.btn-blue-bg i {
    color: #7463FF !important;
}
