/* General Carousel Styles */
.reviews-carousel-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  padding: 2rem 0;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.review-slide-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.review-slide {
  display: flex;
  padding: 20px;
}

.review-content {
  display: flex;
  flex-direction: column;
  /* width: 25vw; */
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.reviewer-image img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: bold;
  font-size: 16px;
  color: #041122;
}

.reviewer-location,
.reviewer-designation {
  font-size: 14px;
  color: #888;
}

.review-rating {
  font-size: 18px;
  color: #00cc66;
  margin: 10px 0;
}

.review-text {
  font-size: 14px;
  color: rgb(0, 58, 31);
  line-height: 1.5;
}

/* Navigation buttons */
.carousel-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  right: 2rem;
}

button {
  background: none;
  color: #232733;
  border: none;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  border: none;
  outline: none;
  opacity: 0.5;
}

button:hover {
  cursor: pointer;
  opacity: 1;
  color: #00562b;
}

/* Indicator styles */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  background-color: #f0f8ff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicators button.active {
  background-color: #00cc66;
}

/* Responsive Design */
@media (max-width: 767px) {
  .review-slide {
    flex-direction: column;
    gap: 15px;
  }

  .review-content {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .review-slide {
    gap: 10px;
    display: flex;
    width: 100%;
  }

  .review-content {
    width: 100vw;
  }

  .reviews-carousel-container {
    width: 95%;
  }
}

@media (min-width: 1025px) {
  .review-slide {
    flex: 1 0 100%;
    gap: 15px;
  }

  .review-content {
    width: 100%;
  }
}

.crypto-reviews {
  margin: 2rem auto;
}
