.hero {
  align-items: center;
  color: white;
  display: flex;
  height: 500px;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: -38px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.hero::before {
  background: rgba(0, 0, 0, .1);
  content: '';
  inset: 0;
  position: absolute;
}

.hero-content {
  height: 100%;
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-content img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wrapper {
  margin: 0 20px;
}

.main-heading {
  margin: 0 auto;margin-top: 60px;
  max-width: 1000px;
  text-align: left;
}

.main-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  margin: 0 auto;
  max-width: 1000px;padding: 55px 40px 30px;
  text-align: left;;
}

.main-heading h1 {
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.main-section h2 {
  color: #1f2937;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}

.main-section p {
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .hero {
    height: 300px;
    margin-top: 0;
  }

  .wrapper {
    margin: 0;
  }

  .main-section h2 {
    font-size: 1.5rem;
  }

  .main-section {
    padding: 2rem 1.2rem .7rem;
  }
}

.form {
  align-items: flex-start; background: #f9fafb; border-radius: 12px;
  display: flex; gap: 1.5rem; margin-bottom: 1.5rem;padding: 1.5rem;
}

.envelope {
  color: #2563eb;
  flex-shrink: 0; height: 24px; margin-top: .25rem;width: 24px;
}

h3 {
  font-weight: 500; margin-bottom: .5rem;
}

a.email {
  color: #2563eb; text-decoration: none;
}

a.email:hover {
  border-bottom: 1px solid #2563eb;opacity: .8;
}

a.email:focus {
  color: #2563eb; outline: none;text-decoration: none;
}

.respond {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem;
}

.respond p {
  color: #6b7280; font-style: italic; margin-bottom: 0;
}
