'use client' import Layout from "@/components/layout/Layout" import { useState } from "react" import { motion, AnimatePresence } from "framer-motion" const items = [ { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "On call 24/7 for client needs" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Flexible and fast scheduling" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Regular quality assurance" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Thorough care management and family support" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Double the care team staff of other agencies" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Assisting with walking and transferring from bed to wheelchair" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Bathing, dressing and grooming assistance" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Medication reminders" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Safety and fall prevention" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Toileting and incontinence care" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Light housekeeping" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Meal preparation and nutrition" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Grocery shopping and errands" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Transportation to social and recreational activities" }, { icon: "/assets/images/services/icons/trusted-physiotherapy-clinic.webp", text: "Assistance with light exercise and outdoor activity" }, ] export default function Home() { const [activeIndex, setActiveIndex] = useState(null) return (
Why Choose Us

Choose The Best For Your
Health

{/* ICONS in 1 row (4 columns) */}
{items.map((item, i) => (
setActiveIndex(i)} onMouseLeave={() => setActiveIndex(null)} > {/* Popup inside each icon */} {activeIndex === i && (

{item.text}

)}
{/* Icon replaced with Image */}
Service Icon
))}
) }