/**************
Investment Section Styles
**************/
.investment-content {
  padding-inline-end: 40px;
  @media (max-width: 991px) {
    padding-inline-end: 0px;
  }
}
.circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
  position: relative;
  margin: 80px auto 0;

  @media (max-width: 1200px) {
    scale: 0.85;
    width: 550px;
    height: 550px;
    margin-top: 30px;
  }
  @media (max-width: 992px) {
    margin-left: auto;
    margin-right: auto;
  }
  @media (max-width: 576px) {
    scale: 0.55;
    width: auto;
    height: 400px;
  }
  @media (max-width: 480px) {
    height: 375px;
  }
}

.circle-container .circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 15px;
  z-index: 2;
}

.circle-container .center-circle {
  position: relative;
  width: 200px;
  height: 200px;
  z-index: 3;
}

/* Arrange the five outer circles */
.circle-container .outer-circle:nth-child(2) {
  transform: rotate(270deg) translate(250px) rotate(90deg);
}
.circle-container .outer-circle:nth-child(3) {
  transform: rotate(343deg) translate(250px) rotate(17deg);
}
.circle-container .outer-circle:nth-child(4) {
  transform: rotate(50deg) translate(250px) rotate(310deg);
}
.circle-container .outer-circle:nth-child(5) {
  transform: rotate(130deg) translate(250px) rotate(230deg);
}
.circle-container .outer-circle:nth-child(6) {
  transform: rotate(197deg) translate(250px) rotate(163deg);
}

.circle-container p.cms-text3 {
  font-size: 17px;
  margin: 0;
  font-weight: 500;
  line-height: 22px;
}

.circle-container .border-circle {
  position: absolute;
  z-index: 0;
  width: 550px;
  height: 550px;
  border-radius: 50%;
}

/* Position the borders relative to the center circle */
.circle-container .outer-border {
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border: 3px solid var(--primary-color);
}

.circle-container .inner-border {
  transform: translate(-50%, -50%) scale(0.88);
  top: 50%;
  left: 50%;
  border: 3px solid var(--secondary-color);
}

/* Style the gradient lines within each circle */
.circle-container .outer-circle .gradient-line {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color) 10%, transparent 100%);
  z-index: -1;
  /* left: 50%;
  top: 50%;
  transform-origin: 0 50%;
  margin-left: -138px; */
}

/* Position gradient lines based on circle position */
/* Oil circle (top) - line points straight down to center */
.circle-container .outer-circle:nth-child(2) .gradient-line {
  transform: rotate(90deg);
  top: 130%;
}

/* Chemicals circle (top-right) - line points toward center-left */
.circle-container .outer-circle:nth-child(3) .gradient-line {
  right: 96%;
  top: 74%;
  transform: translateY(50%) rotate(-202deg);
}

/* Integrated Logistic circle (bottom-right) - line points toward center-left-up */
.circle-container .outer-circle:nth-child(4) .gradient-line {
  transform: rotate(230deg);
  bottom: 106%;
  right: 76%;
}

/* Marine Services circle (bottom-left) - line points toward center-right-up */
.circle-container .outer-circle:nth-child(5) .gradient-line {
  transform: rotate(-50deg);
  bottom: 106%;
  left: 76%;
}

/* Dry Bulk circle (left) - line points straight right to center */
.circle-container .outer-circle:nth-child(6) .gradient-line {
  left: 96%;
  top: 74%;
  transform: translateY(50%) rotate(22deg);
}

/**************
Investment Section RTL Support
**************/
[dir="rtl"] .investment-content {
  text-align: right;
  padding-left: 0px;
  padding-right: 40px;
  @media (max-width: 991px) {
    padding-left: auto;
    padding-right: 30px;
  }
  @media (max-width: 991px) {
    padding-right: 0;
  }
}

[dir="rtl"] .investment-item {
  direction: rtl;
}
