.earnest-hero-bootstrap {
  background-size: cover;
  background-position: center right; /* Keeps the illustration visible on the right */
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-text-content h1 {
  color: #000;
  font-size:45px;
}

/* Custom button color to match your design */
.btn-primary {
  background-color: #007cc3 !important;
  border-color: #007cc3 !important;
  padding: 12px 30px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .earnest-hero-bootstrap {
        align-items: normal;
        background-position: 100% 100%;
        background-size: 180%;
        height: 812px;
        overflow: hidden;
        padding-top: 85px;
        text-align: center;
    }
  }
  .hero-text-content {
    padding: 20px;
    border-radius: 8px;
  }
}