/* ============================= */
/* DR1057 TESTIMONIALS SECTION   */
/* ============================= */

.dr1057testimonials {
  padding: 60px 20px;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #fff;
  overflow: hidden;
  perspective: 1200px;
}

/* Container */
.dr1057testimonials-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Title */
.dr1057-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, gold, #fff, gold);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

/* ============================= */
/* SLIDER (DEFAULT - MOBILE)     */
/* ============================= */

.dr1057-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 10px 30px;
}

/* Hide scrollbar */
.dr1057-slider::-webkit-scrollbar {
  display: none;
}

/* Card */
.dr1057-card {
  flex: 0 0 auto;
  width: 300px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  animation: floatCard 6s ease-in-out infinite;
}

/* Card inner */
.dr1057-card-inner {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 18px;
  padding: 25px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    inset 0 0 15px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* Glossy overlay */
.dr1057-card-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  transform: rotate(25deg);
}

/* Hover 3D tilt */
.dr1057-card:hover {
  transform: rotateY(8deg) rotateX(6deg) scale(1.03);
}

/* Stars */
.dr1057-stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* Text */
.dr1057-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Tag */
.dr1057-tag {
  margin-top: 15px;
  display: inline-block;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.4);
  color: gold;
}

/* Floating animation */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ============================= */
/* DESKTOP GRID (FIX CROPPING)   */
/* ============================= */

@media (min-width: 1024px) {
  .dr1057-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    overflow: visible;
    padding: 0;
  }

  .dr1057-card {
    width: 100%;
  }
}

/* ============================= */
/* TABLET ADJUSTMENT             */
/* ============================= */

@media (max-width: 1023px) and (min-width: 768px) {
  .dr1057-slider {
    padding: 10px 20px 30px;
  }

  .dr1057-card {
    width: 280px;
  }
}

/* ============================= */
/* MOBILE OPTIMIZATION           */
/* ============================= */

@media (max-width: 768px) {
  .dr1057-title {
    font-size: 1.6rem;
  }

  .dr1057-slider {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
  }

  .dr1057-card {
    width: 90%;
    max-width: 350px;
  }
}