.single-cat {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 15px;
    overflow: hidden;
}

.single-cat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 2s infinite;
    z-index: 1;
}

.single-cat:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.single-cat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.single-cat.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.single-cat.active::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.single-cat.active .cat-cap h5 a {
    color: white;
}

.single-cat.active .cat-cap p {
    color: rgba(255, 255, 255, 0.9);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cat-cap h5 a {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.cat-cap p {
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
