.reach-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.subnav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.subnav-btn {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.subnav-btn.active,
.subnav-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.form-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.active-form {
  display: block;
}

label {
  font-weight: 500;
  margin-bottom: 4px;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stop-field {
  animation: fadeIn 0.3s ease;
}

.vehicle-selection {
  margin-top: 2rem;
}

.vehicle-selection h5 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.vehicle-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* max 3 columns */
  gap: 1rem;
  justify-content: center;
  max-width: 100%;
}

@media (min-width: 992px) {
  .vehicle-options {
    grid-template-columns: repeat(3, 1fr); /* exactly 3 columns on large screens */
  }
}

@media (max-width: 991px) {
  .vehicle-options {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 600px) {
  .vehicle-options {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}


.vehicle-options input[type="radio"] {
  display: none;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light-bg);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1rem 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.vehicle-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.vehicle-card .vehicle-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.vehicle-card small {
  color: #666;
  font-size: 0.85rem;
}

.vehicle-options input[type="radio"]:checked + .vehicle-card {
  border-color: var(--primary);
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.vehicle-options input[type="radio"]:checked + .vehicle-card small {
  color: #f9f9f9;
}


/* Terms and Conditions Notice */
.terms{
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.terms a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.terms a:hover {
  color: var(--primary-dark);
  text-decoration: underline;   
}
