/* banner image */
.formbanner {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 2rem;
}

/* Enhanced Form Container */
form#form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Updated Input Fields & Textarea */
form#form .form-group input[type="text"],
form#form .form-group input[type="email"],
form#form .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  transition: border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

form#form .form-group input[type="text"]:focus,
form#form .form-group input[type="email"]:focus,
form#form .form-group textarea:focus {
  border-color: #00b0cc;
  box-shadow: 0 0 5px rgba(0, 176, 204, 0.5);
  outline: none;
}

/* Responsive Custom Select */
.custom-select {
  width: 100%;
  max-width: 500px;
  height: 50px;
  padding: 8px 12px;
  font-size: 16px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='%23999' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>") no-repeat right 10px center;
  background-size: 12px;
}

@media (max-width: 768px) {
  .custom-select {
    max-width: none;
    width: 100%;
  }
}

/* Enhanced Checkbox Styles */
form#form .checkbox input[type="checkbox"] {
  appearance: none;
  border: 2px solid #ccc;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

form#form .checkbox input[type="checkbox"]:checked {
  background-color: #00b0cc;
  border-color: #00b0cc;
}

form#form .checkbox input[type="checkbox"]:focus {
  box-shadow: 0 0 5px rgba(0, 176, 204, 0.5);
}

/* Enhanced Submit Button */
form#form .buy-button {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #fed200;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 1rem;
}

form#form .buy-button:hover {
  background-color: #e50106;
  color: #fff;
  transform: scale(1.02);
}
