/* کانتینر کلی */
.testimonial-container {
  width: 100%;
  padding: 0rem;
  position: relative;
  background: rgba(30, 30, 40, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

/* گرید اصلی */
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

/* بخش تصویر */
.image-container {
  position: relative;
  width: 100%;
  height: 17rem;
  perspective: 1000px;
  min-height: 180px;
}

/* عکس‌ها */
.testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* بخش محتوای متنی */
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.name {
  font-size: 1.9rem;
  font-weight: bold;
  color: #E4AF59;
  margin-top: 3rem;
  margin-bottom: 0.25rem;
  padding-left: 2rem;
}

.designation {
  font-size: 1rem;
  color: #888;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.quote {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.75;
  padding-right: 1rem;
  padding-left: 2rem;
}

/* دکمه مشاهده */
.view-button {
  display: inline-block;
  padding: 0.16rem 2.1rem;
  background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%);
  color: #222;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 2px 12px 0 rgba(255, 204, 51, 0.15);
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0.5rem 0;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.view-button:hover, .view-button:focus {
  background: linear-gradient(90deg, #ffd700 0%, #ffb347 100%);
  color: #111;
  box-shadow: 0 4px 24px 0 rgba(255, 204, 51, 0.25);
  text-decoration: none;
}

/* دکمه‌های فلش */
.arrow-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 0.2rem;
}

.arrow-button {
  width: 6rem;
  height: 6rem;
  border-radius: 20%;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.arrow-button:hover {
  background-color: transparent !important;
}
.arrow-button svg {
  width: 60px;
  height: 60px;
  fill: #4b5563;
  transition: transform 0.3s;
}
.arrow-button:hover svg {
  fill: #ffffff;
}
.prev-button:hover svg {
  transform: rotate(-12deg);
}
.next-button:hover svg {
  transform: rotate(12deg);
}

/* ریسپانسیو برای دسکتاپ */
@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .arrow-buttons {
    padding-top: 0;
  }
}

/* 📱 ریسپانسیو برای موبایل */
@media (max-width: 767px) {
  .arrow-buttons {
    justify-content: center;
    gap: 15rem;
  }
  .arrow-button {
    width: 8rem;
    height: 3rem;
  }
  .arrow-button svg {
    width: 50px;
    height: 50px;
  }
  .testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 3.0rem;
  }
  .image-container {
    height: 12rem;
  }
  .name,
  .designation,
  .quote {
    padding-left: 3rem;
    padding-right: 2rem;
    text-align: padding-left;
  }
  .view-button {
    padding: 0.12rem 1.1rem !important;
    font-size: 0.95rem !important;
    border-radius: 0.9rem !important;
    background: #ffe082 !important;
    color: #222 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    margin-right: 1rem !important;
    margin-left: 2rem;
  }
}
@media (min-width: 767px) {
  .view-button { margin-left: 2.2rem; }
}
@media (min-width: 769px) {
  .swipe-hint { display: none !important; }
}

/* Swipe hint */
.swipe-hint {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 2;
  transition: opacity 0.5s;
  animation: swipe-move 1.5s infinite alternate;
}
.swipe-arrow {
  fill: #888;
  opacity: 0.7;
  width: 40px !important;
  height: 40px !important;
}
.swipe-hand {
  margin: 0 1rem;
  opacity: 0.85;
  width: 56px !important;
  height: 56px !important;
}
@keyframes swipe-move {
  0% { transform: translateX(-24px); }
  100% { transform: translateX(24px); }
} 