/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-section img.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

/* Form Box */
.form-box {
  background: #fff;
  width: 600px;
  max-width: 95%;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.form-header {
  background: #641b9d;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1.5rem;
  font-weight: bold;
}

.form-body {
  padding: 20px;
}

.form-body h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group input:hover,
.form-group select:hover {
  border-color: #641b9d;
  outline: none;
  box-shadow: 0 0 5px rgba(100, 27, 157, 0.5);
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 15px;
  align-items: center;
}
.radio-group label {
  font-size: 0.95rem;
  cursor: pointer;
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.btn {
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s ease;
}

.btn-primary {
  background: #641b9d;
  color: #fff;
}

.btn-primary:hover {
  background: #4b1376;
}

.btn-secondary {
  background: #ccc;
  color: #000;
}

.btn-secondary:hover {
  background: #999;
}

/* Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Agreement */
.agreement {
  font-size: 0.8rem;
  color: #333;
  margin-top: 10px;
  line-height: 1.4;
}
.agreement a {
  color: #641b9d;
  text-decoration: none;
}
.agreement a:hover {
  text-decoration: underline;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
.toast {
  background: #333;
  color: #fff;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.success {
  background: #28a745;
}
.toast.error {
  background: #dc3545;
}

/*  Responsive Styles */
@media (max-width: 992px) {
  .form-box {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr; /
  }
  .form-actions {
    flex-direction: column; 
  }
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-header {
    font-size: 1.2rem;
    padding: 10px;
  }
  .form-body h3 {
    font-size: 1rem;
  }
  .form-group input,
  .form-group select {
    font-size: 0.9rem;
    padding: 8px;
  }
  .btn {
    font-size: 0.9rem;
    padding: 10px;
  }
}
