/* =========================================================
   FEEDBACK / TESTIMONIAL SECTION – RESPONSIVE DESIGN
   ========================================================= */
.feedback-section {
  background: #fafafa;
  padding: 60px 20px;
}

.feedback-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.feedback-section .section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
}

.feedback-section .section-heading h2 span {
  color: #d33a0b;
}

.feedback-section .line {
  width: 60px;
  height: 3px;
  background: #d33a0b;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  border-radius: 2px;
}

/* ---------- SWIPER STYLING ---------- */
.testimonial-swiper {
  width: 100%;
  padding: 40px 0 70px;
}

.testimonial-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* ---------- TESTIMONIAL CARD ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  max-width: 430px;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

/* ---------- USER DETAILS ---------- */
.user-details {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.user-details img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

.user-details h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.user-details .stars {
  font-size: 14px;
  color: #f5a623;
}

/* ---------- TESTIMONIAL TEXT ---------- */
.testimonial-text {
  text-align: left;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.testimonial-text p {
  margin-bottom: 8px;
}

/* ---------- VIDEO ROW ---------- */
.img-row {
  margin-top: 15px;
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.img-row video {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* ---------- SWIPER NAVIGATION ---------- */
.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
  color: #d33a0b !important;
  transition: all 0.3s ease;
  z-index: 10;
  display: block; /* Ensure visible on all screens */
}

.testimonial-swiper .swiper-button-next:hover,
.testimonial-swiper .swiper-button-prev:hover {
  transform: scale(1.1);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* SMALL PHONES (max-width: 480px) */
@media (max-width: 480px) {
  .feedback-section {
    padding: 40px 15px;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .testimonial-card {
    width: 95%;
    padding: 18px;
  }

  .user-details img {
    width: 50px;
    height: 50px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .img-row video {
    max-height: 180px;
  }

  /* Optional: smaller arrows on mobile */
  .testimonial-swiper .swiper-button-next,
  .testimonial-swiper .swiper-button-prev {
    font-size: 18px;
  }
}

/* PHONES TO TABLETS (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .section-heading h2 {
    font-size: 1.8rem;
  }

  .testimonial-card {
    max-width: 380px;
    padding: 20px;
  }

  .user-details img {
    width: 55px;
    height: 55px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

/* TABLETS (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-heading h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    max-width: 400px;
    padding: 22px;
  }

  .img-row video {
    max-height: 220px;
  }
}

/* LAPTOPS (1025px–1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .section-heading h2 {
    font-size: 2.3rem;
  }

  .testimonial-card {
    max-width: 430px;
  }

  .img-row video {
    max-height: 240px;
  }
}

/* LARGE SCREENS (1441px and up) */
@media (min-width: 1441px) {
  .section-heading h2 {
    font-size: 2.5rem;
  }

  .testimonial-card {
    max-width: 450px;
    padding: 25px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .img-row video {
    max-height: 260px;
  }
}
