/********************* base *****************/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body{
    font-family: "Lato", sans-serif;
    font-weight: 700;
}

p{
    color: var(--bs-gray);
}
span{
    line-height: normal;
}



/********************* costume classes *****************/
.fs__small{
    font-size: 0.8rem;
}
.p__section{
    padding: 6rem 0;
}
.bg__light{
    background-color: var(--bs-light);
}
.bg__xlight{
    background-color: rgb(108, 117, 125, 0.05);
}
.text__light{
    color: var(--bs-gray)
}
.bg__primary-lighter{
    background-color: rgba(109, 87, 252, 0.7)
}



/********************* costume bootstrap *****************/
:root {
    --bs-primary: #6D57FC;
    --bs-black: #0C0A1C;
    --bs-gray: rgba(12, 10, 28, 0.5);
    --bs-light: #F4F2F3;
}
.text-primary{
    color: var(--bs-primary) !important;
}
.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.btn-primary{
    background-color: var(--bs-primary) !important;
    color: white !important;
}
.btn-primary:hover{
    background-color: rgba(109, 87, 252, 0.8) !important;
}

.btn-black {
    color: white;
    background-color: var(--bs-black);
    border-color: var(--bs-black);
}
.btn-black:hover {
    color: white;
    background-color: var(--bs-black);
    border-color: var(--bs-black);
}
.bg-primary{
    background-color: var(--bs-primary) !important;
}



/********************* navbar *****************/
.navbar .flag-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
}
.navbar .no-focus:focus {
    outline: none;
    box-shadow: none;
}
.navbar .dropdown-menu{
    min-width: auto;
}
.navbar .active, .navbar .nav-link:hover{
    color: var(--bs-black);
}



/********************* hero *****************/
.hero .bg__primary-linear{
    height: 322px;
    width: 322px;
    background: linear-gradient(180deg, rgba(109, 87, 252, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero .aside__card{
    bottom: 90px;
    right: 80px;
}
.hero .aside__card .circle__group{
    top: 5%;
}
.hero .aside__card .circle__group > div {
    width: 9px;
    height: 9px;
}
.hero .aside__card .circle__group > div:nth-child(1) {
    background-color: #ED3B3B;
}
.hero .aside__card .circle__group > div:nth-child(2) {
    background-color: #30C1FF;
}
.hero .aside__card .circle__group > div:nth-child(3) {
    background-color: #BEF848;
}
.hero .aside__card h4{
    line-height: 20px;
    top: 20%;
}



/********************* features *****************/
.features .bg__colored-primary-linear{
    background: radial-gradient(97.57% 210.75% at 0.9% 2.98%, rgba(255, 50, 62, 0.5) 0%, rgba(96, 72, 255, 0.5) 100%)
}
.features .bg__light-primary-linear{
    background: radial-gradient(97.57% 210.75% at 0.9% 2.98%, rgba(187, 177, 255, 0.5) 0%, rgba(109, 87, 252, 0.5) 100%);
}
.features .rounded__pill-left{
    border-radius: 50rem 50rem 50rem 0;
}
.features .features__card-4 .negative__top{
    top: -130px
}


/********************* loyalty *****************/
.loyalty .left__card{
    right: 80px
}
.loyalty .left__card .complete__span{
    background-color: #32C001;
    width: 65%;
    letter-spacing: 2px
}
.loyalty .right__card{
    left: 50px
}


/********************* faq *****************/
.faq .faq__bg{
    width: 100%;
    height: auto;
    max-width: 1058px;
    max-height: 1072px;
    z-index: -1;
}
.faq .faqQuestionBox:focus-within {
    border: 1px solid var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(109, 87, 252, 0.2);
    background-color: white;
}
.faq #sendButton svg {
    transition: all 0.3s;
}
.faq #sendButton svg path {
    transition: all 0.3s;
}
.faq #sendButton:hover svg path {
    fill: var(--bs-primary);
    stroke: var(--bs-primary);
}
.faq .accordion-button{
    background: none !important;
    box-shadow: none !important;
}
.faq .accordion-button:focus {
    outline: none;
    box-shadow: none;
}
.faq .accordion-item:first-child {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.faq .accordion-item:last-child {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}



/********************* footer *****************/
.footer .subscribe-input {
    border-radius: 0.375rem 0 0 0.375rem;
}
.footer fieldset {
    width: 60%;
}
.footer fieldset:focus-within {
    border: 1px solid var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(109, 87, 252, 0.2);
    background-color: white;
}
.footer .subscribe-btn {
    border-radius: 0 0.375rem 0.375rem 0;
}
.footer a, .social svg{
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
.footer a:hover{
    color: rgba(109, 87, 252, 0.8) !important;
}
.social svg:hover{
    transform: scale(1.1);
}



/********************* contact page *****************/
.contact__form form label{
    font-size: smaller;
}





/******************************* home animation ***************************/

/********************* features *****************/
/********* card 1 *********/
.features .features__card-1{
    overflow: hidden;
}
.features .features__card-1 .img__1 img,
.features .features__card-1 .img__2 img{
    transition: all 0.5s ease-in-out;
}
.features .features__card-1:hover .img__1 img {
    transform: rotate(-5deg) translateX(-10px);
}
.features .features__card-1:hover .img__2 img {
    transform: rotate(5deg) translateX(10px);
}

/********* card 2 *********/
.features .features__card-2{
    overflow: hidden;
}
.features .features__card-2 .img__hover {
    bottom: -40px;
    transition: all 0.5s ease-in-out;
}
.features .features__card-2:hover .img__hover {
    bottom: 0;
}
.features .features__card-2 .comment__hover {
    z-index: 2;
    opacity: 0;
    transform: translate(100%, 100%) scale(0.8);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: absolute;
    bottom: 0;
    right: -50px;
    top: auto;
}

.features .features__card-2:hover .comment__hover {
    opacity: 1;
    transform: translate(0, 0) scale(0.8);
}

/********* card 3 *********/
.features .features__card-3{
    overflow: hidden;
}
.features .features__card-3 .img__hover {
    opacity: 0;
    transform: translate(-100%, 100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
}
.features .features__card-3:hover .img__hover {
    opacity: 1;
    transform: translate(0, 0);
}

/********* card 4 *********/
.features .features__card-4{
    overflow: hidden;
}
.features .features__card-4 .svg__hover {
    bottom: -30px;
    transition: all 0.5s ease-in-out;
}
.features .features__card-4:hover .svg__hover {
    bottom: 0;
}
.features .features__card-4 .negative__top{
    transition: all 0.5s ease-in-out;
}
.features .features__card-4:hover .negative__top{
    top: -160px
}
.features .features__card-4 .avatar__hover{
    opacity: 0;
    transition: all 0.5s ease-in-out;
    bottom: -20px;
}
.features .features__card-4:hover .avatar__hover{
    bottom: 40px;
    opacity: 1;
}

/********* card 5 *********/
.features .features__card-5{
    overflow: hidden;
}
.features .features__card-5 .svg-1__hover{
    top: 3px;
    transition: all 0.5s ease-in-out;
}
.features .features__card-5:hover .svg-1__hover{
    opacity: 0;
}
.features .features__card-5 .svg-2__hover{
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.features .features__card-5:hover .svg-2__hover{
    opacity: 1;
}
.features .features__card-5 .text-1__hover, .features .features__card-5 .text-2__hover {
    opacity: 0;
    transform: translateY(-30px);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.features .features__card-5 .text-2__hover {
    transform: translateY(30px);
}
.features .features__card-5:hover .text-1__hover {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.features .features__card-5:hover .text-2__hover {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/********************* how it works *****************/
:root {
    --cards: 4;
}
.how-it-works #card1 {
    --index: 1;
}
.how-it-works #card2 {
    --index: 2;
}
.how-it-works #card3 {
    --index: 3;
}
.how-it-works #card4 {
    --index: 4;
}
.how-it-works .phone__card {
    position: sticky;
    top: 450px;
    padding-top: calc(var(--index) * 1.5em);
}
.how-it-works .phone__card-body {
    padding: 30px;
    height: 250px;
    transition: all 0.5s;
}
