/* =========================
   FEEDBACK MODAL
========================= */

.feedback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.feedback-modal {
  background: #0e0e0e;
  width: 420px;
  max-width: 92%;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(255,0,0,.4);
  position: relative;
}

.feedback-modal h3 {
  color: #fff;
  margin-bottom: 5px;
}

.feedback-modal p {
  color: #aaa;
  margin-bottom: 20px;
}

.feedback-modal input,
.feedback-modal textarea {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.feedback-modal textarea {
  height: 100px;
  resize: none;
}

.feedback-modal button {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 40px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.feedback-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   TESTIMONIAL SECTION
========================= */

.gt-testimonial-premium {
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
}

.testimonial-heading {
  text-align: center;
  margin-bottom: 55px;
}

.testimonial-heading h2 {
  font-size: 42px;
  font-weight: 800;
  color: #111;
}

.testimonial-heading p {
  margin-top: 10px;
  font-size: 16px;
  color: #666;
}

/* =========================
   TRAIN SLIDER CORE
========================= */

.testimonial-wrapper {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: testimonial-train 35s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.gt-testimonial-premium:hover .testimonial-wrapper {
  animation-play-state: paused;
}

/* Infinite train animation */
@keyframes testimonial-train {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   TESTIMONIAL CARD
========================= */

.testimonial-card {
  background: #fff;
  width: 420px;
  max-width: 420px;
  padding: 45px 40px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.08);
  position: relative;
  flex-shrink: 0;
}

/* Quote mark */
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90px;
  color: rgba(255,0,0,0.15);
  font-family: serif;
}

/* Avatar */
.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff1e1e;
  margin: 0 auto 20px;
}

/* Text */
.testimonial-text {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

/* Name */
.testimonial-name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* =========================
   CTA BUTTON
========================= */

.testimonial-cta {
  text-align: center;
  margin-top: 60px;
}

.give-feedback-btn {
  background: linear-gradient(135deg,#ff1e1e,#ff6a00);
  color: #fff;
  border: none;
  padding: 15px 42px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(255,60,60,0.45);
  transition: all .3s ease;
}

.give-feedback-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(255,60,60,0.65);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .testimonial-card {
    width: 360px;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .testimonial-heading h2 {
    font-size: 32px;
  }

  .testimonial-wrapper {
    animation-duration: 25s;
  }

  .testimonial-card {
    width: 85vw;
    max-width: 85vw;
    padding: 35px 25px;
  }
}

.testimonial-swiper {
  width: 100%;
  overflow: hidden;
}

.testimonial-swiper .swiper-slide {
  width: auto;        /* ❗ MUST */
  display: flex;
  justify-content: center;
}

.testimonial-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.gt-testimonial-premium {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
/* =========================
   PREMIUM RED GRADIENT BACKGROUND
========================= */

.gt-testimonial-premium {
  position: relative;
  padding: 130px 0;
  background: linear-gradient(
    120deg,
    #ffffff,
    #fff3f3,
    #ffffff,
    #fff6f6
  );
  background-size: 400% 400%;
  animation: testimonialGradient 20s ease infinite;
  overflow: hidden;
}

/* Smooth animated flow */
@keyframes testimonialGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* LEFT RED ENERGY */
.gt-testimonial-premium::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(244, 30, 30, 0.28),
    rgba(244, 30, 30, 0.12),
    transparent 70%
  );
  top: -280px;
  left: -280px;
  filter: blur(180px);
  z-index: 0;
}

/* RIGHT RED ENERGY */
.gt-testimonial-premium::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(244, 30, 30, 0.26),
    rgba(244, 30, 30, 0.10),
    transparent 70%
  );
  bottom: -280px;
  right: -280px;
  filter: blur(180px);
  z-index: 0;
}

/* Content stays above glow */
.gt-testimonial-premium > .container {
  position: relative;
  z-index: 2;
}

.rating-box {
  margin-bottom: 18px;
  text-align: center;
}

.rating-label {
  display: block;
  color: #aaa;
  font-size: 14px;
  margin-bottom: 6px;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 28px;
  color: #444;
  cursor: pointer;
  transition: color .25s ease, transform .2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f41e1e;
  transform: scale(1.15);
}

.star-rating input:checked ~ label {
  color: #f41e1e;
}

.testimonial-stars {
  color: #f41e1e;
  font-size: 18px;
  margin-bottom: 10px;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

.testimonial-swiper {
  overflow: hidden;
}
