 @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&family=Roboto:wght@100..900&display=swap');
 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: jameel-noori;
            font-family:  "Nastaliq Urdu", "Plus Jakarta Sans", "Roboto", "Jameel Noori Nastaleeq", "Tahoma", sans-serif;
        }

        body {
            background: #f8f8f8;
            color: #222;
            line-height: 1.8;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* HEADER SECTION */
        header {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 10px 0;
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 100;
          }
          
          .nav {
            justify-content: center;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1200px;
            padding: 0 20px;
        }

        .about {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            width: 45%;
        }

        .about a {
            text-decoration: none;
            color: #000;
            font-size: clamp(0.8rem, 2vw, 1.2rem);
            font-weight: 600;
            padding: 5px;
            white-space: nowrap;
        }

        .logo img {
            height: 8vh;
            max-height: 60px;
            width: auto;
        }

        .search {
            margin-left: 10px;
            font-size: clamp(1rem, 3vw, 1.3rem);
        }

        /* MAIN CONTENT */
        .content {
          box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            /* background-color: #eb3838; */
            width: 80%;
            padding: 20px;
        }

        .heading {
            text-align: center;
            height: auto;
            min-height: 20vh;
            width: 100%;
            max-width: 800px;
            background-image: url(images/bg-tit.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            color: #242828;
            font-size: clamp(1.2rem, 4vw, 2rem);
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .img {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 800px;
            margin: 20px 0;
        }

        .img img {
            width: 100%;
            height: auto;
            max-height: 50vh;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .text {
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            max-width: 800px;
            padding: 20px;
            margin: 20px 0;
            background-color: #fff;
            border-radius: 10px;
        }

        .para {
            text-align: right;
            line-height: 1.8;
            width: 100%;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }

        .card {
            border-radius: 12px;
            width: 100%;
            max-width: 800px;
            padding: 20px;
            margin: 20px 0;
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .card h2 {
            text-align: center;
            color: #2f3542;
            margin-bottom: 20px;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
        }

        .card ul {
            text-align: right;
            list-style-type: '✔️';
            direction: rtl;
            padding-right: 20px;
            color: #2d3436;
            line-height: 1.8;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }
        
        .card p {
            text-align: right;
            margin-top: 20px;
            color: #332f2f;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }

        /* PRECAUTIONS SECTION */
        .precautions {
            width: 100%;
            max-width: 800px;
            direction: rtl;
            text-align: right;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .precautions h2 {
            color: #005c5c;
            border-right: 5px solid #ff9900;
            padding: 5px 15px;
            margin: 20px 0;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
        }

        .precautions ol, .precautions ul {
            padding: 10px 20px;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }

        .precautions li {
            margin-bottom: 12px;
        }

        .last-sec {
            width: 100%;
            max-width: 800px;
            text-align: right;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .image-prod {
            margin: 20px auto;
            padding: 15px;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
            text-align: center;
            background: linear-gradient(to bottom right, #e0f7fa, #fff);
        }

        .image-prod img {
            width: 100%;
            max-width: 300px;
            border-radius: 12px;
            border: 4px solid #009688;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        /* SPINNER SECTION */
        .wheel {
      font-family: Arial, sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 83%;
      border-radius: 8px;
      padding: 40px 20px;
      background: linear-gradient(to right, #f0b7ef, #f8f7e9);
      margin: 20px 0;
    }

    .spinner-container {
      position: relative;
      width: 100%;
      max-width: 300px;
      aspect-ratio: 1/1;
      margin: 20px auto;
    }

    .spinner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: conic-gradient(
        #ff9999 0% 20%,
        #99ff99 20% 40%,
        #9999ff 40% 60%,
        #ffff99 60% 80%,
        #ff99ff 80% 100%
      );
      position: relative;
      transition: transform 3s cubic-bezier(0.17, 0.67, 0.62, 0.99);
      transform: rotate(0deg);
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .spinner::after {
      content: '';
      position: absolute;
      width: 15px;
      height: 15px;
      background-color: #fff;
      border: 3px solid #333;
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }

    .pointer {
      position: absolute;
      top: -5px;
      left: 40%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 12px solid transparent;
      border-right: 12px solid transparent;
      border-top: 25px solid #333;
      z-index: 10;
    }

    .discount-label {
      position: absolute;
      font-weight: bold;
      color: #333;
      width: 30px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      transform-origin: center;
      left: 45%;
      top: 42%;
      rotate: -17deg;
      font-size: clamp(0.8rem, 3vw, 1rem);
    }

    .spin-btn {
      padding: 12px 24px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: clamp(1rem, 3vw, 1.2rem);
      transition: all 0.3s;
      margin: 15px 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      width: 80%;
      max-width: 200px;
    }

    .spin-btn:hover {
      background-color: #45a049;
      transform: translateY(-2px);
    }

    .spin-btn:disabled {
      background-color: #cccccc;
      cursor: not-allowed;
      transform: none;
    }

    .result {
      margin: 20px 0;
      font-size: clamp(1rem, 4vw, 1.6rem);
      font-weight: bold;
      color: #333;
      text-align: center;
      padding: 10px 15px;
      background: #fff8f0;
      border: 1px solid #eee;
      border-radius: 10px;
      opacity: 0;
      transition: opacity 0.5s;
    }

    .visible {
      opacity: 1;
    }

        /* FORM SECTION */
        .form {
            background: linear-gradient(to right, #e0f7fa, #f1f8e9);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 83%;
            border-radius: 8px;
            padding: 40px 20px;
            direction: rtl;
        }
        
        .form-container {
            background-color: #fff;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 500px;
        }

        .form-container h2 {
            text-align: center;
            color: #004d40;
            margin-bottom: 20px;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 6px;
            color: #333;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }
        
        .form-group input{
            text-align: right;
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
        }

        .submit-btn {
            width: 100%;
            padding: 12px;
            background-color: #009688;
            color: #fff;
            font-size: clamp(1rem, 3vw, 1.2rem);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s;
            margin-top: 10px;
        }

        .submit-btn:hover {
            background-color: #00796b;
        }

        /* RESPONSIVE ADJUSTMENTS */
        @media ( max-width: 968px) {
            .nav {
                flex-direction: column;
                gap: 15px;
            }
            
            .about {
                width: 100%;
                justify-content: space-around;
                flex-wrap: wrap;
            }
            
            .logo {
                order: -1;
            }
            
            .search {
                margin: 10px 0;
            }
            
            .heading {
                min-height: 15vh;
            }
              .content {
                width: 100%;
            } 
            .wheel {
                width: 100%;
            }
             .form {
                width: 100%;
                 border-radius: 8px;
            }
            
            .spinner-container {
                max-width: 250px;
            }
            
            /* .discount-label {
                width: 25px;
                height: 25px;
                line-height: 25px;
            } */
        }

        @media (max-width: 480px) {
            .about a {
                font-size: 0.8rem;
                padding: 3px;
            }
            .about {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            /* background-color: #b80c0c; */
            width: 60%;
        }
            
            .heading {
                padding: 10px;
            }
          
            .spinner-container {
                max-width: 200px;
            }
           
            
            .pointer {
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-top: 16px solid #333;
                top: -3px;
            }
            
            .spin-btn {
                padding: 10px 20px;
            }
            
            .form-container {
                padding: 20px;
            }
            .spinner-container { max-width: 250px; }
            .discount-label {
                width: 35px;
                height: 35px;
                margin-left: -3.5px;
                margin-top: -4.5px;
    }
        }