The last time Lana Alviar saw 13-year-old Amal Shaibi, the vibrant teen and her 6-year-old brother were helping Alviar clean up at her after-school program in San Francisco’s Mission District.

Early the next morning, Amal and her family were trapped by flames in their home in San Francisco’s Mission District.

Amal died Wednesday at San Francisco General Hospital from injuries related to smoke inhalation, her family and hospital officials said. She became the second victim in the March 11 blaze that destroyed the family’s home and claimed the life of her father, 38-year-old Mohamed Shaibi.

'Wonderful family’

“It so surreal,” Alviar said Thursday. “I don’t believe this has all happened. They’re such a wonderful family. I still haven’t processed it.”

Alviar was close with the family because the children were enrolled in her program, Mission Education Projects Inc., across the street from their home on 24th Street. She said Amal, who attended James Lick Middle School, was an intelligent student who was good at sports and “was very kind and helpful.”

“For me, she was very special,” Alviar said. “I would have been proud if she was my daughter.”

Mohamed Shaibi’s twin brother, Muthana Shaibi, said Thursday that the other family members — two boys, ages 6 and 17, and their mother — were recovering after being released from the hospital.

Investigators are looking into the cause of the fire and have not said if smoke detectors in the home were working, said Mindy Talmadge, a San Francisco Fire Department spokeswoman.

The two-alarm fire broke out around 4:30 a.m. in a second-story home above Maurice’s Corner Liquor, which the family owns, at the corner of 24th Street and Treat Avenue, officials said.

Brothers rescued

Crews pulled the two boys from an upstairs bedroom window — the 6-year-old was revived by paramedics in the middle of the street — while other firefighters found Amal collapsed at the top of a flight of stairs at the home’s front door.

At the same time, other firefighters rushed into the building through thick smoke and flames before finding Mohamed Shaibi and his wife unconscious in a hallway, officials said. They carried the adults out a back door after the front of the home became engulfed in fire.

Evan Sernoffsky is a San Francisco Chronicle staff writer. E-mail: esernoffsky@sfchronicle.com Twitter: @EvanSernoffsky