/* ---------- GLOBAL ALIGNMENT WITH DESIGN TOKENS ---------- */

/* فقط برای همین صفحه، اگر می‌خواهید success / danger داشته باشید */
:root {
    --success: #1ebe6d;          /*  mixed from accent + 20 % white  */
    --danger : #e44f4f;          /*  custom red                      */
  }
  
  
  
  /* تیترها شبیه title_with_line اما وسط‌چین */
  .section-title{
    font: 700 1.35rem/1 var(--font-display);
    color: var(--accent);
    text-align:center;
    margin:0 0 2.5rem;
  }

  
  /* متن فرعی کم‌رنگ */
  .section-subtitle{color:rgba(var(--fg-rgb,0,0,0),.7);}
  
  /* ---------- HERO ---------- */
  .mentoring_hero{
    min-height:100vh;
    padding:10rem 1.5rem 6rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    
  }
  .mentoring_hero>div{
    max-width:500px;
  }
  .mentoring_hero h1{
    font:700 2.5rem/1.2 var(--font-display);
    margin-bottom:1rem;
  }
  .mentoring_hero p{
    margin-bottom:2rem;
    line-height: 2;
  }
  a.btn-apply{
    text-decoration: none;
  }
  
  
  /* ---------- COMPARISON GRID ---------- */
  .comparison-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:2rem;
  }
  .comparison-card{
    background:var(--acrylic-dark);
    border:1px solid var(--acrylic-border);
    padding:2rem;
  }
  .comparison-card h3{margin-bottom:1.25rem}
  .comparison-card li{display:flex;gap:.5rem;margin-bottom:.6rem}
  .comparison-card li .icon{font-size:1.25rem}
  .with-mentor{border-color:var(--success)}
  .with-mentor h3,.with-mentor .icon{color:var(--success)}
  .without-mentor h3,.without-mentor .icon{color:var(--danger)}
  
  /* ---------- SERVICES ---------- */
  .services-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:2rem;
  }
  .service-card{
    background:var(--acrylic-dark);
    padding:2rem 1.75rem;
    text-align:center;
    transition:transform .3s,box-shadow .3s;
    border: 1px solid var(--acrylic-border);
  }
  .service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 24px rgba(0,0,0,.12);
  }
  .service-icon{font-size:2.8rem;margin-bottom:1rem;color:var(--accent)}
  .service-card h3{margin-bottom:1rem;font-weight:600;font-family:var(--font-display)}
  
  /* ---------- SKILLS (pill badges) ---------- */
  .skills-grid{
    display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;
  }
  .skill-badge{
    padding:.5rem 1.25rem;
    border:1px solid var(--acrylic-border);
    background:var(--acrylic-dark);
    font-size:.85rem;
    transition:background .25s,color .25s;
  }
  .skill-badge:hover{background:var(--accent);color:#000}
  
  /* ---------- CTA / missing-link ---------- */
  #missing-link{
    background:var(--acrylic-border);
    border: 1px solid var(--acrylic-border);
    text-align:center;
  }
  #missing-link p{
    margin: 1rem auto 2rem;
    max-width: 400px;
  }
  #missing-link a.btn-apply{margin-top:1rem}
  
  /* ---------- FADE-IN (از اسکریپت موجود استفاده می‌کند) ---------- */

  
  /* ---------- RESPONSIVE ---------- */
  @media(max-width:640px){
    .section-padding{padding:6rem 1.25rem 4rem}
  }
  

/* ---------- TESTIMONIALS ---------- */
#mentoring_testimonials .section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: rgba(var(--fg-rgb), .7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-color);
  padding: 2rem;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-text {
  flex: 1;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg-color);
  margin-bottom: 1.5rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
}

.user-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline-end: 1rem;
  border: 2px solid var(--grid-line);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  color: var(--accent);
}

.user-role {
  font-size: .875rem;
  color: rgba(var(--fg-rgb), .6);
}
.testimonial-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  perspective: 1000px;
}

.testimonial-card {
  background-color: var(--card-bg-color);
  border-radius: 16px;
  padding: 1.5rem;
  width: 320px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}



.testimonial-content {
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 3rem;
  opacity: 0.15;
  color: var(--primary-color);
  font-family: 'Times New Roman', serif;
  font-weight: bold;
}

.testimonial-author {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.testimonial-info strong {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-info span {
  font-size: 0.9rem;
  color: var(--muted-text-color);
}

@media (max-width: 768px) {
  .testimonial-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 100%;
    max-width: 400px;
  }
}



/* استایل کلی */
.mentors-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* بهینه‌سازی برای موبایل */
@media (max-width: 768px) {
  .mentors-list {
    display: flex;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
  }

  .mentors-list::-webkit-scrollbar {
    height: 8px;
  }

  .mentors-list::-webkit-scrollbar-thumb {
    background: var(--surface-1);
    border-radius: 4px;
  }

  .mentor-card {
    min-width: 280px;
    flex-shrink: 0;
  }
}

/* انیمیشن کارت منتور */
.mentor-card {
  border: 1px solid var(--acrylic-dark);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.mentor-card a{
  color: var(--fg)
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* هدر منتور */
.mentor-header {
  background: var(--acrylic-dark);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mentor-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--acrylic-border);
}

.mentor-info {
  flex: 1;
}

.mentor-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: var(--fg);
}

.mentor-role {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.mentor-company {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg);
  opacity: 0.7;
}

.company-logo {
  height: 18px;
}

/* جزئیات منتور */
.mentor-details {
  padding: 1rem;
}

.mentor-bio {
  font-size: 0.9rem;
  color: var(--fg);
  opacity: 0.8;
  margin-bottom: 1rem;
  max-width: 250px;
}

.mentor-skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.mentor-skills li {
  background: var(--acrylic-dark);
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  color: var(--fg);
  opacity: 0.8;
}

.mentor-experience {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--fg);
  opacity: 0.7;
}

.mentor-social {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mentor-social img {
  height: 20px;
  filter: brightness(0.8);
}

.btn-contact {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease;
  font-weight: 500;
}

.btn-contact:hover {

}

/* فیلتر موضوعی */
.mentor-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--surface-1);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--fg);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
}

/* شمارش منتورها */
.mentor-count {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--fg);
  text-align: center;
  opacity: 0.7;
}

/* دکمه CTA */
.cta-section {
  margin-top: 3rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;

}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 8px var(--accent),
              0 0 16px var(--accent),
              0 0 24px var(--accent);
}