(c-1) For purposes of this subsection (c-1), a "violent offense" means an offense in which bodily harm is inflicted or force is used against any person or threatened against any person; an offense involving sexual conduct, sexual penetration, or sexual exploitation; an offense involving domestic violence; an offense of domestic battery, violation of an order of protection, stalking, or hate crime; an offense of driving under the influence of drugs or alcohol; or an offense involving the possession of a firearm or dangerous weapon. An offender, other than an offender sentenced on a violent offense, shall be entitled to a time credit toward the completion of the offender's probation or conditional discharge as follows: (1) For obtaining a high school diploma or GED: 90 days.(2) For obtaining an associate's degree, career certificate, or vocational technical certification: 120 days.(3) For obtaining a bachelor's degree: 180 days. An offender's supervising officer shall promptly and as soon as practicable notify the court of the offender's right to time credits under this subsection (c-1). Upon receipt of this notification, the court shall enter an order modifying the offender's remaining period of probation or conditional discharge to reflect the time credit earned. If, before the expiration of the original period or a reduced period of probation or conditional discharge, the court, after a hearing under Section 5-6-4 of this Code, finds that an offender violated one or more conditions of probation or conditional discharge, the court may order that some or all of the time credit to which the offender is entitled under this Section be forfeited.