body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 50px;
  overflow-x: hidden;
}
.loop {
  border-radius: 50px;
}
#payBtn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#paymentDetails {
  margin-top: 20px;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 8px;
  background: #f9f9f9;
  display: none; /* hidden by default */
}
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  .logo {
    width: 100%;       /* take full width */
    padding: 15px;     /* reduce padding */
  }

  form {
    width: 100%;       /* form adapts */
    margin: 0 auto;
  }

  input, select, textarea {
    font-size: 14px;   /* smaller text */
    padding: 8px;
  }

  #reg, #payBtn {
    width: 100%;       /* buttons stretch nicely */
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    padding: 10px;     /* even tighter on very small phones */
  }

  input, select, textarea {
    font-size: 13px;
    padding: 7px;
  }

  #reg, #payBtn {
    font-size: 14px;
    padding: 8px;
  }
}
#paymentDetails p {
  margin: 8px 0;
}
.logo {
  position: relative;
  margin-top: 30px;
  width: 600px;
  margin: auto;
   width: 100%;              /* flexible width */
  max-width: 600px; 
  padding: 30px;
  background: rgba(255, 255, 255, 0.8); 
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  overflow: hidden;
    box-sizing: border-box; 
}
/* Group file upload neatly */
.upload-field {
  margin-top: 30px;
  text-align: left;  /* aligns text properly inside form */
}

.upload-field label {
  display: block;
  font-weight: bold;
  margin-top: 20px;
}

.upload-field input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}

 .btn {
    padding-top: 50px;
  }
   #reg {
    padding: 10px 15px;
    background-color: blue;
    color: #f1f1f1;
    border-radius: 5px;
    margin-bottom: 50px;
    border: 1px;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
  }
  #reg:hover {
    background-color: #f1f1f1;
    color: #1C1C1C;
  }

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  pointer-events: none;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./logo.jpg") center/contain no-repeat;
  filter: blur(6px);   /* makes it blurry */
  opacity: 0.2;        /* makes it faint */
  z-index: 0;
}
form {
  margin-top: 30px;
  margin-bottom: 40px;
  max-width: 500px;
  width: 90%;
}
label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
}
.logo {
  position: relative;
  z-index: 1; /* keeps form above the blurred background */
}