<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Mind Power University | Edunet</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">



    
<?php
include("header.php");


?>


    <style>
        /* CSS identical to previous page - colors, animations, and structure preserved */
        :root {
            --primary-dark: #1e3a8a;
            --primary-blue: #4facfe;
            --primary-light: #00f2fe;
            --accent-orange: #ff9a00;
            --accent-dark-orange: #ff6a00;
            --light-bg: #f8fafc;
            --text-dark: #1e293b;
            --text-gray: #64748b;
            --white: #ffffff;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
        body { background-color: var(--light-bg); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

        /* University Hero Section */
        .university-hero {
            position: relative;
            width: 100%;
            min-height: 85vh;
            background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 55, 153, 0.85) 100%),
                        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            padding: 60px 20px;
            text-align: center;
        }
        .hero-content { position: relative; z-index: 3; max-width: 1200px; width: 100%; }
        .hero-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-dark-orange) 100%);
            color: white;
            padding: 10px 28px;
            border-radius: 30px;
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 25px;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeUp 0.8s ease-out 0.3s forwards;
            box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
        }
        .university-hero h1 {
            font-size: 3.8rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 15px;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transform: translateY(40px);
            opacity: 0;
            animation: fadeUp 0.8s ease-out 0.5s forwards;
        }
        .university-hero h1 span {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .university-hero .motto {
            font-size: 1.8rem;
            font-weight: 300;
            color: #e2e8ff;
            margin-bottom: 40px;
            transform: translateY(40px);
            opacity: 0;
            animation: fadeUp 0.8s ease-out 0.7s forwards;
        }
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
            margin-top: 40px;
        }
        .stat-item {
            text-align: center;
            transform: translateY(40px);
            opacity: 0;
        }
        .stat-item:nth-child(1) { animation: fadeUp 0.8s ease-out 0.9s forwards; }
        .stat-item:nth-child(2) { animation: fadeUp 0.8s ease-out 1.1s forwards; }
        .stat-item:nth-child(3) { animation: fadeUp 0.8s ease-out 1.3s forwards; }
        .stat-number {
            display: block;
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary-blue);
            margin-bottom: 5px;
            line-height: 1;
        }
        .stat-label {
            font-size: 1rem;
            color: #e2e8ff;
            font-weight: 500;
            max-width: 150px;
        }
        @keyframes fadeUp { to { transform: translateY(0); opacity: 1; } }

        /* Main Content Sections */
        .page-section {
            max-width: 1300px;
            margin: 80px auto;
            padding: 0 25px;
        }
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        .section-subtitle {
            display: inline-block;
            background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-dark-orange) 100%);
            color: white;
            padding: 8px 24px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 20px;
        }
        .section-title {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 20px;
            color: var(--primary-dark);
        }
        .section-title span {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Quick Facts Grid */
        .facts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        .fact-card {
            background: var(--white);
            border-radius: 18px;
            padding: 30px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border-left: 5px solid var(--primary-blue);
        }
        .fact-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
        }
        .fact-card i {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--primary-blue);
        }
        .fact-card h3 {
            font-size: 1.4rem;
            color: var(--primary-dark);
            margin-bottom: 12px;
        }
        .fact-card p {
            color: var(--text-gray);
            font-size: 1rem;
        }

        /* Why Choose & Academics */
        .features-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        .feature-box {
            background: var(--white);
            border-radius: 18px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
            transition: all 0.4s ease;
        }
        .feature-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }
        .feature-box h3 {
            color: var(--primary-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.5rem;
        }
        .feature-box h3 i {
            color: var(--accent-orange);
        }
        .feature-list { list-style: none; }
        .feature-list li {
            padding: 10px 0;
            border-bottom: 1px dashed #e2e8f0;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .feature-list li:last-child { border-bottom: none; }
        .feature-list li i { color: var(--primary-blue); font-size: 0.9rem; }

        /* Placement Stats Table */
        .placement-table-container {
            overflow-x: auto;
            margin-top: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        }
        .placement-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
        }
        .placement-table thead {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
            color: white;
        }
        .placement-table th {
            padding: 20px 15px;
            text-align: left;
            font-weight: 600;
            font-size: 1.1rem;
        }
        .placement-table tbody tr {
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.3s ease;
        }
        .placement-table tbody tr:hover { background: #f0f9ff; }
        .placement-table td {
            padding: 18px 15px;
            color: var(--text-dark);
            font-weight: 500;
        }
        .placement-table .highlight { color: var(--accent-dark-orange); font-weight: 700; }

        /* Testimonial Slider */
        .testimonial-slider {
            position: relative;
            max-width: 900px;
            margin: 60px auto;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        }
        .testimonial-track {
            display: flex;
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .testimonial-slide {
            min-width: 100%;
            padding: 50px;
            background: var(--white);
            box-sizing: border-box;
        }
        .student-info {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }
        .student-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
        }
        .student-details h4 {
            color: var(--primary-dark);
            font-size: 1.3rem;
            margin-bottom: 5px;
        }
        .student-details .course { color: var(--accent-orange); font-weight: 600; }
        .testimonial-text {
            font-size: 1.15rem;
            line-height: 1.7;
            color: var(--text-gray);
            font-style: italic;
            position: relative;
            padding-left: 25px;
        }
        .testimonial-text:before {
            content: '"';
            position: absolute;
            left: 0;
            top: -10px;
            font-size: 4rem;
            color: var(--primary-blue);
            opacity: 0.2;
            font-family: serif;
        }
        .slider-nav {
            display: none;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }
        .slider-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .slider-dot.active { background: var(--primary-blue); transform: scale(1.3); }

        /* CTA & Contact */
        .cta-section {
            text-align: center;
            padding: 70px 30px;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 25px;
            margin: 80px auto;
            max-width: 1100px;
        }
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        .contact-card {
            background: var(--white);
            padding: 35px;
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
            text-align: center;
            transition: transform 0.4s ease;
        }
        .contact-card:hover { transform: translateY(-10px); }
        .contact-card i {
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--primary-blue);
        }
        .contact-card h4 {
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        .contact-card p { color: var(--text-gray); margin-bottom: 5px; }
        .contact-card .phone { color: var(--accent-dark-orange); font-weight: 700; font-size: 1.2rem; }

        /* Responsive Design */
        @media (max-width: 992px) {
            .university-hero h1 { font-size: 3rem; }
            .hero-stats { gap: 30px; }
            .section-title { font-size: 2.3rem; }
        }
        @media (max-width: 768px) {
            .university-hero { min-height: auto; padding: 80px 20px; }
            .university-hero h1 { font-size: 2.4rem; }
            .motto { font-size: 1.4rem; }
            .hero-stats { gap: 25px; }
            .stat-number { font-size: 2.3rem; }
            .page-section { margin: 60px auto; }
            .testimonial-slide { padding: 35px 25px; }
            .contact-card { padding: 25px; }
        }
        @media (max-width: 576px) {
            .university-hero h1 { font-size: 2rem; }
            .section-title { font-size: 1.9rem; }
            .facts-grid, .features-container { grid-template-columns: 1fr; }
            .placement-table th, .placement-table td { padding: 12px 10px; font-size: 0.9rem; }
        }
    </style>
</head>
<body>
    <!-- University Hero Section -->
    <section class="university-hero">
        <div class="hero-content">
            <div class="hero-badge">
                <i class="fas fa-university"></i> Top University in Uttarakhand
            </div>
            <h1>Mind Power <span>University</span></h1>
            <p class="motto">"Empowering Minds, Shaping Futures" – Education Amidst Serene Hills</p>
            <div class="hero-stats">
                <div class="stat-item" id="stat-courses">
                    <span class="stat-number" data-target="50">0</span>
                    <span class="stat-label">Career Oriented Courses</span>
                </div>
                <div class="stat-item" id="stat-faculty">
                    <span class="stat-number" data-target="250">0</span>
                    <span class="stat-label">Expert Faculty Members</span>
                </div>
                <div class="stat-item" id="stat-collaborations">
                    <span class="stat-number" data-target="50">0</span>
                    <span class="stat-label">Global Collaborations</span>
                </div>
            </div>
        </div>
    </section>

    <!-- Quick Facts Section -->
    <section class="page-section">
        <div class="section-header">
            <div class="section-subtitle"><i class="fas fa-lightbulb"></i> At a Glance</div>
            <h2>University <span>Quick Facts</span></h2>
        </div>
        <div class="facts-grid">
            <div class="fact-card">
                <i class="fas fa-map-marked-alt"></i>
                <h3>Picturesque Bhimtal Campus</h3>
                <p>Nestled in the serene hills of Bhimtal, Nainital, offering an unparalleled learning experience infused with natural tranquility.</p>
            </div>
            <div class="fact-card">
                <i class="fas fa-graduation-cap"></i>
                <h3>50+ World Class Programs</h3>
                <p>Comprehensive education across Management, Engineering, Commerce, Science, Humanities, and specialized drone technology.</p>
            </div>
            <div class="fact-card">
                <i class="fas fa-award"></i>
                <h3>Innovation & Recognition</h3>
                <p>First in Uttarakhand with specialized drone programs and award-winning leadership under Chancellor Dr. Yogesh Kumar.</p>
            </div>
            <div class="fact-card">
                <i class="fas fa-globe-asia"></i>
                <h3>Global & Diverse Community</h3>
                <p>Students from 112 countries creating a truly international environment with over 50 languages spoken on campus.</p>
            </div>
        </div>
    </section>

    <!-- Why Choose Mind Power & Unique Advantages -->
    <section class="page-section">
        <div class="section-header">
            <div class="section-subtitle"><i class="fas fa-star"></i> The MPU Advantage</div>
            <h2>Why <span>Choose Mind Power?</span></h2>
        </div>
        <div class="features-container">
            <div class="feature-box">
                <h3><i class="fas fa-check-circle"></i> Strategic Global & Industry Ties</h3>
                <ul class="feature-list">
                    <li><i class="fas fa-handshake"></i> 50+ Global Academic & Industry Collaborations</li>
                    <li><i class="fas fa-briefcase"></i> International Internships & Study Tours</li>
                    <li><i class="fas fa-plane"></i> Partnerships with Leading Business Houses Worldwide</li>
                    <li><i class="fas fa-chart-line"></i> Direct Pathways to Global Career Opportunities</li>
                </ul>
            </div>
            <div class="feature-box">
                <h3><i class="fas fa-flask"></i> Innovation & Practical Learning</h3>
                <ul class="feature-list">
                    <li><i class="fas fa-drone"></i> First in Uttarakhand with Drone Technology Programs</li>
                    <li><i class="fas fa-cogs"></i> Well-Equipped Labs & Research Facilities</li>
                    <li><i class="fas fa-lightbulb"></i> Startup Incubation & Faculty-Led Projects</li>
                    <li><i class="fas fa-project-diagram"></i> Real-World Projects & Industry Guidance</li>
                </ul>
            </div>
            <div class="feature-box">
                <h3><i class="fas fa-heart"></i> Holistic Student Development</h3>
                <ul class="feature-list">
                    <li><i class="fas fa-couch"></i> Wellness Zones & Mental Health Counseling</li>
                    <li><i class="fas fa-users"></i> 200+ Clubs & Leadership Opportunities</li>
                    <li><i class="fas fa-dumbbell"></i> Sports, Fitness & Cultural Activities</li>
                    <li><i class="fas fa-home"></i> Safe, Inclusive Residential Campus Community</li>
                </ul>
            </div>
        </div>
    </section>

    <!-- Academic Programs Section -->
    <section class="page-section">
        <div class="section-header">
            <div class="section-subtitle"><i class="fas fa-book-open"></i> Explore Education</div>
            <h2>Academic <span>Programs</span></h2>
        </div>
        <div class="features-container">
            <div class="feature-box">
                <h3><i class="fas fa-laptop-code"></i> Engineering & Technology</h3>
                <p>Specialized programs including cutting-edge drone technology, computer applications, and core engineering disciplines with industry-aligned curriculum.</p>
            </div>
            <div class="feature-box">
                <h3><i class="fas fa-chart-line"></i> Management & Commerce</h3>
                <p>Undergraduate and postgraduate programs in management and commerce designed with practical learning and global business perspectives.</p>
            </div>
            <div class="feature-box">
                <h3><i class="fas fa-balance-scale"></i> Law & Humanities</h3>
                <p>Comprehensive legal education with strong placement records and diverse humanities programs fostering critical thinking and creativity.</p>
            </div>
            <div class="feature-box">
                <h3><i class="fas fa-flask"></i> Science & Research</h3>
                <p>Advanced science programs and full-time Ph.D. opportunities in various disciplines including Engineering, Management, Science, and Languages.</p>
            </div>
        </div>
    </section>

    <!-- Placement Success Section -->
    <section class="page-section">
        <div class="section-header">
            <div class="section-subtitle"><i class="fas fa-trophy"></i> Career Launchpad</div>
            <h2>Placement <span>Success</span></h2>
            <p style="color: var(--text-gray); max-width: 800px; margin: 10px auto;">Strong industry connections with leading national and international companies across diverse sectors.</p>
        </div>

        <div class="placement-table-container">
            <table class="placement-table">
                <thead>
                    <tr>
                        <th>Program Highlight</th>
                        <th>Highest Package (2024)</th>
                        <th>Average Package (2024)</th>
                        <th>Placement Rate (2024)</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>LLB Program</td>
                        <td class="highlight">₹12 LPA</td>
                        <td>₹6 LPA</td>
                        <td class="highlight">95%</td>
                    </tr>
                    <tr>
                        <td>Engineering & Technology</td>
                        <td class="highlight">-</td>
                        <td>-</td>
                        <td class="highlight">-</td>
                    </tr>
                    <tr>
                        <td>Management Programs</td>
                        <td class="highlight">-</td>
                        <td>-</td>
                        <td class="highlight">-</td>
                    </tr>
                </tbody>
            </table>
            <p style="text-align: center; color: var(--text-gray); font-size: 0.9rem; padding: 15px;">Source: Sample placement data for LLB program | Top recruiters include leading national and international firms</p>
        </div>
    </section>

    <!-- Student Testimonials -->
    <section class="page-section">
        <div class="section-header">
            <div class="section-subtitle"><i class="fas fa-comment-dots"></i> Voices of MPU</div>
            <h2>Student <span>Testimonials</span></h2>
        </div>
        <div class="testimonial-slider">
            <div class="testimonial-track" id="testimonialTrack">
                <!-- Slide 1 -->
                <div class="testimonial-slide">
                    <div class="student-info">
                        <div class="student-avatar">AS</div>
                        <div class="student-details">
                            <h4>Anjali Sharma</h4>
                            <p class="course">International Student | Computer Science</p>
                        </div>
                    </div>
                    <p class="testimonial-text">"The international community here is incredible. Coming from abroad, the support from the International Office was exceptional. The blend of rigorous academics in such a peaceful, natural setting is truly unique."</p>
                </div>
                <!-- Slide 2 -->
                <div class="testimonial-slide">
                    <div class="student-info">
                        <div class="student-avatar">RK</div>
                        <div class="student-details">
                            <h4>Rahul Kumar</h4>
                            <p class="course">Engineering | Drone Technology</p>
                        </div>
                    </div>
                    <p class="testimonial-text">"Being part of the first drone technology program in Uttarakhand has been groundbreaking. The hands-on projects and industry collaboration gave me practical skills that immediately made me employable."</p>
                </div>
                <!-- Slide 3 -->
                <div class="testimonial-slide">
                    <div class="student-info">
                        <div class="student-avatar">PS</div>
                        <div class="student-details">
                            <h4>Priya Singh</h4>
                            <p class="course">Management | President of Business Club</p>
                        </div>
                    </div>
                    <p class="testimonial-text">"The leadership opportunities through 200+ clubs transformed my confidence. The wellness programs and counseling services created a supportive environment where I could excel both academically and personally."</p>
                </div>
            </div>
            <div class="slider-nav" id="sliderNav">
                <!-- Dots will be added by JS -->
            </div>
        </div>
    </section>

    <!-- Contact & CTA Section -->
    <section class="page-section">
        <div class="cta-section">
            <h2 style="color: var(--primary-dark); margin-bottom: 15px;">Begin Your Mind Power Journey</h2>
            <p style="color: var(--text-gray); font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px;">
                Admission for 2026 is now open with 38 Undergraduate, 33 Postgraduate, and 48 Research programs available. Apply online for a transformative educational experience.
            </p>
            <button id="enquireBtn" style="background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%); color: white; border: none; padding: 18px 45px; font-size: 1.2rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.4s ease; box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);">
                <i class="fas fa-download"></i> Apply for 2026 Admissions
            </button>
        </div>

        <div class="section-header">
            <h2>Get In <span>Touch</span></h2>
            <p style="color: var(--text-gray);">Reach out to the relevant department for queries.</p>
        </div>
        <div class="contact-grid">
            <div class="contact-card">
                <i class="fas fa-headset"></i>
                <h4>Admission Enquiries</h4>
                <p>For All Academic Programs 2026</p>
                <p class="phone">Contact via Website Form</p>
                <p> admission@mindpoweruniversity.ac.in</p>
                <p> Mon-Sat: 9 AM - 5 PM</p>
            </div>
            <div class="contact-card">
                <i class="fas fa-globe"></i>
                <h4>International Students</h4>
                <p>Global Relations & Support</p>
                <p class="phone">Dedicated International Office</p>
                <p> international@mindpoweruniversity.ac.in</p>
                <p>Students from 112 countries</p>
            </div>
            <div class="contact-card">
                <i class="fas fa-map-marker-alt"></i>
                <h4>University Address</h4>
                <p>Mind Power University</p>
                <p>Bhimtal, Nainital District,</p>
                <p>Uttarakhand, India</p>
                <p>"Lake District of India"</p>
            </div>
        </div>
    </section>

    <script>
        // 1. Animated Stats Counter
        function animateStats() {
            const statElements = document.querySelectorAll('.stat-number');
            statElements.forEach(stat => {
                const target = parseInt(stat.getAttribute('data-target'));
                const increment = target / 60;
                let current = 0;
                const timer = setInterval(() => {
                    current += increment;
                    if (current >= target) {
                        stat.textContent = target + (stat.id.includes('courses') ? '+' : '');
                        clearInterval(timer);
                    } else {
                        stat.textContent = Math.floor(current);
                    }
                }, 30);
            });
        }
        // Trigger when hero section is in view
        const observer = new IntersectionObserver((entries) => {
            if (entries[0].isIntersecting) {
                animateStats();
                observer.unobserve(entries[0].target);
            }
        }, { threshold: 0.5 });
        observer.observe(document.querySelector('.university-hero'));

        // 2. Testimonial Slider Functionality
        const track = document.getElementById('testimonialTrack');
        const slides = document.querySelectorAll('.testimonial-slide');
        const navContainer = document.getElementById('sliderNav');
        let currentSlide = 0;
        // Create navigation dots
        slides.forEach((_, index) => {
            const dot = document.createElement('div');
            dot.classList.add('slider-dot');
            if (index === 0) dot.classList.add('active');
            dot.addEventListener('click', () => goToSlide(index));
            navContainer.appendChild(dot);
        });
        const dots = document.querySelectorAll('.slider-dot');
        function goToSlide(n) {
            currentSlide = n;
            track.style.transform = `translateX(-${currentSlide * 100}%)`;
            dots.forEach((dot, idx) => {
                dot.classList.toggle('active', idx === currentSlide);
            });
        }
        // Auto-slide every 6 seconds
        setInterval(() => {
            currentSlide = (currentSlide + 1) % slides.length;
            goToSlide(currentSlide);
        }, 6000);

        // 3. Button Interactions
        document.getElementById('enquireBtn').addEventListener('click', function() {
            alert('Redirecting to Mind Power University admission portal. For actual applications, visit: https://mindpoweruniversity.ac.in/');
            this.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Redirecting...';
            setTimeout(() => {
                this.innerHTML = '<i class="fas fa-check"></i> Portal Opened!';
                this.style.background = 'linear-gradient(135deg, #00b09b 0%, #96c93d 100%)';
            }, 1500);
        });

        // 4. Fade-in animation on scroll for sections
        const sectionObserver = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = '1';
                    entry.target.style.transform = 'translateY(0)';
                }
            });
        }, { threshold: 0.1 });
        document.querySelectorAll('.page-section').forEach(section => {
            section.style.opacity = '0';
            section.style.transform = 'translateY(30px)';
            section.style.transition = 'opacity 0.8s ease, transform 0.8s ease';
            sectionObserver.observe(section);
        });
    </script>



<?php
include("footer.php");


?>