1import{a as b,j as e,u as k}from"./vendor-query-BSf8TDKV.js";import{A as y,P as E}from"./PdfBookViewer-Br0Bbru2.js";import{B as A,a as C}from"./index-zoEdqwPu.js";import{u as w,H as D,a as F,b as B,L as S}from"./index-8Tjumovy.js";import{L as R}from"./vendor-router-C1SVZCuS.js";import"./vendor-react-dom-BSzyV-qL.js";import"./vendor-swiper-CknNbR3A.js";function z({heroData:t,expandedAccessData:i}){const l=b.useRef(null),[a,r]=b.useState(0),[x,d]=b.useState(!1),{lang:s}=w(),n=s==="ar",m=t||{backgroundImage:"",title:"",subtitle:"",content:"",actions:[]},p=i||{title:"",subtitle:"",cards:[]};b.useEffect(()=>{const g=()=>{if(!l.current)return;const h=l.current.getBoundingClientRect(),v=window.innerHeight;if(h.bottom<0){r(1);return}if(h.top>v){r(0);return}if(h.top<=0){const N=Math.abs(h.top);r(N>=150?1:0)}else r(0)};let u=!1;const f=()=>{u||(requestAnimationFrame(()=>{g(),u=!1}),u=!0)};return window.addEventListener("scroll",f,{passive:!0}),window.addEventListener("resize",f,{passive:!0}),g(),()=>{window.removeEventListener("scroll",f),window.removeEventListener("resize",f)}},[]);const o=m.actions.find(g=>g.type==="file"),c=m.actions.find(g=>g.type==="url"),j=()=>{if(!o)return;if(window.innerWidth<768){const u=document.createElement("a");u.href=o.url,u.download=o.title||"real-estate.pdf",u.click()}else d(!0)};return e.jsxs("section",{ref:l,id:"real-estate",className:"h-[150vh] lg:h-[130vh] relative w-full overflow-hidden bg-cover bg-center",style:{backgroundImage:`url(${m.backgroundImage})`,backgroundPosition:"80% 20%",backgroundAttachment:"fixed"},"aria-label":m.title,children:[e.jsx("div",{className:"sticky top-25 min-h-screen flex items-center ",children:e.jsxs("div",{className:"relative z-10 w-full container mx-auto px-4 sm:px-6 md:px-8 lg:px-10 pt-20 sm:pt-24 md:pt-28 lg:pt-[35vh] pb-12 sm:pb-16 md:pb-24 lg:pb-32",children:[e.jsxs("div",{className:`absolute inset-0 px-4 sm:px-6 md:px-8 lg:px-10 transition-all duration-700 ease-out ${a===0?"opacity-100 translate-y-0 scale-100":"opacity-0 pointer-events-none translate-y-8 scale-95"}`,children:[e.jsxs("div",{className:"max-w-5xl mb-6 sm:mb-8 md:mb-10 lg:mb-12",children:[e.jsx("h1",{className:"max-w-4xl text-3xl sm:text-3xl md:text-3xl lg:text-4xl xl:text-5xl 2xl:text-[51px] bukra-bold text-white leading-tight sm:leading-snug tracking-wide",children:m.title}),e.jsx("p",{className:"max-w-3xl text-lg md:text-base lg:text-lg xl:text-xl 2xl:text-[22px] bukra-medium text-white/90 leading-relaxed mt-3 sm:mt-4 md:mt-5 lg:mt-6",children:m.subtitle}),e.jsx("p",{className:"max-w-2xl text-base md:text-base lg:text-lg xl:text-[18px] bukra-regular text-white/85 leading-relaxed mt-2 sm:mt-3 md:mt-4",children:m.content})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 sm:gap-3 md:gap-4 w-full sm:w-auto",children:[c&&e.jsxs(R,{to:c.url,target:"_blank",className:"bg-white text-[#404040] flex justify-center sm:justify-between gap-2 sm:gap-3 items-center px-4 sm:px-5 md:px-6 py-3 md:py-3 rounded-full border border-white/40 text-base hover:bg-white/90 transition-colors w-full sm:w-auto cursor-pointer",children:[e.jsx("span",{className:"bukra-medium",children:c.title}),n?e.jsx(A,{className:"size-4 sm:size-5 shrink-0"}):e.jsx(C,{className:"size-4 sm:size-5 shrink-0"})]}),o&&e.jsxs("button",{onClick:j,className:"bg-black/40 backdrop-blur-sm flex justify-center sm:justify-between gap-2 sm:gap-3 items-center px-4 sm:px-5 md:px-6 py-3 md:py-3 rounded-full border border-white/40 text-white text-base hover:bg-white/10 transition-colors w-full sm:w-auto cursor-pointer",children:[e.jsx("span",{className:"bukra-medium",children:o.title}),e.jsx(y,{className:"size-4 sm:size-5 shrink-0"})]})]})]}),e.jsxs("div",{className:`absolute inset-0 px-4 sm:px-6 md:px-8 lg:px-10 transition-all duration-700 ease-out pt-30 ${a===1?"opacity-100 translate-y-0 scale-100":"opacity-0 pointer-events-none translate-y-8 scale-95"}`,children:[e.jsxs("div",{className:"max-w-5xl mb-4 sm:mb-6 md:mb-8 lg:mb-10",children:[e.jsx("h2",{className:"text-2xl md:text-2xl lg:text-3xl xl:text-4xl 2xl:text-[40px] bukra-bold text-white leading-tight tracking-wide mb-2 sm:mb-3 md:mb-4",children:p.title}),e.jsx("p",{className:"max-w-4xl text-base lg:text-lg xl:text-xl bukra-regular text-white/90 leading-relaxed",children:p.subtitle})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 ga
1p-3 sm:gap-4 md:gap-5 lg:gap-6",children:p.cards.map((g,u)=>{const f=[{iconBg:"#00A7A2",backgroundColor:"rgba(0, 0, 0, 0.2)"},{iconBg:"#814A98",backgroundColor:"rgba(0, 0, 0, 0.2)"},{iconBg:"#003A5D",backgroundColor:"rgba(0, 0, 0, 0.2)"},{iconBg:"#00778E",backgroundColor:"rgba(0, 0, 0, 0.2)"},{iconBg:"#A01E64",backgroundColor:"rgba(0, 0, 0, 0.2)"}],h=f[u%f.length];return e.jsxs("div",{className:"group relative overflow-hidden flex flex-col bg-black/50 backdrop-blur-sm rounded-xl sm:rounded-2xl md:rounded-3xl p-3 sm:p-4 md:p-5 lg:p-6 border border-white/20 transition-all duration-500 ease-out hover:-translate-y-1 hover:border-white/40 hover:shadow-xl",style:{boxShadow:"1.67px 3.35px 13.39px 0px #FDFDFD0D inset",backgroundColor:h.backgroundColor||"rgba(0, 0, 0, 0.5)"},children:[e.jsxs("div",{className:"relative z-10 flex flex-col h-full",children:[e.jsx("div",{className:"w-9 h-9 sm:w-10 sm:h-10 md:w-11 md:h-11 lg:w-12 lg:h-12 rounded-lg sm:rounded-xl flex items-center justify-center mb-3 sm:mb-4 md:mb-5 transition-transform duration-300 group-hover:scale-110",style:{backgroundColor:h.iconBg||"rgba(148, 163, 184, 0.18)"},children:e.jsx("img",{src:g.icon,alt:"",className:"w-4 h-4 sm:w-5 sm:h-5 md:w-6 md:h-6 object-contain","aria-hidden":"true"})}),e.jsx("h3",{className:"text-white bukra-medium text-sm sm:text-base md:text-lg lg:text-xl mb-1 sm:mb-2",children:g.title}),e.jsx("p",{className:"text-white/85 bukra-regular text-xs sm:text-sm md:text-base leading-relaxed",children:g.content})]}),e.jsx("div",{className:"absolute -bottom-16 -right-16 z-0 pointer-events-none w-48 h-48 sm:w-56 sm:h-56 md:w-64 md:h-64",children:e.jsx("div",{className:"w-full h-full rounded-full blur-3xl op
1acity-60",style:{background:`radial-gradient(ellipse at center, ${h.iconBg||"rgba(148, 163, 184, 0.4)"} 0%, ${h.iconBg?h.iconBg.replace(/[\d.]+\)$/,"0.1)"):"rgba(148, 163, 184, 0.1)"} 50%, transparent 70%)`}})}),e.jsx("div",{className:"absolute -bottom-8 -right-8 z-0 pointer-events-none w-32 h-32 sm:w-40 sm:h-40 md:w-48 md:h-48",children:e.jsx("div",{className:"w-full h-full rounded-full blur-2xl opacity-40",style:{background:`radial-gradient(ellipse at center, ${h.iconBg||"rgba(255, 255, 255, 0.3)"} 0%, transparent 60%)`}})})]},u)})})]})]})}),x&&e.jsx(b.Suspense,{fallback:null,children:e.jsx(E,{isOpen:x,onClose:()=>d(!1),pdfUrls:[{pdfUrl:o?.url||"/real-estate/documents/real-estate.pdf",pdfTitle:o?.title||"Real Estate Law"}],interestText:"Download Real Estate Law",onInterest:()=>{},shareEmailUrl:"mailto:[email protected]",sharePhoneUrl:"tel:920007777",shareSocialUrl:"https://x.com/SaudiInvest",shareTwitterUrl:"https://x.com/SaudiInvest"})})]})}function $({data:t}){const i=t||{title:"",content:"",points:[],image:"",image_text:""};return e.jsx("section",{id:"reshaping-access",className:"relative py-12 sm:py-16 md:py-20 lg:py-24 overflow-hidden bg-[#F5F4FB] bg-cover bg-center",children:e.jsxs("div",{className:"relative container mx-auto my-[2vh] px-6",children:[e.jsx("div",{className:"mb-10 flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between",children:e.jsxs("div",{className:" w-full lg:w-3/4",children:[e.jsx("h2",{className:" max-w-4xl text-[22px] md:text-[48px] lg:text-[36px] 2xl:text-[36px] bukra-bold text-[#111827] leading-tight mb-3",children:i.title}),e.jsx("p",{className:"max-w-9xl text-[18px] md:text-[22px] lg:text-[18px] 2xl:text-[22px] bukra-regular text-[#4B5563] leading-relaxed",children:i.content})]})}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-center",children:[e.jsx("div",{children:e.jsx("div",{className:"space-y-4",children:i.points.map((l,a)=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-[#00A7A2] flex-shrink-0"}),e.jsx("p",{className:"text-[18px] md:text-[18px] lg:text-[18px] 2xl:text-[18px] text-[#374151] bukra-regular leading-relaxed",children:l.point})]}),a<i.points.length-1&&e.jsx("div",{className:"mt-6 h-[2px] w-full bg-gradient-to-r from-[#D1D5DB] via-[#E5E7EB] to-transparent"})]},a))})}),e.jsx("div",{className:"relative",children:e.jsx("div",{className:"overflow-hidden rounded-[32px] shadow-[0_18px_45px_rgba(15,23,42,0.25)] bg-white/40 backdrop-blur-[10px]",children:e.jsxs("div",{className:"relative",children:[e.jsx("img",{src:i.image,alt:"",className:"w-full h-full object-cover"}),e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-b from-black/40 via-transparent to-transparent"}),e.jsx("div",{className:"absolute inset-x-3 sm:inset-x-5 bottom-4 sm:bottom-6",children:e.jsxs("div",{className:"relative text-white rounded-[24px] px-[24px] py-[24px] bukra-regular text-xs sm:text-sm md:text-base leading-relaxed backdrop-blur-[12px] overflow-hidden",style:{backgroundColor:"rgba(0, 0, 0, 0.57)"},children:[e.jsxs("svg",{className:"absolute bottom-0 right-0 pointer-events-none z-0",width:"681",height:"129",viewBox:"0 0 681 129",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{opacity:"0.6",filter:"url(#filter0_f_reshaping)",children:e.jsx("ellipse",{cx:"502.102",cy:"188.745",rx:"348.873",ry:"130.895",transform:"rotate(179.531 502.102 188.745)",fill:"#003A5D"})}),e.jsx("defs",{children:e.jsxs("filter",{id:"filter0_f_reshaping",x:"7.62939e-05",y:"-95.416",width:"1004.2",height:"568.322",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feGaussianBlur",{stdDeviation:"76.6193",result:"effect1_foregroundBlur_reshaping"})]})})]}),e.jsx("span",{className:"relative z-10",children:i.image_text})]})})]})})})]})]})})}function _({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{background:"",title:"",tabs:[]},r=["rgba(0, 167, 162, 0.2)","rgba(129, 74, 152, 0.2)","rgba(0, 58, 93, 0.2)","rgba(160, 30, 100, 0.2)","rgba(0, 119, 142, 0.2)"],[x,d]=b.useState(0),s=a.tabs[x]||a.tabs[0];if(!s)return null;const n=s.cards&&Array.isArray(s.cards)?s.cards:[],m=n.slice(0,4),p=n.slice(4);return e.jsx("section",{id:"why-saudi-real-estate",className:"relative flex items-center overflow-hidden bg-cover bg-center",style:{backgroundImage:`url(${a.background})`},children:e.jsxs("div",{className:"relative container mx-auto my-[14vh] px-6",children:[e.jsx("h2",{className:"text-[22px] md:text-[48px] lg:text-[36px] 2xl:text-[36px] bukra-bold text-white leading-tight mb-6 md:mb-8",children:a.title}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 lg:gap-8",children:[e.jsx("div",{className:"lg:col-span-1 space-y-3",children:a.tabs.map((o,c)=>{const j=c===x;return e.jsxs("button",{type:"button",onClick:()=>d(c),className:`text-white relative overflow-hidden w-full text-[20px] md:text-[20px] lg:text-[20px] 2xl:text-[20px] text-start px-[24px] py-[24px] bukra-medium transition-all duration-300 backdrop-blur-[8px] ${l?"rounded-tr-[20px] rounded-br-[20px] rounded-tl-none rounded-bl-none":"rounded-tl-[20px] rounded-bl-[20px] rounded-tr-none rounded-br-none"} ${j?"":"hover:bg-black/20"}`,style:{border:"1px solid transparent",boxShadow:"1.67px 3.35px 13.39px 0px #FDFDFD0D inset",...j&&{border:"1px solid transparent"}},children:[j&&e.jsx("span",{className:`absolute inset-0 ${l?"rounded-tr-[20px] rounded-br-[20px] rounded-tl-none rounded-bl-none":"rounded-tl-[20px] rounded-bl-[20px] rounded-tr-none rounded-br-none"} pointer-events-none`,style:{padding:"1px",background:l?"linear-gradient(to left, white, transparent)":"linear-gradient(to right, white, transparent)",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude"}}),e.jsx("span",{className:"relative z-10",children:o.title})]},c)})}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"bg-black/40 rounded-[20px] backdrop-blur-[8px] shadow-[0_28px_75px_rgba(0,0,0,0.55)] p-6",children:[e.jsx("h3",{className:"text-[28px] md:text-[28px] lg:text-[28px] 2xl:text-[28px] bukra-bold text-white mb-4 sm:mb-5",children:s.title}),s.points&&s.points.length>0&&e.jsx("ul",{className:"space-y-3 sm:space-y-3.5 md:space-y-4 mb-5 sm:mb-6",children:s.points.map((o,c)=>e.jsxs("li",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-white flex-shrink-0"}),e.jsx("p",{className:"text-[20px] md:text-[20px] lg:text-[20px] 2xl:text-[20px] text-white/90 bukra-regular leading-relaxed",children:o.point})]},c))}),s.logos&&Array.isArray(s.logos)&&s.logos.length>0&&e.jsx("div",{className:"flex items-center justify-between gap-4 border border-white/20 rounded-[14px] bg-black/30 px-4 sm:px-6 py-3 sm:py-4",children:s.logos.map((o,c)=>e.jsx("img",{src:o,alt:"",className:"h-11 object-contain"},c))}),n.length>0&&e.jsxs("div",{className:"mt-6 space-y-4",children:[m.length>0&&e.jsx("div",{className:"flex flex-col sm:flex-row gap-3 sm:gap-4",children:m.map((o,c)=>e.jsxs("div",{className:"flex-1 min-w-[0] rounded-[20px] px-5 py-4 sm:px-6 sm:py-5 text-white bg-black/50 border border-white/20 backdrop-blur-[8px]",style:{boxShadow:"1.67px 3.35px 13.39px 0px #FDFDFD0D inset",backgroundColor:r[c%r.length]||"rgba(0, 0, 0, 0.5)"},children:[e.jsx("p",{className:"text-[20px] md:text-[20px] lg:text-[20px] 2xl:text-[20px] bukra-bold mb-1",children:o.title}),e.jsx("p",{className:"text-sm sm:text-base md:text-lg text-white/85 bukra-regular",children:o.content})]}
1,c))}),p.length>0&&e.jsx("div",{className:"flex flex-col sm:flex-row gap-3 sm:gap-4",children:p.map((o,c)=>e.jsxs("div",{className:"flex-1 min-w-[0] rounded-[20px] px-5 py-4 sm:px-6 sm:py-5 text-white bg-black/50 border border-white/20 backdrop-blur-[8px]",style:{boxShadow:"1.67px 3.35px 13.39px 0px #FDFDFD0D inset",backgroundColor:r[(c+4)%r.length]||"rgba(0, 0, 0, 0.5)"},children:[e.jsx("p",{className:"text-[20px] md:text-[20px] lg:text-[20px] 2xl:text-[20px] bukra-bold mb-1",children:o.title}),e.jsx("p",{className:"text-sm sm:text-base md:text-lg text-white/85 bukra-regular",children:o.content})]},c))})]})]})})]})]})})}function I({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{background:"",title:"",subtitle:"",cards:[]},[r,x]=b.useState(null);return e.jsx("section",{id:"global-community",className:`relative flex items-center overflow-hidden bg-cover bg-center\r 2 before:content-['']\r 3 before:absolute\r 4 before:inset-0\r 5 before:bg-black/50\r 6 before:z-0\r 7 `,style:{backgroundImage:`url(${a.background})`},children:e.jsxs("div",{className:"relative z-10 w-full container mx-auto my-[8vh] px-6",children:[e.jsxs("div",{className:"max-w-8xl mb-6 sm:mb-8 md:mb-10",children:[e.jsx("h2",{className:"max-w-5xl text-[22px] md:text-[48px] lg:text-[36px] 2xl:text-[36px] bukra-bold text-white leading-tight sm:leading-snug tracking-wide mb-3",children:a.title}),e.jsx("p",{className:"max-w-9xl text-[18px] md:text-[22px] lg:text-[18px] 2xl:text-[22px] bukra-regular text-white/90 leading-relaxed",children:a.subtitle})]}),e.jsx("div",{className:"mt-6 grid grid-cols-1 lg:grid-cols-2",children:a.cards.map((d,s)=>{const n=r===s,m=s===0?"bg-[#00A7A2]/30":"bg-[#814A98]/60",p=s===0?l?"rounded-t-[32px] lg:rounded-t-none lg:rounded-r-[32px] lg:rounded-l-none border-b border-white/20 lg:border-b-0 lg:border-l":"rounded-t-[32px] lg:rounded-t-none lg:rounded-l-[32px] lg:rounded-r-none border-b border-white/20 lg:border-b-0 lg:border-r":l?"rounded-b-[32px] lg:rounded-b-none lg:rounded-l-[32px] lg:rounded-r-none":"rounded-b-[32px] lg:rounded-b-none lg:rounded-r-[32px] lg:rounded-l-none";return e.jsxs("div",{onMouseEnter:()=>x(s),onMouseLeave:()=>x(null),className:`relative w-full min-h-[520px] backdrop-blur-[10px] text-left transition-all duration-300 overflow-hidden ${p} ${n?m:"bg-black/30 hover:bg-black/50"}`,children:[n&&e.jsx("div",{className:"pointer-events-none absolute -top-6 -right-10 w-[55%] h-[70%] opacity-10",children:e.jsx("img",{src:"/real-estate/global-community/global-community-cards-pattern.webp",alt:"",className:"w-full h-full object-contain object-top-right",style:{filter:"brightness(0) saturate(0)"}})}),!n&&e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-4 px-6 sm:px-8 py-8 sm:py-10 md:py-12",children:[e.jsx("img",{src:d.icon,alt:"",className:"w-10 h-10 sm:w-12 sm:h-12 object-contain","aria-hidden":"true"}),e.jsx("span",{className:"text-[20px] sm:text-[22px] md:text-[24px] bukra-bold text-white",children:d.title})]}),n&&e.jsxs("div",{className:"px-[24px] py-[24px] flex flex-col items-stretch h-full",children:[e.jsxs("div",{className:"flex gap-3 mb-5 sm:mb-6",children:[e.jsx("img",{src:d.icon,alt:"",className:"w-8 h-8 sm:w-9 sm:h-9 object-contain","aria-hidden":"true"}),e.jsx("h2",{className:"text-[22px] md:text-[24px] lg:text-[26px] 2xl:text-[26px] bukra-bold text-white",children:d.title})]}),e.jsx("ul",{className:"h-full flex flex-col justify-between space-y-3 sm:space-y-3.5 md:space-y-4",children:d.points.map((o,c)=>e.jsxs("li",{children:[e.jsx("p",{className:`text-sm sm:text-base md:text-lg text-white/90 bukra-regular leading-relaxed ${l?"text-right":"text-left"}`,children:o.point}),c<d.points.length-1&&e.jsx("div",{className:"mt-4 h-[2px] w-3/4",style:{background:l?"linear-gradient(to left, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0))":"linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0))"}})]},c))})]})]},s)})})]})})}function L({data:t}){const i=t||{title:"",subtitle:"",cards:[]};return e.jsx("section",{id:"property-categories",className:"relative py-[8vh] bg-gradient-to-r from-[#f4edf7] to-[#e3f4ff]",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs("div",{className:"mb-8 sm:mb-10 md:mb-12 ",children:[e.jsx("h2",{className:"text-[32px] sm:text-[40px] md:text-[46px] lg:text-[46px] 2xl:text-[46px] bukra-bold text-[#111827] leading-tight mb-3",children:i.title}),e.jsx("p",{className:"text-[16px] sm:text-[18px] md:text-[24px] lg:text-[24px] text-[#4B5563] bukra-regular leading-relaxed",children:i.subtitle})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-5 lg:gap-6",children:i.cards.map((l,a)=>{let r="md:col-span-1";return a===2&&(r="md:col-span-2"),e.jsxs("article",{className:`${r} group relative overflow-hidden rounded-[24px] bg-black/40 transition-shadow duration-300 min-h-[400px]`,children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("img",{src:l.background,alt:l.title,className:"w-full h-full object-cover transform transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"})]}),e.jsx("div",{className:"relative z-10 flex h-full items-end p-6 sm:p-7 md:p-8",children:e.jsx("h3",{className:"text-[24px] sm:text-[30px] md:text-[38px] lg:text-[38px] 2xl:text-[38px] bukra-bold text-white tracking-tight",children:l.title})})]},a)})})]})})}function O({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{title:"",points:[]},r=Math.ceil(a.points.length/2),x=a.points.slice(0,r),d=a.points.slice(r);return e.jsxs("section",{id:"unlocks-growth",className:"relative overflow-hidden flex items-center",style:{backgroundImage:"url(/real-estate/unlocks-growth/UnlocksGrowth.webp)",backgroundSize:"cover",backgroundPosition:"center"},children:[e.jsx("div",{className:"absolute inset-0 bg-black/50","aria-hidden":"true"}),e.jsx("div",{className:"relative z-10 w-full container mx-auto my-[14vh] px-6",children:e.jsxs("div",{className:"container flex flex-col items-center",children:[e.jsx("div",{className:" mb-8 sm:mb-10 md:mb-12 max-w-7xl w-full ",children:e.jsx("h2",{className:"text-[28px] sm:text-[34px] md:text-[40px] lg:text-[44px] xl:text-[46px] 2xl:text-[46px] bukra-bold text-white leading-tight",children:a.title})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-8 lg:gap-12 max-w-7xl w-full",children:[e.jsx("ul",{className:"space-y-5 md:space-y-6",children:x.map((s,n)=>e.jsxs("li",{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-white flex-shrink-0"}),e.jsx("p",{className:"text-[16px] sm:text-[18px] md:text-[18px] lg:text-[20px] text-white/90 bukra-regular leading-relaxed",children:s.point})]}),n<x.length-1&&e.jsx("div",{className:`mt-[20px] h-[1px] w-full ${l?"bg-gradient-to-l"
7:"bg-gradient-to-r"} from-white/40 via-white/20 to-transparent`})]},n))}),e.jsx("ul",{className:"space-y-5 md:space-y-6",children:d.map((s,n)=>e.jsxs("li",{children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-white flex-shrink-0"}),e.jsx("p",{className:"text-[16px] sm:text-[18px] md:text-[18px] lg:text-[20px] text-white/90 bukra-regular leading-relaxed",children:s.point})]}),n<d.length-1&&e.jsx("div",{className:`mt-[20px] h-[1px] w-full ${l?"bg-gradient-to-l":"bg-gradient-to-r"} from-white/40 via-white/20 to-transparent`})]},n))})]})]})})]})}function T({data:t}){const i=t||{title:"",data:[]};return e.jsx("section",{id:"requirements-for-ownership",className:"relative flex items-center overflow-hidden bg-cover bg-center ",style:{backgroundImage:"url(/real-estate/requirements-for-ownership/Requirements-for-Ownership-hero.webp)"},children:e.jsx("div",{className:"relative z-10 w-full",children:e.jsx("div",{className:"container mx-auto my-[14vh] px-6",children:e.jsxs("div",{className:" mx-auto",children:[e.jsx("h2",{className:"text-[28px] sm:text-[32px] md:text-[38px] lg:text-[42px] xl:text-[46px] bukra-bold text-[#00263A] leading-tight mb-6 sm:mb-8",children:i.title}),e.jsx("div",{className:"rounded-[24px] p-[6px] overflow-hidden",style:{background:"linear-gradient(180deg, #814A98 50%, #003A5D 100%)"},children:e.jsx("div",{className:"rounded-[20px] bg-white shadow-[0_26px_70px_rgba(15,23,42,0.18)] border border-[#E5E7EB] overflow-hidden",children:i.data.map((l,a)=>e.jsxs("div",{className:`flex flex-col md:flex-row items-start md:items-center px-5 sm:px-8 md:px-10 lg:px-12 py-6 sm:py-7 md:py-8 gap-3 sm:gap-4 ${a>0?"border-t border-[#E5E7EB]":""}`,children:[e.jsx("div",{className:"flex items-center gap-2 text-[#6B7280] bukra-medium text-sm sm:text-base md:text-lg min-w-[3rem]",children:e.jsx("span",{className:"tracking-[0.18em]",children:String(a+1).padStart(2,"0")})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-[18px] sm:text-[20px] md:text-[22px] lg:text-[24px] bukra-bold text-[#111827] mb-2",children:l.title}),e.jsx("p",{className:"text-[14px] sm:text-[15px] md:text-[16px] lg:text-[17px] text-[#374151] bukra-regular leading-relaxed",children:l.subtitle})]})]},a))})})]})})})})}function P({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{title:"",data_groups:[]},r=["text-[#00A7A2]","text-[#814A98]"];return e.jsx("section",{id:"national-roadmap",className:"relative flex items-center overflow-hidden bg-cover bg-center",style:{backgroundImage:"url(/real-estate/national-roadmap/national-roadmap-bg.webp), linear-gradient(245.07deg, #E6F6F6 11.73%, #ECE4F0 65.87%)"},children:e.jsx("div",{className:"relative z-10 w-full",children:e.jsxs("div",{className:"container mx-auto my-[14vh] px-6 relative",children:[e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx("div",{className:"flex items-center flex-wrap gap-3 mb-2 min-w-1xl sm:min-w-6xl md:min-w-2xl lg:min-w-4xl xl:min-w-5xl",children:e.jsx("h2",{className:"text-[28px] sm:text-[32px] md:text-[38px] lg:text-[42px] xl:text-[46px] bukra-bold text-[#111827] leading-tight",children:(()=>{const x=a.title,s=x.lastIndexOf("Transformation");if(s!==-1){const n=x.substring(0,s),m=x.substring(s);return e.jsxs(e.Fragment,{children:[n,e.jsxs("span",{className:"inline-flex items-center gap-2",children:[m,e.jsx("img",{src:"/real-estate/national-roadmap/2030 logo.webp",alt:"2030",className:"w-14 h-14 sm:w-16 sm:h-16 md:w-20 md:h-20 lg:w-24 lg:h-24 xl:w-28 xl:h-28 object-contain","aria-hidden":"true"})]})]})}return x})()})}),a.data_groups.map((x,d)=>e.jsxs("div",{children:[e.jsx("h2",{className:`text-[22px] sm:text-[24px] md:text-[26px] lg:text-[28px] bukra-bold ${r[d%r.length]} mb-3 sm:mb-4`,children:x.title}),e.jsx("ul",{className:"space-y-3 sm:space-y-3.5 md:space-y-[12px]",children:x.points.map((s,n)=>e.jsxs("li",{children:[e.jsx("p",{className:"text-[16px] sm:text-[17px] md:text-[18px] text-[#374151] bukra-regular leading-relaxed",children:s.point}),n<x.points.length-1&&e.jsx("div",{className:`mt-[12px] h-[1px] w-full max-w-[700px] ${l?"bg-gradient-to-l"
7:"bg-gradient-to-r"} from-[#374151]/40 via-[#374151]/20 to-transparent`})]},n))})]},d))]}),e.jsx("div",{className:`hidden lg:block absolute top-40 ${l?"left-[-20%]":"right-[-20%]"}`,children:e.jsx("div",{className:"relative w-full h-full ",children:e.jsx("img",{src:"/real-estate/national-roadmap/national-roadmap-side-image.webp",alt:"Modern architecture and urban development",className:"w-full h-full object-cover lg:max-h-[500px] xl:max-h-[600px]"})})}),e.jsx("div",{className:"lg:hidden mt-8",children:e.jsx("div",{className:"relative w-full min-h-[300px]",children:e.jsx("img",{src:"/real-estate/national-roadmap/national-roadmap-side-image.webp",alt:"Modern architecture and urban development",className:"w-full h-full object-cover"})})})]})})})}function U({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{title:"",cards:[]};return!a.cards||a.cards.length===0?null:e.jsxs("section",{id:"regulatory-principles",className:"relative flex items-center overflow-hidden bg-cover bg-center",style:{backgroundImage:"url(/real-estate/regulatory-principles/regulatory-principles-bg.webp)"},children:[e.jsx("div",{className:"absolute inset-0 bg-black/50","aria-hidden":"true"}),e.jsx("div",{className:"relative z-10 w-full",children:e.jsxs("div",{className:"container mx-auto my-[14vh] px-6",children:[e.jsxs("div",{className:"flex items-center justify-start gap-4 mb-8 sm:mb-10 md:mb-12",children:[e.jsx("img",{src:"/real-estate/regulatory-principles/regulatory-principles-icon.webp",alt:"",className:"w-12 h-12 sm:w-14 sm:h-14 md:w-16 md:h-16 object-contain","aria-hidden":"true"}),e.jsx("h2",{className:"text-[28px] sm:text-[32px] md:text-[38px] lg:text-[42px] xl:text-[46px] bukra-bold text-white leading-tight",children:a.title})]}),e.jsx("div",{className:"bg-black/30 backdrop-blur-[8px] rounded-[20px] overflow-hidden",style:{border:"1px solid rgba(255, 255, 255, 0.2)"},children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3",children:a.cards.map((r,x)=>e.jsxs("div",{className:"relative",children:[e.jsxs("div",{style:{padding:"64px 24px"},children:[r.title&&e.jsx("h2",{className:"text-[20px] sm:text-[22px] md:text-[24px] bukra-bold text-white mb-3 sm:mb-4",children:r.title}),r.content_type==="text"&&r.text&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`mb-4 h-[1px] w-full ${l?"bg-gradient-to-l":"bg-gradient-to-r"} from-white/40 via-white/20 to-transparent`}),e.jsx("p",{className:`text-[16px] sm:text-[17px] md:text-[18px] text-white/90 bukra-regular leading-relaxed mb-4 ${l?"text-right":"text-left"}`,children:r.text})]}),r.content_type==="points"&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:`mb-4 h-[1px] w-full ${l?"bg-gradient-to-l":"bg-gradient-to-r"} from-white/40 via-white/20 to-transparent`}),r.points_title&&e.jsx("p",{className:"text-[16px] sm:text-[17px] md:text-[18px] text-white/90 bukra-regular leading-relaxed mb-3",children:r.points_title}),r.points&&Array.isArray(r.points)&&r.points.length>0&&e.jsx("ul",{className:"space-y-2",children:r.points.map((d,s)=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-white flex-shrink-0 mt-2"}),e.jsx("p",{className:"text-[16px] sm:text-[17px] md:text-[18px] text-white/90 bukra-regular leading-relaxed",children:d.point})]},s))})]})]}),x<a.cards.length-1&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"hidden md:block absolute top-0 right-0 bottom-0 w-[1px]",style:{backgroundColor:"rgba(255, 255, 255, 0.2)"}}),e.jsx("div",{className:"md:hidden absolute bottom-0 left-0 right-0 h-[1px]",style:{backgroundColor:"rgba(255, 255, 255, 0.2)"}})]})]},x))})})]})})]})}function M({data:t}){return!t||t.cards===!1,null}function G({data:t}){return!t||t.cards===!1,null}function q({data:t}){const{lang:i}=w(),l=i==="ar",a=t||{title:"",cards:[]},[r,x]=b.useState(null),d=s=>{x(n=>n===s?null:s)};return e.jsxs("section",{id:"ownership-rights",className:"relative overflow-hidden",style:{backgroundColor:"#001A2A"},children:[e.jsx("div",{className:"absolute top-0 right-0 w-full h-full bg-no-repeat bg-right-top pointer-events-none z-0",style:{backgroundImage:"url('/real-estate/ownership-rights/ownership-rights-bg.webp')",backgroundSize:"auto"}}),e.jsx("div",{className:"relative z-10 w-full",children:e.jsxs("div",{className:"container mx-auto py-[8vh] px-6",children:[e.jsx("div",{className:"mb-8 sm:mb-10 md:mb-12",children:e.jsx("h2",{className:"text-[28px] sm:text-[32px] md:text-[38px] lg:text-[42px] xl:text-[46px] bukra-bold text-white leading-tight mb-4 sm:mb-5 md:mb-6",children:a.title||"Ownership Rights"})}
7),e.jsx("div",{className:"mx-auto space-y-4",children:a.cards.map((s,n)=>{const m=`section-${n}`,p=r===m;return e.jsxs("div",{className:"relative rounded-[12px] overflow-hidden transition-all duration-300 backdrop-blur-[8px]",style:{backgroundColor:"transparent",border:p?"1px solid rgba(255, 255, 255, 0.3)":"1px solid rgba(255, 255, 255, 0.1)",boxShadow:p?"0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset":"0 2px 10px rgba(0, 0, 0, 0.2)"},children:[e.jsxs("button",{onClick:()=>d(m),className:`relative w-full flex justify-between items-center p-4 sm:p-5 md:p-6 transition-colors overflow-hidden ${l?"text-right":"text-left"}`,style:{backgroundColor:"rgba(0, 0, 0, 0.2)"},children:[e.jsx("div",{className:"absolute top-0 right-0 w-full h-full bg-no-repeat bg-right pointer-events-none opacity-30",style:{backgroundImage:"url('/real-estate/ownership-rights/card-bg.webp')",backgroundSize:"contain"}}),e.jsxs("div",{className:"relative z-10 flex-1 pr-4",children:[e.jsx("h3",{className:"text-[16px] sm:text-[17px] md:text-[18px] lg:text-[20px] bukra-bold text-white ",children:s.title}),s.subtitle&&e.jsx("p",{className:"text-[14px] sm:text-[15px] md:text-[16px] text-white/90 bukra-regular",children:s.subtitle})]}),e.jsx(D,{className:`relative z-10 w-5 h-5 sm:w-6 sm:h-6 text-white flex-shrink-0 transition-transform duration-300 ${p?"rotate-180":""}`})]}),p&&s.cards&&s.cards.length>0&&e.jsx("div",{className:"pt-0",style:{backgroundColor:void 0,background:n===0?"linear-gradient(180deg, #511E48 57%, #2D1A35 100%)":n===1?"linear-gradient(180deg, #0F6966 57%, #042D2B 100%)":n===2?"linear-gradient(180deg, #411654 57%, #230630 100%)":void 0,padding:"30px"},children:e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3 md:gap-4",children:s.cards.map((o,c)=>e.jsx("div",{className:"relative bg-black/40 backdrop-blur-[8px] rounded-[12px] p-4 border border-white/30 transition-all duration-300 hover:bg-black/50 hover:border-white/40",style:{boxShadow:"0 2px 10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15) inset"},children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center bg-white/10 rounded-lg p-2",children:e.jsx("img",{src:o.icon,alt:o.title,className:"w-full h-full object-contain filter brightness-0 invert"})}),e.jsx("span",{className:"text-[14px] sm:text-[15px] md:text-[16px] text-white bukra-medium",children:o.title})]})},c))})})]},m)})})]})})]})}async function W(){try{return(await F.get("/real-estate-page")).data}catch(t){throw B.isAxiosError(t)?(console.error("Error fetching real estate page:",{message:t.message,status:t.response?.status,statusText:t.response?.statusText,data:t.response?.data}),t):(console.error("Unexpected error fetching real estate page:",t),t)}}function Z(){const{data:t,isLoading:i,error:l}=k({queryKey:["real-estate-page"],queryFn:()=>W(),staleTime:3e5,refetchOnMount:!0});return i?e.jsx(S,{}):l?e.jsx("div",{className:"flex items-center justify-center min-h-screen",children:e.jsx("p",{className:"text-red-500",children:l instanceof Error?l.message:"Failed to load real estate data"})}):e.jsxs("main",{children:[e.jsx(z,{heroData:t?.hero,expandedAccessData:t?.realEstate?.expandedAccess}),e.jsx($,{data:t?.realEstate?.reshapingAccess}),e.jsx(_,{data:t?.realEstate?.whySaudi}),e.jsx(I,{data:t?.realEstate?.theGlobalCommunity}),e.jsx(L,{data:t?.realEstate?.propertyCategories}),e.jsx(O,{data:t?.realEstate?.theNewSystemUnlocksGrowth}),e.jsx(T,{data:t?.realEstate?.requirementsForOwnership}),e.jsx(P,{data:t?.realEstate?.theNationalRoadmap}),e.jsx(q,{data:t?.realEstate?.ownershipRights}),e.jsx(U,{data:t?.realEstate?.regulatoryPrinciples}),e.jsx(M,{data:t?.realEstate?.feeFrameworkAndPenalties}),e.jsx(G,{data:t?.realEstate?.geographicalScopes})]})}export{Z as default};
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.