<!-- CONTACT & ENQUIRY -->
<section class="sec sec-alt" id="contact">
  <div class="wrap">
    <div class="enq-wrap">
      <div class="enq-l">
        <h2>Have questions about admissions or programmes?</h2>
        <p>Our admission counsellors are available Monday–Saturday, 9 AM – 5 PM. Visit us on campus or call directly — we're happy to help.</p>
        <div class="contact-info">
          <div class="ci-item"><i class="ti ti-phone"></i><span>Admission cell: <strong>+91-8077793917</strong></span></div>
          <div class="ci-item"><i class="ti ti-phone"></i><span>Helpline: <strong>7055514515 / 7055514516</strong></span></div>
          <div class="ci-item"><i class="ti ti-mail"></i><span><strong>admissions@gsuniversity.ac.in</strong></span></div>
          <div class="ci-item"><i class="ti ti-map-pin"></i><span>GS University, NH-9, Hapur, Uttar Pradesh</span></div>
          <div class="ci-item"><i class="ti ti-bank"></i><span>HDFC Bank education loan tie-up available</span></div>
        </div>
      </div>
      <div>
        <form class="enq-form" onsubmit="return false;">
          <div class="ef-row">
            <input class="ef-in" type="text" placeholder="Full name" required/>
            <input class="ef-in" type="tel" placeholder="Phone number" required/>
          </div>
          <input class="ef-in" type="email" placeholder="Email address" required/>
          <select class="ef-in">
            <option value="">Programme of interest</option>
            <option>MBBS</option>
            <option>MD / MS (Postgraduate)</option>
            <option>BAMS</option>
            <option>B. Pharm</option>
            <option>D. Pharm</option>
            <option>B.Sc Nursing</option>
            <option>GNM</option>
          </select>
          <textarea class="ef-in" rows="3" placeholder="Your message or question (optional)"></textarea>
          <button type="submit" class="ef-submit" onclick="this.textContent='✓ Submitted! We\'ll call you within 24 hours.';this.style.background='#085041'">
            Submit enquiry →
          </button>
          <p class="ef-note">No spam. Your data is safe with us.</p>
        </form>
      </div>
    </div>
  </div>
</section>

<!-- FOOTER -->
<footer class="footer">
  <div class="wrap">
    <div class="footer-grid">
      <div class="f-brand">
        <div class="f-logo">
          <div class="f-logo-ico"><i class="ti ti-building-hospital"></i></div>
          <div class="f-logo-name">GS University</div>
        </div>
        <p>GS University, Hapur — a premier private medical university in Uttar Pradesh dedicated to delivering quality education in Medicine, Ayurveda, Pharmacy and Nursing Sciences since 2016.</p>
        <div class="f-contact">
          <div class="f-ci"><i class="ti ti-phone"></i> +91-8077793917 / 7055514515</div>
          <div class="f-ci"><i class="ti ti-mail"></i> admissions@gsuniversity.ac.in</div>
          <div class="f-ci"><i class="ti ti-map-pin"></i> NH-9, Hapur, Uttar Pradesh</div>
        </div>
        <div class="f-socials">
          <a href="#" class="fsoc" aria-label="Facebook"><i class="ti ti-brand-facebook"></i></a>
          <a href="#" class="fsoc" aria-label="Instagram"><i class="ti ti-brand-instagram"></i></a>
          <a href="#" class="fsoc" aria-label="YouTube"><i class="ti ti-brand-youtube"></i></a>
          <a href="#" class="fsoc" aria-label="LinkedIn"><i class="ti ti-brand-linkedin"></i></a>
        </div>
      </div>
      <div class="f-col">
        <h5>Programmes</h5>
        <a href="#">MBBS</a>
        <a href="#">MD / MS (PG)</a>
        <a href="#">BAMS</a>
        <a href="#">B. Pharm</a>
        <a href="#">D. Pharm</a>
        <a href="#">B.Sc Nursing</a>
        <a href="#">GNM</a>
      </div>
      <div class="f-col">
        <h5>Admissions</h5>
        <a href="#admissions">How to apply</a>
        <a href="#admissions">Fee structure</a>
        <a href="#admissions">Bank details</a>
        <a href="#">Education loan</a>
        <a href="#">Important dates</a>
        <a href="#">GSNET result</a>
      </div>
      <div class="f-col">
        <h5>University</h5>
        <a href="#">About GS University</a>
        <a href="#">Hospital</a>
        <a href="#campus">Campus life</a>
        <a href="#">Faculty</a>
        <a href="#">NIRF data</a>
        <a href="#">RTI</a>
        <a href="#contact">Contact us</a>
      </div>
    </div>
    <div class="f-bottom">
      <p>© 2025 GS University, Hapur, Uttar Pradesh · All rights reserved · Recognised by UGC under UP University Act, 2019</p>
      <div class="f-bottom-links">
        <a href="#">Privacy policy</a>
        <a href="#">Terms of use</a>
        <a href="#">RTI</a>
        <a href="#">NIRF</a>
        <a href="#">Anti-ragging</a>
        <a href="#">Grievance cell</a>
      </div>
    </div>
  </div>
</footer>

<!-- FLOATING BUTTON -->
<button class="float-cta" onclick="document.getElementById('contact').scrollIntoView({behavior:'smooth'})">
  <span class="f-dot"></span>
  <i class="ti ti-message-circle"></i> Talk to admissions
</button>

<script>
/* ── Dropdown: click to open / close ── */
document.querySelectorAll('.nav-item').forEach(item => {
  const link = item.querySelector('.nav-link');
  if(link) link.addEventListener('click', e => {
    const isOpen = item.classList.contains('open');
    document.querySelectorAll('.nav-item').forEach(i => i.classList.remove('open'));
    if(!isOpen) item.classList.add('open');
    e.stopPropagation();
  });
});
document.addEventListener('click', () => {
  document.querySelectorAll('.nav-item').forEach(i => i.classList.remove('open'));
});

/* ── Fee tab switcher ── */
function showFee(id, btn) {
  ['bpharm','dpharm','nursing','gnm','hostel'].forEach(k => {
    document.getElementById('fee-'+k).style.display = k===id ? 'block' : 'none';
  });
  document.querySelectorAll('.fee-tab').forEach(b => b.classList.remove('active'));
  btn.classList.add('active');
}

/* ── Active nav on scroll ── */
const sections = document.querySelectorAll('section[id]');
const navAs = document.querySelectorAll('.nav-link');
const obs = new IntersectionObserver(entries => {
  entries.forEach(e => {
    if(e.isIntersecting) {
      navAs.forEach(a => a.classList.remove('active'));
      const match = document.querySelector(`.nav-link[href="#${e.target.id}"]`);
      if(match) match.classList.add('active');
    }
  });
},{threshold:0.35});
sections.forEach(s => obs.observe(s));

/* ── Smooth scroll for anchor links ── */
document.querySelectorAll('a[href^="#"]').forEach(a => {
  a.addEventListener('click', e => {
    const t = document.querySelector(a.getAttribute('href'));
    if(t){e.preventDefault();t.scrollIntoView({behavior:'smooth',block:'start'})}
  });
});
</script>
</body>
</html>
