/* TopAndHero.jsx — Sections 0–2: Sticky Nav, Hero + Lead Form, Trust Strip */
/* FULLY RESPONSIVE VERSION */
/* ── Section 0: Sticky Top Utility Bar ───────────────────────── */
const StickyNav = () => {
const { isMobile } = useResponsive();
const [scrolled, setScrolled] = React.useState(false);
React.useEffect(() => {
const h = () => setScrolled(window.scrollY > 10);
window.addEventListener('scroll', h, { passive: true });
return () => window.removeEventListener('scroll', h);
}, []);
return (
);
};
/* ── Section 1: Hero + Lead Form ─────────────────────────────── */
const HeroSection = () => {
const { isMobile, isTablet } = useResponsive();
const [formData, setFormData] = React.useState({
name: '', mobile: '', email: '', city: '', year: '',
});
const handleSubmit = (e) => {
e.preventDefault();
alert('Form submitted! (Demo — would POST to /api/lead)');
};
const inputStyle = {
width: '100%', padding: isMobile ? '13px 14px' : '12px 14px', borderRadius: 8,
border: '1.5px solid #ddd', fontSize: 14, fontFamily: "'IBM Plex Sans', sans-serif",
outline: 'none', transition: '0.2s ease', background: '#fff',
};
return (
B.Tech in Computer Science & Engineering (Cyber Security) — co-created with KPMG in India and academically partnered with Macquarie University, Sydney's Cyber Skills Academy.
A counsellor will call you back within 4 working hours.
Career-Driven Cyber Security.{isMobile ? ' ' :
}
Built with KPMG. Certified globally.
Get personalised course details