.term-container {
  background-color: #fff;
  padding: 80px 60px;
}

.term {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.term-heading {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #222;
  text-align: center;
}

.term-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
}

.term-images-wrapper {
  position: relative;
}

.term-images .main-img {
  width: 600px;
  height: 280px;
  object-fit: cover;
}

.term-text {
  max-width: 400px;
  text-align: left;
}

.term-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.term-text ul {
  list-style-type: "-";
}

.term-text li {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  padding-left: 6px;
}

@media (max-width: 1024px) {
  .term-content {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .term-content.reverse {
    flex-direction: column;
  }

  .term-images-wrapper {
    align-self: flex-start;
  }

  .reverse.term-content .term-images-wrapper {
    align-self: flex-end;
  }

  .term-text {
    max-width: 70%;
    align-self: flex-end;
  }

  .reverse.term-content .term-text {
    align-self: flex-start;
  }

  .term-images .main-img {
    width: 500px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .term-container {
    padding: 40px 30px;
  }
  .term-text {
    max-width: 100%;
  }

  .term-heading {
    margin-bottom: 30px;
    font-size: 24px;
  }

  .term-text h3 {
    font-size: 22px;
  }

  .term-images .main-img {
    width: 450px;
    height: 180px;
  }
}

@media (max-width: 568px) {
  .term-container {
    padding: 40px 18px;
  }
  .term-images-wrapper {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .term-text h3 {
    font-size: 18px;
  }

  .term-text li {
    font-size: 14px;
  }
  .term-images .main-img {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 420px) {
  .term-images .main-img {
    height: 140px;
  }
}

@media (max-width: 340px) {
  .term-images .main-img {
    height: 120px;
  }
}
