.category-menu .category-item {
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: all 0.3s ease;
}

.category-menu .category-item:hover,
.category-menu .category-item.active {
    color: var(--primary-color);
}

.category-menu .bi {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.category-menu .collapse.show+a .bi {
    transform: rotate(180deg);
}

.badge {
    font-size: 0.75rem;
    padding: 0.25em 0.6em;
}

/* Nested category styling */
.category-menu ul ul {
    margin-left: 1rem;
}

.category-menu ul ul .category-item {
    font-size: 0.9rem;
    padding: 4px 0;
}

.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

/* Pulse Animation */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background-color: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Bounce effect on hover */
.whatsapp-btn:hover {
    animation: bounce 0.6s ease-in-out;
    background-color: #1ea952;
    border-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(2px);
    }
}

/* Icon shake animation */
.whatsapp-btn .bi-whatsapp {
    display: inline-block;
    margin-right: 8px;
    animation: shake 4s infinite;
    transform-origin: 50% 50%;
}

@keyframes shake {

    0%,
    85%,
    100% {
        transform: rotate(0deg);
    }

    88% {
        transform: rotate(-15deg);
    }

    90% {
        transform: rotate(15deg);
    }

    92% {
        transform: rotate(-15deg);
    }

    94% {
        transform: rotate(15deg);
    }

    96% {
        transform: rotate(-15deg);
    }

    98% {
        transform: rotate(15deg);
    }
}

/* Shine effect */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    40%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Demo container styling */
.demo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}