/* ================= Premium Testimonials Section ================= */
.review-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #fdfaff 0%, #f3ebff 100%);
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* ================= Sparkles ================= */
.review-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.review-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7b2ff7;
  border-radius: 50%;
  opacity: 0.25;
}

/* Subtitle underline already OK */

/* ================= Rating ================= */
.rating-wrapper {
  margin-top: 12px;
}

.rating-pill {
  display: inline-flex;          /* 🔥 THIS FIX */
  align-items: center;
  gap: 10px;

  width: auto;                   /* 🔥 no stretch */
  max-width: max-content;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);

  padding: 14px 26px;
  border-radius: 999px;

  border: 1px solid rgba(168, 85, 247, 0.18);

  font-size: 15px;
  color: #4b5563;

  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.12);
}

/* ================= Button ================= */
.review-btn-wrapper {
  margin-top: 18px;   /* 🔥 gap between pill & button */
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 16px 40px;
  border-radius: 999px;

  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  color: #fff;

  font-size: 16px;
  font-weight: 600;

  border: none;
  cursor: pointer;

  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.35);
}/* NO hover movement */
.btn-write-review:hover,
.btn-write-review:focus,
.btn-write-review:active {
   transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.42);
  /* box-shadow: 0 12px 30px rgba(168, 85, 247, 0.35); */
}



/* ================= Add Review Button ================= */


/* ================= Testimonial Card ================= */
.testimonial-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #ede9fe;
  padding: 40px;
  max-width: 700px;
  margin: 30px auto 0;
  box-shadow: none;       /* ❌ important */
  transition: none;
}

.testimonial-card:hover {
  transform: none;
  box-shadow: none;
}

/* ================= Profile ================= */
.profile-img-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #7b2ff7, #a855f7);
}

.profile-img-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
}

/* ================= Rating ================= */
.star-rating i {
  color: #fbbf24;
  font-size: 0.9rem;
}

/* ================= Review Text ================= */
.review-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  font-style: italic;
  margin-top: 18px;
}

/* ================= Controls ================= */
.review-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 35px;
}

.control-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #7b2ff7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.control-btn:hover {
  background: #7b2ff7;
  color: #fff;
  box-shadow: none;
}

/* ================= Modal ================= */
.modal-sm-custom {
  max-width: 400px;
}

.modal-premium .modal-content {
  border-radius: 18px;
  border: none;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.modal-premium .modal-header {
  padding: 12px 18px;
  background: linear-gradient(90deg, #7b2ff7, #a855f7);
  color: #fff;
  border: none;
}

.modal-premium .modal-title {
  font-size: 15px;
  font-weight: 600;
}

.modal-premium .modal-body {
  padding: 14px 18px;
}

.modal-premium .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.modal-premium .form-control {
  height: 36px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.modal-premium textarea.form-control {
  height: 65px;
  resize: none;
}

/* ================= Stars ================= */
.modal-stars i {
  font-size: 18px;
  cursor: pointer;
  color: #d1d5db;
}

.modal-stars i.active {
  color: #fbbf24;
}

/* ================= Modal Footer ================= */
.modal-premium .modal-footer {
  padding: 12px 18px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-premium-save {
  height: 36px;
  min-width: 80px;
  background: linear-gradient(90deg, #7b2ff7, #a855f7);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
}

.btn-premium-cancel {
  height: 36px;
  min-width: 90px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  border-radius: 10px;
  box-shadow: none;
}

/* ================= Pagination ================= */
.gn-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* Arrows */
.gn-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(123, 47, 247, 0.2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gn-arrow:hover:not(:disabled) {
  background: #7b2ff7;
  box-shadow: 0 5px 15px rgba(123, 47, 247, 0.3);
}

.gn-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Arrow icon */
.gn-arrow-icon {
  width: 28px;
  height: 28px;
  stroke: #7b2ff7;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.gn-arrow:hover:not(:disabled) .gn-arrow-icon {
  stroke: #fff;
}

.gn-arrow:disabled .gn-arrow-icon {
  stroke: rgba(123, 47, 247, 0.35);
}

/* Dots */
.gn-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.gn-dot:hover {
  transform: scale(1.15);
}

.gn-dot.active {
  background: #6d28d9;
  transform: scale(1.4);
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .testimonial-card { padding: 28px 20px; }
  .profile-img-container { width: 70px; height: 70px; }
}
