(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80082,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(75254);let l=(0,a.default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),r=(0,a.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),i=`
@keyframes neonGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255,255,255,0.5),
                0 0 10px rgba(255,255,255,0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(255,255,255,0.8),
                0 0 30px rgba(255,255,255,0.4);
  }
}
.neon-glow {
  animation: neonGlow 2s ease-in-out infinite;
}
`;function m(){let[e,a]=(0,s.useState)(0),[m,o]=(0,s.useState)(3);(0,s.useEffect)(()=>{let e=document.createElement("style");e.textContent=i,document.head.appendChild(e);let t=()=>{window.innerWidth<640?o(1):window.innerWidth<1024?o(2):o(3)};return t(),window.addEventListener("resize",t),()=>{document.head.removeChild(e),window.removeEventListener("resize",t)}},[]);let n=[{name:"E-commerce",image:"https://images.unsplash.com/photo-1472851294608-062f824d29cc?w=400&q=80"},{name:"NewsApp",image:"https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=400&q=80"},{name:"Samriddhi",image:"https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=400&q=80"},{name:"ElectroApp",image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=400&q=80"},{name:"Factorymanagement",image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=400&q=80"}],d=Math.max(0,n.length-m);return(0,s.useEffect)(()=>{e>d&&a(d)},[d,e]),(0,t.jsxs)("div",{className:"bg-black text-white min-h-[60vh] py-6 sm:py-10 md:py-16 px-4",children:[(0,t.jsxs)("div",{className:"text-center mb-8 sm:mb-12 md:mb-16",children:[(0,t.jsx)("h2",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold mb-3 sm:mb-4",children:"Technollence Portfolio"}),(0,t.jsx)("p",{className:"text-gray-400 text-sm sm:text-base md:text-lg px-4",children:"Explore our successful projects and digital transformations"})]}),(0,t.jsxs)("div",{className:"relative max-w-7xl mx-auto",children:[(0,t.jsx)("button",{onClick:()=>{a(e=>Math.max(e-1,0))},disabled:0===e,className:"absolute left-0 sm:-left-4 md:-left-6 top-1/2 -translate-y-1/2 z-10 bg-white/10 hover:bg-white/20 disabled:bg-gray-800 disabled:cursor-not-allowed p-2 sm:p-3 rounded-full border border-white/20 backdrop-blur-md transition-all duration-300 hover:scale-110","aria-label":"Previous slide",children:(0,t.jsx)(l,{className:"w-4 h-4 sm:w-5 sm:h-5 md:w-6 md:h-6 text-white"})}),(0,t.jsx)("button",{onClick:()=>{a(e=>Math.min(e+1,d))},disabled:e===d,className:"absolute right-0 sm:-right-4 md:-right-6 top-1/2 -translate-y-1/2 z-10 bg-white/10 hover:bg-white/20 disabled:bg-gray-800 disabled:cursor-not-allowed p-2 sm:p-3 rounded-full border border-white/20 backdrop-blur-md transition-all duration-300 hover:scale-110","aria-label":"Next slide",children:(0,t.jsx)(r,{className:"w-4 h-4 sm:w-5 sm:h-5 md:w-6 md:h-6 text-white"})}),(0,t.jsx)("div",{className:"overflow-hidden px-8 sm:px-10 md:px-12",children:(0,t.jsx)("div",{className:"flex transition-transform duration-500 ease-out gap-3 sm:gap-4 md:gap-6",style:{transform:`translateX(-${100/m*e}%)`},children:n.map((e,s)=>(0,t.jsx)("div",{className:"flex-shrink-0 group",style:{width:`calc(${100/m}% - ${(m-1)*(1===m?12:2===m?8:16)/m}px)`},children:(0,t.jsxs)("div",{className:"bg-gray-900 rounded-lg sm:rounded-xl overflow-hidden neon-glow hover:scale-105 transition-transform duration-300",children:[(0,t.jsxs)("div",{className:"aspect-[4/3] sm:aspect-[3/2] md:aspect-[4/3] relative overflow-hidden",children:[(0,t.jsx)("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover grayscale group-hover:grayscale-0 group-hover:scale-110 transition-all duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"})]}),(0,t.jsxs)("div",{className:"p-3 sm:p-4 md:p-6",children:[(0,t.jsx)("h3",{className:"text-sm sm:text-base md:text-lg lg:text-xl font-semibold text-white",children:e.name}),(0,t.jsx)("p",{className:"text-xs sm:text-sm text-gray-400 mt-1 sm:mt-2",children:"View Project Details"})]})]})},s))})}),(0,t.jsx)("div",{className:"flex justify-center gap-1.5 sm:gap-2 mt-6 sm:mt-8",children:Array.from({length:d+1}).map((s,l)=>(0,t.jsx)("button",{onClick:()=>a(l),className:` sm:h-2  rounded-full transition-all duration-300 ${e===l?"w-6 sm:w-8 bg-white":"w-1.5 sm:w-2 bg-gray-600 hover:bg-gray-500"}`,"aria-label":`Go to slide ${l+1}`},l))})]}),(0,t.jsx)("div",{className:"text-center mt-12 sm:mt-16 md:mt-20",children:(0,t.jsx)("p",{className:"text-gray-500 text-xs sm:text-sm",children:"Swipe or use arrows to explore more projects"})})]})}e.s(["default",()=>m],80082)},74690,e=>{e.n(e.i(80082))}]);