'use client'; import React, { useState } from 'react'; import { motion } from 'framer-motion'; // صححنا الاستيراد من 'motion/react' import { cn } from '@/lib/utils'; export const PinContainer = ({ children, title, href, className, containerClassName }) => { const [transform, setTransform] = useState('translate(-50%,-50%) rotateX(0deg)'); const onMouseEnter = () => { setTransform('translate(-50%,-50%) rotateX(40deg) scale(0.8)'); }; const onMouseLeave = () => { setTransform('translate(-50%,-50%) rotateX(0deg) scale(1)'); }; return (