"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[506],{5720:(e,t,a)=>{a.d(t,{A:()=>x});var l=a(5155),i=a(6245),s=a(4901),o=a(6874),n=a.n(o),r=a(7677),c=a(5114),d=a(2606),m=a(2115),h=a(1253);a(2252),a(9408),a(6970),a(6816);let u=[{image:"/images/school-building.jpg",title:i.b.name,subtitle:"Excellence in Education",description:"An educational institution dedicated to quality education, character building, and holistic development.",badge:"प्रवेश खुले हैं | Admission Open 2026-27"},{image:"/images/1.JPG",title:"Quality Education",subtitle:"Shaping Future Leaders",description:"We provide comprehensive education from Nursery to Class 8 with a focus on academic excellence and character development.",badge:"Classes: Nursery to 8th"},{image:"/images/coaching.jpg",title:"Special Coaching",subtitle:"Entrance Exam Preparation",description:"Expert coaching for AMU, JMI, Sainik School, Military School, and Vidyagyan entrance examinations.",badge:"Coaching Available"},{image:"/images/2.JPG",title:"Modern Facilities",subtitle:"Learning Environment",description:"State-of-the-art facilities with well-equipped classrooms, computer labs, library, and sports facilities.",badge:"World-Class Infrastructure"}];function x(){let[e,t]=(0,m.useState)(!1);return(0,l.jsxs)("div",{className:"relative overflow-hidden",children:[(0,l.jsx)(h.A,{isOpen:e,onClose:()=>t(!1)}),(0,l.jsx)(r.RC,{modules:[c.Vx,c.dK,c.Ij,c._R],navigation:!0,pagination:{clickable:!0},autoplay:{delay:5e3,disableOnInteraction:!1},effect:"fade",loop:!0,className:"hero-swiper h-[600px] md:h-[700px] lg:h-[800px]",children:u.map((e,a)=>(0,l.jsx)(r.qr,{children:(0,l.jsxs)("div",{className:"relative h-full bg-gradient-to-br from-[#035c00] to-[#023b00]",children:[(0,l.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,l.jsx)(s.A,{src:e.image,alt:e.title,fill:!0,className:"object-cover opacity-30",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#035c00]/90 via-[#035c00]/70 to-[#023b00]/50"})]}),(0,l.jsxs)("div",{className:"absolute inset-0 overflow-hidden opacity-20",children:[(0,l.jsx)(d.P.div,{className:"absolute top-20 right-20 w-64 h-64 bg-yellow-300 rounded-full blur-3xl",animate:{scale:[1,1.2,1],opacity:[.3,.5,.3]},transition:{duration:4,repeat:1/0}}),(0,l.jsx)(d.P.div,{className:"absolute bottom-20 left-20 w-96 h-96 bg-white rounded-full blur-3xl",animate:{scale:[1,1.3,1],opacity:[.2,.4,.2]},transition:{duration:5,repeat:1/0}})]}),(0,l.jsx)("div",{className:"relative z-10 h-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 h-full items-center",children:[(0,l.jsxs)(d.P.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"text-white py-12 lg:py-0",children:[(0,l.jsxs)(d.P.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.5},className:"inline-block bg-white/20 backdrop-blur-md px-5 py-2 rounded-full text-sm font-semibold mb-6 border border-white/30",children:[(0,l.jsx)("span",{className:"animate-pulse inline-block mr-2",children:"\uD83C\uDF93"}),e.badge]}),(0,l.jsxs)(d.P.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold leading-tight mb-4",children:[(0,l.jsx)("span",{className:"block text-yellow-300 drop-shadow-lg",children:e.title}),(0,l.jsx)("span",{className:"block text-2xl md:text-3xl lg:text-4xl mt-3 font-medium text-white/95",children:e.subtitle})]}),(0,l.jsx)(d.P.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-base md:text-lg lg:text-xl max-w-xl mb-8 text-white/90 leading-relaxed",children:e.description}),(0,l.jsxs)(d.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"flex flex-col sm:flex-row gap-4",children:[(0,l.jsxs)(n(),{href:"/about",className:"group inline-flex items-center justify-center px-8 py-4 bg-white/10 backdrop-blur-md border-2 border-white/30 text-white font-semibold rounded-full text-lg transition-all duration-300 hover:bg-white hover:text-[#035c00] hover:scale-105 glassy-button",children:["Explore More",(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 ml-2 group-hover:translate-x-1 transition-transform",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),(0,l.jsxs)("button",{onClick:()=>t(!0),className:"group inline-flex items-center justify-center px-8 py-4 bg-yellow-400 text-[#035c00] font-bold rounded-full text-lg transition-all duration-300 hover:bg-yellow-300 hover:scale-105 shadow-lg hover:shadow-xl cursor-pointer",children:["Apply Now",(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 ml-2 group-hover:translate-x-1 transition-transform",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]}),(0,l.jsxs)(d.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},className:"grid grid-cols-3 gap-4 mt-12",children:[(0,l.jsxs)("div",{className:"p-4 bg-white/10 backdrop-blur-md rounded-xl border border-white/20 text-center transform hover:scale-105 transition-transform",children:[(0,l.jsx)("div",{className:"text-3xl md:text-4xl font-bold text-yellow-300",children:"15+"}),(0,l.jsx)("div",{className:"text-xs md:text-sm mt-1",children:"Years of Excellence"})]}),(0,l.jsxs)("div",{className:"p-4 bg-white/10 backdrop-blur-md rounded-xl border border-white/20 text-center transform hover:scale-105 transition-transform",children:[(0,l.jsx)("div",{className:"text-3xl md:text-4xl font-bold text-yellow-300",children:"1000+"}),(0,l.jsx)("div",{className:"text-xs md:text-sm mt-1",children:"Happy Students"})]}),(0,l.jsxs)("div",{className:"p-4 bg-white/10 backdrop-blur-md rounded-xl border border-white/20 text-center transform hover:scale-105 transition-transform",children:[(0,l.jsx)("div",{className:"text-3xl md:text-4xl font-bold text-yellow-300",children:"100%"}),(0,l.jsx)("div",{className:"text-xs md:text-sm mt-1",children:"Success Rate"})]})]})]}),(0,l.jsx)(d.P.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8,delay:.4},className:"hidden lg:flex items-center justify-center",children:(0,l.jsx)("div",{className:"relative w-full max-w-lg h-[500px] xl:h-[600px]",children:(0,l.jsxs)(d.P.div,{className:"relative h-full overflow-hidden rounded-3xl shadow-2xl",whileHover:{scale:1.02},transition:{duration:.3},children:[(0,l.jsx)(s.A,{src:e.image,alt:e.title,fill:!0,className:"object-cover",sizes:"50vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),(0,l.jsx)(d.P.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{duration:.6,delay:.8},className:"absolute top-6 right-6 bg-white/95 backdrop-blur-sm p-4 rounded-2xl shadow-xl",children:(0,l.jsx)(s.A,{src:"/images/school-logo.png",alt:"School Logo",width:70,height:70,className:"rounded-lg"})})]})})})]})})]})},a))}),(0,l.jsx)("div",{className:"relative -mt-1",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1440 120",className:"w-full h-auto text-white fill-current",children:(0,l.jsx)("path",{d:"M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z"})})})]})}},7314:(e,t,a)=>{a.d(t,{ZE:()=>l}),a(6245);function l(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}}},8452:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(5155),i=a(2115),s=a(4901);let o=[{src:"/images/01.jpeg",alt:"School Main Building",fallback:"/images/school-building.jpg"},{src:"/images/02.jpeg",alt:"Students in Classroom",fallback:"/images/school-building.jpg"},{src:"/images/03.jpeg",alt:"Science Laboratory",fallback:"/images/school-building.jpg"},{src:"/images/04.jpeg",alt:"Computer Lab",fallback:"/images/school-building.jpg"},{src:"/images/05.jpeg",alt:"School Playground",fallback:"/images/school-building.jpg"},{src:"/images/06.jpeg",alt:"School Library",fallback:"/images/school-building.jpg"},{src:"/images/07.jpeg",alt:"Cultural Program",fallback:"/images/school-building.jpg"},{src:"/images/08.jpeg",alt:"Smart Classroom",fallback:"/images/school-building.jpg"},{src:"/images/09.jpeg",alt:"Annual Function",fallback:"/images/school-building.jpg"},{src:"/images/10.jpeg",alt:"Award Ceremony",fallback:"/images/school-building.jpg"},{src:"/images/11.jpeg",alt:"School Event",fallback:"/images/school-building.jpg"}];function n(){let[e,t]=(0,i.useState)(0),[a,n]=(0,i.useState)(!1),[r,c]=(0,i.useState)({}),[d,m]=(0,i.useState)(0),[h,u]=(0,i.useState)(0),x=(0,i.useCallback)(()=>{a||(n(!0),t(e=>e===o.length-1?0:e+1),setTimeout(()=>n(!1),500))},[a]),g=(0,i.useCallback)(()=>{a||(n(!0),t(e=>0===e?o.length-1:e-1),setTimeout(()=>n(!1),500))},[a]);(0,i.useEffect)(()=>{let e=setInterval(()=>{x()},4e3);return()=>clearInterval(e)},[x]);let p=l=>{a||l===e||(n(!0),t(l),setTimeout(()=>{n(!1)},500))},b=e=>{console.log("Image at index ".concat(e," failed to load, using fallback")),c(t=>({...t,[e]:!0}))};return(0,l.jsxs)("div",{className:"relative w-full h-[500px] overflow-hidden rounded-lg shadow-2xl",onTouchStart:e=>{m(e.targetTouches[0].clientX)},onTouchMove:e=>{u(e.targetTouches[0].clientX)},onTouchEnd:()=>{d-h>50&&x(),d-h<-50&&g()},children:[(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100 z-0",children:(0,l.jsx)("div",{className:"animate-pulse text-gray-400",children:"Loading images..."})}),(0,l.jsx)("div",{className:"flex h-full transition-transform duration-500 ease-in-out relative z-10",style:{transform:"translateX(-".concat(100*e,"%)")},children:o.map((e,t)=>(0,l.jsx)("div",{className:"min-w-full h-full flex-shrink-0 relative",children:(0,l.jsx)("div",{className:"w-full h-full relative",children:(0,l.jsx)(s.A,{src:r[t]?e.fallback:e.src,alt:e.alt,fill:!0,quality:85,style:{objectFit:"cover"},onError:()=>b(t),className:"transition-opacity duration-500"})})},t))}),(0,l.jsx)("button",{onClick:g,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-black/30 hover:bg-black/50 text-white w-12 h-12 rounded-full flex items-center justify-center focus:outline-none transition-colors transform hover:scale-110 z-20","aria-label":"Previous slide",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,l.jsx)("button",{onClick:x,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-black/30 hover:bg-black/50 text-white w-12 h-12 rounded-full flex items-center justify-center focus:outline-none transition-colors transform hover:scale-110 z-20","aria-label":"Next slide",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),(0,l.jsx)("div",{className:"absolute bottom-5 left-0 right-0 flex justify-center space-x-3 z-20",children:o.map((t,a)=>(0,l.jsx)("button",{onClick:()=>p(a),className:"w-3 h-3 rounded-full focus:outline-none transition-all duration-300 ".concat(a===e?"bg-white w-8":"bg-white/50 hover:bg-white/70"),"aria-label":"Go to slide ".concat(a+1)},a))}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-1 bg-white/20 z-20",children:(0,l.jsx)("div",{className:"h-full bg-white transition-all duration-300 ease-linear",style:{width:"".concat(e/(o.length-1)*100,"%")}})})]})}}}]);