1var us=Object.defineProperty,ps=Object.defineProperties;var gs=Object.getOwnPropertyDescriptors;var Ee=Object.getOwnPropertySymbols;var fs=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable;var Pe=(o,m,h)=>m in o?us(o,m,{enumerable:!0,configurable:!0,writable:!0,value:h}):o[m]=h,Le=(o,m)=>{for(var h in m||(m={}))fs.call(m,h)&&Pe(o,h,m[h]);if(Ee)for(var h of Ee(m))bs.call(m,h)&&Pe(o,h,m[h]);return o},Re=(o,m)=>ps(o,gs(m));var X=(o,m,h)=>new Promise((v,f)=>{var g=t=>{try{A(h.next(t))}catch(N){f(N)}},K=t=>{try{A(h.throw(t))}catch(N){f(N)}},A=t=>t.done?v(t.value):Promise.resolve(t.value).then(g,K);A((h=h.apply(o,m)).next())});import{a as js,u as ws,p as vs,b as Ns,r as c,g as E,j as e,q as k,B as b,s as ys,v as Cs,H as Oe,A as qe,k as Z,L as ee,d as Me,U as Ss,i as se,I as w,P as D,t as te,w as P,x as L,y as R,z as O,E as q,G as ks,J,T as Be,K as As,N as Is,O as Ts,Q as F,R as Es,V as Ps,W as Ls,X as Rs,Y as Os,Z as qs,l as Ms,_ as Bs,M as Ds,m as Js,n as $s,$,a0 as Fs,a1 as Ks,a2 as Gs}from"./index-COtfmzs3.js";import{A as De,a as Je,b as $e,c as Fe}from"./accordion-BDAGMPW7.js";import{T as ae}from"./trending-up-Df_kf9_j.js";import{G as Vs}from"./globe-C-l7dX0X.js";import{P as Us,C as Ws,B as _s}from"./presentation-BkSLTQ5I.js";import{U as zs}from"./user-check-bciyhVIV.js";import{C as Hs}from"./chevron-left-1xI8lt8d.js";const Ys=({topics:o,idx:m})=>{const h=c.useRef(null),v=f=>{h.current&&h.current.scrollBy({left:f==="left"?-200:200,behavior:"smooth"})};return e.jsxs("div",{className:"flex items-center gap-4 w-full mb-6",children:[e.jsx("style",{children:` 2 .faq-tabs-scroll::-webkit-scrollbar {
3 display: none; 4 } 5 .faq-tabs-scroll { 6 -ms-overflow-style: none; 7 scrollbar-width: none; 8 } 9 `}),e.jsx("button",{onClick:()=>v("left"),className:"bg-white shadow-md p-2 rounded-full border border-border hover:bg-muted transition-all flex items-center justify-center shrink-0","aria-label":"Scroll left",children:e.jsx(Hs,{className:"w-4 h-4 text-foreground"})}),e.jsx("div",{ref:h,className:"faq-tabs-scroll flex-1 overflow-x-auto pb-2 px-1 bg-transparent h-auto flex-nowrap",children:e.jsx(Fs,{className:"flex bg-transparent h-auto p-0 gap-4 flex-nowrap w-fit mx-auto",children:o.map((f,g)=>e.jsx(Ks,{value:`topic-${m}-${g}`,className:"px-6 py-3 rounded-xl text-sm font-bold transition-all duration-300 border shadow-sm hover:shadow-lg data-[state=active]:bg-[#373081] data-[state=active]:border-[#373081] data-[state=active]:text-white data-[state=active]:shadow-md bg-white border-border text-foreground hover:bg-gradient-to-br hover:from-blue-500 hover:to-indigo-600 hover:text-white hover:border-transparent flex-shrink-0",children:f.title||"General Information"},g))})}),e.jsx("button",{onClick:()=>v("right"),className:"bg-white shadow-md p-2 rounded-full border border-border hover:bg-muted transition-all flex items-center justify-center shrink-0","aria-label":"Scroll right",children:e.jsx(Gs,{className:"w-4 h-4 text-foreground"})})]})},Qs=({src:o})=>e.jsxs("div",{className:"relative w-full max-w-[150px] sm:max-w-[200px] lg:max-w-[260px] aspect-square flex items-center justify-center",children:[e.jsx("div",{className:"absolute inset-[-20%] bg-[#fbbf24]/20 rounded-full blur-[50px] animate-pulse"}),e.jsxs(F.div,{animate:{scale:[1,1.05,1,1.1,1]},transition:{duration:2.5,repeat:1/0,ease:"easeInOut"},className:"relative z-10 w-full h-full rounded-full bg-[#c4b57d] border-[3px] border-white/60 shadow-[0_0_30px_rgba(251,191,36,0.3)] flex items-center justify-center p-6 sm:p-8 overflow-hidden group",children:[e.jsx("div",{className:"absolute inset-2 border border-white/30 rounded-full pointer-events-none"}),e.jsxs("div",{className:"relative w-full h-full",children:[e.jsx(F.div,{animate:{x:["-100%","200%"]},transition:{duration:3,repeat:1/0,repeatDelay:1,ease:"easeInOut"},className:"absolute inset-x-0 inset-y-[-50%] bg-gradient-to-r from-transparent via-white/30 to-transparent rotate-[25deg] z-10 pointer-events-none"}),e.jsx(w,{src:o,alt:"JK Shah Classes",className:"w-full h-full object-contain filter drop-shadow-md"})]})]})]}),Ke=({title:o,icon:m})=>e.jsx(F.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},whileHover:{y:-5,scale:1.02},viewport:{once:!0},className:"relative w-full aspect-[3/1] sm:aspect-[2.5/1] lg:aspect-[3/1] flex flex-row items-center gap-4 sm:gap-6 p-4 sm:p-5 rounded-3xl bg-[#ebeaf2] border border-slate-200/20 shadow-lg group transition-all duration-500 overflow-hidden",children:e.jsxs("div",{className:"relative z-10 flex items-center gap-4 text-left w-full",children:[e.jsx("div",{className:"relative p-3 rounded-xl bg-transparent shrink-0",children:e.jsx(m,{className:"w-5 h-5 sm:w-8 sm:h-8 text-[#fbbf24] drop-shadow-[0_0_8px_rgba(251,191,36,0.3)] transition-transform duration-500 group-hover:scale-110",strokeWidth:1.5})}),e.jsx("h4",{className:"text-[10px] sm:text-xs lg:text-[13px] font-bold text-slate-800 leading-tight tracking-wide uppercase flex-1",children:o})]})}),Xs=({description:o})=>{const[m,h]=c.useState(!1);return o?e.jsxs("div",{className:"mt-2",children:[e.jsx("p",{className:`text-xs text-muted-foreground transition-all ${m?"":"line-clamp-3"}`,children:o}),o.length>100&&e.jsx("button",{onClick:()=>h(!m),className:"text-xs text-primary mt-1 font-medium hover:underline focus:outline-none",children:m?"Read Less":"Read More"})]}):null};function bt(){var me,he,xe,ue,pe,ge,fe,be,je,we,ve,Ne,ye,Ce,Se,ke,Ae,Ie;const{slug:o}=js(),m=ws(),v=vs().pathname.split("/").slice(0,-1).join("/")+"/",{allCourses:f,allCategories:g,courseTimelines:K,careerConfigs:A}=Ns(),[t,N]=c.useState(null),[Ge,re]=c.useState(!0),[Zs,et]=c.useState(0),[y,Ve]=c.useState(0),[I,M]=c.useState(0),[st,tt]=c.useState("overview"),[Ue,G]=c.useState(!1),[We,V]=c.useState(!1),[le,U]=c.useState(null),[W,_e]=c.useState();c.useEffect(()=>{G(!1);const s=setTimeout(()=>{G(!0)},2500);return()=>clearTimeout(s)},[o]),c.useEffect(()=>{if(!W||navigator.userAgent==="ReactSnap")return;const s=setInterval(()=>{W.scrollNext()},4e3);return()=>clearInterval(s)},[W]);const[ze,He]=c.useState(null),[Ye,_]=c.useState(!1),[Qe,ie]=c.useState(!1),[Xe,Ze]=c.useState([]),[es,ss]=c.useState([]),[at,rt]=c.useState(3),[t
9s,oe]=c.useState(null),[lt,it]=c.useState(!1),[ot,nt]=c.useState(!1),[z,as]=c.useState(),[H,rs]=c.useState(),[Y,ls]=c.useState(),[C,ne]=c.useState(null),[is,B]=c.useState([]);c.useEffect(()=>{if(!z||navigator.userAgent==="ReactSnap")return;const s=setInterval(()=>{z.scrollNext()},3e3);return()=>clearInterval(s)},[z]),c.useEffect(()=>{if(!Y||!(t!=null&&t.videos)||t.videos.length<=1||navigator.userAgent==="ReactSnap")return;const s=setInterval(()=>{Y.scrollNext()},4e3);return()=>clearInterval(s)},[Y,t==null?void 0:t.videos]),c.useEffect(()=>{if(!H||navigator.userAgent==="ReactSnap")return;const s=setInterval(()=>{H.scrollNext()},5e3);return()=>clearInterval(s)},[H]);const os=()=>{const s=localStorage.getItem("token"),a=localStorage.getItem("user"),r=a?JSON.parse(a):null;return!!s&&(r==null?void 0:r.role)==="student"?!0:(te.error("Please login to enroll in courses"),window.location.href="https://new-online.jkshahclasses.com/",!1)},ns=s=>{os()&&(oe(s),ie(!0))};if(c.useEffect(()=>{X(null,null,function*(){try{const[a,r]=yield Promise.all([Js.getBatches(),$s.getLandingContent()]);a.ok&&a.data.success&&Ze(a.data.data),r.ok&&r.data.success&&ss(r.data.data.branches||[])}catch(a){console.error("Error fetching data:",a)}})},[]),c.useEffect(()=>{if(!t)return;X(null,null,function*(){if(t._id){const{ok:l,data:n}=yield $.getAll({course:t._id,limit:1e3});if(l&&n.success&&n.data.length>0){B(n.data);return}}if(t.subCategory){const{ok:l,data:n}=yield $.getAll({subCategory:t.subCategory,limit:1e3});if(l&&n.success&&n.data.length>0){B(n.data);return}}if(t.category){const{ok:l,data:n}=yield $.getAll({category:t.category,limit:1e3});if(l&&n.success&&n.data.length>0){B(n.data);return}}const{ok:a,data:r}=yield $.getAll({limit:1e3});a&&r.success&&B(r.data||[])})},[t]),c.useEffect(()=>{if(o){if(["ca","cs","1","2"].includes(o.toLowerCase())){let s="",a="";switch(o.toLowerCase()){case"ca":s="Chartered Accountancy (CA) - Foundation to Final",a="Master the complexities of financial accounting, auditing, and taxation with our comprehensive CA program. We provide end-to-end guidance for Foundation, Intermediate, and Final levels.";break;case"cs":s="Company Secretary (CS) - Comprehensive Program",a="A specialized course focusing on corporate law, governance, and secretarial practices. Become a corporate leader with our expert-led CS training.";break;case"1":s="US CPA - Certified Public Accountant",a="Get globally recognized with the US CPA certification. Expert training for FAR, AUD, REG, and BEC exams with industry-leading mentors.";break;case"2":s="ACCA - Association of Chartered Certified Accountants",a="Become a global finance professional with ACCA. Comprehensive coverage of all 13 papers with flexible learning options and exam-focused approach.";break}N({_id:o,title:s,description:a,price:o==="ca"||o==="cs"?"25,000":"1,50,000",originalPrice:o==="ca"||o==="cs"?"35,000":"1,80,000",discount:"25% OFF",rating:"4.9",enrolledTotal:"15,000+",duration:"12-18 Months",facultyName:"Dr. J.K. Shah",facultyDesignation:"Founder & Chairman",facultyBio:"A visionary in professional education with over 40 years of experience in shaping the careers of thousands of CAs across India.",whatYouLearn:["Comprehensive coverage of the entire syllabus","Exam-oriented teaching methodology","Regular mock tests and personalized feedback","Access to recorded sessions for revision","Doubt-solving sessions with expert faculty","Career guidance and placement support"],videos:[{title:"Course Introduction",url:"https://www.youtube.com/watch?v=GetIm73J5j8",description:"In this comprehensive introduction, we cover the basics of the course structure, what you will learn, and how to make the most of your study time. This video provides a roadmap for your success and helps you understand the exam pattern and marking scheme."},{title:"Faculty Introduction",url:"https://www.youtube.com/watch?v=GetIm73J5j8",description:"Meet your expert faculty members who will guide you throughout your journey. Learn about their experience, teaching methodology, and how they have helped thousands of students achieve their dreams."}],faqs:[{category:"General",topics:[{title:"General Information",questions:[{question:"What is the duration of the course?",answer:"The course duration is 12-18 months depending on the level."},{question:"Is there any refund policy?",answer:"Yes, we offer a 30-day money-back guarantee."}]}]}]}),re(!1)}else if(f.length>0){const s=f.find(a=>E(a.title)===o||a.slug===o||a._id===o);N(s),re(!1)}}},[o,f]),c.useEffect(()=>{var Te;if(!t)return;const s=g.find(T=>T.name===t.subCategory&&T.parent),a=t.metaTitle||t.title||(s==null?void 0:s.metaTitle)||"JK Shah Classes";document.title=`${a}`;let r=document.querySelector('meta[name="description"]');r||(r=document.createElement("meta"),r.setAttribute("name","description"),document.head.appendChild(r));const l=((Te=t.description)==null?void 0:Te.replace(/<[^>]*>?/gm,""))||"",n=t.metaDescription||l.substring(0,160)+(l.length>160?"...":"")||(s==null?void 0:s.metaDescription)||"Join JK Shah Classes for the best CA, CS, and C
9MA coaching.";r.setAttribute("content",n);let p=document.querySelector('meta[name="keywords"]');p||(p=document.createElement("meta"),p.setAttribute("name","keywords"),document.head.appendChild(p));const x=t.metaKeywords||(s==null?void 0:s.metaKeywords)||"CA, CS, CMA, Coaching, JK Shah Classes";p.setAttribute("content",x);let d=document.querySelector('meta[property="og:title"]');d||(d=document.createElement("meta"),d.setAttribute("property","og:title"),document.head.appendChild(d)),d.setAttribute("content",`${a}`);let u=document.querySelector('meta[property="og:description"]');u||(u=document.createElement("meta"),u.setAttribute("property","og:description"),document.head.appendChild(u)),u.setAttribute("content",n);let j=document.querySelector('script[id="course-schema"]');j||(j=document.createElement("script"),j.setAttribute("type","application/ld+json"),j.setAttribute("id","course-schema"),document.head.appendChild(j));const Q={"@context":"https://schema.org","@type":"Course",name:t.title,description:n,provider:{"@type":"EducationalOrganization",name:"J.K. Shah Classes",sameAs:"https://jkshahclasses.com/"},url:window.location.href};return j.textContent=JSON.stringify(Q),()=>{document.title="JK Shah Classes";const T=document.querySelector('script[id="course-schema"]');T&&T.remove()}},[t,g]),Ge)return e.jsxs("div",{className:"min-h-screen bg-white flex flex-col items-center justify-center",children:[e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary"}),e.jsx("p",{className:"mt-4 text-primary font-medium animate-pulse",children:"Loading course details..."})]});if(!t)return e.jsx("div",{className:"min-h-screen bg-white flex items-center justify-center",children:e.jsxs("div",{className:"text-center max-w-md mx-auto px-4",children:[e.jsx("div",{className:"bg-muted/30 rounded-full p-4 w-16 h-16 mx-auto mb-4 flex items-center justify-center",children:e.jsx(k,{className:"w-8 h-8 text-muted-foreground"})}),e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-2",children:"Course Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The course you're looking for doesn't exist or has been removed."}),e.jsxs(b,{onClick:()=>m("/courses"),className:"bg-primary hover:bg-primary/90 text-white",children:[e.jsx(ys,{className:"w-4 h-4 mr-2"}),"Browse All Courses"]})]})});const ce=t!=null&&t.faqs&&t.faqs.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faqs.flatMap(s=>(s.topics||(s.questions?[{questions:s.questions}]:[])).flatMap(r=>r.questions.map(l=>({"@type":"Question",name:l.question,acceptedAnswer:{"@type":"Answer",text:l.answer}}))))}:null,S=((me=t.syllabusModules)==null?void 0:me.length)>0?[...t.syllabusModules].sort((s,a)=>(s.sequence||0)-(a.sequence||0)).map(s=>Re(Le({},s),{topics:[...s.topics||[]].sort((a,r)=>{const l=typeof a=="object"&&a.sequence||0,n=typeof r=="object"&&r.sequence||0;return l-n})}
9)):[{title:"Module 1: Fundamentals of Accounting",topics:["Introduction to Accounting Principles","Double Entry System","Journal, Ledger & Trial Balance","Bank Reconciliation Statement","Depreciation Accounting"],duration:"4 weeks"}];t.facultyName,t.facultyDesignation,t.facultySpecialization,t.facultyExperience,t.facultyStudents,(he=t.facultyRating)!=null&&he.toString(),t.facultyBio,t.facultyImage;const cs=[{icon:Cs,defaultText:"Comprehensive Study Material"},{icon:k,defaultText:"Practice Questions Bank"},{icon:Oe,defaultText:"24/7 Doubt Support"},{icon:qe,defaultText:"Completion Certificate"},{icon:Z,defaultText:"Downloadable Resources"}].map((s,a)=>({icon:s.icon,text:t.courseFeatures&&t.courseFeatures[a]||s.defaultText}));((xe=t.reviewsList)==null?void 0:xe.length)>0&&t.reviewsList;const ds=g.find(s=>s.name===t.subCategory&&s.parent),ms=g.find(s=>s.name===t.category&&!s.parent),i=ds||ms,hs={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://jkshahclasses.com/"},{"@type":"ListItem",position:2,name:"Courses",item:"https://jkshahclasses.com/courses"},{"@type":"ListItem",position:3,name:t.category||"Category",item:`https://jkshahclasses.com/courses/${((ue=g.find(s=>s.name===t.category))==null?void 0:ue.slug)||E(t.category||"")}`},{"@type":"ListItem",position:4,name:t.subCategory||"Course",item:`https://jkshahclasses.com/course/${o}`}]},de=((pe=t.description)==null?void 0:pe.replace(/<[^>]*>?/gm,""))||"",xs={"@context":"https://schema.org","@type":"Course",name:t.metaTitle||t.title||"JK Shah Classes Course",description:t.metaDescription||de.substring(0,160)+(de.length>160?"...":""),provider:{"@type":"Organization",name:"J.K. Shah Classes",sameAs:"https://jkshahclasses.com/"},offers:{"@type":"Offer",price:t.price||"0",priceCurrency:"INR",availability:"https://schema.org/InStock",category:"Education",url:`https://jkshahclasses.com/course/${o}`},hasCourseInstance:{"@type":"CourseInstance",courseMode:["Online","Onsite","Blended"],location:{"@type":"VirtualLocation",url:`https://jkshahclasses.com/course/${o}`}}};return e.jsxs("div",{className:"min-h-screen bg-white overflow-x-hidden",children:[e.jsx("script",{type:"application/ld+json",children:JSON.stringify(hs)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(xs)}),e.jsx("section",{className:"bg-gradient-to-br from-muted/30 via-white to-primary/5 pt-4 pb-8 px-4 sm:pt-8 sm:pb-12 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-12 gap-8 items-stretch",children:[e.jsxs("div",{className:"lg:col-span-8",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs sm:text-sm text-muted-foreground mb-4",children:[e.jsx(ee,{to:"/",className:"hover:text-primary transition-colors",children:"Home"}),e.jsx("span",{children:"/"}),e.jsx(ee,{to:"/courses",className:"hover:text-primary transition-colors",children:"Courses"}),e.jsx("span",{children:"/"}),e.jsx(ee,{to:`/courses/${((ge=g.find(s=>s.name===t.category))==null?void 0:ge.slug)||E(t.category||"")}`,className:"hover:text-primary transition-colors",children:t.category}),e.jsx("span",{children:"/"}),e.jsx("span",{className:"text-foreground",children:t.subCategory})]}),e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 bg-accent/10 text-accent px-3 py-1 rounded-full text-sm",children:[e.jsx(qe,{className:"w-3.5 h-3.5"}),"Bestseller"]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 bg-primary/10 text-primary px-3 py-1 rounded-full text-sm",children:[e.jsx(ae,{className:"w-3.5 h-3.5"}),"Most Popular"]})]}),e.jsx("h1",{className:"text-2xl sm:text-3xl lg:text-4xl mb-3 text-foreground leading-tight font-bold",children:t.title}),e.jsx("div",{className:"text-base text-muted-foreground mb-6 leading-relaxed max-w-3xl line-clamp-3 hover:line-clamp-none transition-all duration-300",dangerouslySetInnerHTML:{__html:t.description||""}}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 sm:gap-6 mb-6 text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2 max-w-[150px] sm:max-w-none",children:[e.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((s,a)=>e.jsx(Me,{className:"w-3.5 h-3.5 fill-accent text-accent"},a))}),e.jsxs("span",{className:"text-xs sm:text-sm",children:[e.jsx("span",{className:"text-foreground",children:"4.8"}),e.jsx("span",{className:"text-muted-foreground",children:" (1,583 ratings)"})]})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-muted-foreground shrink-0",children:[e.jsx(Ss,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"text-xs sm:text-sm",children:"27154 enrolled"})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-muted-foreground shrink-0",children:[e.jsx(se,{className:"w-3.5 h-3.5"}),e.jsx("span",{className:"text-xs sm:text-sm",children:"4 Years"})]})]}),(()=>{const s=K.find(a=>a.subCategory===t.subCategory||a.subCategory===t.category);return s?e.jsx("div",{className:"mb-8 rounded-2xl overflow-hidden shadow-2xl shadow-primary/5 border border-slate-100 group",children:e.jsx(w,{src:s.image,alt:`${t.subCategory} Course Timeline`,className:"w-full h-auto object-cover transition-transform duration-700 group-hover:scale-[1.02]"})}):null})(),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-6",children:[t.videos&&t.videos.length>0&&e.jsxs(b,{className:"w-full sm:w-auto bg-primary hover:bg-primary/90 text-white h-11 px-6",onClick:()=>_(!0),children:[e.jsx(D,{className:"w-4 h-4 mr-2"}),"Course Overview"]}),e.jsx("div",{className:"flex gap-3",children:e.jsxs(b,{variant:"outline",className:"flex-1 sm:flex-none border-border text-foreground hover:bg-muted hover:!text-foreground h-11 px-6",onClick:()=>{t.brochureUrl?(U(t.brochureUrl),V(!0)):te.info("Brochure coming soon")},children:[e.jsx(Z,{className:"w-4 h-4 mr-2"}),"Download Brochure"]})})]})]}),e.jsx("div",{className:"lg:col-span-4",children:e.jsxs("div",{className:"lg:sticky lg:top-20",children:[t.videos&&t.videos.length>0?e.jsx("div",{className:"relative rounded-xl overflow-hidden shadow-lg mb-4 aspect-video",children:e.jsxs(P,{setApi:ls,opts:{align:"start",loop:!0},className:"w-full h-full",children:[e.jsx(L,{className:"h-full -ml-0",children:t.videos.map((s,a)=>e.jsx(R,{className:"pl-0 h-full relative cursor-pointer group",onClick:()=>{ne(s),_(!0)},children:e.jsxs("div",{className:"relative w-full h-full aspect-video",children:[e.jsx(w,{src:s.thumbnail||t.image||"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=800",alt:s.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-black/25 flex items-center justify-center transition-all group-hover:bg-black/35",children:e.jsx("div",{className:"bg-white/95 backdrop-blur-sm rounded-full p-4 group-hover:scale-110 transition-transform shadow-lg",children:e.jsx(D,{className:"w-8 h-8 text-primary fill-current"})})})]})},a))}),t.videos.length>1&&e.jsxs(e.Fragment,{children:[e.jsx(O,{className:"left-2 h-7 w-7 bg-white/80 hover:bg-white text-foreground"}),e.jsx(q,{className:"right-2 h-7 w-7 bg-white/80 hover:bg-white text-foreground"})]})]})}):e.jsx("div",{className:"relative rounded-xl overflow-hidden shadow-lg mb-4 aspect-video",children:e.jsx(w,{src:t.image||"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=800",alt:"Course preview",className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"bg-white border-2 border-border rounded-xl p-6 shadow-sm",children:[e.jsx("div",{className:"mb-4",children:e.jsxs("div",{className:"flex items-baseline gap-2 mb-1",children:[e.jsxs("span",{className:"text-3xl text-foreground",children:["â¹",t.price]}),t.originalPrice&&e.jsxs("span",{className:"text-lg text-muted-foreground line-through",children:["â¹",t.originalPrice]})]})}),e.jsx("div",{className:"space-y-2 mb-6",children:e.jsx(b,{className:"w-full bg-primary hover:bg-primary/90 text-white h-12",onClick:()=>
9window.location.href="https://new-online.jkshahclasses.com/",children:"Enroll"})}),e.jsxs("div",{className:"pt-6 border-t border-border",children:[e.jsx("h4",{className:"text-sm mb-3 text-foreground",children:"This course includes:"}),e.jsx("div",{className:"space-y-2.5",children:cs.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx(s.icon,{className:"w-4 h-4 text-muted-foreground flex-shrink-0"}),e.jsx("span",{className:"text-sm text-muted-foreground",children:s.text})]},a))})]}),t.batchInfo&&e.jsx("div",{className:"mt-6 pt-6 border-t border-border",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(ks,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-foreground mb-0.5",children:"Next Batch Starts"}),e.jsx("p",{className:"text-base text-primary",children:t.batchInfo})]})]})})]})]})})]})})}),e.jsx("section",{className:"py-6 px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"bg-white border border-slate-200 rounded-[1.5rem] p-4 sm:p-8 shadow-sm relative overflow-hidden group/highlights",children:[e.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/5 rounded-full -mr-16 -mt-16 transition-transform group-hover/highlights:scale-150"}),e.jsxs("h3",{className:"text-xl font-bold mb-4 text-[#373081] flex items-center gap-3",children:[e.jsx("div",{className:"bg-[#2ba57d]/10 p-2 rounded-lg",children:e.jsx(k,{className:"w-6 h-6 text-[#2ba57d]"})}),"What You'll Learn"]}),e.jsx("hr",{className:"mb-6 border-slate-100"}),e.jsx("div",{className:"grid md:grid-cols-2 gap-4 relative z-10",children:(((fe=t.whatYouLearn)==null?void 0:fe.length)>0?t.whatYouLearn:[`Master all subjects of ${t.subCategory||t.title}`,"In-depth coverage of core principles","Comprehensive preparation and guidance","Strong foundation in advanced topics","Regular mock tests and assessments","Expert doubt-solving sessions"]).map((s,a)=>e.jsxs("div",{className:"flex items-center gap-3 sm:gap-4 bg-[#2ba57d] p-3 sm:p-4 rounded-2xl shadow-sm hover:shadow-md hover:scale-[1.01] transition-all group/item",children:[e.jsx("div",{className:"bg-[#d8edc4] w-5 h-5 sm:w-6 sm:h-6 rounded-full flex-shrink-0 flex items-center justify-center",children:e.jsx(J,{className:"w-3 h-3 sm:w-4 sm:h-4 text-[#2ba57d]",strokeWidth:4})}),e.jsx("span",{className:"text-sm sm:text-base text-white font-semibold leading-tight",children:s})]},a))})]})})}),e.jsxs("section",{className:"py-10 px-4 sm:px-6 lg:px-8 bg-[#f5f3ff] relative overflow-hidden",children:[e.jsxs("div",{className:"absolute left-0 top-0 w-full h-full opacity-40 pointer-events-none",children:[e.jsx("div",{className:"absolute -left-20 -top-20 w-[600px] h-[600px] bg-purple-200/30 rounded-full blur-3xl animate-pulse"}),e.jsx("div",{className:"absolute -right-20 -bottom-20 w-[600px] h-[600px] bg-indigo-200/30 rounded-full blur-3xl animate-pulse"})]}),ce&&e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ce)}}),e.jsx("div",{className:"max-w-7xl mx-auto relative z-10",children:e.jsxs("div",{className:"grid lg:grid-cols-12 gap-6 items-stretch",children:[e.jsx("div",{className:"lg:col-span-7 grid sm:grid-cols-2 gap-4",children:(()=>{const s=(i==null?void 0:i.whyTitle)||`Why ${t.subCategory||t.category||"this course"}?`,a=i!=null&&i.whyPoints&&i.whyPoints.some(x=>x.trim()!=="")?i.whyPoints.filter(x=>x.trim()!==""):i!=null&&i.whyContent?[i.whyContent]:[],r=a.length>0?a:["High income potential","Global recognition by ICAI","Job security & independence","Strategic decision-making roles","Respected, influential profession","High income potential","Global recognition by ICAI"],l=(i==null?void 0:i.whyJKShahTitle)||"Why JK Shah?",n=i!=null&&i.whyJKShahPoints&&i.whyJKShahPoints.some(x=>x.trim()!=="")?i.whyJKShahPoints.filter(x=>x.trim()!==""):i!=null&&i.whyJKShahContent?[i.whyJKShahContent]:[],p=n.length>0?n:["40+ years of excellence","Proven AIR-producing track record","Concept-first expert faculty","Structured test system"];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg shadow-purple-900/5 overflow-hidden flex flex-col border border-purple-100/50 group hover:shadow-xl transition-all duration-500",children:[e.jsxs("div",{className:"relative bg-[#f0eaff] px-4 pt-4 pb-7 flex items-center justify-center gap-3 transition-colors duration-500 group-hover:bg-[#373081]",style:{clipPath:"pol
9ygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)"},children:[e.jsx("div",{className:"bg-[#373081]/10 p-2 rounded-lg shrink-0 transition-colors duration-500 group-hover:bg-white/20",children:e.jsx(Be,{className:"w-6 h-6 text-[#fbbf24] fill-[#fbbf24] transition-colors duration-500 group-hover:text-[#ffca28]"})}),e.jsx("h3",{className:"text-sm font-bold text-[#373081] tracking-tight transition-colors duration-500 group-hover:text-white",children:s})]}),e.jsx("div",{className:"p-5 pt-3 flex-1 flex flex-col",children:e.jsx("ul",{className:"space-y-1.5 mb-4",children:r.map((x,d)=>e.jsxs("li",{className:`flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-all duration-300 ${d%2===0?"bg-[#f5f3ff]":"bg-white border border-purple-50/50"}`,children:[e.jsx("div",{className:"shrink-0",children:e.jsx("div",{className:"bg-[#fbbf24]/10 rounded-full p-0.5 border border-[#fbbf24]/30",children:e.jsx(J,{className:"w-2.5 h-2.5 text-[#fbbf24]",strokeWidth:4})})}),e.jsx("span",{className:"text-xs font-bold text-[#373081]/90 tracking-tight",children:x})]},d))})})]}),e.jsxs("div",{className:"bg-white rounded-2xl shadow-lg shadow-purple-900/5 overflow-hidden flex flex-col border border-purple-100/50 group hover:shadow-xl transition-all duration-500",children:[e.jsxs("div",{className:"relative bg-[#f0eaff] px-4 pt-4 pb-7 flex items-center justify-center gap-3 transition-colors duration-500 group-hover:bg-[#373081]",style:{clipPath:"polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%)"},children:[e.jsx("div",{className:"bg-[#373081]/10 p-2 rounded-lg shrink-0 transition-colors duration-500 group-hover:bg-white/20",children:e.jsx(As,{className:"w-6 h-6 text-[#373081] fill-[#373081]/20 transition-colors duration-500 group-hover:text-white group-hover:fill-white/20"})}),e.jsx("h3",{className:"text-sm font-bold text-[#373081] tracking-tight transition-colors duration-500 group-hover:text-white",children:l})]}),e.jsx("div",{className:"p-5 pt-3 flex-1 flex flex-col",children:e.jsx("ul",{className:"space-y-1.5 mb-4",children:p.map((x,d)=>e.jsxs("li",{className:`flex items-center gap-2.5 px-3 py-2.5 rounded-xl transition-all duration-300 ${d%2===0?"bg-[#f5f3ff]":"bg-white border border-purple-50/50"}`,children:[e.jsx("div",{className:"shrink-0",children:e.jsx("div",{className:"bg-[#fbbf24]/10 rounded-full p-0.5 border border-[#fbbf24]/30",children:e.jsx(J,{className:"w-2.5 h-2.5 text-[#fbbf24]",strokeWidth:4})})}),e.jsx("span",{className:"text-xs font-bold text-[#373081]/90 tracking-tight",children:x})]},d))})})]})]})})()}),e.jsx("div",{className:"lg:col-span-5 bg-white/40 backdrop-blur-md rounded-2xl shadow-lg shadow-purple-900/5 p-6 sm:p-8 border border-white/50 flex flex-col justify-center relative group overflow-hidden",children:(()=>{var p,x;const s=(i==null?void 0:i.bannerTitle)||`Empower your career with ${t.subCategory||t.category||"us"}.`,a=(i==null?void 0:i.bannerSubtitle)||"Get there with JK Shah Classes.",r=(p=i==null?void 0:i.bannerBadges)!=null&&p.some(d=>d.trim())?i.bannerBadges.filter(d=>d.trim()):["High Income","Global Reach","Strategic Roles"],l=(i==null?void 0:i.bannerBadgeIcons)||[],n=(x=i==null?void 0:i.bannerStats)!=null&&x.some(d=>d.value.trim()||d.label.trim())?i.bannerStats.filter(d=>d.value.trim()||d.label.trim()):[{value:"20+",label:"Years Excellence"},{value:"5K+",label:"AIRs"},{value:"250K+",label:"Trained"}];return e.jsxs("div",{className:"relative z-10 w-full",children:[e.jsx("h2",{className:"text-base sm:text-2xl font-black text-[#373081] mb-1.5 leading-tight tracking-tight",children:s}),e.jsx("p",{className:"text-sm sm:text-base text-[#373081]/70 mb-8 font-medium",children:a}),e.jsx("div",{className:"flex items-start justify-between gap-1 sm:gap-2 mb-8 w-full",children:r.map((d,u)=>e.jsxs(c.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-center gap-2 group/step shrink-0",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:`absolute inset-0 ${u===0?"bg-orange-400":u===1?"bg-indigo-400":"bg-purple-400"} blur-xl opacity-10`}),e.jsx("div",{className:"relative p-2 sm:p-1",children:l[u]?e.jsx("img",{src:l[u],alt:d,className:"w-10 h-10 sm:w-16 sm:h-16 object-contain"}):e.jsx(e.Fragment,{children:u===0?e.jsx(Be,{className:"w-10 h-10 sm:w-16 sm:h-16 text-orange-400 fill-orange-400"}):u===1?e.jsx(Vs,{className:"w-10 h-10 sm:w-16 sm:h-16 text-[#5249a8]"}):e.jsx(Is,{className:"w-10 h-10 sm:w-16 sm:h-16 text-[#5249a8]"})})})]}),e.jsx("span",{className:`text-[9px] sm:text-[12px] font-black ${u===2?"text-[#5249a8]":"text-[#373081]"} text-center leading-none uppercase`,children:d.split(" ").map((j,Q)=>e.jsxs(c.Fragment,{children:[j,e.jsx("br",{})]},Q))})]}),u<r.length-1&&e.jsx("div",{className:"flex-1 border-t-2 border-dashed border-[#373081]/40 relative mt-[28px] sm:mt-[36px] h-0 min-w-[20px]",children:e.jsx("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2",children:e.jsx(Ts,{className:"w-5 h-5 text-[#373081]/80 bg-white rounded-full shadow-sm"})})})]},u))}),e.jsx("div",{className:"bg-white shadow-lg shadow-purple-900/5 rounded-full p-2 sm:p-5 flex items-center justify-between gap-1 border border-purple-50 group-hover:shadow-
9purple-900/10 transition-all duration-500 w-full whitespace-nowrap overflow-hidden",children:n.map((d,u)=>e.jsxs(c.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-center text-center px-1 sm:px-4 flex-1",children:[e.jsx(F.p,{initial:{scale:.5,opacity:0},whileInView:{scale:1,opacity:1},transition:{type:"spring",stiffness:260,damping:20,delay:u*.1},className:"text-lg sm:text-3xl font-black text-[#fbbf24] leading-none mb-1",children:d.value}),e.jsx("p",{className:"text-[8px] sm:text-[10px] font-bold text-[#373081]/60 uppercase leading-none",children:d.label})]}),u<n.length-1&&e.jsx("div",{className:"w-px h-8 bg-purple-100 shrink-0"})]},u))})]})})()})]})})]}),e.jsx("section",{className:"py-16 px-4 sm:px-6 lg:px-8 bg-muted/5 border-y border-border",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx("div",{className:"bg-primary/10 p-2 rounded-lg",children:e.jsx(k,{className:"w-6 h-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-foreground",children:"Course Syllabus"}),e.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground",children:"Comprehensive curriculum designed for your success"})]})]}),e.jsx("div",{className:"grid lg:grid-cols-1 gap-8",children:e.jsxs("div",{className:"lg:col-span-1",children:[e.jsx("div",{className:"hidden md:flex flex-wrap justify-center gap-4 pb-6 px-1",children:S.map((s,a)=>{const r=y===a;return e.jsx("button",{onClick:()=>{Ve(a),M(0)},className:`group flex-shrink-0 w-[220px] p-5 rounded-xl border transition-all duration-300 text-center flex flex-col items-center justify-center gap-2 shadow-sm hover:shadow-lg ${r?"bg-[#373081] border-[#373081] text-white shadow-md scale-105":"bg-white border-border text-foreground hover:bg-gradient-to-br hover:from-blue-500 hover:to-indigo-600 hover:text-white hover:border-transparent"}`,children:e.jsx("h3",{className:`text-sm font-bold leading-tight ${r?"text-white":"group-hover:text-white"}`,children:s.title})},a)})}),y!==null&&S[y]&&e.jsxs("div",{className:"hidden md:block bg-white border border-border rounded-2xl shadow-sm overflow-hidden",children:[e.jsx("div",{className:"flex flex-col items-center justify-center py-8 px-4 border-b border-border/50 bg-slate-50/50",children:e.jsx("h3",{className:"text-2xl font-bold text-[#373081] text-center",children:S[y].title})}),e.jsx("div",{className:"flex overflow-x-auto gap-1 pb-2 mb-8 border-b border-border/50 scrollbar-hide p-1",children:S[y].topics.map((s,a)=>{const r=I===a;return e.jsx("button",{onClick:()=>M(a),className:`flex-shrink-0 px-6 py-3 rounded-xl text-sm font-bold transition-all ${r?"bg-[#373081] text-white shadow-md scale-105":"text-muted-foreground hover:text-[#373081] hover:bg-white hover:shadow-sm"}`,children:typeof s=="string"?s:s.title},a)})}),e.jsx("div",{className:"animate-in fade-in slide-in-from-bottom-4 duration-500",children:(()=>{const s=S[y].topics[I];return s?e.jsx("div",{className:"grid lg:grid-cols-12 gap-8 items-start",children:e.jsx("div",{className:"lg:col-span-12",children:e.jsxs("div",{className:"bg-muted/5 border border-border/40 rounded-2xl p-6 sm:p-8",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-2xl font-bold text-foreground",children:typeof s=="string"?s:s.title}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Detailed list of subjects and learning outcomes"})]}),typeof s!="string"&&s.subjects&&s.subjects.length>0&&e.jsx(b,{className:"bg-primary hover:bg-primary/90 text-white px-8 h-12 rounded-xl shadow-lg shadow-primary/20 transition-all hover:scale-105 active:scale-95",onClick:()=>window.location.href="https://new-online.jkshahclasses.com/",children:"Enroll"})]}),e.jsxs("div",{className:"flex flex-col gap-8",children:[typeof s!="string"&&s.subjects&&s.subjects.length>0&&e.jsxs("div",{className:"space-y-4",children:[e.jsx("h5",{className:"text-sm font-bold text-muted-foreground uppercase tracking-wider",children:"Subject Coverage"}),e.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:s.subjects.map((a,r)=>
9{const l=typeof a=="string"?a:a.name;return typeof a=="string"||a.price,e.jsx("div",{className:"flex items-center justify-between p-4 rounded-xl bg-white border border-border/60 hover:border-primary/30 transition-all duration-300 group/sub hover:shadow-md hover:-translate-y-1",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center group-hover/sub:bg-primary transition-colors",children:e.jsx(Es,{className:"w-4 h-4 text-primary group-hover/sub:text-white transition-colors"})}),e.jsx("span",{className:"text-slate-700 font-bold",children:l})]})},r)})})]}),typeof s!="string"&&s.details&&e.jsxs("div",{className:"space-y-4",children:[e.jsx("h5",{className:"text-sm font-bold text-muted-foreground uppercase tracking-wider",children:"In-depth Details"}),e.jsx("style",{children:` 10 .syllabus-content table { 11 width: 100% !important; 12 table-layout: auto !important; 13 border-collapse: collapse; 14 margin: 1em 0; 15 } 16 .syllabus-content th, .syllabus-content td { 17 border: 1px solid #cbd5e1; 18 padding: 8px 12px; 19 } 20 .syllabus-content th { 21 background-color: #f1f5f9; 22 font-weight: 600; 23 text-align: left; 24 } 25 `}),e.jsx("div",{className:`syllabus-content text-base text-slate-600 leading-relaxed prose prose-slate prose-sm max-w-none 26 prose-p:text-slate-600 prose-p:font-medium prose-p:leading-relaxed 27 prose-ul:text-slate-600 prose-li:text-slate-600`,dangerouslySetInnerHTML:{__html:s.details}})]}),typeof s=="string"&&e.jsx("div",{className:"col-span-full",children:e.jsxs("div",{className:"flex items-center gap-3 p-6 rounded-2xl bg-white border border-border shadow-sm",children:[e.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:e.jsx(k,{className:"w-6 h-6 text-primary"})}),e.jsxs("p",{className:"text-slate-700 font-medium",children:["Comprehensive coverage of ",s," through expert-led lectures and study materials."]})]})})]})]})})}):null})()})]}),e.jsx("div",{className:"md:hidden",children:e.jsx(De,{type:"single",collapsible:!0,className:"w-full space-y-4",onValueChange:()=>M(0),children:S.map((s,a)=>e.jsxs(Je,{value:`module-${a}`,className:"bg-white border border-border rounded-xl px-4",children:[e.jsx($e,{className:"hover:no-underline py-4",children:e.jsxs("div",{className:"flex items-center gap-4 text-left",children:[e.jsx("div",{className:"bg-red-50 text-red-600 w-8 h-8 rounded-lg flex items-center justify-center font-bold text-sm shrink-0",children:a+1}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-foreground text-sm leading-tight",children:s.title}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-0.5 flex items-center gap-1",children:[e.jsx(se,{className:"w-3 h-3"}),s.duration]})]})]})}),e.jsx(Fe,{children:e.jsxs("div",{className:"pt-2 pb-4 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground bg-muted/30 px-3 py-1.5 rounded-full w-fit mb-3",children:[e.jsx(k,{className:"w-3.5 h-3.5"}),s.topics.length," Topics"]}),e.jsx("div",{className:"flex overflow-x-auto gap-2 pb-2 mb-4 scrollbar-hide",children:s.topics.map((r,l)=>e.jsx("button",{onClick:()=>M(l),className:`flex-shrink-0 px-3 py-1.5 rounded-lg text-xs font-bold transition-all ${I===l?"bg-primary text-white shadow-sm":"bg-muted/30 text-muted-foreground hover:bg-muted/50"}`,children:typeof r=="string"?r:r.title},l))}),s.topics[I]&&e.jsx("div",{className:"animate-in fade-in slide-in-from-bottom-2 duration-300",children:(()=>{const r=s.topics[I];return e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsx("h4",{className:"text-sm font-bold text-foreground leading-tight",children:typeof r=="string"?r:r.title}),typeof r!="string"&&r.subjects&&r.subjects.length>0&&e.jsx(b,{size:"sm",className:"h-8 px-3 text-[10px] font-bold",onClick:l=>{l.stopPropagation(),ns(r)},children:"Buy Now"})]}),typeof r!="string"&&r.subjects&&r.subjects.length>0&&e.jsx("div",{className:"space-y-2",children:e.jsx("ul",{className:"space-y-2",children:r.subjects.map((l,n)=>{const p=typeof l=="string"?l:l.name,x=typeof l=="string"?null:l.price;return e.jsxs("li",{className:"flex items-center justify-between p-3 rounded-lg bg-white border border-border/60",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),e.jsx("span",{className:"text-xs text-slate-700 font-medium",children:p})]}),x&&e.jsxs("span",{className:"text-xs font-bold text-primary",children:["â¹",x]})]},n)})})}),typeof r!="string"&&r.details&&e.jsx("div",{className:"syllabus-content text-xs text-slate-600 leading-relaxed prose prose-slate prose-xs max-w-none p-3 rounded-lg bg-white border border-border/60",dangerouslySetInnerHTML:{__html:r.details}}),typeof r=="string"&&e.jsxs("div",{className:"p-3 rounded-lg bg-white border border-border/60 text-xs text-slate-600",children:["Comprehensive coverage of ",r," through expert-led lectures and study materials."]})]})})()})]})})]},a))})})]})})]})}),e.jsxs("section",{className:"py-6 sm:py-8 lg:py-12 px-4 sm:px-8 lg:px-12 bg-[#0d0728] rounded-[2.5rem] relative overflow-hidden mx-4 sm:mx-12 lg:mx-24 my-8 shadow-2xl border border-white/10",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none opacity-40",children:[e.jsx("div",{className:"absolute top-0 left-0 w-[400px] h-[400px] bg-[#373081]/5 rounded-full blur-[100px]"}),e.jsx("div",{className:"absolute bottom-0 right-0 w-[400px] h-[400px] bg-white rounded-full blur-[100px]"})]}),e.jsx("div",{className:"max-w-[1400px] mx-auto relative z-10",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 items-center",children:[e.jsx("div",{className:"md:col-span-4 flex flex-col gap-4",children:[{id:0,defaultTitle:"LEARNING PEDAGOGY DEVELOPED OVER 4 DECADES",icon:Us,shift:"md:translate-x-6 lg:translate-x-12"},{id:3,defaultTitle:"RIGOROUS AND PRECISE TEST SERIES",icon:Ws,shift:"md:translate-x-0"},{id:2,defaultTitle:"QUALIFIED PROFESSIONALS FOR TEACHING AS WELL AS NON-TEACHING FUNCTIONS",icon:Ps,shift:"md:translate-x-6 lg:translate-x-12"}].map(s=>{var a;return e.jsx("div",{className:s.shift,children:e.jsx(Ke,{title:((a=t.highlights)==null?void 0:a[s.id])||s.defaultTitle,icon:s.icon})},s.id)})}),e.jsx("div",{className:"md:col-span-4 flex items-center justify-center py-6 md:py-0",children:e.jsx(Qs,{src:"/uploads/2026/02/J K
27Shah_New logo 24-01.png"})}),e.jsx("div",{className:"md:col-span-4 flex flex-col gap-4",children:[{id:1,defaultTitle:"FOCUSED ON 100% CONCEPTUAL CLARITY",icon:_s,shift:"md:-translate-x-6 lg:-translate-x-12"},{id:4,defaultTitle:"DETAILED REVISION LECTURES ON COURSE COMPLETION",icon:ae,shift:"md:translate-x-0"},{id:5,defaultTitle:"REGULAR DOUBT SOLVING SESSIONS",icon:Oe,shift:"md:-translate-x-6 lg:-translate-x-12"}].map(s=>{var a;return e.jsx("div",{className:s.shift,children:e.jsx(Ke,{title:((a=t.highlights)==null?void 0:a[s.id])||s.defaultTitle,icon:s.icon})},s.id)})})]})})]}),e.jsx("section",{className:"py-6 px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"bg-white border border-slate-200 rounded-[1.5rem] p-4 sm:p-8 shadow-sm relative overflow-hidden group/enroll",children:[e.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/5 rounded-full -mr-16 -mt-16 transition-transform group-hover/enroll:scale-150"}),e.jsxs("h3",{className:"text-xl font-bold mb-4 text-[#373081] flex items-center gap-3",children:[e.jsx("div",{className:"bg-[#2ba57d]/10 p-2 rounded-lg",children:e.jsx(zs,{className:"w-6 h-6 text-[#2ba57d]"})}),"Who Should Enroll?"]}),e.jsx("hr",{className:"mb-6 border-slate-100"}),e.jsx("div",{className:"grid md:grid-cols-2 gap-4 relative z-10",children:(((be=t.whoShouldEnroll)==null?void 0:be.length)>0?t.whoShouldEnroll:["Students aiming for professional excellence in Finance","Aspirants preparing for competitive CA/CS/CMA exams","Graduates seeking industry-ready professional skills","Working professionals looking to upgrade their qualifications","Individuals passionate about Taxation and Auditing","Anyone seeking structured and expert-led professional guidance"]).map((s,a)=>e.jsxs("div",{className:"flex items-center gap-3 sm:gap-4 bg-[#2ba57d] p-3 sm:p-4 rounded-2xl shadow-sm hover:shadow-md hover:scale-[1.01] transition-all group/item",children:[e.jsx("div",{className:"bg-[#d8edc4] w-5 h-5 sm:w-6 sm:h-6 rounded-full flex-shrink-0 flex items-center justify-center",children:e.jsx(J,{className:"w-3 h-3 sm:w-4 sm:h-4 text-[#2ba57d]",strokeWidth:4})}),e.jsx("span",{className:"text-sm sm:text-base text-white font-semibold leading-tight",children:s})]},a))})]})})}),e.jsx("section",{className:"py-12 px-4 sm:px-6 lg:px-8 bg-white border-t border-border overflow-hidden",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsx("div",{className:"text-center mb-10",children:e.jsxs("h2",{className:"text-2xl font-bold text-foreground inline-block relative",children:["Our Alumni Work At",e.jsx("div",{className:"absolute -bottom-2 left-0 right-0 h-1 bg-primary/20 rounded-full"})]})}),e.jsx("div",{className:"relative group",children:e.jsxs(P,{setApi:as,opts:{align:"start",loop:!0},className:"w-full",children:[e.jsx(L,{className:"-ml-2 md:-ml-4 flex items-center",children:is.map((s,a)=>e.jsx(R,{className:"pl-2 md:pl-4 basis-1/2 md:basis-1/4 lg:basis-1/5",children:e.jsx("div",{className:"p-4 flex items-center justify-center transition-all duration-300 transform hover:scale-110",children:e.jsx(w,{src:s.image,alt:s.companyName,className:"h-12 w-auto object-contain max-w-full"})})},a))}),e.jsxs("div",{className:"hidden md:block",children:[e.jsx(O,{className:"-left-12 h-10 w-10"}),e.jsx(q,{className:"-right-12 h-10 w-10"})]})]})})]})}),e.jsx(Ls,{category:t.category,subCategory:t.subCategory,title:`Top Achievers in ${t.subCategory||t.category||"this course"}`}),(()=>{const s=A.find(a=>a.subCategory===t.subCategory);return s?e.jsx("section",{className:"py-12 sm:py-20 px-4 sm:px-6 lg:px-8 relative bg-white border-t border-border",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-16 items-center",children:[e.jsxs("div",{className:"order-1",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-extrabold text-slate-900 mb-6 sm:mb-10 leading-tight",children:["Career Opportunities ",e.jsx("br",{}),e.jsxs("span",{className:"text-[#373081]",children:["After ",t.subCategory||t.category||"Graduation"]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-3 sm:gap-x-6 sm:gap-y-4",children:s.opportunities.map((a,r)=>
27e.jsx("div",{className:"group relative",children:e.jsxs("div",{className:"bg-[#373081]/10 px-4 sm:px-5 py-3 sm:py-4 rounded-xl shadow-md border border-[#373081]/20 flex items-center justify-between transition-all duration-300 hover:shadow-lg hover:-translate-y-1 overflow-hidden group/item",children:[e.jsx("span",{className:"text-xs sm:text-sm font-bold text-[#373081]",children:a}),e.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-2 bg-[#373081] transition-colors"})]})},r))})]}),e.jsx("div",{className:"relative flex justify-center lg:justify-end order-2 mt-8 lg:mt-0",children:e.jsx("div",{className:"relative w-full max-w-[480px]",children:e.jsxs("div",{className:"aspect-square rounded-[2rem] sm:rounded-[2.5rem] overflow-hidden shadow-2xl border-4 sm:border-8 border-white bg-slate-100 relative group",children:[e.jsx(w,{src:s.image,alt:"Join our successful alumni",className:"w-full h-full object-cover transition-transform duration-1000 group-hover:scale-110"}),e.jsx("div",{className:"absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors duration-500"}),e.jsxs("div",{className:"absolute bottom-4 left-4 right-4 sm:bottom-6 sm:left-6 sm:right-6 bg-white/95 backdrop-blur-md p-3 sm:p-4 rounded-xl sm:rounded-2xl shadow-xl border border-white/20 flex items-center gap-3 sm:gap-4 transform transition-all duration-500 group-hover:translate-y-[-4px]",children:[e.jsx("div",{className:"w-10 h-10 sm:w-12 sm:h-12 rounded-lg sm:rounded-xl bg-orange-100 flex items-center justify-center flex-shrink-0",children:e.jsx(ae,{className:"w-5 h-5 sm:w-6 sm:h-6 text-orange-600"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-lg sm:text-xl font-black text-[#373081]",children:"Top Roles"}),e.jsx("p",{className:"text-[8px] sm:text-[10px] font-bold text-slate-500 uppercase tracking-widest sm:text-nowrap",children:"Global Demand & High Growth"})]})]})]})})})]})})}):null})(),t.testimonials&&t.testimonials.length>0&&e.jsx("section",{className:"py-12 sm:py-20 px-4 sm:px-6 lg:px-8 bg-gradient-to-br from-primary/5 to-accent/5 border-t border-border",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-10 sm:mb-16",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-extrabold text-slate-900 mb-4 leading-tight",children:"Student Testimonials"}),e.jsx("div",{className:"h-1 w-20 bg-[#373081] mx-auto rounded-full mb-4 opacity-20"}),e.jsx("p",{className:"text-muted-foreground text-sm sm:text-base max-w-2xl mx-auto",children:"Hear from our successful students who transformed their careers with JK Shah Classes"})]}),e.jsx("div",{className:"relative px-4 sm:px-12",children:e.jsxs(P,{setApi:_e,opts:{align:"start",loop:!0},className:"w-full",children:[e.jsx(L,{children:t.testimonials.flatMap(s=>s.items).map((s,a)=>e.jsx(R,{className:"md:basis-1/2 lg:basis-1/3",children:e.jsx("div",{className:"p-1 h-full",children:e.jsxs("div",{className:"bg-white border border-border rounded-2xl shadow-sm hover:shadow-xl transition-all duration-300 p-8 h-full flex flex-col group/card relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-24 h-24 bg-primary/5 rounded-full -mr-12 -mt-12 transition-transform group-hover/card:scale-150"}),e.jsxs("div",{className:"flex items-center gap-4 mb-6 relative z-10",children:[e.jsx("div",{className:"relative w-14 h-14 rounded-full overflow-hidden border-2 border-border shadow-sm flex-shrink-0 group-hover/card:border-[#373081] transition-colors",children:e.jsx(w,{src:s.image||"/uploads/placeholder.png",alt:s.name,className:"w-full h-full object-cover"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-base font-bold text-slate-900 line-clamp-1",children:s.name}),e.jsx("p",{className:"text-xs text-[#373081] font-semibold line-clamp-1 uppercase tracking-wider",children:s.designation})]})]}),e.jsxs("div",{className:"flex-1 relative z-10",children:[e.jsx(Rs,{className:"w-8 h-8 text-[#373081]/10 mb-4"}),e.jsxs("p",{className:"text-sm sm:text-base text-slate-600 leading-relaxed font-medium",children:['"',s.message,'"']})]}),s.CheckCircle2Url&&e.jsx("div",{className:"mt-8 pt-6 border-t border-slate-100",children:e.jsxs(b,{variant:"outline",size:"sm",className:"w-full rounded-xl border-slate-200 hover:bg-[#373081] hover:text-white transition-all gap-2",onClick:()=>window.open(s.CheckCircle2Url,"_blank"),children:[e.jsx(D,{className:"w-4 h-4 fill-current"})," Watch Testimonial"]})})]})})},a))}),e.jsx(O,{className:"-left-4 sm:-left-12 h-8 w-8 sm:h-12 sm:w-12 bg-white shadow-lg border-slate-200 hover:bg-slate-50 transition-all"}),e.jsx(q,{className:"-right-4 sm:-right-12 h-8 w-8 sm:h-12 sm:w-12 bg-white shadow-lg border-slate-200 hover:bg-slate-50 transition-all"})]})})]})}),t.demoVideos&&t.demoVideos.length>0&&e.jsx("section",{className:"py-12 px-4 sm:px-6 lg:px-8 bg-muted/10 border-t border-border",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-10 sm:mb-16",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-4xl font-extrabold text-slate-900 mb-4 leading-tight",children:"Course Demo Video"}),e.jsx("div",{className:"h-1 w-20 bg-[#373081] mx-auto rounded-full mb-4 opacity-20"}),e.jsx("p",{className:"text-muted-foreground text-sm sm:text-base max-w-2xl mx-auto",children:"Preview what you'll learn in this course and get a head start on your journey"})]}),e.jsx("div",{className:"relative px-12",children:e.jsxs(P,{setApi:rs,opts:{align:"start",loop:!0},className:"w-full",children:[e.jsx(L,{children:[...t.demoVideos].reverse().map((s,a)=>{const l=(n=>n?n.includes("youtube.com/watch?v=")?n.replace("watch?v=","embed/"):n.includes("youtu.be/")?n.replace("youtu.be/","youtube.com/embed/"):n.includes("vimeo.com/")&&!n.includes("player.vimeo.com")?`https://player.vimeo.com/video/${n.split("/").pop()}`:n:"")(s.url);return e.jsx(R,{className:"basis-full md:basis-1/2 lg:basis-1/2",children:e.jsx("div",{className:"p-1",children:e.jsxs("div",{className:"bg-white border border-border rounded-xl shadow-sm hover:shadow-md transition-all",children:[e.jsx("div",{className:"aspect-video relative bg-black rounded-t-xl overflow-hidden",children:l.includes("youtube.com/embed/")||l.includes("player.vimeo.com")?e.jsx("iframe",{src:l,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:s.title}):e.jsxs("div",{className:"w-full h-full flex items-center justify-center text-white flex-col gap-2",children:[e.jsx(D,{className:"w-12 h-12 text-primary"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Video Preview"})]})}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"text-sm font-semibold text-foreground line-clamp-1",children:s.title}),e.jsx(Xs,{description:s.description})]})]})})},a)})}),e.jsx(O,{className:"-left-12 h-10 w-10"}),e.jsx(q,{className:"-right-12 h-10 w-10"})]})})]})}),t.faqs&&t.faqs.length>0&&e.jsx("section",{className:"py-16 px-4 sm:px-6 lg:px-8 bg-white border-t border-border",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-3",children:"Frequently Asked Questions"}),e.jsx("p",{className:"text-muted-foreground",children:"Find answers to common questions about this course"})]}),e.jsx("div",{className:"space-y-12",children:t.faqs.map((s,a)=>{const r=s.topics||(s.questions?[{title:"General",questions:s.questions}]:[]);return e.jsx("div",{className:"space-y-8",children:e.jsxs(Os,{defaultValue:`topic-${a}-0`,className:"w-full",children:[e.jsx(Ys,{topics:r,idx:a}),r.map((l,n)=>e.jsx(qs,{value:`topic-${a}-${n}`,children:e.jsx(De,{type:"single",collapsible:!0,className:"w-full",children:l.questions.map((p,x)=>e.jsxs(Je,{value:`item-${a}-${n}-${x}
27`,className:"border-b-0 mb-4 bg-muted/20 rounded-lg overflow-hidden",children:[e.jsx($e,{className:"text-base font-medium text-left hover:text-primary transition-colors hover:no-underline px-4 py-4",children:p.question}),e.jsx(Fe,{className:"text-muted-foreground leading-relaxed px-4 pb-4 bg-white",children:p.answer})]},x))})},n))]})},a)})})]})}),e.jsx("section",{className:"py-12 px-4 sm:px-6 lg:px-8 bg-muted/20 border-t border-border",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",children:"Related Courses"}),e.jsx("div",{className:"relative px-8 sm:px-12",children:e.jsxs(P,{opts:{align:"start",loop:!0},className:"w-full",children:[e.jsx(L,{className:"-ml-4",children:f.filter(s=>s.slug!==o&&s.category!=="11th - 12th Commerce"&&s.status==="Active").map((s,a)=>{var r;return e.jsx(R,{className:"pl-4 basis-full sm:basis-1/2 lg:basis-1/3",children:e.jsxs("div",{className:"bg-white rounded-lg overflow-hidden shadow-sm hover:shadow-lg transition-all group border border-border cursor-pointer flex flex-col h-full",onClick:()=>m(`${v}${s.slug||E(s.title)}`),children:[e.jsxs("div",{className:"relative aspect-[3/2] overflow-hidden shrink-0",children:[e.jsx(w,{src:s.image,alt:s.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}),e.jsxs("div",{className:"absolute top-2 right-2 flex items-center gap-1 bg-white/95 backdrop-blur-sm px-2 py-0.5 rounded shadow-sm",children:[e.jsx(Me,{className:"w-3 h-3 fill-yellow-400 text-yellow-400"}),e.jsx("span",{className:"text-xs font-bold text-foreground",children:a%2===0?"4.8":"4.9"})]})]}),e.jsxs("div",{className:"p-4 flex flex-col flex-1 cursor-pointer",children:[e.jsxs("div",{className:"mb-3",children:[e.jsx("h3",{className:"text-base font-semibold mb-1 text-foreground line-clamp-1 group-hover:text-primary transition-colors",children:s.title}),e.jsxs("div",{className:"flex items-center gap-2 mb-2 text-xs text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(se,{className:"w-3 h-3"}),s.duration]}),((r=s.syllabusModules)==null?void 0:r.length)>0&&e.jsxs("span",{className:"ml-auto bg-primary/10 text-primary px-2 py-0.5 rounded text-[10px] font-semibold",children:[s.syllabusModules.length," Levels"]})]})]}),e.jsx("p",{className:"text-xs text-muted-foreground mb-4 line-clamp-2 leading-relaxed",children:s.description}),e.jsxs("div",{className:"mt-auto flex gap-2 pt-3 border-t border-border",children:[e.jsxs(b,{size:"sm",variant:"outline",className:"flex-1 h-8 text-xs border-primary text-primary hover:bg-primary/10 hover:!text-primary cursor-pointer",onClick:l=>{l.stopPropagation(),s.brochureUrl?(U(s.brochureUrl),V(!0)):te.info("Brochure coming soon")},children:[e.jsx(Z,{className:"w-3 h-3 mr-1"}),"Brochure"]}),e.jsx(b,{size:"sm",className:"flex-1 h-8 text-xs bg-primary hover:bg-primary/90 text-white cursor-pointer",onClick:l=>{l.stopPropagation(),m(`${v}${s.slug||E(s.title)}`)},children:"Know More"})]})]})]})},s._id)})}),e.jsx(O,{className:"-left-4 sm:-left-12 h-10 w-10 bg-white shadow-md border-slate-200"}),e.jsx(q,{className:"-right-4 sm:-right-12 h-10 w-10 bg-white shadow-md border-slate-200"})]})})]})}),e.jsx(Ms,{isOpen:Qe,onClose:()=>{ie(!1),oe(null),He(null)},course:ze||t,topic:ts,batches:Xe,branches:es}),e.jsx(Bs,{isOpen:Ye,onClose:()=>{_(!1),ne(null)},videoTitle:C?C.title:((we=(je=t.demoVideos)==null?void 0:je[0])==null?void 0:we.title)||t.title,videoUrl:C?C.url:((Ne=(ve=t.demoVideos)==null?void 0:ve[0])==null?void 0:Ne.url)||((Ce=(ye=t.videos)==null?void 0:ye[0])==null?void 0:Ce.url),description:C?C.description:((ke=(Se=t.demoVideos)==null?void 0:Se[0])==null?void 0:ke.description)||((Ie=(Ae=t.videos)==null?void 0:Ae[0])==null?void 0:Ie.description)}),e.jsx(Ds,{isOpen:We||Ue,onClose:()=>{V(!1),G(!1),le&&(window.open(le,"_blank"),U(null))}})]})}export{bt as CourseDetailPage};
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.