import { Link } from "react-router-dom";
import { motion } from "motion/react";
import { ArrowRight, Award, Briefcase } from "lucide-react";
import { manpower } from "../data/content";
import SectionHeader from "../components/SectionHeader";
export default function ServicesManpower() {
  return <div className="bg-slate-50 min-h-screen text-slate-900">
      
      {
    /* Page Header (Background Image + Slate Mask) */
  }
      <section
    className="relative pt-32 pb-24 md:pt-40 md:pb-32 bg-cover bg-center text-white border-b border-slate-900"
    style={{ backgroundImage: "url('https://images.unsplash.com/photo-1605647540924-852290f6b0d5?auto=format&fit=crop&w=1600&q=80')" }}
  >
        <div className="absolute inset-0 bg-slate-950/80 pointer-events-none" />
        <div className="max-w-7xl mx-auto px-5 md:px-8 relative z-10">
          <span className="font-mono text-xs font-bold text-orange-400 uppercase tracking-widest bg-orange-500/20 px-3.5 py-1.5 rounded-full border border-orange-500/30">
            {manpower.tag}
          </span>
          <h1 className="font-heading text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight mt-5 leading-tight">
            {manpower.title}
          </h1>
          <p className="mt-4 max-w-2xl text-slate-300 text-sm sm:text-base md:text-lg leading-relaxed font-light">
            {manpower.lead}
          </p>
        </div>
      </section>

      {
    /* Narrative Section */
  }
      <section className="max-w-4xl mx-auto px-5 md:px-8 py-20 relative">
        <div className="absolute right-0 top-10 w-80 h-80 bg-orange-500/5 rounded-full blur-3xl pointer-events-none" />
        <div className="space-y-6 text-slate-500 font-light text-sm sm:text-base leading-relaxed relative z-10">
          {manpower.body.map((p, idx) => <p key={p} className={idx === 0 ? "text-slate-900 font-bold border-l-4 border-orange-500 pl-4 md:pl-6 text-sm md:text-base leading-relaxed" : ""}>
              {p}
            </p>)}
        </div>
      </section>

      {
    /* Disciplines We Supply */
  }
      <section className="bg-slate-100 border-y border-slate-200 py-24">
        <div className="max-w-7xl mx-auto px-5 md:px-8">
          <SectionHeader
    align="center"
    tag="Outsourcing Profiles"
    title="Sectors & Disciplines We Support"
    description="Our database of over 90,000 active resumes ensures rapid personnel screening and deployment for various technical levels."
  />

          <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6 mt-12">
            {manpower.disciplines.map((discipline, idx) => <motion.div
    key={discipline}
    initial={{ opacity: 0, y: 15 }}
    whileInView={{ opacity: 1, y: 0 }}
    viewport={{ once: true }}
    transition={{ duration: 0.3, delay: idx * 0.03 }}
    className="bg-white border border-slate-200/60 p-6 rounded-2xl shadow-sm hover:shadow-md transition-all duration-300 flex items-center gap-4"
  >
                <div className="w-10 h-10 bg-orange-500/10 text-orange-600 flex items-center justify-center rounded-xl shrink-0">
                  <Briefcase className="w-5 h-5" />
                </div>
                <h3 className="text-sm font-bold text-slate-800 leading-normal">
                  {discipline}
                </h3>
              </motion.div>)}
          </div>
        </div>
      </section>

      {
    /* Database details banner */
  }
      <section className="py-20 max-w-4xl mx-auto px-5 md:px-8">
        <div className="bg-white border border-slate-100 p-8 md:p-10 rounded-2xl shadow-md flex flex-col sm:flex-row items-center gap-6">
          <div className="w-14 h-14 bg-orange-500/10 text-orange-600 rounded-2xl flex items-center justify-center shrink-0">
            <Award className="w-7 h-7" />
          </div>
          <div className="space-y-1.5 text-center sm:text-left">
            <h4 className="font-heading text-lg font-bold text-slate-900">Rapid Recruitment Referral Channel</h4>
            <p className="text-xs text-slate-500 leading-relaxed font-light">
              We vet each candidate using rigorous oral testing, resume validation, and safety understanding assessments before presenting them to clients. This reduces compliance risks on active refineries.
            </p>
          </div>
        </div>
      </section>

      {
    /* Bottom CTA */
  }
      <section className="max-w-4xl mx-auto px-5 md:px-8 py-20 text-center relative z-10">
        <p className="text-slate-500 font-light text-xs sm:text-sm">Need to mobilize technical personnel for refinery turnarounds ranging from 15 days to several months?</p>
        <Link
    to="/contact"
    className="inline-flex items-center gap-2 mt-6 bg-orange-500 hover:bg-orange-600 text-white font-bold text-xs px-8 py-4 rounded-xl tracking-wider uppercase shadow-md transition-all duration-200 group"
  >
          <span>Request Candidate Portfolios</span>
          <ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform text-white" />
        </Link>
      </section>

    </div>;
}
