<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Studysparrow Admission Form | 2026</title>
    
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="assets/css/form.css">
    <link rel="stylesheet" href="assets/css/style.css">

    
</head>
<body>
<div class="top-bar">
        <div class="container d-flex justify-content-between">
            <div>
                <i class="fa-solid fa-phone-flip me-2 text-success"></i> +91 7411192123
            </div>
            <div class="d-flex gap-3">
                <a href="#"><i class="fa-brands fa-whatsapp"></i></a>
                <a href="#"><i class="fa-brands fa-instagram"></i></a>
                <a href="#"><i class="fa-brands fa-youtube"></i></a>
                <a href="#"><i class="fa-brands fa-facebook"></i></a>
            </div>
        </div>
    </div>

    <nav class="navbar navbar-expand-lg sticky-top">
        <div class="container">
            <a class="navbar-brand" href="#">Study<span class="brand-accent">Sparrow</span></a>

            <button class="navbar-toggler border-0 shadow-none" type="button" data-bs-toggle="collapse"
                data-bs-target="#navContent">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse" id="navContent">
                <ul class="navbar-nav ms-auto align-items-center">
                    <li class="nav-item"><a class="nav-link" href="index.html">Home</a></li>
                    <li class="nav-item"><a class="nav-link" href="about.html">About</a></li>

                    <li class="nav-item dropdown ms-lg-2">
                        <a class="nav-link dropdown-toggle btn-main shadow-sm" href="#" id="dropMenu"
                            data-bs-toggle="dropdown">
                            Study India
                        </a>
                        <div class="dropdown-menu floating-card">
                            <a href="study_in_karnataka.html" class="course-link">Karnataka</a>
                            <a href="study_in_bengaluru.html" class="course-link">Bengaluru</a>
                            <a href="study_in_tamilnadu.html" class="course-link">Tamilnadu</a>
                        </div>
                    </li>
                    <li class="nav-item"><a class="nav-link btn-outline-custom" href="#">Study Abroad</a></li>

                    <li class="nav-item dropdown ms-lg-2">
                        <a class="nav-link dropdown-toggle btn-main shadow-sm" href="#" id="dropMenu"
                            data-bs-toggle="dropdown">
                            Explore Courses
                        </a>
                        <div class="dropdown-menu floating-card">
                            <a href="medicalscience.html" class="course-link">Medical Sciences</a>
                            <a href="engineering.html" class="course-link">Engineering</a>
                            <a href="paramedica.html" class="course-link">Paramedical</a>
                            <a href="health-science.html" class="course-link">Allied / Health Science</a>
                            <a href="nursing.html" class="course-link">Nursing</a>
                            <a href="pharmacy.html" class="course-link">Pharmacy</a>
                            <a href="managemenet.html" class="course-link">Management</a>
                            <a href="diploma-iti.html" class="course-link"> ITI & Diploma</a>
                        </div>
                    </li>

                    <li class="nav-item ms-lg-3">
                        <a class="nav-link p-0 text-success fw-bold" href="contact.html"
                            style="font-size: 0.85rem; letter-spacing: 1px;">CONTACT US</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <section class="enquiry-wrapper">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-xl-10">
                    <div class="main-card">
                        <div class="row g-0">
                            <div class="col-lg-5 info-side">
                                <span class="badge bg-white text-success mb-3 p-2 px-3 fw-800">ADMISSION 2026</span>
                                <h2 class="display-6 fw-800 mb-4">Secure Your Future with Experts</h2>
                                <div class="feature-item">
                                    <div class="feature-icon"><i class="fa-solid fa-user-tie"></i></div>
                                    <div><h6 class="mb-0 fw-bold">Free Counseling</h6><p class="small mb-0 opacity-75">Talk to experts</p></div>
                                </div>
                                <div class="feature-item">
                                    <div class="feature-icon"><i class="fa-solid fa-building-columns"></i></div>
                                    <div><h6 class="mb-0 fw-bold">Top Colleges</h6><p class="small mb-0 opacity-75">100+ Partners</p></div>
                                </div>
                            </div>

                            <div class="col-lg-7 form-side">
                                <div class="mb-4">
                                    <h3 class="fw-800 text-dark">Get in Touch</h3>
                                    <p class="text-muted">Fill the form, our team will call you back.</p>
                                </div>

                                <form id="proEnquiryForm" novalidate>
                                    <div class="row">
                                        <div class="col-md-12 mb-3">
                                            <label class="form-label text-uppercase">Interested College/Course</label>
                                            <input type="text" id="targetCollege" class="form-control" placeholder="General Enquiry" readonly>
                                        </div>

                                        <div class="col-md-12 mb-3">
                                            <label class="form-label text-uppercase">Full Name</label>
                                            <input type="text" id="userName" class="form-control" placeholder="Enter Full Name" required minlength="3">
                                        </div>

                                        <div class="col-md-6 mb-3">
                                            <label class="form-label text-uppercase">Email</label>
                                            <input type="email" id="userEmail" class="form-control" placeholder="Email Address" required>
                                        </div>

                                        <div class="col-md-6 mb-3">
                                            <label class="form-label text-uppercase">WhatsApp Phone</label>
                                            <input type="tel" id="userPhone" class="form-control" placeholder="10 Digit Number" required pattern="[0-9]{10}">
                                        </div>

                                        
                                    </div>

                                    <button type="submit" class="btn-submit" id="submitBtn">
                                        Talk to Our Experts <i class="fa-solid fa-arrow-right ms-2"></i>
                                    </button>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

   
<!-- footer section -->
     <!-- Footer Section -->
    <footer class="pt-5 mt-5"
        style="background-color: var(--brand-black); color: white; border-radius: 60px 60px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.1);">
        <div class="container py-5">
            <div class="row g-5">

                <div class="col-lg-4 col-md-12">
                    <a class="navbar-brand text-white fs-2 mb-4 d-block fw-800" href="index.html"><span
                            class="text-success">StudySparrow</span></a>
                    <p class="text-light-50 opacity-75 mb-4" style="line-height: 1.8;">
                          
              India’s leading admission consultancy, helping thousands of students secure their future in top
                        medical, engineering, and management colleges worldwide—your career is our mission.
                    </p>
                    <div class="d-flex gap-3">
                        <a href="#" class="social-btn"><i class="fa-brands fa-facebook-f"></i></a>
                        <a href="#" class="social-btn"><i class="fa-brands fa-instagram"></i></a>
                        <a href="#" class="social-btn"><i class="fa-brands fa-whatsapp"></i></a>
                        <a href="#" class="social-btn"><i class="fa-brands fa-linkedin-in"></i></a>
                    </div>
                </div>

                <div class="col-lg-2 col-md-4 col-6">
                    <h5 class="fw-bold mb-4 text-success">Quick Links</h5>
                    <ul class="list-unstyled footer-links">
                        <li><a href="index.html">Home</a></li>
                        <li><a href="about.html">About Us</a></li>
                        <li><a href="contact.html">Contact Us</a></li>
                        <li><a href="our_developer.html">Our Developer</a></li>
                        <li><a href="privacy_policy.html">Privacy Policy</a></li>
                         <li><a href="term_condition.html">Terms & Conditions</a></li>
                    </ul>
                </div>

                <div class="col-lg-2 col-md-4 col-6">
                    <h5 class="fw-bold mb-4 text-success">Top Courses</h5>
                    <ul class="list-unstyled footer-links">
                        <li><a href="medicalscience.html">Medical Science </a></li>
                        <li><a href="engineering.html">Engineering</a></li>
                        <li><a href="nursing.html">Nursing</a></li>
                        <li><a href="pharmacy.html">Pharmacy</a></li>
                        <li><a href="managemenet.html">Management</a></li>
                        <li><a href="paramedica.html">Paramedical</a></li>
                    </ul>
                </div>

                <div class="col-lg-4 col-md-4">
                    <h5 class="fw-bold mb-4 text-success">Find Our Office</h5>
                    <div class="rounded-4 overflow-hidden mb-4 shadow-sm border border-secondary"
                        style="height: 160px;">
                        <iframe
                            src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3501.839081279716!2d77.227321!3d28.634671!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zMjjCsDM4JzA0LjgiTiA3N8KwMTMnMzguNCJF!5e0!3m2!1sen!2sin!4v1620000000000!5m2!1sen!2sin"
                            width="100%" height="100%" style="border:0; filter: invert(90%) hue-rotate(180deg);"
                            allowfullscreen="" loading="lazy"></iframe>
                    </div>
                    <div class="d-flex align-items-center mb-2">
                        <i class="fa-solid fa-envelope text-success me-3"></i>
                        <span class="text-light-50">ssparrow.edu@gmail.com</span>
                    </div>
                    <div class="d-flex align-items-center">
                        <i class="fa-solid fa-phone-volume text-success me-3"></i>
                        <span class="text-light-50">+91 7411192123</span>
                    </div>
                </div>
            </div>

            <hr class="my-5 opacity-25">

            <div class="row align-items-center pb-4">
                <div class="col-md-6 text-center text-md-start">
                    <p class="mb-0 text-white-50 small">© 2026 Studysparrow Consultancy Services. All Rights Reserved.
                    </p>
                </div>
                <div class="col-md-6 text-center text-md-end mt-3 mt-md-0">
                    <span class="small text-white-50">Designed with ❤️ for Student Success</span>
                </div>
            </div>
        </div>
    </footer>

    <a href="https://wa.me/917411192123" class="whatsapp-float shadow-lg" target="_blank">
        <i class="fa-brands fa-whatsapp mt-3"></i>
        <span class="whatsapp-tooltip">Chat with Experts</span>
    </a>



<script>
        // 1. URL Se College Name detect karne ka logic
        window.onload = function() {
            const params = new URLSearchParams(window.location.search);
            const college = params.get('college');
            if (college) {
                document.getElementById('targetCollege').value = decodeURIComponent(college);
            }
        };

        const form = document.getElementById('proEnquiryForm');
        const btn = document.getElementById('submitBtn');

        // Validation & Submission
        form.addEventListener('submit', function (e) {
            e.preventDefault();

            if (!form.checkValidity()) {
                form.querySelectorAll(':invalid').forEach(el => el.classList.add('is-invalid'));
                btn.classList.add('shake');
                setTimeout(() => btn.classList.remove('shake'), 400);
                return;
            }

            const name = document.getElementById('userName').value;
            btn.innerHTML = 'Submitting...';
            btn.disabled = true;

            setTimeout(() => {
                Swal.fire({
                    title: 'Success!',
                    text: `Thank you ${name}. Our team will contact you shortly.`,
                    icon: 'success',
                    confirmButtonColor: '#16a34a'
                });
                btn.innerHTML = 'Talk to Our Experts <i class="fa-solid fa-arrow-right ms-2"></i>';
                btn.disabled = false;
                form.reset();
                form.querySelectorAll('.is-invalid').forEach(el => el.classList.remove('is-invalid'));
            }, 1500);
        });

        // Restrict phone to numbers only
        document.getElementById('userPhone').addEventListener('keypress', (e) => {
            if (e.which < 48 || e.which > 57) e.preventDefault();
        });
    </script>

</body>
</html>