/* About Page Wrapper */
.about-page {
    background-color: #ffffff; /* Subtle, professional gray background */
    padding-top: 100px;       /* Space for the fixed navbar */
    min-height: 100vh;        /* Ensure full viewport height if needed */
  }
  
  /* Individual About Sections */
  .about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto; /* Center the content horizontally */
  }

  /* Set up the initial state for fade-in */
  .about-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  /* When in view, add the "visible" class */
  .about-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Images */
  .about-image {
    flex: 1;
    max-width: 50%;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* Text Content */
  .about-content {
    flex: 1;
    max-width: 50%;
  }
  
  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
  }
  
  /* Responsive: Stacking image above text on mobile */
  @media (max-width: 768px) {
    .about-section {
      flex-direction: column; /* Stack vertically */
      text-align: center;     /* Center text on mobile */
    }
  
    .about-image {
      max-width: 100%; /* Image takes full width */
      margin-bottom: 20px;
    }
  
    .about-content {
      max-width: 100%;
    }
  }
  