* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f7f7f7;
  color: #333;
  padding: 40px 20px;
}

.contact-section {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2980b9;
  outline: none;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #2980b9;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #1e6ea7;
}
.success-message {
  background-color: #d4edda;
  color: #155724;
  font-size: 14px;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  text-align: center;
}

@media (max-width: 600px) {
  .contact-section {
    padding: 20px;
    border-radius: 8px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px;
  }

  button[type="submit"] {
    font-size: 15px;
    padding: 12px;
  }

  .contact-section h2 {
    font-size: 20px;
  }
}

.error-message {
  color: red;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}
