@@ -5,6 +5,7 @@ import { Button } from "@/components/ui/button"
55import { Building2 , Users , ArrowRight , Sparkles } from "lucide-react"
66import Link from "next/link"
77import { cn } from "@/lib/utils"
8+ import { CardSpotlight } from "@/components/ui/card-spotlight"
89
910const features = [
1011 {
@@ -76,29 +77,43 @@ export function OrganizationsSection() {
7677 transition = { { duration : 0.6 , delay : index * 0.1 } }
7778 viewport = { { once : true } }
7879 whileHover = { { y : - 8 , transition : { duration : 0.3 } } }
79- className = "relative"
8080 >
81- < div className = "h-full bg-background/50 backdrop-blur-sm border border-primary/10 rounded-2xl p-8 space-y-6 hover:border-primary/20 transition-all duration-300 hover:shadow-lg group" >
82- < motion . div
83- className = { cn (
84- "w-16 h-16 rounded-2xl flex items-center justify-center shadow-lg" ,
85- `bg-gradient-to-br ${ feature . gradient } `
86- ) }
87- whileHover = { {
88- rotate : [ 0 , - 10 , 10 , 0 ] ,
89- transition : { duration : 0.5 } ,
90- } }
91- >
92- < feature . icon className = "h-8 w-8 text-white" />
93- </ motion . div >
81+ < CardSpotlight
82+ className = "relative h-full bg-white/50 dark:bg-background/50 backdrop-blur-md border border-primary/10 overflow-hidden rounded-2xl"
83+ color = "rgba(99, 102, 241, 0.15)"
84+ >
85+ < div className = "pointer-events-none absolute inset-0 z-0 bg-[radial-gradient(circle_at_center,_rgba(255,255,255,0.7)_0%,_rgba(255,255,255,0)_60%)] dark:bg-none" />
9486
95- < div className = "space-y-3" >
96- < h3 className = "text-2xl font-bold" > { feature . title } </ h3 >
97- < p className = "text-muted-foreground leading-relaxed" >
87+ < div className = "relative z-10 space-y-4" >
88+ < div className = "flex items-start space-x-4" >
89+ < motion . div
90+ className = { cn (
91+ "w-14 h-14 rounded-xl flex items-center justify-center shadow-lg relative overflow-hidden flex-shrink-0" ,
92+ `bg-gradient-to-br ${ feature . gradient } `
93+ ) }
94+ whileHover = { {
95+ rotate : [ 0 , - 10 , 10 , 0 ] ,
96+ transition : { duration : 0.5 } ,
97+ } }
98+ >
99+ < feature . icon className = "h-7 w-7 text-white relative z-10" />
100+ < motion . div
101+ className = "absolute inset-0 bg-white/20"
102+ initial = { { scale : 0 , opacity : 0 } }
103+ whileHover = { {
104+ scale : 1 ,
105+ opacity : 1 ,
106+ transition : { duration : 0.3 } ,
107+ } }
108+ />
109+ </ motion . div >
110+ < h3 className = "text-xl font-bold text-zinc-900 dark:text-white pt-1" > { feature . title } </ h3 >
111+ </ div >
112+ < p className = "text-zinc-800 dark:text-foreground/80 leading-relaxed text-sm" >
98113 { feature . description }
99114 </ p >
100115 </ div >
101- </ div >
116+ </ CardSpotlight >
102117 </ motion . div >
103118 ) ) }
104119 </ div >
@@ -137,6 +152,6 @@ export function OrganizationsSection() {
137152 </ p >
138153 </ motion . div >
139154 </ div >
140- </ section >
155+ </ section >
141156 )
142157}
0 commit comments