{"version":3,"file":"MethodologySection.Ed82a80d.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/odGuFS2BXm3SUPR24sX9/z1tcfsFBi1x09RedA6lx/MethodologySection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useState,useEffect}from\"react\";import{motion}from\"framer-motion\";import{COLORS,Reveal,useBreakpoint}from\"https://framerusercontent.com/modules/UAFzAeAHigRtLWIt7Y54/21vv0D0o9sjwIxfGRWjl/PageLayout.js\";export default function MethodologySection({heading=\"How We Work\",subheading,steps}){const{isMobile}=useBreakpoint();const cols=isMobile?1:steps.length===4?2:3;const gridRef=useRef(null);const[cardMinHeight,setCardMinHeight]=useState(0);useEffect(()=>{if(isMobile){setCardMinHeight(0);return;}const measure=()=>{if(!gridRef.current)return;const cards=gridRef.current.querySelectorAll(\"[data-step-card]\");let max=0;cards.forEach(c=>{max=Math.max(max,c.getBoundingClientRect().height);});if(max>0)setCardMinHeight(Math.ceil(max));};const frame=requestAnimationFrame(measure);return()=>cancelAnimationFrame(frame);},[steps,isMobile]);return /*#__PURE__*/_jsx(\"section\",{style:{width:\"100%\",padding:isMobile?\"16px 16px 60px\":\"20px 20px 100px\",background:\"transparent\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:\"900px\",margin:\"0 auto\"},children:[/*#__PURE__*/_jsx(Reveal,{children:/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"'Raleway', sans-serif\",fontWeight:900,fontSize:\"clamp(22px, 3vw, 36px)\",color:COLORS.white,textAlign:\"center\",marginBottom:\"12px\"},children:heading})}),subheading&&/*#__PURE__*/_jsx(Reveal,{children:/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'Montserrat', sans-serif\",fontSize:\"15px\",color:\"rgba(255,255,255,0.6)\",textAlign:\"center\",marginBottom:\"48px\"},children:subheading})}),!subheading&&/*#__PURE__*/_jsx(\"div\",{style:{marginBottom:\"48px\"}}),/*#__PURE__*/_jsx(\"div\",{ref:gridRef,style:{display:\"grid\",gridTemplateColumns:`repeat(${cols}, 1fr)`,gap:\"2px\"},children:steps.map((item,index)=>/*#__PURE__*/_jsx(Reveal,{delay:index*.1,style:{display:\"flex\"},children:/*#__PURE__*/_jsxs(motion.div,{\"data-step-card\":true,whileHover:{y:-4,boxShadow:\"0 8px 30px rgba(20, 136, 204, 0.15)\"},style:{padding:isMobile?\"24px 16px\":\"32px 28px\",background:\"rgba(8, 14, 24, 0.6)\",border:\"1px solid rgba(20, 136, 204, 0.15)\",borderRadius:\"10px\",position:\"relative\",flex:1,transition:\"all 0.3s ease\",boxSizing:\"border-box\",minHeight:cardMinHeight>0?cardMinHeight:undefined},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"'Raleway', sans-serif\",fontWeight:900,fontSize:\"48px\",color:\"rgba(20, 136, 204, 0.15)\",lineHeight:1,marginBottom:\"12px\"},children:item.step}),/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:\"'Raleway', sans-serif\",fontWeight:700,fontSize:\"18px\",color:COLORS.white,marginBottom:\"10px\"},children:item.title}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'Montserrat', sans-serif\",fontSize:\"13px\",color:\"rgba(255,255,255,0.55)\",lineHeight:1.7},children:item.description})]})},index))})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MethodologySection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2PAA+Q,SAAwB,EAAmB,CAAC,UAAQ,cAAc,aAAW,SAAO,CAAC,GAAK,CAAC,YAAU,GAAe,CAAO,EAAK,EAAS,EAAE,EAAM,SAAS,EAAE,EAAE,EAAQ,EAAQA,EAAO,KAAK,CAAM,CAAC,EAAc,GAAkBC,EAAS,EAAE,CAA2Y,OAA1Y,MAAc,CAAC,GAAG,EAAS,CAAC,EAAiB,EAA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