/* Carousel modules */
.fc-er-carousel-row {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.fc-er-carousel-track {
  display: flex;
  width: max-content;
}

.fc-er-carousel-item-text,
.fc-er-carousel-item-img {
  flex: 0 0 auto;
  width: 20%;
  padding: 10px 40px;
}

.fc-er-carousel-item-text {
  flex: 0 0 auto;
  margin-right: 20px;
  padding: 20px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 300px;
}

.fc-er-carousel-item-text:hover {
  transform: scale(1.03);
}

.fc-er-carousel-item-text .et_pb_text_inner {
  width: 100%;
  box-sizing: border-box;
}

.fc-er-carousel-item-img img {
  width: 100%;
  height: auto;
  display: block;
}

.fc-er-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.fc-er-carousel-arrow:hover {
  background: #f0f0f0;
}

.fc-er-carousel-arrow.prev {
  left: 10px;
}

.fc-er-carousel-arrow.next {
  right: 10px;
}

.fc-er-carousel-arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1125px) {
  .fc-er-carousel-item-text,
  .fc-er-carousel-item-img {
    width: 25%;
  }
}

@media (max-width: 767px) {
  .fc-er-carousel-item-text,
  .fc-er-carousel-item-img {
    width: 50%;
  }
  .fc-er-carousel-item-text {
    margin-right: 16px;
  }
  .fc-er-carousel-arrow.prev {
    left: 0;
  }

  .fc-er-carousel-arrow.next {
    right: 0;
  }
}
/* Carousel modules ends here */
