<?php
include 'header.php';

// Fallback values if not set
$courseName = isset($courseName) ? $courseName : "Premium IT Certification Course";
$courseImage = isset($courseImage) ? $courseImage : "img1.webp";
?>

<!-- Internal Hero Section with Canvas -->
<section class="internal-hero position-relative" style="background:var(--navy); padding:100px 0 60px; overflow:hidden;">
    <canvas id="internalCanvas" class="position-absolute top-0 start-0 w-100 h-100" style="z-index:1; opacity:0.4;"></canvas>
    <div class="container position-relative" style="z-index:2;">
        <div class="row align-items-center">
            <div class="col-lg-8 text-white">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="/" class="text-gold text-decoration-none">Home</a></li>
                        <li class="breadcrumb-item"><a href="/courses/" class="text-gold text-decoration-none">Courses</a></li>
                        <li class="breadcrumb-item active text-white" aria-current="page"><?php echo $courseName; ?></li>
                    </ol>
                </nav>
                <h1 class="display-4 fw-bold text-white mb-4 animate__animated animate__fadeInUp"><?php echo $courseName; ?> Training in Meerut</h1>
                <p class="lead text-light mb-4 animate__animated animate__fadeInUp animate__delay-1s">Master the industry's most demanded skills with our comprehensive, practical, and job-oriented training program. Become an expert and land your dream job with 100% placement assistance.</p>
                <div class="d-flex gap-3 animate__animated animate__fadeInUp animate__delay-2s">
                    <span class="badge bg-gold text-navy p-2 px-3"><i class="fas fa-star text-navy me-1"></i> 4.9/5 Rating</span>
                    <span class="badge bg-light text-navy p-2 px-3"><i class="fas fa-user-graduate me-1"></i> 5000+ Enrolled</span>
                    <span class="badge bg-gold text-navy p-2 px-3"><i class="fas fa-certificate text-navy me-1"></i> Certified Program</span>
                </div>
            </div>
            <div class="col-lg-4 d-none d-lg-block animate__animated animate__zoomIn">
                <div class="hero-course-img-wrapper" style="border-radius:20px; overflow:hidden; border:5px solid rgba(255,215,0,0.3); transform: rotate(5deg); transition:0.5s;">
                    <img src="/<?php echo $courseImage; ?>" alt="<?php echo $courseName; ?>" class="img-fluid" style="width:100%; height:auto;">
                </div>
            </div>
        </div>
    </div>
</section>

<!-- Main Content Area with Sidebar -->
<section class="course-details-section py-5 bg-light">
    <div class="container">
        <div class="row g-5">
            
            <!-- Left Content (8 columns) -->
            <div class="col-lg-8">
                <div class="course-content-wrapper bg-white p-4 p-md-5 rounded-4 shadow-sm" style="border-top:5px solid var(--gold);">
                    
                    <h2 class="fw-bold mb-4 text-navy border-bottom pb-3">Complete Guide to <?php echo $courseName; ?></h2>
                    
                    <div class="content-block mb-5 hover-lift p-4 rounded-4" style="border: 1px solid #eee;">
                        <h3 class="h4 text-blue fw-bold mb-3"><i class="fas fa-info-circle text-gold me-2"></i> Course Overview</h3>
                        <p class="text-muted lh-lg" style="font-size:16px;">
                            The <strong><?php echo $courseName; ?></strong> program at ITMeerut is meticulously designed for beginners, intermediates, and professionals who want to master practical, industry-relevant skills. In today’s highly competitive digital era, having theoretical knowledge is not enough. You need hands-on experience, real-world project exposure, and expert guidance to stand out.
                        </p>
                        <p class="text-muted lh-lg" style="font-size:16px;">
                            This comprehensive 2000-word guide details everything you need to know about our top-rated <strong><?php echo $courseName; ?></strong> in Meerut. By enrolling in this course, you are taking a significant step towards securing a high-paying job in top MNCs, tech startups, and digital agencies across India and abroad. Our curriculum is updated every 6 months to ensure alignment with current market trends and technological advancements.
                        </p>
                        <div class="row g-4 my-4">
                            <div class="col-md-6">
                                <img src="/img2.webp" class="img-fluid rounded-4 shadow-sm hover-scale w-100" style="height:auto;" alt="Students learning">
                            </div>
                            <div class="col-md-6">
                                <img src="/img3.webp" class="img-fluid rounded-4 shadow-sm hover-scale w-100" style="height:auto;" alt="Practical Training">
                            </div>
                        </div>
                        <p class="text-muted lh-lg m-0" style="font-size:16px;">
                            Whether you are a college student looking to build a strong foundation, a working professional aiming for a promotion, or someone looking to completely switch their career path, our expert trainers provide personalized attention to ensure your success.
                        </p>
                    </div>

                    <div class="content-block mb-5 hover-lift bg-light p-4 rounded-3 border-start border-4 border-gold">
                        <h3 class="h4 text-blue fw-bold"><i class="fas fa-lightbulb text-gold me-2"></i> Why Choose This <?php echo $courseName; ?>?</h3>
                        <p class="text-muted lh-lg" style="font-size:16px;">
                            Choosing the right institute is crucial for your career. At ITMeerut, we don't just teach; we transform careers. Here are the core benefits of learning <strong><?php echo $courseName; ?></strong> with us:
                        </p>
                        <ul class="list-unstyled mt-3">
                            <li class="mb-3 d-flex align-items-start"><i class="fas fa-check-circle text-gold mt-1 me-3 fs-5"></i> <span class="text-muted"><strong>100% Practical Training:</strong> We believe in learning by doing. 80% of the course is practical lab work.</span></li>
                            <li class="mb-3 d-flex align-items-start"><i class="fas fa-check-circle text-gold mt-1 me-3 fs-5"></i> <span class="text-muted"><strong>Live Projects:</strong> Work on real-time industry projects to build a strong portfolio.</span></li>
                            <li class="mb-3 d-flex align-items-start"><i class="fas fa-check-circle text-gold mt-1 me-3 fs-5"></i> <span class="text-muted"><strong>Expert Faculty:</strong> Learn from trainers with 10+ years of corporate experience.</span></li>
                            <li class="mb-3 d-flex align-items-start"><i class="fas fa-check-circle text-gold mt-1 me-3 fs-5"></i> <span class="text-muted"><strong>Doubt Clearing Sessions:</strong> Weekly dedicated 1-on-1 sessions to resolve all your queries.</span></li>
                            <li class="mb-3 d-flex align-items-start"><i class="fas fa-check-circle text-gold mt-1 me-3 fs-5"></i> <span class="text-muted"><strong>Placement Guarantee:</strong> We offer comprehensive interview preparation and job placement support in Delhi NCR.</span></li>
                        </ul>
                    </div>

                    <div class="content-block mb-5 hover-lift p-4 rounded-4" style="border: 1px solid #eee;">
                        <h3 class="h4 text-blue fw-bold mb-3"><i class="fas fa-book-open text-gold me-2"></i> Comprehensive Syllabus & Curriculum</h3>
                        <p class="text-muted lh-lg" style="font-size:16px;">
                            Our <strong><?php echo $courseName; ?></strong> syllabus is structured from basic to advanced levels. Below is an overview of the modules covered:
                        </p>
                        
                        <div class="accordion custom-accordion mt-4" id="courseAccordion">
                          <div class="accordion-item mb-3 border-0 shadow-sm rounded-4 overflow-hidden">
                            <h2 class="accordion-header" id="headingOne">
                              <button class="accordion-button bg-white text-navy fw-bold p-4" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true">
                                Module 1: Introduction & Fundamentals
                              </button>
                            </h2>
                            <div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#courseAccordion">
                              <div class="accordion-body text-muted bg-light p-4 lh-lg">
                                Understanding the core concepts, industry terminology, software setup, and building a strong foundation. This module ensures that absolute beginners are brought up to speed.
                              </div>
                            </div>
                          </div>
                          <div class="accordion-item mb-3 border-0 shadow-sm rounded-4 overflow-hidden">
                            <h2 class="accordion-header" id="headingTwo">
                              <button class="accordion-button collapsed bg-white text-navy fw-bold p-4" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo">
                                Module 2: Advanced Core Concepts
                              </button>
                            </h2>
                            <div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#courseAccordion">
                              <div class="accordion-body text-muted bg-light p-4 lh-lg">
                                Deep dive into complex logics, tools, frameworks, and methodologies. You will learn to tackle real-world problems using advanced techniques taught by our industry experts.
                              </div>
                            </div>
                          </div>
                          <div class="accordion-item mb-3 border-0 shadow-sm rounded-4 overflow-hidden">
                            <h2 class="accordion-header" id="headingThree">
                              <button class="accordion-button collapsed bg-white text-navy fw-bold p-4" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree">
                                Module 3: Live Project Implementation
                              </button>
                            </h2>
                            <div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#courseAccordion">
                              <div class="accordion-body text-muted bg-light p-4 lh-lg">
                                Applying theoretical knowledge to build 2-3 live projects from scratch. This includes planning, execution, debugging, and final deployment/presentation.
                              </div>
                            </div>
                          </div>
                          <div class="accordion-item mb-3 border-0 shadow-sm rounded-4 overflow-hidden">
                            <h2 class="accordion-header" id="headingFour">
                              <button class="accordion-button collapsed bg-white text-navy fw-bold p-4" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFour">
                                Module 4: Interview Prep & Certification
                              </button>
                            </h2>
                            <div id="collapseFour" class="accordion-collapse collapse" data-bs-parent="#courseAccordion">
                              <div class="accordion-body text-muted bg-light p-4 lh-lg">
                                Resume building, mock interviews, communication skills training, and final certification exam to validate your expertise in <?php echo $courseName; ?>.
                              </div>
                            </div>
                          </div>
                        </div>
                    </div>

                    <div class="content-block mb-5 hover-lift p-4 rounded-4" style="border: 1px solid #eee;">
                        <h3 class="h4 text-blue fw-bold mb-3"><i class="fas fa-briefcase text-gold me-2"></i> Career Opportunities & Job Prospects</h3>
                        <div class="row align-items-center mt-4">
                            <div class="col-md-5">
                                <img src="/img4.webp" class="img-fluid rounded-4 shadow-sm hover-scale w-100" style="height:auto;" alt="Career Growth">
                            </div>
                            <div class="col-md-7 mt-4 mt-md-0">
                                <p class="text-muted lh-lg" style="font-size:16px;">
                                    The demand for professionals skilled in <strong><?php echo $courseName; ?></strong> is growing exponentially. Top companies are actively hiring certified candidates with practical knowledge.
                                </p>
                                <p class="text-muted lh-lg m-0" style="font-size:16px;">
                                    After completing this course, you can apply for roles with starting salaries ranging from ₹3 LPA to ₹8 LPA, depending on your educational background and interview performance. Our dedicated placement cell brings multiple campus drives and referral opportunities to ensure you don't struggle to find your first job.
                                </p>
                            </div>
                        </div>
                    </div>

                    <div class="content-block mb-5">
                        <div class="p-4 bg-navy text-white rounded-4 shadow position-relative overflow-hidden promo-banner">
                            <div class="position-relative" style="z-index:2;">
                                <h3 class="text-gold mb-3">Ready to Start Your Career?</h3>
                                <p class="mb-4">Enroll in our <?php echo $courseName; ?> today and get a special 20% discount on the total fee. Limited seats available for the upcoming batch!</p>
                                <a href="javascript:void(0);" class="btn btn-light text-navy fw-bold px-4 py-2 trigger-demo-popup">Claim Your Discount</a>
                            </div>
                            <i class="fas fa-graduation-cap position-absolute text-white" style="font-size:150px; right:-20px; bottom:-30px; opacity:0.1; z-index:1;"></i>
                        </div>
                    </div>

                    <div class="content-block hover-lift p-4 rounded-4" style="border: 1px solid #eee;">
                        <h3 class="h4 text-blue fw-bold mb-3"><i class="fas fa-question-circle text-gold me-2"></i> Frequently Asked Questions</h3>
                        <div class="mt-4">
                            <div class="mb-4 pb-3 border-bottom">
                                <h5 class="fw-bold text-navy">1. Do I need any prior experience to join this course?</h5>
                                <p class="text-muted m-0">No, this course is designed from scratch. We start from the absolute basics, making it perfect for freshers and beginners.</p>
                            </div>
                            <div class="mb-4 pb-3 border-bottom">
                                <h5 class="fw-bold text-navy">2. Will I get a certificate after completion?</h5>
                                <p class="text-muted m-0">Yes, you will receive an industry-recognized certificate from ITMeerut, which is highly valued by employers across India.</p>
                            </div>
                            <div class="mb-4 pb-3 border-bottom">
                                <h5 class="fw-bold text-navy">3. What is the duration of the <?php echo $courseName; ?>?</h5>
                                <p class="text-muted m-0">The duration varies depending on the batch (regular vs fast-track), but typically it takes 2 to 4 months to master all concepts practically.</p>
                            </div>
                            <div class="mb-2">
                                <h5 class="fw-bold text-navy">4. Is there any job guarantee?</h5>
                                <p class="text-muted m-0">We provide 100% placement assistance. We will prepare your resume, conduct mock interviews, and send you for interviews until you get placed.</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Right Sidebar (4 columns) -->
            <div class="col-lg-4">
                <div class="sidebar-wrapper sticky-top" style="top:100px;">
                    
                    <!-- Form Widget -->
                    <div class="widget bg-white p-4 rounded-4 shadow-sm mb-4 border-top border-4 border-navy hover-lift">
                        <h4 class="fw-bold text-navy mb-4 text-center">Book a Free Demo</h4>
                        <form class="sidebar-form" onsubmit="alert('Thank you! Your demo request has been sent.'); return false;">
                            <div class="mb-3">
                                <input type="text" class="form-control bg-light border-0 py-2 px-3 rounded-3" placeholder="Full Name" required>
                            </div>
                            <div class="mb-3">
                                <input type="email" class="form-control bg-light border-0 py-2 px-3 rounded-3" placeholder="Email Address" required>
                            </div>
                            <div class="mb-3">
                                <input type="tel" class="form-control bg-light border-0 py-2 px-3 rounded-3" placeholder="Phone Number" required>
                            </div>
                            <div class="mb-3">
                                <select class="form-select bg-light border-0 py-2 px-3 rounded-3" required>
                                    <option value="<?php echo $courseName; ?>" selected><?php echo $courseName; ?></option>
                                    <option value="Python">Python Programming</option>
                                    <option value="Digital Marketing">Digital Marketing</option>
                                    <option value="Web Designing">Web Designing</option>
                                </select>
                            </div>
                            <button type="submit" class="btn w-100 fw-bold py-2 rounded-3 text-navy" style="background:var(--g1); transition:0.3s;">Submit Request</button>
                        </form>
                    </div>

                    <!-- Other Courses Widget -->
                    <div class="widget bg-white p-4 rounded-4 shadow-sm mb-4 hover-lift">
                        <h4 class="fw-bold text-navy mb-4 border-bottom pb-2">Trending Courses</h4>
                        <ul class="list-unstyled mb-0">
                            <li class="mb-3 pb-3 border-bottom"><a href="/python-course-in-meerut/" class="text-decoration-none text-muted fw-bold hover-gold d-flex align-items-center justify-content-between"><span><i class="fab fa-python text-gold me-2"></i> Python Programming</span> <i class="fas fa-chevron-right small"></i></a></li>
                            <li class="mb-3 pb-3 border-bottom"><a href="/digital-marketing-course-in-meerut/" class="text-decoration-none text-muted fw-bold hover-gold d-flex align-items-center justify-content-between"><span><i class="fas fa-bullhorn text-gold me-2"></i> Digital Marketing</span> <i class="fas fa-chevron-right small"></i></a></li>
                            <li class="mb-3 pb-3 border-bottom"><a href="/web-designing-course-in-meerut/" class="text-decoration-none text-muted fw-bold hover-gold d-flex align-items-center justify-content-between"><span><i class="fas fa-laptop-code text-gold me-2"></i> Web Designing</span> <i class="fas fa-chevron-right small"></i></a></li>
                            <li class="mb-3 pb-3 border-bottom"><a href="/tally-course-in-meerut/" class="text-decoration-none text-muted fw-bold hover-gold d-flex align-items-center justify-content-between"><span><i class="fas fa-calculator text-gold me-2"></i> Tally with GST</span> <i class="fas fa-chevron-right small"></i></a></li>
                            <li class="mb-0"><a href="/ccc-institute-in-meerut/" class="text-decoration-none text-muted fw-bold hover-gold d-flex align-items-center justify-content-between"><span><i class="fas fa-certificate text-gold me-2"></i> CCC Certification</span> <i class="fas fa-chevron-right small"></i></a></li>
                        </ul>
                    </div>

                    <!-- Contact Widget -->
                    <div class="widget bg-navy text-white p-4 rounded-4 shadow-sm hover-lift text-center position-relative overflow-hidden">
                        <i class="fas fa-headset position-absolute text-white" style="font-size:120px; right:-20px; top:-20px; opacity:0.1;"></i>
                        <div class="position-relative" style="z-index:2;">
                            <h4 class="fw-bold text-gold mb-3">Need Help?</h4>
                            <p class="mb-4" style="font-size:14px; opacity:0.8;">Talk to our career counseling experts to choose the right path.</p>
                            <a href="tel:+919368613710" class="btn btn-outline-light w-100 rounded-5 py-2 fw-bold mb-3"><i class="fas fa-phone-alt me-2"></i> +91 93686 13710</a>
                            <a href="https://wa.me/919368613710" class="btn w-100 rounded-5 py-2 fw-bold text-white" style="background:#25D366; border:none;"><i class="fab fa-whatsapp me-2"></i> WhatsApp Us</a>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</section>

<style>
/* Internal Page Custom CSS */
.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}
.hover-scale {
    transition: transform 0.5s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}
.hover-gold:hover {
    color: var(--gold) !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--navy) !important;
    color: #fff !important;
    box-shadow: none;
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.promo-banner {
    transition: 0.5s;
}
.promo-banner:hover {
    background: var(--g2);
}
</style>

<script>
// Internal Canvas Background Animation
document.addEventListener("DOMContentLoaded", function() {
    var canvas = document.getElementById('internalCanvas');
    if(canvas) {
        var ctx = canvas.getContext('2d');
        canvas.width = canvas.offsetWidth;
        canvas.height = canvas.offsetHeight;
        var dots = [];
        for (var i = 0; i < 50; i++) {
            dots.push({
                x: Math.random() * canvas.width,
                y: Math.random() * canvas.height,
                r: Math.random() * 2 + 1,
                dx: (Math.random() - 0.5) * 0.5,
                dy: (Math.random() - 0.5) * 0.5
            });
        }
        function animate() {
            requestAnimationFrame(animate);
            ctx.clearRect(0, 0, canvas.width, canvas.height);
            ctx.fillStyle = "rgba(255, 215, 0, 0.5)";
            dots.forEach(function(dot) {
                dot.x += dot.dx;
                dot.y += dot.dy;
                if (dot.x < 0 || dot.x > canvas.width) dot.dx *= -1;
                if (dot.y < 0 || dot.y > canvas.height) dot.dy *= -1;
                ctx.beginPath();
                ctx.arc(dot.x, dot.y, dot.r, 0, Math.PI * 2);
                ctx.fill();
            });
            // Draw lines
            ctx.strokeStyle = "rgba(255, 215, 0, 0.1)";
            ctx.lineWidth = 1;
            for(let i=0; i<dots.length; i++){
                for(let j=i+1; j<dots.length; j++){
                    let dist = Math.hypot(dots[i].x - dots[j].x, dots[i].y - dots[j].y);
                    if(dist < 100) {
                        ctx.beginPath();
                        ctx.moveTo(dots[i].x, dots[i].y);
                        ctx.lineTo(dots[j].x, dots[j].y);
                        ctx.stroke();
                    }
                }
            }
        }
        animate();
        
        window.addEventListener('resize', function() {
            canvas.width = canvas.offsetWidth;
            canvas.height = canvas.offsetHeight;
        });
    }

    // jQuery Effects for Internal Pages
    $('.hero-course-img-wrapper').hover(function() {
        $(this).css('transform', 'rotate(0deg) scale(1.05)');
    }, function() {
        $(this).css('transform', 'rotate(5deg) scale(1)');
    });
});
</script>

<?php include 'footer.php'; ?>
