module.exports=[441123,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(400210),e=a.i(732860),f=a.i(660246),g=a.i(953722),h=a.i(469769),i=a.i(169590),j=a.i(340695),k=a.i(50944),l=a.i(346271),m=a.i(39432);a.s(["CollegesSection",0,({initialData:a,sectionContent:n})=>{let{t:o,language:p}=(0,i.useLanguage)(),q=(0,k.useRouter)(),r=(0,c.useRef)(null),s=(0,m.useInView)(r,{once:!0,margin:"-100px"}),t={hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.6,ease:"easeOut"}}};return(0,b.jsx)("section",{id:"colleges",className:"py-16 md:py-20 bg-background",ref:r,children:(0,b.jsxs)("div",{className:"container mx-auto px-4",children:[(0,b.jsxs)(l.motion.div,{className:"text-center mb-10 md:mb-12",initial:{opacity:0,y:30},animate:s?{opacity:1,y:0}:{opacity:0,y:30},transition:{duration:.6},children:[(0,b.jsxs)(l.motion.div,{className:"inline-flex items-center gap-2 bg-primary/10 text-primary px-3 sm:px-4 py-2 rounded-full text-xs sm:text-sm font-medium mb-4 sm:mb-6",whileHover:{scale:1.05},children:[(0,b.jsx)(h.GraduationCap,{className:"w-4 h-4"}),o("التميز الأكاديمي","Academic Excellence")]}),(0,b.jsx)("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-display font-bold mb-4 bg-gradient-to-r from-primary via-secondary to-primary bg-clip-text text-transparent py-2 leading-relaxed",children:o(n?.titleAr||"كلياتنا",n?.titleEn||"Our Colleges")}),(0,b.jsx)("p",{className:"text-base sm:text-lg text-muted-foreground max-w-3xl mx-auto",children:o(n?.descriptionAr||"نقدم مجموعة متنوعة من البرامج الأكاديمية المتميزة في مختلف التخصصات",n?.descriptionEn||"We offer a diverse range of distinguished academic programs in various specializations")})]}),(0,b.jsx)(l.motion.div,{className:"grid md:grid-cols-2 gap-6 md:gap-8",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.2}}},initial:"hidden",animate:s?"visible":"hidden",children:(a||[]).map((a,c)=>(0,b.jsxs)(l.motion.div,{className:"group relative bg-card rounded-2xl overflow-hidden shadow-lg border border-border/50",variants:t,whileHover:{y:-10,boxShadow:"0 25px 50px -12px rgba(0,0,0,0.15)"},transition:{duration:.3},children:[(0,b.jsxs)("div",{className:"relative h-48 sm:h-56 md:h-64 overflow-hidden",children:[(0,b.jsx)(l.motion.img,{src:a.image||"https://images.unsplash.com/photo-1562774053-701939374585?w=800",alt:o(a.nameAr,a.nameEn),className:"w-full h-full object-cover",whileHover:{scale:1.1},transition:{duration:.6}}),(0,b.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),(0,b.jsx)(l.motion.div,{className:"absolute top-4 right-4 w-14 h-14 bg-white/20 backdrop-blur-md rounded-xl flex items-center justify-center border border-white/30",whileHover:{rotate:360,scale:1.1},transition:{duration:.6},children:(0,b.jsx)(h.GraduationCap,{className:"w-7 h-7 text-white"})}),(0,b.jsxs)("div",{className:"absolute bottom-4 left-4 right-4",children:[(0,b.jsx)("h3",{className:"text-2xl md:text-3xl font-bold text-white mb-2",children:o(a.nameAr,a.nameEn)}),(0,b.jsxs)("div",{className:"flex items-center gap-4 text-white/80 text-sm",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1",children:[(0,b.jsx)(g.BookOpen,{className:"w-4 h-4"}),Number(a.programsCount??a.programs?.length??0)," ",o("برامج","Programs")]}),(0,b.jsxs)("span",{className:"flex items-center gap-1",children:[(0,b.jsx)(f.Users,{className:"w-4 h-4"}),Number(a.facultyCount||0)," ",o("أستاذ","Faculty")]})]})]})]}),(0,b.jsxs)("div",{className:"p-5 sm:p-6",children:[(0,b.jsx)("p",{className:"text-muted-foreground mb-4 sm:mb-6 line-clamp-2",children:o(a.descriptionAr,a.descriptionEn)}),(0,b.jsx)(l.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},children:(0,b.jsxs)(j.Button,{className:"w-full group/btn font-bold",variant:"secondary",onClick:()=>q.push(`/colleges/${a.id}`),children:[o("استكشف الكلية","Explore College"),"ar"===p?(0,b.jsx)(d.ArrowLeft,{className:"w-4 h-4 mr-2 transition-transform group-hover/btn:-translate-x-1"}):(0,b.jsx)(e.ArrowRight,{className:"w-4 h-4 ml-2 transition-transform group-hover/btn:translate-x-1"})]})})]})]},a.id))}),(0,b.jsx)(l.motion.div,{className:"text-center mt-10 md:mt-12",initial:{opacity:0,y:20},animate:s?{opacity:1,y:0}:{opacity:0,y:20},transition:{delay:.8,duration:.5},children:(0,b.jsx)(l.motion.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,b.jsxs)(j.Button,{variant:"outline",size:"lg",onClick:()=>q.push("/colleges"),className:"group",children:[o("عرض جميع الكليات","View All Colleges"),"ar"===p?(0,b.jsx)(d.ArrowLeft,{className:"w-4 h-4 mr-2 transition-transform group-hover:-translate-x-1"}):(0,b.jsx)(e.ArrowRight,{className:"w-4 h-4 ml-2 transition-transform group-hover:translate-x-1"})]})})})]})})}])},339673,a=>{a.n(a.i(441123))}];

//# sourceMappingURL=components_CollegesSection_tsx_4ac92b54._.js.map