.baj-revolving {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: start;
  width: 508px;
  margin-top: 32px;
  padding-top: 120px;
}

.baj-revolving>img {
  width: 209px;
  height: 427px;
  object-fit: contain;
  object-position: top;
  transition: all 0.5s ease-out;
}

.baj-revolving-container {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.baj-revolving-container .item {
  position: absolute;
  top: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  transform: translateX(-50%) scale(1);
}

.baj-revolving-container .item .logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  background-color: rgba(173, 148, 128, 0.3);
  font-size: 1.5rem;
  z-index: -1;
  position: relative;
  padding: 12px;
}

.baj-revolving-container .item .logo img {
  width: 100%;
  aspect-ratio: 1/1;
}

.baj-revolving-container .item .title {
  font-size: 14px;
  line-height: 16px;
  margin-top: 8px;
}

.baj-revolving-container .item .logo i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.baj-revolving-container .item .logo:hover {
  background-color: rgba(173, 148, 128, 0.5);
}

.baj-revolving-container .item.active {
  transform: translateX(-50%) scale(1.2) !important;
}

.baj-revolving-container .item.active .title {
  font-weight:bold;
}

.baj-revolving-container .item[data-index="1"] {
  left: 50%;
}

/* 2nd item - top right */
.baj-revolving-container .item[data-index="2"] {
  left: 90%;
  top: 10%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="2"] {
  left: 10%;
  top: 10%;
}

/* 3rd item - right */
.baj-revolving-container .item[data-index="3"] {
  left: 95%;
  top: 35%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="3"] {
  left: 5%;
  top: 35%;
}

/* 4th item - bottom right */
.baj-revolving-container .item[data-index="4"] {
  left: 90%;
  top: 60%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="4"] {
  left: 10%;
  top: 60%;
}

/* 5th item - bottom center */
.baj-revolving-container .item[data-index="5"] {
  left: 10%;
  top: 60%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="5"] {
  left: 90%;
  top: 60%;
}

/* 6th item - bottom left */
.baj-revolving-container .item[data-index="6"] {
  left: 5%;
  top: 35%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="6"] {
  left: 95%;
  top: 35%;
}

/* 7th item - left */
.baj-revolving-container .item[data-index="7"] {
  left: 10%;
  top: 10%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="7"] {
  left: 90%;
  top: 10%;
}

/* 8th item - left */
.baj-revolving-container .item[data-index="8"] {
  left: 35%;
}

html[lang="ar-SA"] .baj-revolving-container .item[data-index="8"] {
  left: 65%;
}

@media only screen and (max-width: 991px) {
    /* Revolving Buttons ---------------------------- */

  .baj-revolving {
    padding-top: 100px;
  }

  .baj-revolving>img {
    transform: scale(0.8);
  }

  .baj-revolving-container .item {
    width: 64px;
    transform: scale(1) translateX(-50%);
  }

  .baj-revolving-container .item .logo {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .baj-revolving-container .item .title {
    font-size: 10px;
    line-height: 12px;
    margin-top: 8px;
  }

  .baj-revolving-container .item .logo i {
    width: 16px;
    height: 16px;
  }

  .baj-revolving-container .item.active {
    transform: translateX(-50%) scale(1.5) !important;
  }

  .baj-revolving-container .item[data-index="1"] {
    left: 50%;
  }

  /* 2nd item - top right */
  .baj-revolving-container .item[data-index="2"] {
    left: 85%;
    top: 15%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="2"] {
    left: 15%;
    top: 15%;
  }

  /* 3rd item - right */
  .baj-revolving-container .item[data-index="3"] {
    left: 90%;
    top: 35%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="3"] {
    left: 10%;
    top: 35%;
  }

  /* 4th item - bottom right */
  .baj-revolving-container .item[data-index="4"] {
    left: 85%;
    top: 55%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="4"] {
    left: 15%;
    top: 55%;
  }

  /* 5th item - bottom center */
  .baj-revolving-container .item[data-index="5"] {
    left: 15%;
    top: 55%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="5"] {
    left: 85%;
    top: 55%;
  }

  /* 6th item - bottom left */
  .baj-revolving-container .item[data-index="6"] {
    left: 10%;
    top: 35%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="6"] {
    left: 90%;
    top: 35%;
  }

  /* 7th item - left */
  .baj-revolving-container .item[data-index="7"] {
    left: 15%;
    top: 15%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="7"] {
    left: 85%;
    top: 15%;
  }

  /* 8th item - left */
  .baj-revolving-container .item[data-index="8"] {
    left: 35%;
  }

  html[lang="ar-sa"] .baj-revolving-container .item[data-index="8"] {
    left: 65%;
  }
  /* -------------------------------------------- */
}