/* hero for About Us Page */
.about-hero {
    background: linear-gradient(270deg, #7f42a7, #5300a0);
    background-size: 400% 400%;
    animation: backgroundLoop 6s ease infinite;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .about-hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .underline {
    width: 60px;
    height: 4px;
    background-color: white;
    margin: 1rem auto 1.5rem auto;
    border-radius: 2px;
  }
  
  .about-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.7;
  }
  
  .about-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: #f9f9f9;
  }
  
  .about-content {
    flex: 1 1 500px;
    padding: 2rem;
  }
  
  .about-content h2 {
    color: #5300a0;
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  
  .about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
  }
  
  .about-image {
    padding: 2rem;
    text-align: center;
  }
  
  .about-image img {
    width: 50%;
    max-width: 450px;
    border-radius: 15px;
    
  }
  

  @keyframes backgroundLoop {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  

  @media (max-width: 768px) {
    .about-main {
      flex-direction: column;
    }
  
    .about-content, .about-image {
      flex: 1 1 100%;
      text-align: center;
    }
  
    .about-hero-content h1 {
      font-size: 2.2rem;
    }
    .about-image img{
      width: 50%
    };
  }
  