.about-section {
  padding: 80px 5%;
  background: #f8f9fa;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* left %60 */
.about-text {
  flex: 0 0 60%;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.about-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #333;
}

/* right %40 */
.about-slider {
  flex: 0 0 40%;
  overflow: hidden;
  border-radius: 20px;
}

.slider {
  display: flex;
  width: 200%;
  animation: slideSwitch 6s infinite steps(1);
}

.slider img {
  width: 50%;
  object-fit: cover;
}

/*Instant */
@keyframes slideSwitch {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}


@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-slider {
    flex: 0 0 100%;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}
