const TINTS={navy:'var(--navy-100)',gold:'var(--gold-100)',sage:'var(--sage-100)',terracotta:'var(--terracotta-100)'};
const INKS={navy:'var(--navy-700)',gold:'var(--gold-600)',sage:'var(--sage-600)',terracotta:'var(--terracotta-600)'};
function IconCircleLocal({tone='navy',icon,size=56}){
return
;
}
const btnPrimary={background:'var(--navy-900)',color:'#fff',border:'none',padding:'14px 28px',borderRadius:'var(--radius-sm)',fontFamily:'var(--font-body)',fontWeight:600,fontSize:15,textDecoration:'none',display:'inline-flex',alignItems:'center',gap:8};
const btnAccent={background:'var(--gold-500)',color:'var(--ink)',border:'none',padding:'14px 28px',borderRadius:'var(--radius-sm)',fontFamily:'var(--font-body)',fontWeight:600,fontSize:15,textDecoration:'none',display:'inline-flex',alignItems:'center',gap:8};
function Breadcrumb({crumbs}){
return
{crumbs.map((c,i)=>(
{i>0&& }{c.href?{c.label} :{c.label} } ))}
;
}
function PageHero({crumbs,icon,tone,title,subtitle}){
return ();
}
function Section({title,eyebrow,bg,children,center}){
return (
{eyebrow&&
{eyebrow}
}
{title&&
{title} }
{children}
);
}
function BenefitsGrid({items}){
return ;
}
const STEP_TONES=['navy','gold','sage','terracotta'];
function ProcessSteps({steps}){
return ;
}
function DocumentsList({items}){
return
{items.map((d,i)=>
{d}
)}
;
}
function FAQAccordion({items}){
const [openIdx,setOpenIdx]=React.useState(0);
React.useEffect(()=>{window.lucide&&window.lucide.createIcons();});
return {items.map((f,i)=>(
setOpenIdx(openIdx===i?-1:i)} style={{cursor:'pointer',padding:'18px 4px',display:'flex',justifyContent:'space-between',alignItems:'center',gap:16,fontWeight:700,color:'var(--ink)',fontFamily:'var(--font-display)',fontSize:15}}>
{f.q}
{openIdx===i&&
{f.a}
}
))}
;
}
function CTABand({title,subtitle}){
return
{title||'Ready to get started?'}
{subtitle||"Talk to our team today \u2014 we'll guide you through every step."}
;
}
function Field({label,name,placeholder,type}){
return
{label}
;
}
const CONTACT_EMAIL='admin@allyinstitute.in';
function ContactFormCard({service}){
const sentParam=typeof window!=='undefined'&&new URLSearchParams(window.location.search).get('sent')==='1';
const serviceParam=typeof window!=='undefined'?new URLSearchParams(window.location.search).get('service'):null;
const serviceLabel=service||(serviceParam&&window.SERVICES&&(window.SERVICES.find(s=>s.slug===serviceParam)||{}).title)||null;
const [sent]=React.useState(sentParam);
const nextUrl=typeof window!=='undefined'?window.location.origin+window.location.pathname+'?sent=1':'';
return
Send an Enquiry
{sent?
Thanks \u2014 we've received your enquiry and will get back to you shortly.
:
}
;
}
function ContactRow({icon,text,href}){
const inner={text} ;
return href?{inner} :{inner}
;
}
function ContactAndMap(){
return ;
}
function TestimonialStrip(){
const T=[
{name:'Simranjit K.',role:'Study Visa Student',quote:'They handled my CA report and passport renewal together \u2014 saved weeks of running around.'},
{name:'Harpreet S.',role:'Working Professional',quote:'Sent money home the same day, and the rate was better than my bank.'},
{name:'Manpreet Family',role:'PR Applicants',quote:'From PCC to property evaluation, everything was explained clearly, step by step.'},
];
return
{T.map((t,i)=>
"{t.quote}"
{t.name} ยท {t.role}
)}
;
}
function StickyCallBar(){
return ;
}
Object.assign(window,{Breadcrumb,PageHero,IconCircleLocal,Section,BenefitsGrid,ProcessSteps,DocumentsList,FAQAccordion,CTABand,ContactFormCard,ContactAndMap,TestimonialStrip,StickyCallBar,btnPrimary,btnAccent});