// Arise Helix — Hero + About + Programs sections. /* ──────────────── Navbar ──────────────── */ function HelixNav() { const links = [ { label: "Home", href: "#helix-hero" }, { label: "Programs", href: "#helix-programs" }, { label: "Faculty", href: "#helix-about" }, { label: "Labs", href: "#helix-lab" }, { label: "Contact", href: "#helix-cta" }, ]; // Smart-hide nav: hide on scroll down, show on scroll up. const [hidden, setHidden] = React.useState(false); const [menuOpen, setMenuOpen] = React.useState(false); const lastY = React.useRef(0); React.useEffect(() => { const onScroll = () => { const y = window.scrollY; const goingDown = y > lastY.current; // Keep nav visible while the mobile menu is open. if (menuOpen) { lastY.current = y; return; } if (y < 80) { setHidden(false); } else if (goingDown && y - lastY.current > 4) { setHidden(true); } else if (!goingDown && lastY.current - y > 4) { setHidden(false); } lastY.current = y; }; window.addEventListener("scroll", onScroll, { passive: true }); return () => window.removeEventListener("scroll", onScroll); }, [menuOpen]); // Close mobile menu when viewport goes desktop-sized. React.useEffect(() => { const onResize = () => { if (window.innerWidth >= 768) setMenuOpen(false); }; window.addEventListener("resize", onResize); return () => window.removeEventListener("resize", onResize); }, []); // Lock body scroll while mobile menu is open. React.useEffect(() => { document.body.style.overflow = menuOpen ? "hidden" : ""; return () => { document.body.style.overflow = ""; }; }, [menuOpen]); return ( <> {/* Mobile drawer */}
setMenuOpen(false)} >
e.stopPropagation()} > {links.map((l, i) => ( setMenuOpen(false)} className="text-2xl font-medium tracking-tight" style={{ color: "#F2EAD8", opacity: menuOpen ? 1 : 0, transform: menuOpen ? "translateY(0)" : "translateY(10px)", transition: `opacity 0.4s ease ${0.05 + i * 0.05}s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) ${0.05 + i * 0.05}s`, }} > {l.label} ))} setMenuOpen(false)} className="mt-4 rounded-full px-7 py-3 text-base font-medium" style={{ background: "linear-gradient(135deg, #B08D57 0%, #D8C3A5 100%)", color: "#1F1F1F", opacity: menuOpen ? 1 : 0, transform: menuOpen ? "translateY(0)" : "translateY(10px)", transition: `opacity 0.4s ease ${0.05 + links.length * 0.05}s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) ${0.05 + links.length * 0.05}s`, }} > Apply Now
); } /* ──────────────── Hero ──────────────── */ function HeroSection() { const scrollY = useScrollY(); return (
{/* Soft radial glows */}
FMGE · NExT · Foundation Programs

A mentor-led path through FMGE and NExT, founded by{" "} Dr. Khaleel — built on a 3-phase preparation model. 30,000+ medicos. 74% pass rate.

Explore Programs Watch Showreel
{/* Stats strip */}
{[ { v: 30000, suf: "+", l: "Medicos empowered" }, { v: 74, suf: "%", l: "FMGE pass rate" }, { v: 19, suf: "", l: "Subjects covered" }, { v: 5, suf: "", l: "City centres" }, ].map((s, i) => (
{s.l}
))}
{/* Locations strip */}
Centres · Hyderabad Chennai Kerala Delhi Jaipur
); } /* ──────────────── About ──────────────── */ function AboutSection() { return (
The Arise Story
{/* Left — sticky portrait */}

We don't just teach you to pass; we teach you to be an excellent physician.

— Dr. Khaleel, Founder
{/* Right — headline + paragraph + 3-phase model */}
{/* 3-phase */}
{[ { n: "01", t: "Foundation", d: "Build conceptual depth across all 19 subjects with mentor-led classes and digital notes." }, { n: "02", t: "Application", d: "Translate concepts into exam reasoning through subject-wise MCQ drills and case discussion." }, { n: "03", t: "Revision", d: "Super Revision in 45 days. High-yield recalls and rapid mocks to peak before the exam." }, ].map((p, i) => (
{p.n}

{p.t}

{p.d}

))}
); } function PortraitFrame({ label, src }) { const [hover, setHover] = React.useState(false); return (
setHover(true)} onMouseLeave={() => setHover(false)} className="relative rounded-3xl overflow-hidden" style={{ aspectRatio: "3 / 4", background: "#0E0E10", border: "1px solid rgba(216,195,165,0.22)", boxShadow: "0 30px 60px -28px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05)", }} > {src ? ( {label} ) : (
)} {/* Bottom gradient for label legibility on top of the photo */}
{label}
); } /* ──────────────── Programs ──────────────── */ const PROGRAM_LIST = [ { icon: , n: "01", title: "Regular Batch", duration: "6 months", desc: "Daily live classes, subject-wise depth and complete digital notes — built for first-attempt clarity.", }, { icon: , n: "02", title: "Semi-Regular", duration: "3 months", desc: "Accelerated coverage for candidates with a foundation in place. Compressed schedule, full coverage.", }, { icon: , n: "03", title: "Super Revision", duration: "45 days", desc: "High-yield recall sprints to peak right before the exam — pure revision, no padding.", }, { icon: , n: "04", title: "Abhyas Test Series", duration: "7,000+ MCQs", desc: "A full MCQ universe modelled on FMGE and NExT — tested, analysed, ranked.", }, { icon: , n: "05", title: "Foundation Batch", duration: "Long-form · hybrid", desc: "Early integration for students studying abroad — concept building from MBBS year one.", }, { icon: , n: "06", title: "Online App", duration: "Always-on", desc: "The full Arise classroom in your pocket — live, recorded, MCQs and notes.", }, ]; function ProgramCard({ p, i }) { const [hover, setHover] = React.useState(false); return (
setHover(true)} onMouseLeave={() => setHover(false)} className="helix-glass rounded-2xl p-6 md:p-7 h-full relative overflow-hidden" style={{ border: "1px solid rgba(0,0,0,0.08)", transform: hover ? "translateY(-4px)" : "translateY(0)", transition: "transform 0.5s cubic-bezier(0.16, 1, 0.3, 1)", }} > {/* Animated glow border */}
{p.icon}
{p.n}

{p.title}

{p.duration}

{p.desc}

Learn more
); } function ProgramsSection() { return (
Programs

Every batch runs on the same 3-phase model — only the cadence changes. Some need 6 months, some 45 days, some start before MBBS even ends.

{PROGRAM_LIST.map((p, i) => )}
); } /* ──────────────── Why Choose Arise ──────────────── */ const WHY_LIST = [ { icon: , title: "Expert Faculty", desc: "Learn from national-level mentors who specialize in all 19 subjects of the Indian medical curriculum.", }, { icon: , title: "Updated Material", desc: "Cutting-edge study notes and MCQs designed specifically for the latest FMGE & NExT patterns.", }, { icon: , title: "Proven Results", desc: "Consistent track record of producing toppers and the highest passing percentages in India.", }, ]; function WhyChooseSection() { return (
Why Choose Arise

Three pillars behind every first-attempt pass — faculty, material and outcomes that medicos can stake their preparation on.

{WHY_LIST.map((w, i) => (
{w.icon}

{w.title}

{w.desc}

))}
); } Object.assign(window, { HelixNav, HeroSection, AboutSection, ProgramsSection, WhyChooseSection });