

.about-section {
  padding: 0px 20px;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* .about-left {
  flex: 1;
  animation: slideFromLeft 0.8s ease-out forwards;
  transform: translateX(-100%);
  opacity: 0;
}

.about-right {
  flex: 1;
  animation: slideFromRight 0.8s ease-out forwards;
  transform: translateX(100%);
  opacity: 0;
  animation-delay: 0.2s;
} */

.about-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-heading {
  font-size: 2.5rem;
  color: #ED1D24;
  margin-bottom: 25px;
  font-weight: 800;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
  max-width: 500px;
}

.about-left {
  flex: 1;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.8s ease-out;
  overflow: hidden;
}

.about-right {
  flex: 1;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.8s ease-out 0.2s;
  overflow: hidden;
  /* 0.2s delay */
}

/* Animation Classes */
.about-left.animate {
  transform: translateX(0);
  opacity: 1;
  display: block;
}

.about-right.animate {
  transform: translateX(0);
  opacity: 1;
  display: block;
}
/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 0;
    padding: 0  !important;
  }

    .about-section {
      padding: 0px ;
    }

  .about-left,
  .about-right {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .about-heading {
    font-size: 2rem;
    margin: 0;
  }

    .about-image {
      max-width: 400px;
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

  .about-description {
    font-size: 1rem;
    margin: 0 auto ;
    padding: 10px 0;
  }

  /* Adjust animations for mobile */
  .about-left {
    animation: slideFromLeft 0.8s ease-out forwards;
  }

  .about-right {
    animation: slideFromRight 0.8s ease-out forwards;
  }
}

@media (max-width: 480px) {
  .about-heading {
    font-size: 1.75rem;
  }

  .about-description {
    font-size: 0.95rem;
    padding: 0 20px;
  }
}
