This study will ask Thai MSM and transgender women (TG) participants to self-select to participate in one of the 3 different study groups which provide various degrees of integrated online interventions and offline interventions for the Recruit-Test-Treat-Retain for HIV prevention and care among 3 groups (A, B1 and B2). All participants will be followed up either offline or online for 12 months. HIV-negative participants will be scheduled for repeat HTC at months 6 and 12. HIV-positive participants will be scheduled either offline or online to review their treatment history at months 6 and 12. HIV-negative participants in Group B1 and B2 can choose again at months 6 and 12 to switch from the online to offline, and vice versa, at the HIV testing/post-test counseling step and the referral to HIV treatment step