.hero {
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('/assets/images/families_hero.png') no-repeat center center;
    background-size: cover;
}

.hero h1 {
    font-size: 4rem;
    line-height: 4rem;
}

.hero-minus-bar {
    height: 100%;
    width: 50%;
    margin-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align: start;
    gap: 2rem;
}


.mobile-background-image-container {
    display: none;
}

.hero-mobile-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    object-fit: cover;
}

.info-section-1 {
    background-color: white;
}

@media (max-width: 768px) {

  .hero{
    height: 100dvh;           
    background: none; 
    text-align: center;
  }

  .hero h1 {
      margin-top: 2rem;
      font-size: 3rem;
      text-align: center;
      padding: 0 2rem;
  }

  .hero p {
      text-align: center;
      padding: 0 2rem;
  }

  .hero-minus-bar{
    flex: 1;                   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    margin-left: 0;
    width: 100%;
  }

  .mobile-background-image-container{
    display: flex;                  
    flex: 1 0 auto;                 
    width: 100%;
  }

  .hero-mobile-image{
    width: 100%;
    height: 100%;                  
    object-fit: cover;
  }
}
