body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fff;

}

.navbar {
    background-color: #7a0e0e;
    height: 11vh;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger menu */
.navbar-dark .navbar-toggler {
    /* background-color: black; */
    border: 2px solid rgb(255, 255, 255);
}

#mainNavbar {
    z-index: 1051;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background: #a01717;
    text-align: center;
    padding: 1rem;
}

#mainNavbar .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    border-radius: 30px;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px 0 rgba(183, 28, 28, 0.07);
    border: 1.5px solid #e80016;
    transition:
        background 0.22s cubic-bezier(.22, 1, .36, 1),
        color 0.22s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.22s cubic-bezier(.22, 1, .36, 1),
        border 0.22s cubic-bezier(.22, 1, .36, 1),
        transform 0.13s cubic-bezier(.22, 1, .36, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#mainNavbar .navbar-nav .nav-link:hover,
#mainNavbar .navbar-nav .nav-link:focus {
    background: #e80016;
    color: #fff !important;
    border-color: #b71c1c;
    box-shadow: 0 4px 16px 0 rgba(255, 193, 7, 0.13);
    transform: scale(1.03);
    text-decoration: none;
}

/* Simple hide-on-scroll effect for navbar (mobile only) */
@media (max-width: 991.98px) {
    .navbar.hide-on-scroll {
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(.4, 1, .4, 1);
    }

    .navbar {
        transition: transform 0.35s cubic-bezier(.4, 1, .4, 1);
    }
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* GET APP NOW button style */
.get-app-now-btn {
    background: radial-gradient(ellipse at 53% -30%, #ff363d 33%, #c2000091 76%);
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: .9rem;
    border: 1.5px solid #fff;
    border-radius: 40px;
    padding: 0px 19px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    letter-spacing: 1px;
    transition:
        background 0.3s,
        color 0.3s,
        box-shadow 0.2s,
        transform 0.15s;
    outline: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.10);
    display: inline-block;
    margin-left: 16px;
    position: relative;
    overflow: hidden;
}

.get-app-now-btn::after {
    content: "";
    position: absolute;
    left: -75%;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.get-app-now-btn:hover,
.get-app-now-btn:focus {
    background: radial-gradient(ellipse at 50% 40%, #c20000 60%, #ff1a23 100%);
    color: #ffe082;
    text-decoration: none;
    box-shadow: 0 6px 24px 0 rgba(255, 26, 35, 0.18), 0 2px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.06);
}

.get-app-now-btn:hover::after,
.get-app-now-btn:focus::after {
    left: 120%;
}

.hero-section.bg-fade-out {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section.bg-fade-in {
    opacity: 1;
    transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section {
    background: url('../img/a-07_.jpg') no-repeat center center / cover;
    min-height: 100vh;
    padding: 80px 0px;
    background-color: #c70015;
}

@media (max-width: 1067px) {
    .hero-section {
        padding-top: 30px;
        padding-bottom: 30px;
        background: url('../img/RedBackground-09_.jpg') no-repeat center center/cover !important;
    }

    .con-google img,
    .con-appstore img,
    .con-xstore img {
        height: 4.6rem;
    }

    .hero-title {
        /* font-size: 2.8rem; */
        font-size: 3.8rem;
    }

    .hero-subtitle {
        font-size: 2.1rem;
    }

    .hero-desc {
        font-size: 1.3rem;
    }

    .pr-lg-5,
    .px-lg-5,
    .pr-lg-5,
    .px-lg-5 {
        padding: 0 !important;
        margin-right: 0 !important;
    }

    .download-btn {
        font-size: 1.9rem !important;
        border-radius: 70px !important;
    }

    .hero-phone-img {
        max-height: 220px;
    }
}

/* @media (max-width: 888px) {

    .download-btn {
        font-size: 1.25rem !important;
        border-radius: 30px !important;
    }
} */

@media (max-width: 765px) {
    .hero-section {
        padding-top: 30px;
        padding-bottom: 30px;
        background: url('../img/RedBackground-09_.jpg') no-repeat center center/cover;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .con-google img,
    .con-appstore img {
        height: 48px !important;
    }

    .con-xstore img {
        height: 43px;
    }

    .download-btn {
        font-size: 1.25rem !important;
        border-radius: 30px !important;
    }

    .hero-phone-img {
        max-height: 220px;
    }

    .hero-text-col,
    .hero-img-col {
        text-align: center !important;
    }
}

@media (max-width: 1062px) {
    .hero-phone-img {
        display: block !important;
        width: 100% !important;
    }

    .row {
        display: flex !important;
        -ms-flex-wrap: wrap !important;
        /* flex-wrap: nowrap !important; */
        margin-right: -15px !important;
        margin-left: -15px !important;
        align-content: stretch !important;
        /* justify-content: space-evenly !important; */
        flex-direction: row !important;
    }
}

@media (max-width: 760.98px) {
    .hero-phone-img {
        display: block !important;
    }

    .row {
        display: flex !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        margin-right: -15px !important;
        margin-left: -15px !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-phone-img {
        max-height: 320px;
        margin-top: 30px;
    }
}

.download-btn {
    display: inline-block;
    padding: 0.5em 2em;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(180deg, #ffcf3c 0%, #ffb300 49%, #ff5600 100%);
    border: 4px solid #fff;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    /* cursor: arrow; */
    letter-spacing: 1px;
    /* transition:
        background 0.3s,
        color 0.3s,
        box-shadow 0.2s,
        transform 0.15s; */
    /* outline: none; */
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

/* FAQS */
.btn-link {
    color: #b71c1c !important;
}

/* WAHTS NEW SECTION */
.whatsnew-bg-section {
    background: url('../img/RedBackground-09_.jpg') no-repeat center center / cover;
    min-height: 30vh;
    padding: 80px 0px;
    background-color: #ffd54f;
}


.whatsnew-bg-section .carousel-inner {
    max-width: 100%;
    box-shadow: 8px 8px 12px -5px rgb(0 0 0 / 52%);
    background: #fff;
    padding: 1px;
}

#whatsnew-section #whatsnewCarousel {
    margin: 4rem 0;
}

/* Carousel */
.yellow-bg-section {
    background: url('../img/yellowbg.jpg') no-repeat center center / cover;
    min-height: 52vh;
    padding: 80px 0px;
    background-color: #ffd54f;
}

.yellow-bg-section h2 {
    color: #b50404;
    font-weight: 700;
    font-size: 2.2rem;
}

.yellow-bg-section p {
    color: #000;
    font-size: 1.4rem;
}

/* Large laptops/desktops */
@media (max-width: 1400px) {
    .yellow-bg-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
        /* min-height: 110vh !important; */
        min-height: 52vh !important;
    }
}

/* Standard laptops/tablets landscape */
@media (max-width: 1200px) {
    .yellow-bg-section {
        padding-top: 36px;
        padding-bottom: 36px;
        min-height: 60vh !important;
    }
}

/* Tablets portrait and large phones */
@media (max-width: 992px) {
    .yellow-bg-section {
        padding-top: 28px;
        padding-bottom: 28px;
        min-height: 50vh !important;
        border-left: none;
        border-right: none;
    }

    .custome-gap-3 {
        column-gap: 1rem !important;
    }
}

/* Phones */
@media (max-width: 768px) {

    /* .custome-gap-3 {
        column-gap: 1rem !important;
    } */


    .hero-phone-img {
        display: block;
    }

    .yellow-bg-section {
        padding-top: 18px;
        padding-bottom: 18px;
        min-height: 38vh !important;
    }

    .yellow-bg-section h2 {
        color: #b71c1c;
        font-weight: 700;
        font-size: 1.3rem !important;
    }

    .yellow-bg-section p {
        color: #000;
        font-size: 1.2rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .yellow-bg-section {
        padding-top: 10px;
        padding-bottom: 10px;
        min-height: 28vh !important;
    }

    .yellow-bg-section h2 {
        color: #b71c1c;
        font-weight: 700;
        font-size: 1.3rem !important;
    }

    .yellow-bg-section p {
        color: #000;
        font-size: 1.2rem;
    }
}


/* @media (max-width: 768px) {
    .yellow-bg-section {
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 45vh !important;
    }

    .yellow-bg-section h2 {
        color: #b71c1c;
        font-weight: 700;
        font-size: 1.5rem;
    }
} */

.yellow-bg-section .carousel-inner {
    max-width: 100%;
    box-shadow: 8px 8px 12px -5px rgb(0 0 0 / 52%);
    background: #fff;
    padding: 8px;
}



/* Goolge & App Store */
.con-google,
.con-appstore,
.con-xstore {
    display: inline-block;
    /* padding: 0.5em 2em; */
    /* font-size: 1.25rem; */
    /* font-weight: bold; */
    /* color: #fff; */
    /* background: linear-gradient(180deg, #ffcf3c 0%, #ffb300 49%, #ff5600 100%); */
    /* border: 4px solid #fff; */
    /* border-radius: 30px; */
    /* max-width: 100%; */
    box-shadow: 8px 8px 12px -5px rgb(0 0 0 / 52%);
    cursor: pointer;
    /* letter-spacing: 1px; */
    transition:
        background 0.3s,
        color 0.3s,
        box-shadow 0.2s,
        transform 0.15s;
    outline: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.con-xstore {}

.con-xstore::after {
    content: "";
    position: absolute;
    left: -75%;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.con-google::after {
    content: "";
    position: absolute;
    left: -75%;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.con-appstore::after {
    content: "";
    position: absolute;
    left: -75%;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s;
    pointer-events: none;
}

.con-xstore:hover {
    /* background: linear-gradient(180deg, #fff176 0%, #ffb300 80%, #ff9800 100%); */
    /* color: #b71c1c; */
    box-shadow: 0 6px 24px 0 rgba(255, 152, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.04);
    max-width: 100%;
    box-shadow: 8px 8px 12px -5px rgba(0, 0, 0, 0.78);
}

.con-google:hover {
    /* background: linear-gradient(180deg, #fff176 0%, #ffb300 80%, #ff9800 100%); */
    /* color: #b71c1c; */
    box-shadow: 0 6px 24px 0 rgba(255, 152, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.04);
    max-width: 100%;
    box-shadow: 8px 8px 12px -5px rgba(0, 0, 0, 0.78);
}

.con-appstore:hover {
    /* background: linear-gradient(180deg, #fff176 0%, #ffb300 80%, #ff9800 100%); */
    /* color: #b71c1c; */
    box-shadow: 0 6px 24px 0 rgba(255, 152, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.10);
    transform: scale(1.04);
    max-width: 100%;
    box-shadow: 8px 8px 12px -5px rgba(0, 0, 0, 0.78);
}

.con-xstore:hover::after {
    left: 120%;
}

.con-google:hover::after {
    left: 120%;
}

.con-appstore:hover::after {
    left: 120%;
}

/* FOOTER */

/* Creative hover effect for footer social icons */
footer .text-md-right a img {
    transition:
        transform 0.3s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.3s cubic-bezier(.22, 1, .36, 1),
        filter 0.3s cubic-bezier(.22, 1, .36, 1);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(183, 28, 28, 0.07);
    /* padding: 1px; */
}

footer .text-md-right a:hover img,
footer .text-md-right a:focus img {
    transform: scale(1.18) rotate(-8deg);
    box-shadow: 0 8px 24px 0 rgba(255, 193, 7, 0.18), 0 2px 10px rgba(183, 28, 28, 0.13);
    filter: brightness(1.15) drop-shadow(0 0 8px #ffe082);
    background: linear-gradient(135deg, #fffde4 60%, #ffe082 100%);
}

/* TODO  General Styling for the red and gray pills */
.card-number-text {
    position: absolute;
    top: 81%;
    bottom: 50%;
    transform: translate(67%, 50%);
    background-color: #352626b3;
    color: white;
    height: 22px;
    width: 42%;
    border-radius: 3px;
}

.card-container .regular-card,
.platinum-card {
    height: 90px !important;
    border-radius: 5px;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.4);
}

.card-stick-container .stick1 {
    background-color: #f50504 !important;
    width: 5px;
    height: 25px;
    margin-right: 165px;
    /* border-radius: 5px; */
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.4);
}

.card-stick-container .stick2 {
    background-color: #788790 !important;
    width: 5px;
    height: 25px;
    margin-left: 165px;
    /* border-radius: 5px; */
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.4);
}

.card-container .card-holder-right {
    margin-right: 96px;
}

.card-container .card-holder-left {
    margin-left: 96px;
}

.pill-container-1 {
    min-width: 320px;
    max-width: 540px;
    position: relative;
    width: 100%;
}

.red-pill {
    background: #f50504;
    width: 100%;
    padding: 15px 30px;
    /* Adjust padding to control height */
    border-radius: 50px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.gray-pill {
    /* background: #e9e8e1;
    width: 60%;
    padding: 15px;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0; */

    background: #e9e8e1;
    width: 60%;
    padding: 31px !important;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Text and Content Adjustments */
.red-pill .h5,
.red-pill .red-pill-txt {
    font-weight: 700;
    color: white;
}

.red-pill .red-pill-txt2 {
    color: white;
    font-size: 0.8rem;
}

.gray-pill .gray-pill-txt {
    font-weight: 700;
    color: #f50504;
}

.progress-bar {
    background-color: #f50504;
}

/* Responsive Design */
@media (max-width: 768px) {

    .card-container .card-holder-right {
        margin-right: 75px;
    }

    .card-container .card-holder-left {
        margin-left: 75px;
    }

    .card-stick-container .stick1 {
        /* background-color: #f50504 !important;
        width: 5px;
        height: 25px; */
        margin-right: 143px !important;
    }

    .card-stick-container .stick2 {
        /* background-color: #788790 !important;
        width: 5px;
        height: 25px; */
        margin-left: 143px !important;
    }

    .red-pill {
        padding: 12px 25px;
    }

    .gray-pill {
        width: 60%;
        padding: 29px !important;
    }

    .red-pill .h5 {
        font-size: 1rem;
    }

    .red-pill .red-pill-txt {
        font-size: 0.9rem;
    }

    .red-pill .red-pill-txt2 {
        font-size: 0.6rem !important;
    }

    .gray-pill .gray-pill-txt {
        font-size: 0.8rem;
    }
}

@media (max-width: 508px) {

    .card-container .card-holder-right {
        margin-right: 50px !important;
    }

    .card-container .card-holder-left {
        margin-left: 50px !important;
    }

    .card-container .regular-card,
    .platinum-card {
        /* height: 40% !important; */
        height: 4.5rem !important;
    }

    .card-stick-container .stick1 {
        margin-right: 105px !important;
    }

    .card-stick-container .stick2 {
        margin-left: 105px !important;
    }

}

@media (max-width: 425px) {
    .red-pill {
        /* padding: 10px 20px; */
        padding: 10px 14px !important;
    }

    .gray-pill {
        width: 60%;
        padding: 22px 25px !important;
        transform: translate(-51%, -51%);
    }

    .red-pill .h5 {
        font-size: 0.9rem !important;
    }

    .red-pill .red-pill-txt {
        font-size: 0.7rem !important;
    }

    .red-pill .red-pill-txt2 {
        font-size: 0.5rem !important;
    }

    .gray-pill .gray-pill-txt {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 407px) {

    .card-number-text {
        font-size: 11px;
        top: 80%;
        width: 43%;
        height: 11%;
        transform: translate(66%, 50%);
    }
}

@media (max-width: 400px) {

    .card-container .card-holder-right {
        margin-right: 20px !important;
    }

    .card-container .card-holder-left {
        margin-left: 20px !important;
    }

    .card-container .regular-card,
    .platinum-card {
        /* height: 35% !important; */
        height: 4.5rem !important;
    }

    .card-stick-container .stick1 {
        margin-right: 75px !important;
    }

    .card-stick-container .stick2 {
        margin-left: 75px !important;
    }
}

@media (max-width: 450px) {
    #barcode {
        width: 26rem !important;
    }
}

@media (max-width: 430px) {
    #barcode {
        width: 25rem !important;
    }
}

@media (max-width: 380px) {
    #barcode {
        width: 19rem !important;
    }
}

@media (max-width: 320px) {

    .card-number-text {
        font-size: 11px;
        top: 78%;
        width: 47%;
        height: 13%;
        transform: translate(54%, 50%);
    }

    .card-container .card-holder-right {
        margin-right: 5px !important;
    }

    .card-container .card-holder-left {
        margin-left: 5px !important;
    }

    .card-container .regular-card,
    .platinum-card {
        /* height: 25% !important; */
        height: 4.5rem !important;
    }

    .card-stick-container .stick1 {
        margin-right: 65px !important;
    }

    .card-stick-container .stick2 {
        margin-left: 65px !important;
    }
}

@media (max-width: 318px) {

    .card-stick-container .stick1 {
        display: none !important;
    }

    .card-stick-container .stick2 {
        display: none !important;
    }
}

/* BARCODE STYLE */
.barcode-card {
    max-width: 420px;
    /* width: 347px; */
}

.barcode-svg {
    width: 100%;
    height: auto;
}

.barcode-card .loyalty_card {
    /* height: 10rem; */
    /* border-radius: 5px; */
    /* box-shadow: 0 0 9px rgba(0, 0, 0, 0.4); */
}

div.card-body .text-center {
    padding-left: 0;
    padding-right: 0;
}

/* MEMBER'S DATA */
.profile-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.cover {
    height: 5px;
    background: linear-gradient(135deg, #8a0000, #ff0100);
}

.avatar {
    width: 110px;
    height: 110px;
    border: 5px solid white;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.points-box {
    background: linear-gradient(45deg, #8a0000da 0%, #ff0000eb 100%);
    color: white;
    font-weight: 700;
    border-radius: 1rem;
    padding: 12px 20px;
    font-size: 1.3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.info-item {
    background: #f8f9fa;
    padding: 14px 18px;
    border-radius: 12px;
    border-left: 4px solid #b50000c5 !important;
}

.label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.value {
    font-size: 1.05rem;
    color: #2d3748;
    font-weight: 500;
    margin-top: 4px;
}

@media (max-width: 576px) {
    .avatar {
        width: 90px;
        height: 90px;
    }

    .points-box {
        font-size: 1.1rem;
        padding: 10px 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* SHOPIFY VOUCHER */
.voucher-result {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    white-space: pre-line;
}

.voucher-result.success {
    background: #ebf8ef;
    border: 1px solid #9dd5ae;
    color: #1d6532;
}

.voucher-result.error {
    background: #fff0f0;
    border: 1px solid #efb7b7;
    color: #8f1f1f;
}

.voucher-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.voucher-status-pending {
    background: #fff4d9;
    color: #976300;
}

.voucher-status-used {
    background: #e8f5ec;
    color: #1f6d38;
}

.voucher-status-expired,
.voucher-status-cancelled {
    background: #ffe9e9;
    color: #983d3d;
}


/* Barcode container styling */
.barcode-container {
    display: none;
    /* Initially hidden, shown via JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.barcode-container.expanded {
    display: flex;
    opacity: 1;
}

.barcode-wrapper {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

/* Profile image styling */
.profile-header {
    margin-bottom: 20px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* User Info */
.barcode-info h2 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.timer-text {
    font-size: 16px;
    color: #777;
    margin-bottom: 10px;
    font-weight: 300;
}

/* Barcode styling */
.barcode {
    width: 100%;
    max-width: 400px;
    height: auto;
    /* margin-bottom: 30px; */
}

/* Footer */
.footer {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hover effect for closing the container */
.barcode-container:hover {
    cursor: pointer;
}

/* Responsive adjustments for smaller devices */
@media (max-width: 768px) {
    .barcode-wrapper {
        max-width: 90%;
        padding: 20px;
    }

    .profile-img {
        width: 80px;
        height: 80px;
    }

    .barcode-info h2 {
        font-size: 22px;
    }

    .timer-text {
        font-size: 14px;
    }

    .barcode {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .barcode-wrapper {
        max-width: 99%;
        padding: 10px;
    }

    .profile-img {
        width: 70px;
        height: 70px;
    }

    .barcode-info h2 {
        font-size: 20px;
    }

    .timer-text {
        font-size: 12px;
    }

    .barcode {
        max-width: 90%;
    }

    .footer p {
        font-size: 10px !important;
        margin-bottom: 1px;
    }
}

.qbcodes-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.qb-code {
    margin: 10px 0;
}

.toggle-buttons {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-toggle {
    padding: 6px 14px;
    margin: 0 5px;
    border: 1px solid #f50504;
    background: #fff;
    cursor: pointer !important;
    border-radius: 25px;
    height: 5rem;
    width: 7rem;
    outline: none !important;
    height: 3rem;
    width: 10rem;
    font-size: 0.9em;
}

.btn-toggle.active {
    background: linear-gradient(135deg, #c41d1d, #f50504);
    color: #fff;
}

/* #mainNavbar.hide-on-scroll {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
} */

/* #mainNavbar {
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}

#mainNavbar.hide-on-scroll {
  transform: translateY(-100%);
  opacity: 0;
} */
