html {
    font-size: 14px;
    scroll-behavior: smooth;
    overflow-x: clip;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}




.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background: #f9fafb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.max-width-80rem {
    max-width: 80rem;
}

.height-2hrem{
    height:2.5rem;
}

.bg-purple {
    background:#6f559b;
}

    a.bg-purple:hover {
        background:#6f559be6
    }

.bg-turquoise {
    background: #4ec6b8;
}
.text-turquoise {
    color:#4ec6b8;
}

.font-medium {
    font-weight: 500;
}
span.small {
    font-size:14px;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

a.text-muted:hover {
    color:black!important;
}

.bg-light-purple {
   
    background: #6f559b0d;

}

.border-purple {
    border: 1px solid #6f559be6;
}

.text-purple {
    color: #6f559b;
}
.scan-container {
    overflow: hidden;
    position: relative;
}

.scanbar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgb(75 197 190);
    box-shadow: 0 0 12px rgba(75, 197, 190, 0.9);
    animation: scanMove 3.2s ease-in-out infinite;
}

.bg-white {
    background:white;
}



.top-right-circle {
    right: -3vw !important;
    top: -6vw !important;
    width: 300px;
    height: 300px;
    background: #765ea0;
}

.bottom-left-circle {
    left: -3vw !important;
    bottom: -6vw !important;
    width: 300px;
    height: 300px;
    background: #765ea0;
}


.hero {
    min-height: calc(100vh - 80px);
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
}

.hero-left {
    width: 50%;
}

.hero-right {
    width: 50%;
    text-align: center;
}

    .hero-right img {
        max-width: 500px;
        width: 100%;
    }


.hero h1 {
    font-size: 80px;
    line-height: 1.05;
    margin: 0 0 20px;
}

 

.hero p {
    font-size: 24px;
    color: #666;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-buttons .bg-turquoise:hover {
    background: #6f559b;
}

.hero-buttons .bg-white:hover {
   background: #4ec6b8!important;
   color:white;
}

.top-40 {
    top: 40%;
}

.start-20{
    left:20%;
}

.relative {
    position: relative;
    display: inline-block;
}

.underline-svg {
    position: absolute;
    left: 0;
    bottom: -15px; 
    width: 100%;
    height: auto;
    pointer-events: none;
}

.phone-background {
    background:black;
    padding:2px;
    padding-left:0px;
}
.rounded-phone {
    border-radius:30px;
}


.full-width-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.marquee {
    overflow: hidden;
    position: relative;
}

.marquee-inner {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-track {
    display: flex;
}

.marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: 2em;
    margin-right: 2em;
}

.dot {
    width: 8px;
    height: 8px;
    background: #2dd4bf;
    border-radius: 50%;
}

p.small {
    font-size: 14px;
}

.highlight {
    color: #2dd4bf;
}

h2 {
    font-size:45px;
}

.mt-10 {
    margin-top: 5rem !important;
}

.mb-10 {
    margin-bottom: 5rem !important;
}

#phone-mockup {
    animation: floatBob 3.5s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}


.voucher-slider {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.voucher-slider::-webkit-scrollbar {
    display: none;
}


.voucher-bg {
    background: #f3f5f7;
}

.voucher-card {
    width: 320px;
    min-width: 320px;
    scroll-snap-align: start;
   
}


.voucher-card {
    transition: all .25s ease;
}

.voucher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,.12) !important;
}



.voucher-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.voucher-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
}


.cashback-badge {
    background: #eaf8f6;
    color: #45c3bc;
    font-weight: 700;
    border-radius: 999px;
    padding: .5rem .85rem;
    font-size: .95rem;
}

.btn-claim {
    background: #7557a6;
    border: 0;
    border-radius: 999px;
    min-width: 74px;
    font-weight: 600;
}

.btn-claim:hover {
    background: #654a91;
}

.py-7 {
    padding-top:6rem;
    padding-bottom:6rem;
}


#mainNav {
    transition: all .25s ease;
}

#mainNav.scrolled {
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(10px);
}


#howitworks,
#voucherVault {
    scroll-margin-top: 100px;
}


/* ANIMATE */

@keyframes scanMove {
    0% {
        transform: translateY(0%);
        opacity: 0.6;
    }

    50% {
        transform: translateY(200px); 
        opacity: 1;
    }

    100% {
        transform: translateY(0%);
        opacity: 0.6;
    }
}

@keyframes floatBob {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mobile */
@media (max-width: 768px) {

    button.navbar-toggler {
        position: absolute;
        right: 35px;
    }
    

    #mainNavbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        z-index: 999;
        padding: 1rem 1.25rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    #mainNav {
        position: fixed;
        top: 0;
        z-index: 1030;
        background: white;
    }
    

    body {
        padding-top: 60px;
    }
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 30px 20px;
        text-align: center;
        gap: 40px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(42px, 8vw, 80px);
        line-height: 1.1;
    }

    .hero p {
        font-size: clamp(18px, 3vw, 24px);
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

        .hero-buttons a {
            width: 100%;
        }

    .hero-right img {
        max-width: 280px;
    }

    /* Stop floating card hanging off-screen */
    .popup-card {
        position: absolute;

        transform: translateX(-50%);
        width: 220px;
        margin-top: 15px;
    }
}
















@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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