# Create a new PDF with the updated extended schedule
updated_schedule = """
5:30 - 6:00 AM : Wake up + Freshen up
6:00 - 7:00 AM : Light revision (Formulas, Mechanisms, Concepts)
7:00 - 7:30 AM : Deep concept focus – Maths/Physics (rotate)
7:30 - 8:00 AM : Breakfast
8:00 - 12:30 PM : Classes (Physics/Chem/Maths as per schedule)
12:30 - 1:00 PM : Chill break
1:00 - 1:30 PM : Lunch
1:30 - 2:30 PM : Power nap / Relax
2:30 - 4:00 PM : PYQ solving (Subject rotates daily)
4:00 - 5:00 PM : Concept strengthening (Based on PYQ mistakes)
5:00 - 5:30 PM : Tea break + Chill
5:30 - 7:00 PM : Daily Practice Problems (DPPs)
7:00 - 7:30 PM : Wind up + Relax
7:30 - 8:00 PM : Dinner
8:00 - 9:30 PM : Full chapter revision (1 subject per day)
9:30 - 10:30 PM : Mock test review / Doubt clearing (self/videos)
10:30 - 11:30 PM : Organic reaction flow / Formula recap / Notes
11:30 - 12:00 AM : Wind down + Plan next day
12:00 AM : Sleep
"""
# Recreate the PDF
pdf = PDF()
pdf.add_page()
pdf.chapter_title("Updated Daily Timetable (5:30 AM to 12:00 AM)")
pdf.chapter_body(updated_schedule)
pdf.chapter_title("Weekly Plan")
pdf.chapter_body(weekly_plan_clean)
# Save the final PDF
final_pdf_path = "/mnt/data/Ajay_Extended_JEE_Advanced_Timetable.pdf"
pdf.output(final_pdf_path)
final_pdf_path