1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/blogService-BH0EDrmC.js","assets/index-DCmk5yXm.js","assets/index-Bh2pgFOP.css"])))=>i.map(i=>d[i]); 2import{aw as je,r as o,ax as vs,j as e,ay as $e,az as $,aA as O,aB as js,aC as ze,aD as Ns,aE as ws,k as K,aF as ys,u as ks,aG as Cs,m as _,h as Ve,B as A,E as Be,au as Ge,A as Pe,S as Is,P as Ss,ar as Fe,ad as he,R as Re,I as Ts,b as Z,al as Es,aj as Ps,U as Fs,N as Ae,c as De,G as Rs,d as As,D as Ds,O as Ue,av as _s,at as Ls,aH as Os,_ as Ms}from"./index-DCmk5yXm.js";import{B as $s}from"./BlogCard-CtKBacKw.js";import{u as Ke}from"./index-CyU-aJ39.js";import{B as L}from"./badge-CUZCtk8B.js";import{C as D,a as Y,b as M,c as B,d as G,e as qe}from"./card-C1vEN-c_.js";import{C as zs}from"./ConsultationButton-DAUHX6rO.js";import{C as Vs}from"./ConsistentPageHeader-CQsI97xR.js";import{F as pe,T as Bs}from"./MotionWrapper-BmS41FXU.js";import{C as X}from"./check-DiaVayr5.js";import{C as He}from"./chevron-up-BhV6iy3Q.js";import{A as oe}from"./arrow-right-Dz903dkp.js";import{C as Gs}from"./circle-x-DqjQyncm.js";import{C as _e}from"./clock-BHackcjE.js";import"./calendar-days-CyfqItvA.js";var ge="rovingFocusGroup.onEntryFocus",Us={bubbles:!1,cancelable:!0},se="RovingFocusGroup",[fe,Qe,Ks]=vs(se),[qs,We]=je(se,[Ks]),[Hs,Qs]=qs(se),Ye=o.forwardRef((a,r)=>e.jsx(fe.Provider,{scope:a.__scopeRovingFocusGroup,children:e.jsx(fe.Slot,{scope:a.__scopeRovingFocusGroup,children:e.jsx(Ws,{...a,ref:r})})}));Ye.displayName=se;var Ws=o.forwardRef((a,r)=>{const{__scopeRovingFocusGroup:s,orientation:i,loop:l=!1,dir:p,currentTabStopId:m,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:u,onEntryFocus:f,preventScrollOnEntryFocus:d=!1,...g}=a,h=o.useRef(null),S=js(r,h),P=Ke(p),[q,v]=ze({prop:m,defaultProp:x??null,onChange:u,caller:se}),[F,H]=o.useState(!1),I=Ns(f),T=Qe(s),J=o.useRef(!1),[E,ae]=o.useState(0);return o.useEffect(()=>{const y=h.current;if(y)return y.addEventListener(ge,I),()=>y.removeEventListener(ge,I)},[I]),e.jsx(Hs,{scope:s,orientation:i,dir:P,loop:l,currentTabStopId:q,onItemFocus:o.useCallback(y=>v(y),[v]),onItemShiftTab:o.useCallback(()=>H(!0),[]),onFocusableItemAdd:o.useCallback(()=>ae(y=>y+1),[]),onFocusableItemRemove:o.useCallback(()=>ae(y=>y-1),[]),children:e.jsx($.div,{tabIndex:F||E===0?-1:0,"data-orientation":i,...g,ref:S,style:{outline:"none",...a.style},onMouseDown:O(a.onMouseDown,()=>{J.current=!0}),onFocus:O(a.onFocus,y=>{const xe=!J.current;if(y.target===y.currentTarget&&xe&&!F){const te=new CustomEvent(ge,Us);if(y.currentTarget.dispatchEvent(te),!te.defaultPrevented){const Q=T().filter(R=>R.focusable),re=Q.find(R=>R.active),le=Q.find(R=>R.id===q),ie=[re,le,...Q].filter(Boolean).map(R=>R.ref.current);Ze(ie,d)}}J.current=!1}),onBlur:O(a.onBlur,()=>H(!1))})})}),Xe="RovingFocusGroupItem",Je=o.forwardRef((a,r)=>{const{__scopeRovingFocusGroup:s,focusable:i=!0,active:l=!1,tabStopId:p,children:m,...x}=a,u=$e(),f=p||u,d=Qs(Xe,s),g=d.currentTabStopId===f,h=Qe(s),{onFocusableItemAdd:S,onFocusableItemRemove:P,currentTabStopId:q}=d;return o.useEffect(()=>{if(i)return S(),()=>P()},[i,S,P]),e.jsx(fe.ItemSlot,{scope:s,id:f,focusable:i,active:l,children:e.jsx($.span,{tabIndex:g?0:-1,"data-orientation":d.orientation,...x,ref:r,onMouseDown:O(a.onMouseDown,v=>{i?d.onItemFocus(f):v.preventDefault()}),onFocus:O(a.onFocus,()=>d.onItemFocus(f)),onKeyDown:O(a.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){d.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const F=Js(v,d.orientation,d.dir);if(F!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let I=h().filter(T=>T.focusable).map(T=>T.ref.current);if(F==="last")I.reverse();else if(F==="prev"||F==="next"){F==="prev"&&I.reverse();const T=I.indexOf(v.currentTarget);I=d.loop?Zs(I,T+1):I.slice(T+1)}setTimeout(()=>Ze(I))}}),children:typeof m=="function"?m({isCurrentTabStop:g,hasTabStop:q!=null}):m})})});Je.displayName=Xe;var Ys={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Xs(a,r){return r!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Js(a,r,s){const i=Xs(a.key,s);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return Ys[i]}function Ze(a,r=!1){const s=document.activeElement;for(const i of a)if(i===s||(i.focus({preventScroll:r}),document.activeElement!==s))return}function Zs(a,r){return a.map((s,i)=>a[(r+i)%a.length])}var ea=Ye,sa=Je,me="Tabs",[aa,Ta]=je(me,[We]),es=We(),[ta,Ne]=aa(me),ss=o.forwardRef((a,r)=>{const{__scopeTabs:s,value:i,onValueChange:l,defaultValue:p,orientation:m="horizontal",dir:x,activationMode:u="automatic",...f}=a,d=Ke(x),[g,h]=ze({prop:i,onChange:l,defaultProp:p??"",caller:me});return e.jsx(ta,{scope:s,baseId:$e(),value:g,onValueChange:h,orientation:m,dir:d,activationMode:u,children:e.jsx($.div,{dir:d,"data-orientation":m,...f,ref:r})})});ss.displayName=me;var as="TabsList",ts=o.forwardRef((a,r)=>{const{__scopeTabs:s,loop:i=!0,...l}=a,p=Ne(as,s),m=es(s);return e.jsx(ea,{asChild:!0,...m,orientation:p.orientation,dir:p.dir,loop:i,children:e.jsx($.div,{role:"tablist","aria-orientation":p.orientation,...l,ref:r})})});ts.displayName=as;var rs="TabsTrigger",ls=o.forwardRef((a,r)=>{const{__scopeTabs:s,value:i,disabled:l=!1,...p}=a,m=Ne(rs,s),x=es(s),u=os(m.baseId,i),f=ds(m.baseId,i),d=i===m.value;return e.jsx(sa,{asChild:!0,...x,focusable:!l,active:d,children:e.jsx($.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":f,"data-state":d?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:u,...p,ref:r,onMouseDown:O(a.onMouseDown,g=>{!l&&g.button===0&&g.ctrlKey===!1?m.onValueChange(i):g.preventDefault()}),onKeyDown:O(a.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&m.onValueChange(i)}),onFocus:O(a.onFocus,()=>{const g=m.activationMode!=="manual";!d&&!l&&g&&m.onValueChange(i)})})})});ls.displayName=rs;var is="TabsContent",ns=o.forwardRef((a,r)=>{const{__scopeTabs:s,value:i,forceMount:l,children:p,...m}=a,x=Ne(is,s),u=os(x.baseId,i),f=ds(x.baseId,i),d=i===x.value,g=o.useRef(d);return o.useEffect(()=>{const h=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(h)},[]),e.jsx(ws,{present:l||d,children:({present:h})=>e.jsx($.div,{"data-state":d?"active":"inactive","data-orientation":x.orientation,role:"tabpanel","aria-labelledby":u,hidden:!h,id:f,tabIndex:0,...m,ref:r,style:{...a.style,animationDuration:g.current?"0s":void 0},children:h&&p})})});ns.displayName=is;function os(a,r){return`${a}-trigger-${r}`}function ds(a,r){return`${a}-content-${r}`}var ra=ss,cs=ts,ms=ls,xs=ns;const Le=ra,be=o.forwardRef(({className:a,...r},s)=>e.jsx(cs,{ref:s,className:K("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...r}));be.displayName=cs.displayName;const U=o.forwardRef(({className:a,variant:r="default",...s},i)=>{const l={default:"data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",green:"data-[state=active]:bg-[#F2FCE2] data-[state=active]:text-green-800 data-[state=active]:shadow-sm",blue:"data-[state=active]:bg-[#D3E4FD] data-[state=active]:text-blue-800 data-[state=active]:shadow-sm",orange:"data-[state=active]:bg-[#FEC6A1] data-[state=active]:text-orange-800 data-[state=active]:shadow-sm",red:"data-[state=active]:bg-[#FFEBEE] data-[state=active]:text-red-800 data-[state=active]:shadow-sm",purple:"data-[state=active]:bg-[#F3E5F5] data-[state=active]:text-purple-800 data-[state=active]:shadow-sm"};return e.jsx(ms,{ref:i,className:K("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",l[r],a),...s})});U.displayName=ms.displayName;const de=o.forwardRef(({className:a,...r},s)=>e.jsx(xs,{ref:s,className:K("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...r}));de.displayName=xs.displayName;var we="Progress",ye=100,[la,Ea]=je(we),[ia,na]=la(we),us=o.forwardRef((a,r)=>{const{__scopeProgress:s,value:i=null,max:l,getValueLabel:p=oa,...m}=a;(l||l===0)&&!Oe(l)&&console.error(da(`${l}`,"Progress"));const x=Oe(l)?l:ye;i!==null&&!Me(i,x)&&console.error(ca(`${i}`,"Progress"));const u=Me(i,x)?i:null,f=ce(u)?p(u,x):void 0;return e.jsx(ia,{scope:s,value:u,max:x,children:e.jsx($.div,{"aria-valuemax":x,"aria-valuemin":0,"aria-valuenow":ce(u)?u:void 0,"aria-valuetext":f,role:"progressbar","data-state":gs(u,x),"data-value":u??void 0,"data-max":x,...m,ref:r})})});us.displayName=we;var hs="ProgressIndicator",ps=o.forwardRef((a,r)=>{const{__scopeProgress:s,...i}=a,l=na(hs,s);return e.jsx($.div,{"data-state":gs(l.value,l.max),"data-value":l.value??void 0,"data-max":l.max,...i,ref:r})});ps.displayName=hs;function oa(a,r){return`${Math.round(a/r*100)}%`}function gs(a,r){return a==null?"indeterminate":a===r?"complete":"loading"}function ce(a){return typeof a=="number"}function Oe(a){return ce(a)&&!isNaN(a)&&a>0}function Me(a,r){return ce(a)&&!isNaN(a)&&a<=r&&a>=0}function da(a,r){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${ye}\`.`}function ca(a,r){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${r}\`. The \`value\` prop must be: 3 - a positive number 4 - less than the value passed to \`max\` (or ${ye} if no \`max\` prop is set) 5 - \`null\` or \`undefined\` if the progress is indeterminate. 6 7Defaulting to \`null\`.`}var fs=us,ma=ps;const ve=o.forwardRef(({className:a,value:r,indicatorClassName:s,...i},l)=>e.jsx(fs,{ref:l,className:K("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...i,children:e.jsx(ma,{className:K("h-full w-full flex-1 bg-primary transition-all",s),style:{transform:`translateX(-${100-(r||0)}%)`}})}));ve.displayName=fs.displayName;const ee=Ve.memo(({src:a,alt:r,className:s="",fallback:i=null})=>
7{const[l,p]=o.useState(!1),[m,x]=o.useState(!1),[u,f]=o.useState(()=>typeof window<"u"?window.innerWidth<768:!1);o.useEffect(()=>{const S=()=>{f(window.innerWidth<768)},P=()=>S();return window.addEventListener("resize",P),()=>window.removeEventListener("resize",P)},[]);const d=o.useMemo(()=>{if(!a)return null;if(a.includes("cloudinary.com")){const S=u?400:800,P=u?"q_auto:low":"q_auto:good";if(a.includes("/upload/"))return a.replace("/upload/",`/upload/${P},w_${S},f_auto/`)}return a},[a,u]),g=o.useCallback(()=>p(!0),[]),h=o.useCallback(()=>x(!0),[]);return!d||m?i||e.jsx("div",{className:`w-full h-full bg-gradient-to-br from-gray-100 to-gray-200 dark:from-gray-800 dark:to-gray-700 flex items-center justify-center ${s}`,children:e.jsxs("div",{className:"text-center",children:[e.jsx(Ue,{className:"h-8 w-8 text-gray-400 mx-auto mb-2"}),e.jsx("span",{className:"text-gray-500 dark:text-gray-400 text-sm",children:"No Image"})]})}):e.jsxs("div",{className:"relative w-full h-full",children:[!l&&e.jsx("div",{className:`absolute inset-0 bg-gradient-to-br from-primary/5 to-primary/10 animate-pulse rounded-lg ${s}`,children:e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:"w-8 h-8 border-2 border-primary/20 border-t-primary rounded-full animate-spin"})})}),e.jsx("img",{src:d,alt:r,className:`w-full h-full object-cover transition-all duration-300 ${l?"opacity-100 scale-100":"opacity-0 scale-105"} ${s}`,loading:"lazy",decoding:"async",onLoad:g,onError:h})]})}),xa=Ve.memo(({subService:a,isExpanded:r,onToggle:s})=>{const i=!!(a.features||a.testimonial);return e.jsx(_.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full",children:e.jsxs(D,{className:"flex flex-col h-full hover:shadow-lg transition-all duration-300 border border-border overflow-hidden hover:border-primary/20",children:[e.jsxs(Y,{className:"pb-3",children:[e.jsx(M,{className:"text-lg font-medium leading-tight line-clamp-2",children:a.title}),e.jsx(G,{className:"text-sm line-clamp-2 min-h-[40px]",children:a.description})]}),e.jsxs(B,{className:"pt-0 pb-4 flex-grow flex flex-col overflow-hidden",children:[a.features&&a.features.length>0&&e.jsxs("div",{className:"mt-2",children:[e.jsx("h4",{className:"text-xs font-semibold uppercase tracking-wider mb-2 text-muted-foreground",children:"Key Features"}),e.jsxs("ul",{className:"space-y-1.5",children:[a.features.slice(0,3).map((l,p)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(X,{className:"h-3 w-3 text-primary mt-0.5 mr-2 flex-shrink-0"}),e.jsx("span",{className:"text-xs leading-relaxed line-clamp-2",children:l})]},p)),a.features.length>3&&!r&&e.jsxs("li",{className:"text-xs text-muted-foreground pl-5",children:["+",a.features.length-3," more features"]})]})]}),e.jsx(Ge,{initial:!1,children:r&&i&&e.jsx(_.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},className:"overflow-hidden mt-2",children:a.features&&a.features.length>3&&e.jsx("div",{className:"mt-3",children:e.jsx("ul",{className:"space-y-1.5",children:a.features.slice(3).map((l,p)=>e.jsxs("li",{className:"flex items-start",children:[e.jsx(X,{className:"h-3 w-3 text-primary mt-0.5 mr-2 flex-shrink-0"}),e.jsx("span",{className:"text-xs leading-relaxed line-clamp-2",children:l})]},p+3))})})})})]}),i&&e.jsx(qe,{className:"pt-0 mt-auto",children:e.jsx(A,{variant:"ghost",size:"sm",onClick:()=>s(a.id),className:"w-full text-xs",children:r?e.jsxs(e.Fragment,{children:["Show Less ",e.jsx(He,{className:"ml-1 h-3 w-3"})]}):e.jsxs(e.Fragment,{children:["Show More ",e.jsx(Be,{className:"ml-1 h-3 w-3"})]})})})]})})}),ua=(a,r)=>{var i;if(!a)return null;const s={"@context":"https://schema.org","@type":"Service",name:a.title,description:a.overview,provider:{"@type":"Organization",name:"Business and Data Solutions Ltd.",url:"https://bdsolutions.com"},areaServed:"Global",serviceType:(i=a.subServices)==null?void 0:i.map(l=>l.title),offers:{"@type":"Offer",description:"Custom enterprise solutions"},mainEntityOfPage:{"@type":"WebPage","@id":`https://bdsolutions.
7com/services/${r}`}};return a.faq&&a.faq.length>0&&(s.mainEntity=a.faq.map(l=>({"@type":"Question",name:l.question,acceptedAnswer:{"@type":"Answer",text:l.answer}}))),s},Pa=()=>{var Q,re,le,ue,ie,R,ke,Ce,Ie;const{serviceId:a}=ys(),r=ks();Cs();const[s,i]=o.useState(null),[l,p]=o.useState(null),[m,x]=o.useState(!0),[u,f]=o.useState(null),[d,g]=o.useState("current"),[h,S]=o.useState(null),[P,q]=o.useState(new Set),[v,F]=o.useState(new Set);o.useEffect(()=>{(async()=>{var n,c,N;if(x(!0),f(null),!a){f("No service ID provided."),x(!1),r("/services");return}try{await new Promise(w=>setTimeout(w,100));let k=_s[a];if(!k){const w=Ls.find(z=>z.path.includes(`/${a}`));w&&(k={title:w.title,overview:w.description||`Detailed information about our ${w.title} service.`})}const C=Os[a];if(k){i(k),p(C||null),((n=C==null?void 0:C.current)==null?void 0:n.length)>0&&(g("current"),S(C.current[0].name));try{const{fetchBlogPosts:w}=await Ms(async()=>{const{fetchBlogPosts:j}=await import("./blogService-BH0EDrmC.js");return{fetchBlogPosts:j}},__vite__mapDeps([0,1,2])),z=await w(),ne=new Set([...((c=k.meta)==null?void 0:c.keywords)||[],...((N=k.title)==null?void 0:N.toLowerCase().split(" "))||[],a.replace(/-/g," ")].map(j=>j.toLowerCase())),W=z.map(j=>{var Te;let V=0;const bs=`${j.title} ${j.category} ${(Te=j.tags)==null?void 0:Te.join(" ")}`.toLowerCase();return ne.forEach(Ee=>{Ee.length>3&&bs.includes(Ee)&&(V+=1)}),{...j,score:V}}).filter(j=>j.score>0).sort((j,V)=>V.score-j.score||new Date(V.date).getTime()-new Date(j.date).getTime()).slice(0,3),Se=W.length>0?W:z.sort((j,V)=>new Date(V.date).getTime()-new Date(j.date).getTime()).slice(0,3);Se.length>0&&i(j=>j&&{...j,blogPosts:Se})}catch(w){console.warn("Failed to fetch dynamic blog posts, falling back to static data",w)}}else f(`Details not found for service: ${a}`)}catch{f("Failed to load service details")}finally{x(!1)}})()},[a,r]);const H=o.useCallback(t=>{q(n=>{const c=new Set(n);return c.has(t)?c.delete(t):c.add(t),c})},[]),I=o.useCallback(t=>{F(n=>{const c=new Set(n);return c.has(t)?c.delete(t):c.add(t),c})},[]),T=o.useMemo(()=>s!=null&&s.title?s.title:a?a.replace(/-/g," ").replace(/\b\w/g,t=>t.toUpperCase()):"Service Detail",[s,a]),J=o.useCallback(t=>{g(t);const n=l==null?void 0:l[t];n&&n.length>0?S(n[0].name):S(null)},[l]),E=o.useMemo(()=>{if(!l||!d||!h)return null;const t=l[d];return!t||!Array.isArray(t)?null:t.find(n=>n.name===h)||null},[l,d,h]),ae=o.useMemo(()=>{var t;return(t=s==null?void 0:s.benefits)!=null&&t.length?e.jsxs("div",{className:"mt-20",children:[e.jsx("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-10 gap-6",children:e.jsxs("div",{className:"max-w-2xl",children:[e.jsx(L,{className:"mb-4 bg-primary/10 text-primary border-primary/20",children:"Value Proposition"}),e.jsx("h3",{className:"text-3xl md:text-4xl font-bold tracking-tight",children:"Key Benefits & Outcomes"})]})}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:s.benefits.map((n,c)=>e.jsxs(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1},className:"group p-6 rounded-3xl bg-white dark:bg-white/5 border border-border shadow-sm hover:shadow-xl hover:border-primary/20 transition-all duration-300",children:[e.jsx("div",{className:"w-12 h-12 rounded-2xl bg-primary/10 flex items-center justify-center mb-6 group-hover:bg-primary group-hover:text-white transition-colors duration-300",children:e.jsx(X,{className:"h-6 w-6"})}),e.jsx("p",{className:"text-lg font-medium leading-relaxed line-clamp-3",children:n})]},c))})]}):null},[s==null?void 0:s.benefits]),y=o.useMemo(()=>{var t;return(t=s==null?void 0:s.subServices)!=null&&t.length?e.jsx("section",{className:"py-16 bg-muted/20 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4 tracking-tight",children:"Core Components"}),e.jsx("div",{className:"w-20 h-1.5 bg-primary mx-auto rounded-full mb-6"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto px-4",children:"Comprehensive and scalable modules designed to build your ideal solution framework."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:s.subServices.map((n,c)=>e.jsx(xa,{subService:n,isExpanded:P.has(n.id),onToggle:H},n.id))})]})}):null},[s==null?void 0:s.subServices,P,H]),xe=o.useMemo(()=>{var t;return(t=s==null?void 0:s.faq)!=null&&t.length?e.jsx("section",{className:"py-12 bg-muted/10 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-8 text-center px-4",children:"Frequently Asked Questions"}
7),e.jsx("div",{className:"max-w-3xl mx-auto space-y-4 px-4",children:s.faq.map((n,c)=>{const N=v.has(c);return e.jsxs(D,{className:"border border-border overflow-hidden",children:[e.jsx(Y,{className:"pb-3 cursor-pointer hover:bg-muted/50 transition-colors",onClick:()=>I(c),children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(M,{className:"text-lg font-medium line-clamp-2 pr-8",children:n.question}),e.jsx(A,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 flex-shrink-0",children:N?e.jsx(He,{className:"h-4 w-4"}):e.jsx(Be,{className:"h-4 w-4"})})]})}),e.jsx(Ge,{initial:!1,children:N&&e.jsx(_.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},children:e.jsx(B,{className:"pt-0",children:e.jsx("p",{className:"text-muted-foreground leading-relaxed break-words",children:n.answer})})})})]},c)})})]})}):null},[s==null?void 0:s.faq,v,I]),te=o.useMemo(()=>{var t;return(t=s==null?void 0:s.blogPosts)!=null&&t.length?e.jsx("section",{className:"py-16 bg-background overflow-hidden border-t border-border",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-end mb-10 gap-4",children:[e.jsxs("div",{children:[e.jsx(L,{className:"mb-4 bg-primary/10 text-primary border-primary/20 hover:bg-primary/20 px-3 py-1",children:"Latest Insights"}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold tracking-tight",children:"Related Articles & Thinking"})]}),e.jsxs(A,{variant:"outline",onClick:()=>r("/blog"),children:["View All Articles ",e.jsx(oe,{className:"ml-2 h-4 w-4"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:s.blogPosts.map((n,c)=>{const N={id:n.id||`temp-${c}`,title:n.title,excerpt:n.excerpt,image:n.image,category:n.category||"Insight",date:n.date||"Recently Updated",readTime:n.readTime||"5 min read",...n};return e.jsx("div",{className:"h-full border border-border rounded-xl overflow-hidden hover:shadow-lg transition-shadow bg-card",children:e.jsx($s,{post:N})},c)})})]})}):null},[s==null?void 0:s.blogPosts,r]);return m?e.jsx("div",{className:"min-h-screen flex flex-col dark:bg-black border dark:text-gray-100",children:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 border-4 border-primary border-t-transparent rounded-full animate-spin mx-auto mb-4"}),e.jsx("p",{children:"Loading service details..."})]})})}):u?e.jsx("div",{className:"min-h-screen flex flex-col dark:bg-black border dark:text-gray-100",children:e.jsx("main",{className:"flex-grow flex items-center justify-center py-16 px-4",children:e.jsxs(D,{className:"w-full max-w-lg mx-auto border-destructive bg-destructive/5",children:[e.jsxs(Y,{children:[e.jsxs(M,{className:"text-destructive flex items-center gap-2",children:[e.jsx(Gs,{})," Error Loading Service"]}),e.jsx(G,{className:"text-destructive/90",children:u})]}),e.jsx(B,{children:e.jsxs(A,{onClick:()=>r("/services"),variant:"outline",children:[e.jsx(Pe,{className:"mr-2 h-4 w-4"})," Back to Services"]})})]})})}):s?e.jsxs(e.Fragment,{children:[e.jsx(Is,{title:((Q=s.meta)==null?void 0:Q.title)||s.title||"Service Detail",description:((re=s.meta)==null?void 0:re.description)||((le=s.overview)==null?void 0:le.substring(0,160))||"",keywords:(ie=(ue=s.meta)==null?void 0:ue.keywords)==null?void 0:ie.join(", "),url:((R=s.meta)==null?void 0:R.canonical)||window.location.href,image:s.image,children:e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ua(s,a||""))}})}),e.jsx(Vs,{title:T,description:s.subtitle||((ke=s.overview)==null?void 0:ke.split(".")[0])+"."||"",backgroundImage:s.image,categoryLabel:"Service Details",backLink:"/services",backLinkLabel:"Back to Services Overview"}),e.jsxs("main",{className:"flex-grow relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none -z-10 overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-[radial-gradient(circle_at_50%_50%,rgba(59,130,246,0.03),transparent_70%)]"}),e.jsx("div",{className:"absolute top-1/4 -right-20 w-[600px] h-[600px] bg-blue-500/10 rounded-full blur-[120px] animate-pulse hidden lg:block"}),e.jsx("div",{className:"absolute top-[60%] -left-40 w-[700px] h-[700px] bg-purple-500/8 rounded-full blur-[150px] hidden lg:block"}),e.jsx("div",{className:"absolute top-40 left-[15%] opacity-[0.03] rotate-12 hidden lg:block",children:e.jsx(Ss,{size:150})}),e.jsx("div",{className:"absolute top-[80%] right-[10%] opacity-[0.02] -rotate-12 hidden lg:block",children:e.jsx(Fe,{size:200})}),e.jsx("div",{className:"absolute top-[40%] left-[5%] opacity-[0.015] rotate-45 hidden lg:block",children:e.jsx(he,{size:180})})]}),e.jsx("section",{className:"py-12 md:py-16 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-6xl",children:[e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[e.jsxs(pe,{children:[e.jsx(L,{className:"mb-4 bg-primary/10 text-primary border-primary/20 hover:bg-primary/20 px-3 py-1",children:"Service Overview"}),e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-extrabold mb-8 tracking-tighter leading-tight",children:["Solving Complex ",e.jsx("br",{className:"hidden md:block"}),"Challenges with ",e.jsx("span",{className:"bg-clip-text text-transparent bg-gradient-to-r from-primary to-blue-600",children:"Intelligence"})]}),e.jsx("div",{className:"prose dark:prose-invert max-w-none",children:s.description?e.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-8 break-words",children:s.description}):e.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed mb-8 break-words",children:s.overview})}),e.jsxs("div",{className:"flex flex-wrap gap-4 mt-8",children:[e.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 rounded-full bg-muted/50 border border-border text-sm font-medium",children:[e.jsx(Re,{className:"w-4 h-4 text-primary"})," Scalable"]}),e.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 rounded-full bg-muted/50 border border-border text-sm font-medium",children:[e.jsx(he,{className:"w-4 h-4 text-primary"})," Secure"]}),e.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 rounded-full bg-muted/50 border border-border text-sm font-medium",children:[e.jsx(Fe,{className:"w-4 h-4 text-primary"})," Performant"]})]})]}),e.jsxs(pe,{delay:.2,className:"relative",children:[e.jsx("div",{className:"absolute -inset-4 bg-gradient-to-tr from-primary/20 to-secondary/20 blur-2xl rounded-full opacity-50 hidden md:block"}),e.jsx("div",{className:"relative aspect-video rounded-2xl overflow-hidden border border-border shadow-2xl",children:s.image?e.jsx(ee,{src:s.image,alt:T,className:"transition-transform duration-700 hover:scale-105"}):e.jsx("div",{className:"w-full h-full bg-muted flex items-center justify-center",children:e.jsx(Ts,{className:"w-16 h-16 text-primary/40"})})}),e.jsx("div",{className:"absolute -bottom-6 -right-6 bg-background p-6 rounded-3xl border border-border shadow-2xl hidden md:block max-w-[280px]",children:e.jsxs("div",{className:"flex items-center gap-4 p-4 bg-primary/[0.03] dark:bg-primary/[0.05] rounded-2xl border border-primary/10",children:[e.jsx("div",{className:"p-3 bg-primary text-white rounded-xl shadow-lg shadow-primary/20",children:e.jsx(Z,{className:"w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("span",{className:"font-bold text-base block",children:"Enterprise Ready"}),e.jsx("p",{className:"text-xs text-muted-foreground font-medium",children:"Verified Architecture"})]})]})})]})]}),ae]})}),e.jsx("section",{className:"pb-16 px-4",children:e.jsx("div",{className:"container mx-auto max-w-6xl",children:e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-8",children:[e.jsxs(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-white/40 dark:bg-white/5 backdrop-blur-md border border-white/20 dark:border-white/10 rounded-3xl p-4 md:p-6 text-center hover:shadow-xl transition-all duration-300",children:[e.jsx("div",{className:"w-8 h-8 md:w-12 md:h-12 bg-blue-500/10 rounded-2xl flex items-center justify-center mx-auto mb-3 md:mb-4 text-blue-600",children:e.jsx(Es,{size:20,className:"md:w-6 md:h-6"})}),e.jsx("div",{className:"text-xl md:text-3xl font-black mb-1",children:"45%"}),e.jsx("div",{className:"text-xs font-bold text-muted-foreground uppercase tracking-widest",children:"Efficiency Gain"})]}),e.jsxs(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"bg-white/40 dark:bg-white/5 backdrop-blur-md border border-white/20 dark:border-white/10 rounded-3xl p-4 md:p-6 text-center hover:shadow-xl transition-all duration-300",children:[e.jsx("div",{className:"w-8 h-8 md:w-12 md:h-12 bg-purple-500/10 rounded-2xl flex items-center justify-center mx-auto mb-3 md:mb-4 text-purple-600",children:e.jsx(he,{size:20,className:"md:w-6 md:h-6"})}),e.jsx("div",{className:"text-xl md:text-3xl font-black mb-1",children:"99.9%"}),e.jsx("div",{className:"text-xs font-bold text-muted-foreground uppercase tracking-widest",children:"Uptime Record"})]}),e.jsxs(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"bg-white/40 dark:bg-white/5 backdrop-blur-md border border-white/20 dark:border-white/10 rounded-3xl p-4 md:p-6 text-center hover:shadow-xl transition-all duration-300",children:[e.jsx("div",{className:"w-8 h-8 md:w-12 md:h-12 bg-green-500/10 rounded-2xl flex items-center justify-center mx-auto mb-3 md:mb-4 text-green-600",children:e.jsx(Ps,{size:20,className:"md:w-6 md:h-6"})}),e.jsx("div",{className:"text-xl md:text-3xl font-black mb-1",children:"2.4x"}),e.jsx("div",{className:"text-xs font-bold text-muted-foreground uppercase tracking-widest",children:"ROI Multiplier"})]}),e.jsxs(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"bg-white/40 dark:bg-white/5 backdrop-blur-md border border-white/20 dark:border-white/10 rounded-3xl p-4 md:p-6 text-center hover:shadow-xl transition-all duration-300",children:[e.jsx("div",{className:"w-8 h-8 md:w-12 md:h-12 bg-orange-500/10 rounded-2xl flex items-center justify-center mx-auto mb-3 md:mb-4 text-orange-600",children:e.jsx(Fs,{size:20,className:"md:w-6 md:h-6"})}),e.jsx("div",{className:"text-xl md:text-3xl font-black mb-1",children:"500+"}),e.jsx("div",{className:"text-xs font-bold text-muted-foreground uppercase tracking-widest",children:"Success Deployments"})]})]})})}),s.useCases&&s.useCases.length>0&&e.jsxs("section",{className:"py-16 bg-muted/30 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-[15rem] font-bold text-gray-200/20 dark:text-white/5 pointer-events-none select-none uppercase tracking-tighter -z-10 hidden md:block",children:"Results"}),e.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-6xl",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-12 gap-6",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 tracking-tight",children:"Solutions in Action"}),e.jsx("p",{className:"text-lg text-muted-foreground break-words",children:"See how we've helped organizations transform their operations and achieve measurable results."})]}),e.jsxs(A,{variant:"outline",className:"hidden md:flex rounded-full px-6",onClick:()=>r("/use-cases"),children:["View All Success Stories ",e.jsx(oe,{className:"ml-2 h-4 w-4"})]})]}),e.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:s.useCases.map((t,n)=>e.jsx(_.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},children:e.jsx(D,{className:"h-full border border-border overflow-hidden hover:shadow-xl transition-all duration-300 group",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-5 h-full",children:[e.jsxs("div",{className:"md:col-span-2 relative overflow-hidden bg-muted",children:[t.image?e.jsx(ee,{src:t.image,alt:t.title,className:"transition-transform duration-500 group-hover:scale-110 h-48 md:h-full object-cover"}):e.jsx("div",{className:"w-full h-48 md:h-full flex items-center justify-center",children:e.jsx(Ae,{className:"w-12 h-12 text-primary/20"})}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsx(L,{className:"bg-primary/90 backdrop-blur-sm text-xs",children:t.industry})})]}),e.jsxs("div",{className:"md:col-span-3 p-6 md:p-8 flex flex-col",children:[e.jsx("h3",{className:"text-xl font-bold mb-4 group-hover:text-primary transition-colors line-clamp-2",children:t.title}),e.jsxs("div",{className:"space-y-4 mb-6 flex-grow",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold uppercase text-primary/70 mb-1",children:"The Challenge"}
7),e.jsx("p",{className:"text-sm text-foreground/80 line-clamp-3 leading-relaxed break-words",children:t.challenge})]}),t.impact&&e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold uppercase text-primary/70 mb-2",children:"Key Outcomes"}),e.jsx("ul",{className:"space-y-2",children:t.impact.map((c,N)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[e.jsx("div",{className:"h-4 w-4 rounded-full bg-green-500/10 flex items-center justify-center mt-0.5",children:e.jsx(X,{className:"h-2.5 w-2.5 text-green-600"})}),e.jsx("span",{className:"break-words",children:c})]},N))})]})]}),e.jsxs(A,{variant:"link",className:"p-0 h-auto w-fit text-sm font-semibold hover:text-primary",onClick:()=>r("/use-cases"),children:["Read Full Details ",e.jsx(oe,{className:"ml-2 h-3.5 w-3.5"})]})]})]})})},n))})]})]}),y,te,xe,s.technologies&&s.technologies.length>0&&e.jsx("section",{className:"py-12 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-8 px-4",children:"Technologies We Use"}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:s.technologies.map((t,n)=>e.jsxs(D,{className:"border border-border hover:shadow-md transition-shadow h-full",children:[e.jsxs(Y,{className:"p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[t.logo&&e.jsx("div",{className:"w-8 h-8 flex-shrink-0",children:e.jsx("img",{src:t.logo,alt:`${t.name} logo`,className:"w-full h-full object-contain",loading:"lazy"})}),e.jsx(M,{className:"text-lg line-clamp-1",children:t.name})]}),t.category&&e.jsxs(L,{variant:"secondary",className:"w-fit text-xs",children:[t.category,t.icon&&e.jsx(t.icon,{className:"w-4 h-4 mr-2"})]})]}),e.jsx(B,{className:"p-4 pt-0",children:e.jsx(G,{className:"line-clamp-3",children:t.description})})]},n))})]})}),s.testimonials&&s.testimonials.length>0&&e.jsx("section",{className:"py-12 bg-muted/20 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-8 text-center px-4",children:"Client Success Stories"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 px-4",children:s.testimonials.map((t,n)=>e.jsx(D,{className:"border border-border h-full",children:e.jsx(B,{className:"p-6",children:e.jsx("div",{className:"flex items-start",children:e.jsxs("div",{className:"flex-1",children:[e.jsxs("p",{className:"text-lg italic mb-4 line-clamp-4",children:['"',t.quote,'"']}),e.jsxs("div",{className:"border-t pt-4",children:[e.jsx("p",{className:"font-semibold line-clamp-1",children:t.author}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-1",children:t.metrics})]})]})})})},n))})]})}),s.projects&&(s.projects.completed||s.projects.ongoing||s.projects.upcoming)&&e.jsx("section",{className:"py-12 border-t border-border overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-8",children:"Our Work & Projects"}),e.jsxs(Le,{defaultValue:(Ce=s.projects.completed)!=null&&Ce.length?"completed":(Ie=s.projects.ongoing)!=null&&Ie.length?"ongoing":"upcoming",className:"w-full",children:[e.jsxs(be,{className:"mb-6 grid w-full grid-cols-1 sm:grid-cols-3 gap-2",children:[s.projects.completed&&s.projects.completed.length>0&&e.jsxs(U,{value:"completed",className:"truncate",children:[e.jsx(X,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsxs("span",{className:"truncate",children:["Completed (",s.projects.completed.length,")"]})]}),s.projects.ongoing&&s.projects.ongoing.length>0&&e.jsxs(U,{value:"ongoing",className:"truncate",children:[e.jsx(_e,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsxs("span",{className:"truncate",children:["Ongoing (",s.projects.ongoing.length,")"]})]}),s.projects.upcoming&&s.projects.upcoming.length>0&&e.jsxs(U,{value:"upcoming",className:"truncate",children:[e.jsx(De,{className:"h-4 w-4 mr-2 flex-shrink-0"}),e.jsxs("span",{className:"truncate",children:["Upcoming (",s.projects.upcoming.length,")"]})]})]}),s.projects.completed&&e.jsx(de,{value:"completed",className:"space-y-6",children:s.projects.completed.map((t,n)=>{var c,N,k;return e.jsx(D,{className:"overflow-hidden border border-border",children:e.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.image&&e.jsx("div",{className:"md:w-1/3 flex-shrink-0",children:e.jsx(ee,{src:t.image,alt:t.title,className:"h-48 md:h-full w-full object-cover",fallback:e.jsx("div",{className:"h-48 md:h-full w-full bg-gradient-to-br from-gray-200 to-gray-300 dark:from-gray-700 dark:to-gray-600 flex items-center justify-center",children:e.jsx("span",{className:"text-gray-500 dark:text-gray-400 text-sm",children:"Project Image"})})})}),e.jsxs("div",{className:"p-4 md:p-6 flex-1",children:[e.jsx(M,{className:"mb-2 line-clamp-2",children:t.title}),e.jsx(G,{className:"mb-4 line-clamp-2",children:t.description}),e.jsxs("div",{className:"space-y-4",children:[t.challenge&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium mb-1",children:"Challenge"}),e.jsx("p",{className:"text-sm line-clamp-3",children:t.challenge})]}),((c=t.solution)==null?void 0:c.length)>0&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium mb-1",children:"Our Solution"}),e.jsx("ul",{className:"space-y-1 list-disc pl-5 text-sm",children:t.solution.map((C,w)=>e.jsx("li",{className:"line-clamp-2",children:C},w))})]}),((N=t.outcomes)==null?void 0:N.length)>0&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium mb-1",children:"Outcomes"}),e.jsx("ul",{className:"space-y-1 list-disc pl-5 text-sm",children:t.outcomes.map((C,w)=>e.jsx("li",{className:"line-clamp-2",children:C},w))})]}),((k=t.tags)==null?void 0:k.length)>0&&e.jsx("div",{className:"flex flex-wrap gap-2 pt-2",children:t.tags.map(C=>e.jsx(L,{variant:"outline",className:"text-xs",children:C},C))})]})]})]})},n)})}),s.projects.ongoing&&e.jsx(de,{value:"ongoing",className:"space-y-6",children:s.projects.ongoing.map((t,n)=>{var c,N,k,C,w,z,ne;return e.jsx(D,{className:"overflow-hidden shadow-sm hover:shadow-md transition-shadow",children:e.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.image&&e.jsx("div",{className:"md:w-[30%] flex-shrink-0",children:e.jsx(ee,{src:t.image,alt:t.title,className:"w-full h-48 md:h-full object-cover",fallback:e.jsx("div",{className:"w-full h-48 md:h-full bg-gradient-to-br from-primary/5 to-primary/10 flex items-center justify-center",children:e.jsx(Rs,{className:"h-8 w-8 text-primary/40"})})})}),e.jsxs("div",{className:"flex-1 p-4 md:p-6",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-start justify-between gap-4 mb-6",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx(M,{className:"line-clamp-2",children:t.title}),e.jsx(G,{className:"mt-1 line-clamp-2",children:t.description})]}),(t.progress||((c=t.timeline)==null?void 0:c.currentProgress))&&e.jsxs("div",{className:"md:w-48",children:[e.jsxs("div",{className:"flex justify-between text-sm mb-1",children:[e.jsx("span",{children:"Progress"}),e.jsxs("span",{children:[((N=t.timeline)==null?void 0:N.currentProgress)||t.progress,"%"]})]}),e.jsx(ve,{value:((k=t.timeline)==null?void 0:k.currentProgress)||t.progress||0,className:"h-2"})]})]}),((w=(C=t.timeline)==null?void 0:C.phases)==null?void 0:w.length)&&e.jsxs("div",{className:"mb-6",children:[e.jsxs("h4",{className:"font-medium mb-4 flex items-center gap-2",children:[e.jsx(Bs,{className:"h-5 w-5 text-primary"}),"Project Timeline"]}),e.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:t.timeline.phases.map((b,W)=>e.jsx("div",{className:"relative p-4 rounded-lg bg-muted/30 border border-border/50 hover:border-primary/30 transition-colors",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:`p-2 rounded-lg ${b.completed?"bg-green-500/10 text-green-500":b.current?"bg-primary/10 text-primary":"bg-muted/50 text-muted-foreground"}`,children:b.completed?e.jsx(X,{className:"h-5 w-5"}):b.current?e.jsx(_e,{className:"h-5 w-5"}):e.jsx(De,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex justify-between items-start gap-2",children:[e.jsx("h5",{className:"font-medium line-clamp-1",children:b.name}),b.date&&e.jsx("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:b.date})]}),b.description&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1 line-clamp-2",children:b.description}),b.progress&&e.jsxs("div",{className:"mt-2",children:[e.jsxs("div",{className:"flex justify-between text-xs mb-1",children:[e.jsx("span",{children:"Phase Progress"}),e.jsxs("span",{children:[b.progress,"%"]})]}),e.jsx(ve,{value:b.progress,className:"h-1.5",indicatorClassName:b.completed?"bg-green-500":b.current?"bg-primary":"bg-muted-foreground"})]})]})]})},W))})]}),e.jsxs("div",{className:"space-y-6",children:[t.challenge&&e.jsxs("div",{children:[e.jsxs("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[e.jsx(Ae,{className:"h-5 w-5 text-primary"}),"Challenge"]}),e.jsx("p",{className:"text-sm pl-7 line-clamp-3",children:t.challenge})]}),((z=t.solution)==null?void 0:z.length)>0&&e.jsxs("div",{children:[e.jsxs("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[e.jsx(Z,{className:"h-5 w-5 text-primary"}),"Our Solution"]}),e.jsx("ul",{className:"space-y-2 pl-7",children:t.solution.map((b,W)=>e.jsx("li",{className:"text-sm relative before:absolute before:left-[-18px] before:top-2 before:h-1.5 before:w-1.5 before:rounded-full before:bg-primary line-clamp-2",children:b},W))})]})]}),((ne=t.tags)==null?void 0:ne.length)>0&&e.jsx("div",{className:"flex flex-wrap gap-2 pt-6 mt-6 border-t border-border/50",children:t.tags.map(b=>e.jsxs(L,{variant:"outline",className:"flex items-center gap-1.5 hover:bg-primary/5 text-xs",children:[e.jsx(As,{className:"h-3.5 w-3.5 text-muted-foreground"}),b]},b))})]})]})},n)})}),s.projects.upcoming&&e.jsx(de,{value:"upcoming",className:"space-y-6",children:s.projects.upcoming.map((t,n)=>{var c;return e.jsxs(D,{className:"border border-border",children:[e.jsxs(Y,{children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start gap-2",children:[e.jsx(M,{className:"line-clamp-2",children:t.title}),t.startDate&&e.jsxs(L,{variant:"outline",className:"bg-orange-100 text-orange-800 border-orange-300 dark:bg-orange-900/50 dark:text-orange-300 dark:border-orange-700 whitespace-nowrap text-xs",children:["Est. Start: ",t.startDate]})]}),e.jsx(G,{className:"line-clamp-2",children:t.description})]}),e.jsx(B,{children:e.jsx("div",{className:"flex flex-wrap gap-2",children:(c=t.tags)==null?void 0:c.map((N,k)=>e.jsx(L,{variant:"secondary",className:"text-xs",children:N},k))})})]},n)})})]})]})}),l&&Object.keys(l).length>0&&e.jsxs("section",{className:"py-16 md:py-20 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/5 rounded-full blur-[100px] -z-10 hidden md:block"}),e.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4 tracking-tight px-4",children:"Industry Applications"}),e.jsx("div",{className:"w-20 h-1.5 bg-primary mx-auto rounded-full mb-6"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto px-4 break-words",children:"Tailored implementations across various sectors, addressing unique operational challenges."})]}),e.jsxs(Le,{defaultValue:d,value:d,onValueChange:J,className:"w-full",children:[e.jsxs("div",{className:"mb-8 overflow-x-auto pb-2 px-4",children:[e.jsxs(be,{className:"mb-2 h-auto p-1 bg-muted/70 w-full min-w-max",children:[l.current&&l.current.length>0&&e.jsx(U,{value:"current",className:"px-4 py-2 text-sm whitespace-nowrap",children:"Current Industries"}),l.potential&&l.potential.length>0&&e.jsx(U,{value:"potential",className:"px-4 py-2 text-sm whitespace-nowrap",children:"Potential Industries"}),l.future&&l.future.length>0&&e.jsx(U,{value:"future",className:"px-4 py-2 text-sm whitespace-nowrap",children:"Future Industries"})]}),d&&l[d]&&e.jsx("div",{className:"flex flex-wrap gap-2 mt-4",children:l[d].map((t,n)=>e.jsx(A,{variant:h===t.name?"default":"outline",size:"sm",onClick:()=>
7S(t.name),className:K("rounded-full text-xs md:text-sm whitespace-nowrap",h===t.name&&d==="current"&&"bg-green-600 hover:bg-green-700",h===t.name&&d==="potential"&&"bg-blue-600 hover:bg-blue-700",h===t.name&&d==="future"&&"bg-orange-600 hover:bg-orange-700"),children:t.name},n))})]}),e.jsx("div",{className:"border border-border rounded-lg p-4 md:p-6 shadow-sm min-h-[200px] mx-4",children:E?e.jsxs("div",{className:"space-y-6 overflow-hidden",children:[e.jsx("h3",{className:"text-xl font-bold mb-2 line-clamp-1",children:h}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[E.challenges&&E.challenges.length>0&&e.jsxs("div",{className:"overflow-hidden",children:[e.jsx("h4",{className:"font-semibold text-lg mb-2 text-primary/80",children:"Challenges"}),e.jsx("ul",{className:"list-disc pl-5 space-y-1 text-muted-foreground text-sm",children:E.challenges.map((t,n)=>e.jsx("li",{className:"line-clamp-3",children:t},n))})]}),E.solutions&&E.solutions.length>0&&e.jsxs("div",{className:"overflow-hidden",children:[e.jsx("h4",{className:"font-semibold text-lg mb-2 text-primary/80",children:"Our Solutions"}),e.jsx("ul",{className:"list-disc pl-5 space-y-1 text-muted-foreground text-sm",children:E.solutions.map((t,n)=>e.jsx("li",{className:"line-clamp-3",children:t},n))})]}),E.caseStudy&&e.jsxs("div",{className:"md:col-span-2 overflow-hidden",children:[e.jsx("h4",{className:"font-semibold text-lg mb-2 text-primary/80",children:"Case Study / Example"}),e.jsxs("p",{className:"text-muted-foreground text-sm italic line-clamp-4",children:['"',E.caseStudy,'"']})]}),E.futureOutlook&&e.jsxs("div",{className:"md:col-span-2 overflow-hidden",children:[e.jsx("h4",{className:"font-semibold text-lg mb-2 text-primary/80",children:"Future Outlook"}),e.jsx("p",{className:"text-muted-foreground text-sm line-clamp-4",children:E.futureOutlook})]})]})]}):e.jsxs("div",{className:"text-center py-8 flex flex-col items-center justify-center h-full",children:[e.jsx(Ds,{className:"w-12 h-12 text-muted-foreground mb-4","aria-hidden":"true"}),e.jsx("p",{className:"text-muted-foreground px-4",children:h?`Details for ${h} coming soon.`:"Select an industry above to view specific applications."})]})})]})]})]}),s.blogPosts&&s.blogPosts.length>0&&e.jsx("section",{className:"py-16 md:py-20 bg-muted/30 overflow-hidden",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4 tracking-tight px-4",children:"Knowledge Base"}),e.jsx("div",{className:"w-20 h-1.5 bg-primary mx-auto rounded-full mb-6"}),e.jsxs("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto px-4 break-words",children:["Stay updated with the latest trends and architectural best practices in ",T,"."]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 px-4",children:s.blogPosts.map((t,n)=>e.jsx(_.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:n*.1},className:"h-full",children:e.jsxs(D,{className:"overflow-hidden flex flex-col h-full hover:shadow-lg transition-all duration-300 bg-card border-border",children:[t.image&&e.jsx("div",{className:"h-48 overflow-hidden",children:e.jsx(ee,{src:t.image,alt:t.title,className:"w-full h-full object-cover transition-transform duration-300 hover:scale-105",fallback:e.jsx("div",{className:"w-full h-full bg-gradient-to-br from-muted to-muted/50 flex items-center justify-center",children:e.jsx(Ue,{className:"h-8 w-8 text-muted-foreground"})})})}),e.jsx(Y,{className:"flex-grow pb-4",children:e.jsx(M,{className:"text-lg leading-snug line-clamp-2 min-h-[56px]",children:t.title})}),e.jsx(B,{className:"pt-0",children:e.jsx(G,{className:"text-sm line-clamp-3 leading-relaxed min-h-[60px]",children:t.excerpt})}),e.jsx(qe,{className:"pt-0 mt-auto",children:e.jsxs(A,{variant:"link",className:"w-full justify-start px-0 text-primary text-sm",onClick:()=>{t.id?r(`/blog/${t.id}`):t.slug?r(`/blog/${t.slug}`):r("/blog")},children:["Read More",e.jsx(oe,{className:"ml-2 h-4 w-4"})]})})]})}
7,n))})]})}),e.jsx("section",{className:"py-20 relative overflow-hidden",children:e.jsx("div",{className:"container mx-auto px-4 max-w-6xl",children:e.jsxs("div",{className:K("rounded-3xl md:rounded-[3rem] p-8 md:p-20 overflow-hidden relative group","bg-gradient-to-br from-blue-600 via-indigo-600 to-blue-700 text-white shadow-2xl shadow-blue-500/40"),children:[e.jsx("div",{className:"absolute top-0 right-0 p-10 opacity-10 group-hover:scale-110 transition-transform duration-1000 rotate-12 hidden md:block",children:e.jsx(Re,{size:400})}),e.jsx("div",{className:"relative z-10 flex flex-col items-center text-center max-w-4xl mx-auto",children:e.jsxs(pe,{children:[e.jsx("div",{className:"inline-block px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-xs font-bold uppercase tracking-widest mb-8",children:"Start Your Transformation"}),e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-6xl font-bold mb-8 leading-tight px-4",children:["Ready to Scale with ",e.jsx("br",{className:"hidden md:block"}),T,"?"]}),e.jsx("p",{className:"text-lg md:text-xl mb-12 max-w-2xl mx-auto leading-relaxed text-blue-50 px-4 break-words",children:"Partner with our engineering experts to deploy scalable, secure, and intelligent solutions tailored for your business growth."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 md:gap-6 w-full max-w-md
7sm:max-w-none sm:w-auto px-4",children:[e.jsx(zs,{className:"text-base md:text-lg px-6 md:px-10 py-4 md:py-7 rounded-xl md:rounded-2xl shadow-2xl hover:scale-105 transition-transform bg-white text-blue-600 hover:bg-gray-50 border-0"}),e.jsx(A,{onClick:()=>r("/contact"),variant:"outline",className:"text-base md:text-lg px-6 md:px-10 py-4 md:py-7 rounded-xl md:rounded-2xl border-white/30 bg-transparent text-white hover:bg-white/10 backdrop-blur-sm",children:"Contact Team"})]}),e.jsxs("div",{className:"mt-8 md:mt-12 flex flex-wrap justify-center gap-4 md:gap-8 text-xs md:text-sm font-medium opacity-80 px-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Z,{size:16,className:"md:w-5 md:h-5"})," Architecture Review"]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Z,{size:16,className:"md:w-5 md:h-5"})," ROI Analysis"]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Z,{size:16,className:"md:w-5 md:h-5"})," 24/7 Technical Support"]})]})]})})]})})})]})]}):e.jsx("div",{className:"min-h-screen flex flex-col dark:bg-black border dark:text-gray-100",children:e.jsx("main",{className:"flex-grow flex items-center justify-center py-16 px-4",children:e.jsxs("div",{className:"text-center max-w-md",children:[e.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Service Details Unavailable"}),e.jsxs(A,{onClick:()=>r("/services"),variant:"outline",children:[e.jsx(Pe,{className:"mr-2 h-4 w-4"})," Back to Services"]})]})})})};export{Pa as default}; 8//# sourceMappingURL=ServiceDetail-B35yyigi.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.