<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Sagarawat Electricals — A Tradition Of Trust</title>
<meta name="title" content="Sagarawat Electricals — A Tradition Of Trust">
<meta name="description" content="UPI Payment Page - Scan and Pay Now!">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://sagarawat.in.pay">
<meta property="og:title" content="Sagarawat Electricals — A Tradition Of Trust">
<meta property="og:description" content="UPI Payment Page - Scan and Pay Now!">
<meta property="og:image" content="https://sagarawat.in/assets/Pay%20Page%20Header.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/jpeg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://sagarawat.in/pay">
<meta property="twitter:title" content="Sagarawat Electricals — A Tradition Of Trust">
<meta property="twitter:description" content="UPI Payment Page - Scan and Pay Now!">
<meta property="twitter:image" content="https://sagarawat.in/assets/Pay%20Page%20Header.jpg">
    <title>Pay To Sagarawat Electricals</title>
    <link rel="icon" type="image/png" href="Favicon.ico">
</head>
<body>
    <header>
        <nav>
            <a href="/" class="logo">
                <img src="assets/HeaderLogo.svg" alt="Logo" loading="lazy">
            </a>
            <ul class="nav-menu">
                <li><a href="/">Home</a></li>
                <li><a href="/about">About</a></li>
                <li><a href="https://api.whatsapp.com/send/?phone=<PRESIDIO_ANONYMIZED_PHONE_NUMBER>">Contact</a></li>
            </ul>
            <div class="nav-toggle">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </nav>
    </header>
    <main>
<section class="hero">
    <div class="hero-content">
        <h1>Pay To Sagarawat Electricals</h1>
        <p>Click on the Following Button or Scan The Following QR Code To Pay via UPI, all applications are Supported !</p>
        <a href="upi://pay?pa=paytmqr1am6ji1b2g@paytm&pn=Sagarawat%20Electricals" class="btn" target="_blank">Click To Pay !</a>
    </div>
    <div class="hero-image">
        <a href="upi://pay?pa=paytmqr1am6ji1b2g@paytm&pn=Sagarawat%20Electricals">
          <img src="/assets/UPI.webp" alt="UPI Apps" loading="lazy">
        </a>
        <a href="upi://pay?pa=paytmqr1am6ji1b2g@paytm&pn=Sagarawat%20Electricals">
          <img src="/assets/QRCode.png" alt="UPI QR Code" loading="lazy">
        </a>
        <a href="https://api.whatsapp.com/send/?phone=<PRESIDIO_ANONYMIZED_PHONE_NUMBER>" class="whatsapp-btn">
          <i class="fab fa-whatsapp"></i> Contact us on WhatsApp
        </a>
      </div>
</section>

    </main>
    <h4 style="text-align: center;"><a href="/bankdetails" style="text-decoration: none; color: #ff6600;">Click Here !</a> to Find Bank Details For RTGS/NEFT.</h4>
    <div class="footer-content">
        <hr> 
    <div class="footer-content">
        <p>&copy; <span id="copyrightYear"></span> Sagarawat Electricals, 25-26 Dr. Bhabha Marg, Near Private Bus Stand, Neemuch M.P. - 458441 | Contact : 7423220808, 7423452808 |</p>
    </div>
    <script>
        // Get the current year and update the copyright year
        var currentYear = new Date().getFullYear();
        document.getElementById("copyrightYear").textContent = currentYear;
        // Toggle mobile navigation
        const navToggle = document.querySelector('.nav-toggle');
        const navMenu = document.querySelector('.nav-menu');
        navToggle.addEventListener('click', () => {
            navMenu.classList.toggle('active');
        });
    </script>
</body>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
  body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
  display: flex; 
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: scroll;
}
  main {
  flex: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: -70px; 
}
      h1, h2, h3 {
          font-family: 'Poppins', sans-serif;
      }
      header {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          background-color: #fff;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          z-index: 999;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 10px 10px;
      }
      nav {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
      }
      .logo img {
          max-width: 200px;
          height: auto;
      }
      .nav-menu {
          list-style: none;
          display: flex;
          margin-left: auto;
          margin-right: 20px;
      }
      .nav-menu li {
          margin-right: 20px;
      }

      .nav-menu li a {
          text-decoration: none;
          color: #333;
          font-weight: 700;
          transition: color 0.3s ease;
      }
      .nav-menu li a:hover {
          color: #ff6600;
      }
      .nav-toggle {
          display: none;
      }
      .hero {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          padding: 80px 20px;
          height: auto;
          flex: 1 0 auto;
          display: flex;
          flex-direction: column;
      }
      .hero-content {
          max-width: 500px;
          text-align: left;
      }
      .hero-content h1 {
          font-size: 36px;
          margin-bottom: 5px;
          line-height: 1.2;
      }
      .btn {
          display: inline-block;
          padding: 12px 24px;
          background-color: #ff6600;
          color: #fff;
          text-decoration: none;
          border-radius: 111px;
          transition: background-color 0.3s ease;
      }
      .btn:hover {
          background-color: #e65c00;
      }
      .hero-image {
          display: flex;
          flex-direction: column-reverse; 
          justify-content: center;
          align-items: center;
          max-width: 400px;
      }
      .whatsapp-btn {
      display: inline-flex;
      align-items: center;
      padding: 12px 24px;
      background-color: #28a745;
      color: #fff;
      text-decoration: none;
      border-radius: 111px;
      transition: background-color 0.3s ease;
      margin-top: 10px;
      }
      .whatsapp-btn i {
      font-size: 1.5rem; 
      margin-right: 8px;
      }
      .whatsapp-btn:hover {
          background-color: #208837;
      }
      .footer-content {
          text-align: center;
      }
      @media (max-width: 768px) {
          .nav-toggle {
              display: block;
              margin-left: auto;
              margin-right: 30px;
          }

          .nav-toggle span {
              display: block;
              width: 25px;
              height: 3px;
              background-color: #333;
              margin-bottom: 5px;
          }

          .nav-menu {
              display: none;
              flex-direction: column;
              align-items: flex-start;
              position: absolute;
              top: 80px;
              left: 0;
              width: 100%;
              background-color: #fff;
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
              padding: 20px;
          }

          .nav-menu.active {
              display: flex;
          }

          .nav-menu li {
              margin-right: 0;
              margin-bottom: 10px;
          }
          .hero-image {
              flex-direction: column;
              justify-content: center;
          }
          .hero-image img:first-child {
              width: auto;
              max-width: 100%;
          }
          .hero-content {
              text-align: center;
          }
      }
      @media (min-width: 769px) {
          .hero {
              flex-direction: row;
              align-items: center;
              justify-content: center;
              }
          .hero-content {
              text-align: left;
              margin-right: 40px;
          }
          .hero-image {
              flex-direction: column;
              align-items: center;
              width: auto;
              max-width: 400px;
          }
      }
      img {
          max-width: 100%;
          height: auto;
      }
  </style>
</html>




this is the code for a page with UPI qr code which enables users to pay our business by scanning the qr code in any UPI application. Now what I want it remove the qr code image form the block insted generate a qr code form the js fr the url "upi://pay?pa=Q625192146@ybl&pn=SagarawatElectricals&am=x&mam=1" what i want you to do is first, fr the qr code you geenrate on the pay page donot ue am =x in that and second i want a functionality that if i write www.sagarawat.in/pay?5412 then that 5412 should be written in place of am and the qr code should be generated with respect to the amount specified in the url slug by ?, did you understand? I need the whole code written and modified by you and also remeber not to hurry and make mistakes in wirting the cde always think patiently and then writ ethe best bug free code. if you have any queries first ask me and then proceed with writing the code hey when I specify no amount the qr code should be generated with the &am= text because smetimes it is not required to specify amount to the consumer so please remember this