*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    scroll-behavior: auto;
    overflow-x: hidden;
}

* {
    -ms-word-wrap: break-word;
    word-wrap: break-word
}

ul {
    padding: 0;
    margin: 0;
    list-style: none
}

p {
    padding: 0;
    margin: 0
}

.pointer {
    cursor: pointer
}

:root {
    --color-black: #010101;
    --color-white: #F2F6F9;
    --text-green: #892CDF;
    --text-yellow: #892CDF;
    --liner-gradient: linear-gradient(90deg,
            #B57E10 0%,
            #E5C35C 20%,
            #F9DF7B 40%,
            #FFF3A6 60%,
            #F9DF7B 80%,
            #B57E10 100%);
    --pera-color: #A1A1A1;
}

a,
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: var(--color-white)
}

body {
    font-family: "Proxima Nova", Arial, sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
}

.text_green {
    color: var(--text-green);
}

.main_heading {
    font-size: 50px;
    font-weight: 700;
    color: var(--color-white);
}

.sub_heading {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
}

.medium_heading {
    font-size: 30px;
    font-weight: 400;
    color: var(--color-white);
}

.small_heading {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-white);
}

.extra_small_heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--pera-color);
}

.pera_text {
    font-size: 16px;
    color: var(--pera-color);
    font-weight: 400;
}

.container-fluid {
    padding: 0px 50px;
}

.section_space {
    padding-block: 90px;
}

.text-theme {
    color: var(--text-green);
}

.button,
.play_btn {
    outline: none;
    border: none;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    /* transition: all .4s ease-in-out; */
    border-radius: 10px;
    text-align: center;
    padding-inline: 30px;
    width: max-content;
    font-size: 16px;
    font-weight: 700;
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    z-index: 3;
    color: var(--color-white) !important;
    transition: transform 50ms ease;
    background: var(--text-green);
    animation: welcome 0.5s ease 0s 1 normal forwards;
}

.button:hover>i::before {
    transform: rotate(45deg);
}

.button>i::before {

    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.button:hover {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(230, 219, 67, 0.9);
    -moz-box-shadow: 0px 0px 10px 0px rgba(224, 178, 78, 0.9);
    box-shadow: 0px 0px 10px 0px #FFF3A6;
    animation: animate 8s ease infinite;
    transition: box-shadow, 0.4s;
    border: none;
    background: linear-gradient(90deg, #fdec53, #FFF3A6, #dfad41, #fdec53);

    background-size: 400%;
}


@keyframes animate {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 400%;
    }
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}

button:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

/* .button:hover::after {
    opacity: 1;
}

.button-border {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
    z-index: -1;
}

.button-border::before {
    content: "";
    position: absolute;
    border-radius: 0.5rem;
    padding: 1px;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 223, 0, 0.24) 0%,
            rgba(255, 239, 184, 0) 100%),
        linear-gradient(0deg, rgba(255, 223, 0, 0.32), rgba(255, 223, 0, 0.32));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
} */

/* //////HEADER CSS START////// */

.main_header {
    padding: 30px 0;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
}

.main_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-black);
    /* optional */
}

.main_nav li {
    padding: 0 25px;
}

.main_nav li a {
    font-size: 16px;
    position: relative;
    display: block;
    transition: 0.5s;
    padding-bottom: 5px;
    color: var(--color-white);
    font-weight: 400 !important;
}

.main_nav li a:hover {
    color: var(--text-yellow);
}

.main_nav li:hover a::after,
.main_nav li a.active::after {
    transform: scaleX(1);
    transform-origin: left
}

.valonex_logo {
    width: 160px;
}

/* ////// HEADER CSS END ////// */

/* ////// FOOTER CSS START ////// */

.footer_social {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    height: 41px;
    width: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s linear;
}

.footer_social:hover {
    background: var(--text-yellow);
}

.footer_menu li a:hover,
.bottom_footer a:hover {
    color: var(--text-yellow);
}

.bottom_footer p {
    color: var(--pera-color);
}

.bottom_footer a {
    color: var(--pera-color);

}

/* ////// FOOTER CSS END ////// */


/* ------------------- hero section css ------------- */


.shape_1 {
    position: absolute;
    top: -150px;
    left: 0px;
    z-index: -1;
}

.shape_2 {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -1;
}

.hero_sec {
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px !important;
}

/* ---------------- about section --------------- */
.about_shape {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about_card {
    padding: 40px 25px;
    height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.bg_color {
    background-color: #050505;
}

.icon_bg {
    background-color: var(--text-green);
    border-radius: 10px;
    width: 45px;
    height: 45px;
    padding: 8px;
}

.app_sec {
    background: url("../image/appbg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 800px;
}

/* -------------- app card css -------- */

.app_card {
    padding: 40px;
}

.app_icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--color-black);
}

.app_icon:hover img {
    transform: rotateY(180deg);
}

.card_sec {
    background: url("../image/cardbg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 800px;
    background-attachment: fixed;
}

.mobile_img {
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
}

.bg_green {
    background: rgba(32, 31, 45, 0.40);
}

.cta_img {
    width: 32%;
}

.play_btn {
    background: rgba(137, 44, 223, 0.60);
    color: var(--color-white) !important;
    transition: all 0.5s linear;
}

.play_btn:hover {
    background: var(--color-white);
    color: var(--text-green) !important;

}

.bottom_footer {
    border-top: 1px solid #ffffff36;
    padding: 15px 0px;
}



/* .cardbox img {
    left: 50%;
    position: relative;
    top: 20%;
    transform: translateX(-50%) rotate(339deg) rotateY(8deg) rotateX(357deg);
    width: 500px;
    z-index: 3;
    transform-style: preserve-3d;
    will-change: transform;
}



.cardbox img:nth-child(2) {
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 2;
}

.cardbox img:nth-child(3) {
    position: absolute;
    left: 50%;
    top: 40%;
    z-index: 1;

} */
.cardbox {
    width: 100%;
    height: 100%;
    /* perspective: 1000px; */
}

.cardbox img {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 500px;
    z-index: 3;
    transform-style: preserve-3d;
    will-change: transform;

}

/* .card1 {
    top: 10%;
    z-index: 3;
    animation: cardFloat1 5s ease-in-out infinite;
}

.card2 {
    top: 15%;
    z-index: 2;
    animation: cardFloat2 4s ease-in-out infinite;
    animation-delay: 0.1s;
}

.card3 {
    top: 20%;
    z-index: 1;
    animation: cardFloat3 6s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes cardFloat1 {
    0% {
        transform: translate(-50%, -4%);
    }

    50% {
        transform: translate(-50%, 4%);
    }

    100% {
        transform: translate(-50%, -4%);
    }
}


@keyframes cardFloat2 {
    0% {
        transform: translate(-50%, -3%);
    }

    50% {
        transform: translate(-50%, 3%);
    }

    100% {
        transform: translate(-50%, -3%);
    }
}

@keyframes cardFloat3 {
    0% {
        transform: translate(-50%, -2%);
    }

    50% {
        transform: translate(-50%,2%);
    }

    100% {
        transform: translate(-50%, -2%);
    }
} */
.card1 {
    top: 10%;
    z-index: 3;
    animation: cardFloatUp 5s ease-in-out infinite;
}

.card2 {
    top: 15%;
    z-index: 2;
    animation: cardFloatUp 5s ease-in-out infinite;
    animation-delay: 0.2s;
}

.card3 {
    top: 20%;
    z-index: 1;
    animation: cardFloatUp 5s ease-in-out infinite;
    animation-delay: 0.4s;
}

/* Card floating upward and downward alternately */
@keyframes cardFloatUp {
    0% {
        transform: translate(-50%, 4%);
    }

    50% {
        transform: translate(-50%, -4%);
    }

    100% {
        transform: translate(-50%, 4%);
    }
}


.hero_card {
    max-width: 80%;
}

.animation_card {
    position: absolute;
    top: 0px;
    left: 10%;
    width: 76%;
    transition: transform 0.3s ease-out;
    will-change: transform;
    z-index: -1;
}

.scroll_section {
    position: absolute;
    height: 200vh;
    /* enough scroll space */
}


.animated-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    perspective: 1200px;
    position: absolute;
}

.animated-card {
    width: 420px;
    max-width: 80%;
    border-radius: 18px;
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
}

.payment_card {
    height: 500px;
}

.virtual_card {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(332deg);
    z-index: 10;
    animation: cardMove 4s ease-in-out infinite;
    width: 400px;
}


@keyframes cardMove {
    0% {
        transform: translate(-50%, -55%) rotate(332deg);

    }

    50% {
        transform: translate(-50%, -48%) rotate(332deg);

    }

    100% {
        transform: translate(-50%, -55%) rotate(332deg);

    }
}

.payment_img {
    position: absolute;
    left: 40%;
    max-width: 400px;
    z-index: 5;
    top: auto;
    /* important! */
    transform: none;
    /* let Framer Motion handle rotation */
}

.go_back {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--text-green);
    color: var(--color-white);
    border-radius: 5px;
    position: fixed;
    bottom: 20px;
    z-index: 999;
    right: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: floatUpDown 1.5s ease-in-out infinite;
    animation: pulse 2s infinite
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 #51008083;
        box-shadow: 0 0 0 0 #51008083
    }

    70% {
        -moz-box-shadow: 0 0 0 10px #510080ae;
        box-shadow: 0 0 0 10px #510080ae;
    }

    100% {
        -moz-box-shadow: 0 0 0 0 #5100808f;
        box-shadow: 0 0 0 0 #5100808f
    }
}