<link rel="stylesheet" href="css/form.css">
<link href="https://fonts.googleapis.com/css?family=Changa&display=swap" rel="stylesheet">
  <div class="order-form" style=" direction: rtl; ">
        <div class="order-form-title">اختر المنتج والبلد</div>
        <form action="" id="order-form">
          <div class="form-group">
            <p>اختر الدولة / Select Your Country</p>
            <select name="" id="" required>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
            </select>

          </div>
          

          <div class="form-group" id="packages">
            <p>اختر المنتج / Select Your Package</p>
            
            <div class="radio">
              <input type="radio" name="package" id="paket1" value="Paket 1"  required>
              <label for="paket1"><img src="img/paket1.png?v2" alt=""></label>
              <div class="package-price">109 دينار كويتي</div>
            </div>
            <div class="radio">
              <input type="radio" name="package" id="paket2" value="Paket 2"  required>
              <label for="paket2"><img src="img/paket2.png?v2" alt=""></label>
              <div class="package-price">179 دينار كويتي</div>
            </div>
			   <div class="radio">
              <input type="radio" name="package" id="paket3" value="Paket 3"  required>
              <label for="paket3"><img src="img/paket3.png?v2" alt=""></label>
              <div class="package-price">259 دينار كويتي</div>
            </div>
			
          </div>

          <div class="order-form-title">معلومات المشتري</div>

          <div class="form-group">
            <p>الاسم والكنية / Name & Surname</p>
            <input type="text"  required>
            <img src="assets/img/user-icon.png" class="user-icon" alt="">
          </div>

          <div class="form-group">
            <p>اختر الدولة / Select Your Country</p>
            <select name="" id=""  required>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
              <option value="">Kuwait</option>
            </select>
          </div>

          <div class="form-group">
            <p>رقم الهاتف / Phone Number</p>
            <div class="phone-inputs">
              <input type="tel" class="tel-no" required" >
              <select name="" id="" class="alan-kodu" required>
                <option value="">+966</option>
                <option value="">+965</option>
                <option value="">+964</option>
                <option value="">+963</option>
                <option value="">+962</option>
              </select>
            </div>
          </div>

          <div class="form-group">
            <p>العنوان الكامل / Address</p>
            <textarea name="" id="" cols="30" rows="10"  required></textarea>
            <img src="assets/img/map-icon.png" class="map-icon" alt="">
          </div>

          <button class="order-form-submit"><img src="assets/img/button-red.png" alt=""></button>

          <div class="form-checkbox">
            <input type="checkbox" id="sozlesme">
            <label for="sozlesme">أوافق على دقة المعلومات المقدمة</label>
          </div>
        </form>
	
      </div>
	  
	 <script>

      $(document).ready(function(){
        $('.tel-no').keypress(function(evt){
          var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;

            return true;
        })
      })

      $(document).scroll(function() {
        var offsetTop = $("#order-form").offset().top;
        var y = $(this).scrollTop();
        if (y > 400 && y < offsetTop) {
          $('.sticky').fadeIn();
        }else{
          $('.sticky').fadeOut();
        }
      });
      $(document).on('click', 'a[href^="#"]', function (event) {
        event.preventDefault();

        $('html, body').animate({
            scrollTop: $($.attr(this, 'href')).offset().top
        }, 500);

    });

    </script>