/* ================= HERO WRAPPER ================= */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

/* LEFT COLUMN: image on top, text under */
.hero-content {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  /* stack image above text */
  gap: 1.5rem;
  min-width: 300px;
}

/* ================= HERO IMAGE ================= */
.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-image img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 15%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Name under image */
.hero-name {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* ================= HERO TEXT ================= */
.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero-text p {
  max-width: 520px;
  color: var(--text-dark);
}

.hero-highlights {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--text-dark);
}

.hero-highlights li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.hero-highlights li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* ================= HERO CARD (Right column) ================= */
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid rgba(192, 214, 223, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.045);
  flex: 0 0 340px;
  align-self: flex-start;
  /* fixed width column */
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* Size of message text box*/
.message-textarea {
  height: 7rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .hero-card {
    width: 100%;
  }
}

@media (max-width: 850px) {
  .hero-text p {
    margin: 0 auto;
  }
}

@media (max-width: 650px) {
  .hero {
    padding-top: 3.2rem;
    padding-bottom: 0;
  }

  .hero-content {
    gap: 0;
  }

  .hero-text .hero-highlights p {
    margin: 0;
    text-align: left;
  }
}