@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fadeIn {
    animation: fadeIn 1.2s ease-out;
  }

  
  @media (min-width: 769px) {
    section {
      background-size: cover;
      background-position: right center;
      transform: scale(1);
      animation: bgZoom 12s ease-in-out infinite alternate;
    }
  }

  
  @media (max-width: 768px) {
    section {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      background-size: 100%;
      background-position: top center;
      min-height: 100vh;
      padding-top: 16rem; 
    }

    .hero-content {
      background: rgba(255, 255, 255, 0.85);
      padding: 1.5rem;
      border-radius: 1rem;
      margin-top: auto;
    }

    h1 {
      font-size: 2rem;
      line-height: 2.4rem;
    }

    p {
      font-size: 1rem;
    }
  }