@@ -53,15 +53,30 @@ const FAQs: React.FC = () => {
5353
5454  return  ( 
5555    < section 
56-       className = { `py-8 transition-colors duration-300 ${  
57-         isDark  ? "bg-[#121212]"  : "bg-gray-50"  
58-       }  `} 
56+       className = "relative overflow-hidden py-8 transition-all duration-300" 
57+       style = { { 
58+         background : isDark 
59+           ? "linear-gradient(to bottom, #0a0a0a 0%, #0f0f1e 30%, #1a1a2e 60%, #1e1635 85%, #2d1b4e 100%)" 
60+           : "linear-gradient(to bottom, #f9fafb 0%, #f3f4f6 30%, #e5e7eb 60%, #ddd6fe 85%, #ede9fe 100%)" , 
61+         border : "none" , 
62+         borderTop : "none" , 
63+         boxShadow : "none" , 
64+         outline : "none" , 
65+         margin : "0" , 
66+         padding : "2rem 0" , 
67+       } } 
5968    > 
6069      < div  className = "mx-auto px-2 sm:px-4 lg:px-6" > 
6170        < div  className = "flex flex-col items-center justify-center gap-x-8 gap-y-12 lg:flex-row lg:justify-between xl:gap-28" > 
6271          < div  className = "w-full" > 
6372            < div  className = "mb-8 lg:mb-16" > 
64-               < h6  className = "mb-2 text-center text-lg font-medium text-indigo-600 lg:text-left" > 
73+               < h6 
74+                 className = "mb-2 text-center text-lg font-medium lg:text-left" 
75+                 style = { { 
76+                   color : isDark  ? "#a78bfa"  : "#8b5cf6" , 
77+                   fontWeight : 600 , 
78+                 } } 
79+               > 
6580                FAQs
6681              </ h6 > 
6782              < h2 
@@ -91,11 +106,20 @@ const FAQs: React.FC = () => {
91106                  transition = { {  duration : 0.3  } } 
92107                > 
93108                  < button 
94-                     className = { `accordion-toggle group flex w-full cursor-pointer items-center justify-between text-lg font-medium transition-all duration-300 ${  
109+                     className = { `accordion-toggle group flex w-full cursor-pointer items-center justify-between rounded-lg p-4  text-lg font-medium transition-all duration-300 focus:outline-none  ${  
95110                      isDark  
96-                         ? "bg-gray-800 text-gray-200 hover:text-indigo-400"  
97-                         : "bg-gray-100 text-gray-700 hover:text-indigo-600"  
98-                     }   rounded-lg p-4 focus:outline-none`} 
111+                         ? "text-gray-200 hover:text-indigo-400"  
112+                         : "text-gray-700 hover:text-indigo-600"  
113+                     }  `} 
114+                     style = { { 
115+                       background : isDark 
116+                         ? "rgba(30, 27, 75, 0.6)" 
117+                         : "rgba(237, 233, 254, 0.6)" , 
118+                       border : isDark 
119+                         ? "1px solid rgba(139, 92, 246, 0.2)" 
120+                         : "1px solid rgba(139, 92, 246, 0.3)" , 
121+                       backdropFilter : "blur(10px)" , 
122+                     } } 
99123                    onClick = { ( )  =>  toggleAccordion ( index ) } 
100124                  > 
101125                    { faq . question } 
0 commit comments