

    .custom-scrollbar::-webkit-scrollbar {
        height: 5px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }
    /* For Firefox */
    .custom-scrollbar {
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
    }

        .savings-mini-card {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(15, 23, 42, 0.4) 100%);
            backdrop-filter: blur(10px);
        }

        /* Fix for text cutting: ensures the glow doesn't get clipped by the container */
        .stat-glow {
            text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
            line-height: 1;
            display: block;
        }

        @keyframes pulse-soft {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.8;
            }

            50% {
                transform: scale(1.05);
                opacity: 1;
            }
        }

        .animate-pulse-soft {
            animation: pulse-soft 3s infinite ease-in-out;
        }







        /* Container for the sliding track */
        .carousel-viewport {
            position: relative;
            overflow: hidden;
            /* Hide the scrollbar for auto-movement */
            width: 100%;
            padding: 60px 0;
        }

        .carousel-container {
            display: flex;
            transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
            will-change: transform;
            align-items: center;
        }

        .carousel-item {
            flex: 0 0 450px;
            /* Fixed width for calculation */
            margin: 0 20px;
            height: 300px;
            border-radius: 32px;
            position: relative;
            transition: all 0.8s ease;
            transform: scale(0.85);
            opacity: 0.3;
            filter: blur(2px) grayscale(50%);
        }

        /* Focused Center Item */
        .carousel-item.active {
            transform: scale(1.1);
            opacity: 1;
            filter: blur(0) grayscale(0%);
            z-index: 10;
            box-shadow: 0 0 50px var(--primary-glow);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        @media (max-width: 768px) {
            .carousel-item {
                flex: 0 0 300px;
                /* Slightly smaller for mobile */
            }
        }







        :root {
            --primary: #6366f1;
            --primary-glow: rgba(99, 102, 241, 0.4);
            --secondary: #ec4899;
            --bg-dark: #0f172a;
            --bg-card: rgba(30, 41, 59, 0.7);
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
        }

        .blob {
            position: absolute;
            filter: blur(80px);
            z-index: -1;
            opacity: 0.6;
            animation: float 10s infinite ease-in-out;
        }

        .blob-1 {
            top: 0;
            left: 0;
            width: 500px;
            height: 500px;
            background: var(--primary);
        }

        .blob-2 {
            bottom: 0;
            right: 0;
            width: 400px;
            height: 400px;
            background: var(--secondary);
            animation-delay: -5s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }

            50% {
                transform: translate(30px, -30px) scale(1.1);
            }
        }

        .glass {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .glass-hover {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-hover:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
            box-shadow: 0 20px 40px -10px var(--primary-glow);
        }

        .text-gradient {
            background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        @keyframes glow-pulse {

            0%,
            100% {
                text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 15px #6366f1, 0 0 25px #6366f1;
                color: #fff;
                transform: scale(1);
            }

            50% {
                text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px #ec4899, 0 0 45px #ec4899;
                color: #fff;
                transform: scale(1.05);
            }
        }

        .animate-glow {
            display: inline-block;
            animation: glow-pulse 2s infinite ease-in-out;
        }

        .glass {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        /* Glass Effect Class (In case you want to reuse it) */
        .glass-effect {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        @keyframes fade-in-down {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in-down {
            animation: fade-in-down 0.3s ease-out;
        }

        /* Hides scrollbar for Chrome, Safari and Opera */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        /* Hides scrollbar for IE, Edge and Firefox */
        .no-scrollbar {
            -ms-overflow-style: none;
            /* IE and Edge */
            scrollbar-width: none;
            /* Firefox */
        }

        /* Snap effect for the circular buttons */
        .snap-x {
            scroll-snap-type: x mandatory;
        }

        .snap-center {
            scroll-snap-align: center;
        }