body {
    background-color: #f8f9fa;
    /* Optional: Light background */
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.grid-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.green {
    background-color: #008000;
    color: white;
}

.red {
    background-color: #FF0000;
    color: white;
}

.violet {
    background: conic-gradient(#9c27b0 50%, #008000 50%);
    color: white;
}

.green-button {
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Violet button: no rounded corners */
.violet-button {
    border-radius: 10px;
    background-color: #9c27b0;
    color: white;
}

/* Red button: rounded top-left and bottom-right */
.red-button {
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader-img {
    width: 100px;
    animation: fade-rotate 2s ease-in-out infinite;
}

@keyframes fade-rotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

.fixed_kefu {
    position: fixed;
    right: 5px;
    top: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    color: #000;
    border-radius: 50%;
    background: #fff;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 1px #000;
}

.fixed_kefu img {
    max-width: 65px;
    max-height: 65px;
    width: 100%;
    height: 100%;
}

.htwspan {
    /* margin: 0 auto; */
    display: table;
    color: #000;
    font-size: 25px;
    /* margin-top: 5px; */
    margin-bottom: 15px;
    margin-top: 10px;
}

.box img {
    width: 72px;
    height: 65px;
    padding: 5px;
    margin: 5px;
}

.box {
    align-self: flex-end;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    margin: -10px auto -20px auto;
    transform-origin: bottom;
    width: 200px;
}

.bounce-1,
.bounce-3,
.bounce-5 {
    animation-name: bounce-1;
    animation-timing-function: linear;
}

@keyframes bounce-1 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.bounce-2,
.bounce-4 {
    animation-name: bounce-2;
    animation-timing-function: linear;
}

@keyframes bounce-2 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }
}

.counter li {
    display: inline-block;
    font-size: 14px;
    list-style-type: none;
    padding: 0.5em;
    text-transform: uppercase;
    font-weight: 500;
    background: #fff;
    margin-bottom: 15px;
    width: 23%;
    border-radius: 15px 15px;
    box-shadow: 3px 5px 0 rgb(172 182 192 / 30%);
}

.counter li span {
    background: #FAFAFB;
    display: block;
    margin-top: 10px;
}

.ribbon {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    position: absolute;
    top: 30px;
    margin-left: 33%;
}

.card .card-title {
    color: #696969;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px
}

.fade-item {
    text-align: center;
    padding: 20px 0px;
    list-style: none;
    transition: 2s all ease-in-out;
    opacity: 0;
}

.tabs-list .active span {
    background: #FFF7F7;
}

.tabs-list .active a {
    box-shadow: 0 2px 4px 3px rgb(238 211 215 / 30%);
}

.tabs-list a .redimg {
    display: none;
}

.tabs-list .active .redimg {
    display: block;
}

.tabs-list li span {
    background: #DFDFDF;
}

#overlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;

    z-index: 99999;
}

#overlay-content {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: red;
    text-align: center
}

#text {
    margin-top: 70vh;
    font-size: 28px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}


#countdowntimer {
    margin: 28px;
    font-size: 20px;
    text-align: center;
    color: red;
    font-weight: 500;
    float: right;
    border-radius: 65%;

    background: #fff;
    padding: 5px 15px;
}

.word-bx {
    font-size: 10px;
    font-weight: 100;
    color: #eee;
}

.cssbox {
    overflow: hidden;
    position: relative;
    display: flex;
    height: 30px;
}

.swipetext {
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    padding: 0 10px;
    height: 45px;
    margin-bottom: 45px;
    display: block;
}

.words {
    animation: words 10s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

@keyframes words {
    0% {
        margin-top: -360px;
    }

    5% {
        margin-top: -270px;
    }

    25% {
        margin-top: -270px;
    }

    30% {
        margin-top: -180px;
    }

    50% {
        margin-top: -180px;
    }

    55% {
        margin-top: -90px;
    }

    75% {
        margin-top: -90px;
    }

    80% {
        margin-top: 0px;
    }

    99.99% {
        margin-top: 0px;
    }

    100% {
        margin-top: -270px;
    }
}

.table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    list-style: none;
    margin-bottom: -20px;
    margin-top: -5px;
    margin-left: -8px;
}

.table li {
    display: table-cell;
    text-align: center;


}


.carousel {
    border-radius: 20px;
    overflow: hidden;
}

.rounded-div {
    border-radius: 20px;
}

@keyframes bounceVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
        /* You can adjust this value */
    }
}

.bounce-slow {
    animation: bounceVertical 3s infinite ease-in-out;
}

.tabs-list li:nth-child(1) a {
    background-color: rgb(24, 189, 211);
    /* First tab (red) */
}

.tabs-list li:nth-child(2) a {
    background-color: rgb(51, 54, 255);
    /* Second tab (blue) */
}

.tabs-list li:nth-child(3) a {
    background-color: #28a745;
    /* Third tab (green) */
}

.tabs-list li:nth-child(4) a {
    background-color: #ffc107;
    /* Fourth tab (yellow) */
}

.appBottomMenu .item img {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.appBottomMenu span {
    font-weight: bold;
}

.fixed_kefu img {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.vibrate-icon {
    display: inline-block;
    animation: vibrate 0.3s linear infinite;
}

@keyframes vibrate {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}