/* About 5: Text left, Image with decorative shadow right */
.about5 {
  width: 100%;
  padding: 80px 40px;
  background-color: var(--main-bg);
}

.about5-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about5-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.about5-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.1;
  font-family: Arial, sans-serif;
}

.about5-text {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.about5-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about5-image {
  position: relative;
  z-index: 2;
  width: 350px;
  height: auto;
}

.about5-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about5-decorative-back {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 350px;
  height: 100%;
  background-color: var(--button-bg);
  z-index: 1;
}

@media (max-width: 1024px) {
  .about5-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about5-title {
    font-size: 48px;
  }

  .about5-image {
    width: 300px;
  }

  .about5-decorative-back {
    width: 300px;
    right: -15px;
    bottom: -15px;
  }
}

@media (max-width: 768px) {
  .about5 {
    padding: 60px 20px;
  }

  .about5-title {
    font-size: 36px;
  }

  .about5-text {
    font-size: 16px;
  }

  .about5-image {
    width: 250px;
  }

  .about5-decorative-back {
    width: 250px;
    right: -10px;
    bottom: -10px;
  }
}
