

// import { Button } from "@/components/ui/button"
import { Card, CardContent } from "@/components/ui/card"
import { motion } from 'motion/react';

const services = [
  {
    title: "Cryptocurrency Mining & Trading",
    description:
      "Cryptocurrency mining and trading industries have revolutionized the financial market. With Bitcoin leading the blockchain revolution, this field offers tremendous growth potential.",
    image:
      "https://images.pexels.com/photos/730547/pexels-photo-730547.jpeg?auto=compress&cs=tinysrgb&w=400&h=250&fit=crop",
    buttonText: "Explore Crypto",
  },
  {
    title: "Stock & Commodities Investments",
    description:
      "Diversify your portfolio with strategic investments in stocks and commodities. Our experts help you navigate market volatility and identify profitable opportunities.",
    image:
      "https://images.pexels.com/photos/590020/pexels-photo-590020.jpeg?auto=compress&cs=tinysrgb&w=400&h=250&fit=crop",
    buttonText: "View Portfolios",
  },
  {
    title: "Retirement & Future Plans",
    description:
      "Secure your future with comprehensive retirement planning. We help you identify income sources, manage expenses, and build a sustainable retirement strategy.",
    image:
      "https://images.pexels.com/photos/3184317/pexels-photo-3184317.jpeg?auto=compress&cs=tinysrgb&w=400&h=250&fit=crop",
    buttonText: "Plan Retirement",
  },
]

const itemVariants = {
  hidden: { opacity: 0, y: 50 },
  visible: { opacity: 1, y: 0 },
}

export default function ServicesSection() {
  return (
    <section className="py-20 bg-white">
      <div className="container mx-auto px-4">
        <div className="text-center mb-16">
          <h2 className="text-4xl font-bold text-gray-800 mb-4">Investment Solutions That Deliver Results</h2>
          <p className="text-xl text-gray-600 max-w-4xl mx-auto">
            Our comprehensive range of investment services is designed to help you achieve your financial goals with
            confidence and security.
          </p>
        </div>

        <motion.div
          className="grid grid-cols-1 lg:grid-cols-3 gap-8"
          initial="hidden"
          whileInView="visible"
          viewport={{ once: true, amount: 0.3 }}
          transition={{ staggerChildren: 0.1 }}
        >
          {services.map((service, index) => (
            <motion.div key={index} variants={itemVariants}>
              <Card className="group hover:shadow-2xl transition-all duration-300 border-0 shadow-lg">
                <CardContent className="">
                  <div className="mb-6 overflow-hidden rounded-xl">
                    <img
                      src={service.image || "/placeholder.svg"}
                      alt={service.title}
                      width={400}
                      height={250}
                      className="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300"
                    />
                  </div>
                  <h4 className="text-2xl font-bold mb-4 text-gray-800">{service.title}</h4>
                  <p className="text-gray-600 leading-relaxed mb-6">{service.description}</p>
                  {/* <Button
                    variant="outline"
                    className="border-green-500 text-green-500 hover:bg-green-500 hover:text-white bg-transparent"
                  >
                    {service.buttonText}
                  </Button> */}
                </CardContent>
              </Card>
            </motion.div>
          ))}
        </motion.div>
      </div>
    </section>
  )
}
