.hero {
  position: relative;
  background: linear-gradient(90deg, var(--lighter-primary-color), var(--darker-primary-color));
  text-align: center;
  display: flex;
  flex-direction: column;
}

.hero-image {
  padding: 10px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  margin: auto;
}

.card {
  flex-direction: column;
  position: relative;
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: .5rem 1rem;
  margin: -50px 1rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.cta-container-desktop {
  border-bottom: none;
  background: transparent;
  color: #fff;
  gap: .5rem;
  display: none;
  flex-direction: column;
}

.cta-container-mobile {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-bottom: 1px dotted black;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.cta-container-header {
  font-size: 1.3rem;
}

.cta-container-text {
  font-size: 1rem;
  line-height: 1;
}

.phone-btn {
  display: block;
  background: linear-gradient(90deg, var(--lighter-primary-color), var(--darker-primary-color));
  color: #fff;
  font-weight: 700;
  padding: .5rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 auto;
  width: 100%;
}

.subtext {
  font-style: italic;
}


@media (min-width: 767px) {
  .hero {
    position: static;
    flex-direction: row;
    padding: 2rem;
    justify-content: space-evenly;
  }

  .hero-image {
    flex: 1; /* make both equal width */
    max-width: 600px; /* optional: limit how wide they can get */
  }

  .hero-image img {
  }



  .card {
    flex: 1; /* make both equal width */
    max-width: 600px; /* optional: limit how wide they can get */
    position: static;
    padding: 1rem;
    margin: 0;
  }

  .cta-container-mobile {
    display: none;
  }

  .cta-container-desktop {
    display: flex;
    flex-direction: column;
  }

  .phone-btn {
    display: block;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    padding: .5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 auto;
    width: 100%;
  }
}