/* ==========================================================================
   NEGAREH PLATFORM - SECTION 6 (داستان‌های موفقیت و رتبه‌های برتر / Testimonials)
   Namespace: .negareh-section6
   Aesthetic: Modern Educational, High-Trust, Premium Editorial
   ========================================================================== */

.negareh-section6 {
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 107, 115, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(60, 198, 200, 0.035) 0%, transparent 45%);
  padding-top: 100px;
  padding-bottom: 110px;
  color: #0f172a;
  font-family: 'IRANYekan', 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: rtl;
  text-align: right;
  overflow: hidden;
  border-top: 1px solid #edf2f7;
}

/* Background Ambient Lighting */
.negareh-section6__ambient {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.negareh-section6__ambient--right {
  top: 15%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 107, 115, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.negareh-section6__ambient--left {
  bottom: 10%;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(60, 198, 200, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

/* Container Constraint */
.negareh-section6__container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   HEADER (Eyebrow + Title + Subtitle + Trust Stats Summary)
   -------------------------------------------------------------------------- */
.negareh-section6__header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.negareh-section6__header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow Badge */
.negareh-section6__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 107, 115, 0.06);
  border: 1px solid rgba(0, 107, 115, 0.14);
  color: #006B73;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.negareh-section6__eyebrow-icon {
  width: 15px;
  height: 15px;
  fill: #fea24b;
  stroke: #fea24b;
}

/* Title */
.negareh-section6__title {
  font-size: 34px;
  font-weight: 800;
  color: #0b1c2d;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

/* Subtitle */
.negareh-section6__subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  font-weight: 400;
  margin: 0;
}

/* --------------------------------------------------------------------------
   STATS HIGHLIGHT BAR
   -------------------------------------------------------------------------- */
.negareh-section6__stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px 32px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.negareh-section6__stats-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.negareh-section6__stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.negareh-section6__stat-item:not(:last-child) {
  border-left: 1px solid #e2e8f0;
  padding-left: 20px;
}

.negareh-section6__stat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e8eef3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #006B73;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(11, 28, 45, 0.03);
}

.negareh-section6__stat-icon-box svg {
  width: 22px;
  height: 22px;
}

.negareh-section6__stat-text {
  display: flex;
  flex-direction: column;
}

.negareh-section6__stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #0b1c2d;
  line-height: 1.2;
}

.negareh-section6__stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   FILTER TABS
   -------------------------------------------------------------------------- */
.negareh-section6__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.negareh-section6__tabs.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.negareh-section6__tab-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.negareh-section6__tab-btn:hover {
  border-color: #cbd5e1;
  color: #006B73;
  background: #f8fafc;
}

.negareh-section6__tab-btn.is-active {
  background: #006B73;
  border-color: #006B73;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 107, 115, 0.2);
}

/* --------------------------------------------------------------------------
   TESTIMONIALS GRID (4 Cards Layout: 2x2 Clean Balanced Bento)
   -------------------------------------------------------------------------- */
.negareh-section6__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.negareh-section6__card {
  background: #ffffff;
  border: 1px solid #e8eef3;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 2px 14px -2px rgba(11, 28, 45, 0.03),
    0 1px 4px rgba(11, 28, 45, 0.02);
  transition: 
    transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.26s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.26s ease,
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(24px);
  position: relative;
}

.negareh-section6__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.negareh-section6__card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 198, 200, 0.5);
  box-shadow: 
    0 16px 32px -8px rgba(0, 107, 115, 0.1),
    0 4px 12px -2px rgba(11, 28, 45, 0.04);
}

/* Card Header: Student Avatar, Name, Rank, and University Badge */
.negareh-section6__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 14px;
}

.negareh-section6__student-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.negareh-section6__student-avatar-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  border: 2px solid #e6f7f8;
  flex-shrink: 0;
}

.negareh-section6__student-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.negareh-section6__student-details {
  display: flex;
  flex-direction: column;
}

.negareh-section6__student-name {
  font-size: 16.5px;
  font-weight: 800;
  color: #0b1c2d;
  line-height: 1.3;
}

.negareh-section6__student-field {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Rank Badge */
.negareh-section6__rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(254, 162, 75, 0.12) 0%, rgba(255, 204, 0, 0.15) 100%);
  border: 1px solid rgba(254, 162, 75, 0.3);
  color: #c75a00;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.negareh-section6__rank-badge svg {
  width: 14px;
  height: 14px;
  fill: #fea24b;
  stroke: #fea24b;
}

/* Quote Text Body */
.negareh-section6__quote-box {
  position: relative;
  margin-bottom: 20px;
  flex-grow: 1;
}

.negareh-section6__quote-icon {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 28px;
  height: 28px;
  fill: rgba(0, 107, 115, 0.07);
  pointer-events: none;
}

.negareh-section6__quote-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #334155;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Card Footer: University Destination & Key Highlight */
.negareh-section6__card-footer {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.negareh-section6__uni-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #006B73;
  background: #f0fafb;
  padding: 4px 12px;
  border-radius: 8px;
}

.negareh-section6__uni-icon {
  width: 13px;
  height: 13px;
  stroke: #006B73;
}

.negareh-section6__exam-year {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   BOTTOM CALLOUT BANNER (Next Ranker / Free Consultation)
   -------------------------------------------------------------------------- */
.negareh-section6__banner {
  background: linear-gradient(135deg, #0b1c2d 0%, #00363a 100%);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  box-shadow: 0 16px 36px -10px rgba(11, 28, 45, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.negareh-section6__banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.negareh-section6__banner-content {
  max-width: 650px;
}

.negareh-section6__banner-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #ffffff;
}

.negareh-section6__banner-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
}

.negareh-section6__banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.negareh-section6__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3CC6C8;
  color: #0b1c2d;
  font-size: 14.5px;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(60, 198, 200, 0.35);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.negareh-section6__btn-primary:hover {
  background: #ffffff;
  color: #006B73;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.2);
}

.negareh-section6__btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.negareh-section6__btn-primary:hover .negareh-section6__btn-arrow {
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .negareh-section6 {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .negareh-section6__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .negareh-section6__banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
  }

  .negareh-section6__banner-actions {
    width: 100%;
  }

  .negareh-section6__btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .negareh-section6 {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .negareh-section6__title {
    font-size: 26px;
  }

  .negareh-section6__subtitle {
    font-size: 14.5px;
  }

  .negareh-section6__stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .negareh-section6__stat-item:not(:last-child) {
    border-left: none;
    border-bottom: 1px solid #e2e8f0;
    padding-left: 0;
    padding-bottom: 14px;
  }

  .negareh-section6__card {
    padding: 20px;
    border-radius: 18px;
  }

  .negareh-section6__student-name {
    font-size: 15.5px;
  }

  .negareh-section6__rank-badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  .negareh-section6__quote-text {
    font-size: 13.5px;
  }

  .negareh-section6__tabs {
    gap: 8px;
  }

  .negareh-section6__tab-btn {
    font-size: 13px;
    padding: 7px 14px;
  }
}

/* --------------------------------------------------------------------------
   PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .negareh-section6__header,
  .negareh-section6__stats-bar,
  .negareh-section6__tabs,
  .negareh-section6__card,
  .negareh-section6__banner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .negareh-section6__card:hover,
  .negareh-section6__btn-primary:hover {
    transform: none !important;
  }
}
