@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap');
.body {
  margin: 0;
  padding: 0%;
  font-family: 'Abhaya Libre';  
  background: #d84300;  
  color: #fff;
  border-radius: 50px;
  max-width: 95%;
  margin: 0 auto;
}
@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.testimonial-wrap {
  padding: 90px 60px;
  text-align: center;
  color: #f6f3f8;
  overflow: hidden;
}
.testimonial-wrap h2 {
  font-family: 'Abhaya Libre', serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #000;              
  padding: 14px 28px;
  display: inline-block;
  border-radius: 8px;
  opacity: 1;
  animation: none;          
}
@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    letter-spacing: 6px;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 1.5px;
  }
}
.sub {
  font-family: 'Abhaya Libre', serif;
  font-size: 15px;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 70px;
  animation: none;
}
@keyframes subIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}
.testimonial-row {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 12s linear infinite;
}
.testimonial-row:hover {
  animation-play-state: paused;
}
.testimonial-card {
  width: 300px;
  padding: 50px 30px 40px;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);  
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 18px 45px rgba(10, 6, 40, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #130a28;
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  animation: cardIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.8s; }
.testimonial-card.center {
  transform: translateY(-35px) scale(0.96);
}
.testimonial-card:hover {
  transform: translateY(-45px) scale(1.02);
  box-shadow:
    0 30px 80px rgba(167, 41, 6, 0.6),
    0 0 0 1px rgba(255, 81, 0, 0.45);
}
.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background:
    radial-gradient(circle at 30% 0, #fff6, transparent 55%),
    linear-gradient(145deg, #ff5100, #a72906);
  color: #fff;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.25);
}
.avatar.pink {
  background:
    radial-gradient(circle at 30% 0, #fff6, transparent 55%),
    linear-gradient(145deg, #d33d03, #7b1509);
}
.msg {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: rgba(12, 5, 35, 0.9);
   font-family: 'Abhaya Libre', serif; 
}
.stars {
  color: #ffb703;
  font-size: 18px;
  text-shadow:
    0 0 10px rgba(255, 183, 3, 0.8),
    0 0 20px rgba(255, 81, 0, 0.6);
}
.indicator {
  margin-top: 50px;
}
.indicator span {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 6px;
  border-radius: 999px;
}
.indicator span.active {
  background: linear-gradient(90deg, #ff5100, #d33d03);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ========================= */
/* 📱 TABLET */
/* ========================= */
@media (max-width: 900px){

  .testimonial-wrap{
    padding: 60px 20px;
  }

  .testimonial-wrap h2{
    font-size: 30px;
  }

  .sub{
    font-size: 14px;
    margin-bottom: 40px;
  }

}

/* ========================= */
/* 📱 MOBILE (IMPORTANT 🔥) */
/* ========================= */
@media (max-width: 600px){

  /* FIX CONTAINER */
  .body{
    max-width: 100%;
    border-radius: 0;
    padding: 20px 10px;
  }

  .testimonial-wrap{
    padding: 40px 10px;
  }

  .testimonial-wrap h2{
    font-size: 24px;
  }

  .sub{
    font-size: 13px;
    margin-bottom: 30px;
  }

  /* 🔥 STOP MARQUEE */
  .testimonial-row{
    animation: none;
    width: 100%;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .testimonial-row::-webkit-scrollbar{
    display: none;
  }

  /* CARD FIX */
  .testimonial-card{
    min-width: 250px;
    width: auto;
    padding: 25px 15px;
    transform: none !important;
  }

  .testimonial-card.center{
    transform: none;
  }

  .testimonial-card:hover{
    transform: none;
  }

  /* TEXT */
  .msg{
    font-size: 13px;
  }

  .stars{
    font-size: 16px;
  }

}

/* ========================= */
/* 📱 SMALL MOBILE */
/* ========================= */
@media (max-width: 400px){

  .testimonial-card{
    min-width: 220px;
  }

  .testimonial-wrap h2{
    font-size: 20px;
  }

}
