Hi I need a query to get both Max Date and next date after the current date

Select ci.CustomerID, max(dd.DueDate) from tblcustomerinfo ci  join tblduedates dd on dd.id=ci.id group by ci.CustomerID   tblCustomerinfo      **customerid**          **type** 384953              visa 938494              visa 337723               mc  tblDueDate CustomerId            duedate 384953              12/30/2020 384953              09/30/2020 384953              07/30/2020 938494              08/30/2020 938494              07/30/2020 337723              05/30/2020 337723              03/30/2020 

Results should be

384953                9/30/2020 938494                8/30/2020 337723                5/30/2020