@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    font-family: "Poppins", sans-serif;
}


/* Optional: Smooth animation */
.count-up {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 2s ease-out;
}

@keyframes shine {
    0% {
        background-position: -200%;
    }

    100% {
        background-position: 200%;
    }
}

.shine-effect {

    overflow: hidden;
    background: linear-gradient(110deg, #87ddff 40%, #ffffff 50%, #87ddff 60%);
    background-size: 200% 100%;
    animation: shine 4s infinite linear;
}



/* Glassmorphism */
.bg-glass {
    backdrop-filter: blur(25px) saturate(100%);
    -webkit-backdrop-filter: blur(25px) saturate(100%);
    background-color: rgba(255, 255, 255, 0.178);
}


/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ffd900;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 0.2s linear infinite;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}






.btn-shine {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}



.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.452) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
    animation: shine 3s infinite ease-in-out;
}

.btn-shine:hover::before {
    animation-duration: 2s;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}