.btn-class {
            position: relative;
            background-color: #222;
            border-radius: 0px;
            overflow: hidden; /* Keeps the sliding door inside the button */
            cursor: pointer;
            display: inline-block;
        }

        /* The link is always visible */
        .btn-class a {
            color: #fff;
            text-decoration: none;
            font-weight: bold;
            display: block;
            position: relative;
            z-index: 2; /* Ensures text stays above the door */
        }

        /* The "Hidden Door" element */
        .btn-class::before {
            content: ""; 
            position: absolute;
            top: 0;
            left: -100%; /* Start hidden on the left */
            width: 100%;
            height: 100%;
            background-color: #007bff; /* The color of your door */
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            z-index: 1; /* Sits behind the text */
        }

        /* Hover Interaction: Door slides in, sweeps across, and exits */
        .btn-class:hover::before {
            transform: translateX(200%);
        }
