body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #001f3f, #000814);
  color: #fff;
  margin: 0;
  padding: 0;
}

.contact-section {
  max-width: 600px;
  margin: 5% auto;
  background-color: rgba(0, 0, 40, 0.6);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.form-title {
  color: #ffd700;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 20, 0.8);
  color: #fff;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #ffcc00;
  color: #000;
  border: none;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
}

.btn-primary:hover {
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.9);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #ffcc00;
  border: 1px solid #ffcc00;
}

.btn-secondary:hover {
  background-color: rgba(255, 204, 0, 0.1);
}

/* Status box: slide + fade + glow */
.status-box {
  margin-top: 1rem;
  min-height: 1.2rem;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.status-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.status-box.sending {
  color: #ffcc00;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
}

.status-box.success {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.9);
}

.status-box.error {
  color: #ff5555;
  text-shadow: 0 0 10px rgba(255, 85, 85, 0.9);
}

/* Modal overlay + fade-in */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal {
  background: rgba(0, 0, 40, 0.95);
  padding: 1.8rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  max-width: 420px;
  text-align: center;
  animation: modal-pop 0.3s ease-out;
}

.modal h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

@keyframes modal-pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form-row select {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 20, 0.8);
  color: #fff;
  outline: none;
}

.form-row select:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

.star-rating {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.star {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.star:hover,
.star.active {
  color: #ffcc00;
  transform: translateY(-1px);
}
.rating-error {
  color: #ff5555 !important;
  text-shadow: 0 0 10px rgba(255, 85, 85, 0.9);
  font-weight: 600;
}
#rating-text {
  display: block;
  margin-top: 0.4rem;
  color: #ffcc00;
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input {
  width: auto;
}
