.contact-wrapper {
  max-width: 700px;
  margin: auto;
  padding: 40px 16px 60px;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-header p {
  color: #6b7280;
}

.contact-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  flex: 1;
}

.input-group label {
  margin-bottom: 6px;
}

.input-group input,
.input-group textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #4f46e5;
  outline: none;
}

.error {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

/* Checkbox */

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.custom-checkbox {
  position: relative;
}

.custom-checkbox input {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid #4f46e5;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
  background: #4f46e5;
  position: relative;
  animation: tick 0.3s ease;
}

.custom-checkbox input:checked + .checkmark::after {
  content: "✔";
  color: white;
  position: absolute;
  left: 4px;
  top: -1px;
}

@keyframes tick {
  0% { transform: scale(0.7); }
  100% { transform: scale(1); }
}

.btn-primary {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #4338ca;
}

.success-message {
  margin-top: 15px;
  color: green;
  font-weight: 500;
}