body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #2d2d2d;
  line-height: 1.6;
}

.hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: linear-gradient(to right, #cbe9f5, #dff2fb, #eaf6fc);
  color: #1a202c;
  border-bottom: 2px solid #cbd5e0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 0.95rem;
  color: #718096;
}

/* Animation */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contact Section */
main {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

.contact h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

/* Form Styles */
.contact-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-weight: bold;
  color: #2d3748;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  background-color: #f0f4f8;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  color: #2d2d2d;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3182ce;
  box-shadow: 0 0 5px rgba(49, 130, 206, 0.5);
  outline: none;
}

.submit-btn {
  background-color: #3182ce;
  color: #fff;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #256fb0;
  transform: scale(1.03);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Responsive */
@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }
}
