.nbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul#reviewTabs {
    background-color: #ffffff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 6px 19px;
    width: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
}

.reviews-section {
  padding: 80px 0;
  background: #fff;
}

.reviews-section
.nav-tabs {
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.reviews-section .nav-tabs .nav-link {
  border: none;
  background: #fff;
  color: #6c757d;
  font-weight: 600;
  padding: 12px 31px;
  margin: 0 5px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.reviews-section .nav-tabs .nav-link.active {
  background: #00B8B3;
  color: #fff;
  -webkit-box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
  -moz-box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.reviews-section .nav-tabs .nav-link:hover:not(.active) {
  background: #e9ecef;
  color: #495057;
}

ul#reviewTabs {
  margin-bottom: 25px;
  border: none;
}

.review-card {
  background: #f0eeee;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px60px rgba(0, 0, 0, 0.15);
}

.review-card_video {
  padding: 12px !important;
  gap: 16px !important;
  background-color: #f8f6f6;
  height: 373px;
}

.video-container {
  position: relative;
  height: 189px;
  display: flex;
  align-items: center;
  justify-content: center;

z-index :100;
}

.card-content-video {
  padding: 16px 0 0 0;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  z-index: 10;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.play-button i {
  font-size: 2rem;
  color: #17a2b8;
  margin-left: 3px;
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.review-card-one {
  height: 160px;
  padding: 12px;
  background-color: #f0eeee;
}

.review-card-two {
  padding: 12px;
  background-color: #f0eeee;
  margin-top: 25px;
  margin-bottom: 20px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
}

.reviewer-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.star-rating {
  color: #ffc107;
  font-size: 0.9rem;
}
.card-content-video p {
    font-size: 16px !important;
    line-height: 23px !important;
    font-weight: 500;
    color: #000;
}
.review-text {
  color: #6c757d;
  line-height: 24px ;
  font-size: 16px ;
  margin-bottom: 0;
}

.audio-review-card {
  position: relative;
  height: 373px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audio-review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.audio-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.audio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.audio-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, #0031b8 0%, #00b8b3 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.audio-play-btn:hover {
  background: linear-gradient(90deg, #0031b8 0%, #00b8b3 100%);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.audio-play-btn i {
  font-size: 20px;
  color: #fff;
  margin-left: 3px;
}

.audio-info-bar {
  position: absolute;
  bottom: 6% !important;
  left: 16px;
  right: 16px;
  background: linear-gradient(90deg, #0031b8 0%, #00b8b3 100%);
  color: white;
  padding: 16px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audio-reviewer-details {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-play-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.audio-reviewer-name-bar {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.audio-duration {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
  .reviews-section {
    padding: 60px 0;
  }
}

@media (max-width: 992px) {
  .nav-tabs .nav-link {
    padding: 12px 25px;
    margin: 0 3px;
  }

  .review-card_video {
    height: 350px;
  }

  .audio-review-card {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 40px 0;
  }
  ul#reviewTabs {
    width: 41%;
   }
  .nav-tabs {
    margin-bottom: 2rem;
  }

  .nav-tabs .nav-link {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 2px;
  }

  .review-card_video {
    height: 320px;
  }

  .video-container {
    height: 160px;
  }

  .audio-review-card {
    height: 320px;
  }

  .review-card-one {
    height: auto;
    min-height: 140px;
    margin-top: 25px;
  }

  .review-card-two {
    margin-top: 20px;
  }

  .reviewer-name {
    font-size: 1.1rem;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .audio-info-bar {
    padding: 12px 10px;
    bottom: 8px;
    left: 12px;
    right: 12px;
  }

  .audio-reviewer-name-bar {
    font-size: 1rem;
  }

  .audio-duration {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .reviews-section {
    padding: 30px 0;
  }

  ul#reviewTabs {
    width: 84%;
   }

  .nav-tabs .nav-link {
    padding: 8px 15px;
    font-size: 0.85rem;
    margin: 0 1px;
  }

  .review-card_video {
    height: 323px;
    padding: 12px;
  }

  .video-container {
    height: 140px;
  }

  .play-button,
  .audio-play-btn {
    width: 60px;
    height: 60px;
  }

  .play-button i,
  .audio-play-btn i {
    font-size: 1.5rem;
  }

  .audio-review-card {
    height: 300px;
  }

  .review-card-one,
  .review-card-two {
    padding: 10px;
  }

  .reviewer-avatar {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .reviewer-name {
    font-size: 1rem;
  }

  .review-text {
    font-size: 0.9rem;
  }

  .audio-info-bar {
    padding: 10px 8px;
  }

  .audio-play-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .audio-reviewer-name-bar {
    font-size: 0.95rem;
  }

  .audio-duration {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .nav-tabs {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1.5rem;
  }

  .nav-tabs .nav-link {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

  .review-card_video {
    height: 323px;
  }

  .audio-review-card {
    height: 280px;
  }
}

@media (max-width: 360px) {
  .review-card_video,
  .audio-review-card {
    height: 260px;
  }


  ul#reviewTabs {
    width: 83%;
   }

  .video-container {
    height: 120px;
	}}

  .audio-info-bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .audio-reviewer-details {
    -webkit-box-pack: center;
    justify-content: center;
  }
}