* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.contact-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.contact-card {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.contact-card h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #667eea;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #5563d6;
}

.alert.success {
  background: #e6fffa;
  color: #047857;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 14px;
  text-align: center;
}

/* Mobile */
@media (max-width: 480px) {
  .contact-card {
    padding: 18px;
  }
}