"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Building2, TrendingUp, CheckCircle, DollarSign, Building, Users, Quote } from "lucide-react";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="blurBottom"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="BuildCorp Kenya"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Projects", id: "/projects" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "/contact"
          }}
          animateOnLoad={true}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="Our Journey"
          tagIcon={Building2}
          tagAnimation="reveal-blur"
          title="13 Years of Construction Excellence in Kenya"
          description="Since 2012, BuildCorp Kenya has been at the forefront of transforming Kenya's built environment. We've grown from a team of 10 to over 500 dedicated professionals, managing projects totaling KES 8.5B+ in value. Our unwavering commitment to quality, transparency, and delivering on time has positioned us as the trusted partner for developers, investors, and government agencies across East Africa. We don't just build structures; we build lasting relationships and create sustainable value for all stakeholders."
          metrics={[
            { value: "13+", title: "Years of Excellence" },
            { value: "500+", title: "Team Members" }
          ]}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/workers-long-wooden-table_1262-810.jpg?_wi=2"
          imageAlt="BuildCorp Kenya leadership and team"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Proven Track Record"
          description="Measurable milestones that demonstrate our commitment to excellence and reliability"
          tag="Key Achievements"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="scale-rotate"
          gridVariant="uniform-all-items-equal"
          metrics={[
            { id: "1", value: "98", title: "%", description: "On-Time Project Completion Rate", icon: CheckCircle },
            { id: "2", value: "8.5", title: "B+", description: "Total Cumulative Project Value (KES)", icon: DollarSign },
            { id: "3", value: "45", title: "+", description: "Successful Projects Delivered", icon: Building },
            { id: "4", value: "500", title: "+", description: "Skilled Construction Professionals", icon: Users }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Partners Say"
          description="Trusted voices from developers, investors, and government officials who've experienced our commitment to excellence"
          tag="Testimonials"
          tagIcon={Quote}
          tagAnimation="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "James Mwangi, CEO of Centum Real Estate",
              date: "Date: 15 November 2024",
              title: "The Most Reliable Partner in East Africa",
              quote: "BuildCorp Kenya's commitment to on-time delivery and transparent reporting transformed our project timelines. Their team's expertise in regulatory navigation saved us months of delays. We've trusted them with multiple developments across Nairobi.",
              tag: "Large Mixed-Use",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-african-businessman-wearing-suit-headshot-vertical-portrait-with-team_1163-3924.jpg",
              avatarAlt: "James Mwangi",
              imageSrc: "http://img.b2bpic.net/free-photo/modern-buildings-boats-san-diego-usa_1268-14464.jpg",
              imageAlt: "Centum Real Estate project"
            },
            {
              id: "2",
              name: "Aisha Okonkwo, Investment Director at Stanlib Kenya",
              date: "Date: 22 October 2024",
              title: "Financial Discipline Meets Execution Excellence",
              quote: "As an investment fund, we require predictable timelines and budget control. BuildCorp delivered exactly that. Their monthly reporting and risk management protocols gave our investors complete confidence in their capital deployment.",
              tag: "International Fund",
              avatarSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-successful-businesswoman-looking-into-camera-sitting-restaurant-business-lady-with-stylish-hairstyle-wears-elegant-suit-business-meeting-attractive-appearance_8353-12611.jpg",
              avatarAlt: "Aisha Okonkwo",
              imageSrc: "http://img.b2bpic.net/free-photo/motion-blur-skytrain-speeding-through-modern-business-district_53876-16146.jpg",
              imageAlt: "Stanlib portfolio"
            },
            {
              id: "3",
              name: "Dr. Peter Kipchoge, Nairobi Metropolitan Authority",
              date: "Date: 8 September 2024",
              title: "Excellence in Public Infrastructure Partnership",
              quote: "BuildCorp's collaboration on several infrastructure projects has been exemplary. Their adherence to quality standards, environmental protocols, and community engagement makes them our go-to partner for major developments.",
              tag: "Government Agency",
              avatarSrc: "http://img.b2bpic.net/free-photo/serious-senior-businessman-with-clipboards_1262-1934.jpg",
              avatarAlt: "Dr. Peter Kipchoge",
              imageSrc: "http://img.b2bpic.net/free-photo/panoramic-view-brooklyn-bridge-new-york-city_268835-766.jpg",
              imageAlt: "NMA infrastructure project"
            },
            {
              id: "4",
              name: "Susan Karanja, Managing Director of Amara Properties",
              date: "Date: 25 August 2024",
              title: "Scaling Ambitions with Proven Expertise",
              quote: "We grew from single projects to portfolio developments through BuildCorp's proven systems and team. Their ability to manage multiple concurrent projects without compromising quality is unmatched in the industry.",
              tag: "Portfolio Developer",
              avatarSrc: "http://img.b2bpic.net/free-photo/friendly-successful-business-woman-posing-with-arms-crossed_74855-2813.jpg",
              avatarAlt: "Susan Karanja",
              imageSrc: "http://img.b2bpic.net/free-photo/real-estate-house-property-residence-concept_53876-122714.jpg",
              imageAlt: "Amara portfolio"
            },
            {
              id: "5",
              name: "Mohammed Al-Rashid, East Africa Ventures",
              date: "Date: 12 July 2024",
              title: "Risk Management and Return Optimization",
              quote: "BuildCorp's integrated approach to project risk and stakeholder management helped us achieve 22% IRR on our Nairobi development. Their expertise in both execution and investor relations is rare.",
              tag: "Private Equity",
              avatarSrc: "http://img.b2bpic.net/free-photo/portrait-successful-businessmen-office-two-serious-man-suits-working-with-computer-table-making-decisions-developing-strategy-business-growth-business-growth-finance-concept_74855-24621.jpg",
              avatarAlt: "Mohammed Al-Rashid",
              imageSrc: "http://img.b2bpic.net/free-photo/business-agreement-handshake-coffee-shop_53876-16007.jpg",
              imageAlt: "EA Ventures deal"
            },
            {
              id: "6",
              name: "Grace Ochieng, Head of Development at Surreal Investments",
              date: "Date: 30 June 2024",
              title: "Consistent Quality Across Diverse Projects",
              quote: "From luxury residential to commercial towers, BuildCorp maintains the same quality standards and professionalism. Their team's adaptability to different project types and market conditions is impressive.",
              tag: "Multi-Sector Developer",
              avatarSrc: "http://img.b2bpic.net/free-photo/senior-woman-with-plans-helmet_1149-1127.jpg",
              avatarAlt: "Grace Ochieng",
              imageSrc: "http://img.b2bpic.net/free-photo/bird-s-eye-view-shanghai_1127-4012.jpg",
              imageAlt: "Surreal diversity"
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Projects", href: "/projects" },
                { label: "Services", href: "/#services" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Blog", href: "#" },
                { label: "Case Studies", href: "#" },
                { label: "Industry Reports", href: "#" },
                { label: "FAQ", href: "/#faq" }
              ]
            },
            {
              title: "Partnership",
              items: [
                { label: "Become a Partner", href: "/contact" },
                { label: "Investment Opportunities", href: "#" },
                { label: "Supplier Portal", href: "#" },
                { label: "Contact Us", href: "/contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Compliance", href: "#" },
                { label: "Security", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 BuildCorp Kenya. All rights reserved."
          bottomRightText="Building Kenya's Future"
        />
      </div>
    </ThemeProvider>
  );
}