/* ================= ABOUT PAGE STYLES ================= */
.about-page {
  padding-bottom: 4rem;
  background-color: #fafafa;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Hero Section */
.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .about-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(51, 150, 211, 0.1);
  color: var(--primary, #3396D3);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 2rem;
}

.about-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Pills Navigation */
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
}

.about-pill {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.about-pill:hover,
.about-pill.is-active {
  background-color: #fff;
  color: var(--primary, #3396D3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Hero Image/Fallback */
.hero-frame {
  background: white;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.hero-frame:hover {
  transform: rotate(0deg);
}

.hero-fallback {
  background: #f3f4f6;
  border-radius: 16px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9ca3af;
}

.hero-fallback__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

/* Section Common */
.about-section {
  margin-bottom: 5rem;
  scroll-margin-top: 100px;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* Cards (Mission) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: transform 0.2s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(51, 150, 211, 0.3);
}

.info-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(51, 150, 211, 0.1);
  color: var(--primary, #3396D3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.info-card__title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.value-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-row i {
  color: #10b981;
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.value-title {
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.25rem;
}

/* Steps Grid (How it works) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-badge {
  width: 32px;
  height: 32px;
  background: var(--primary, #3396D3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.step-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}



/* ========== STATS GRID - بازگشت به رنگ قبلی (آبی تیره) ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
  background: #1f2937; /* آبی تیره مثل قبل */
  color: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #60a5fa; /* آبی روشن برای اعداد */
  margin-bottom: 0.5rem;
}

.stat-card .muted {
  color: #9ca3af; /* خاکستری روشن برای متن */
}

.muted {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================= ریسپانسیو کامل ================= */

/* تبلت (768px تا 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-container {
    padding: 0 25px;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .cards-3 {
    gap: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبایل بزرگ (576px تا 768px) */
@media (max-width: 768px) {
  .about-container {
    padding: 0 20px;
  }
  
  .about-hero {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-subtitle {
    font-size: 1rem;
  }
  
  .about-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .about-actions .btn-primary,
  .about-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
  
  .about-pills {
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .cards-3 {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
  }
}

/* موبایل کوچک (تا 576px) */
@media (max-width: 576px) {
  .about-container {
    padding: 0 15px;
  }
  
  .about-title {
    font-size: 1.5rem;
  }
  
  .about-pills {
    gap: 0.25rem;
  }
  
  .about-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .step-card {
    padding: 1.2rem;
  }
  
  .avatar-lg {
    width: 100px;
    height: 100px;
    font-size: 4rem;
  }
  
  
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .stat-num {
    font-size: 2rem;
  }
  
  .hero-fallback {
    height: 200px;
  }
  
  .hero-fallback__icon {
    font-size: 2rem;
  }
  
  .hero-fallback__title {
    font-size: 1rem;
  }
}

/* موبایل خیلی کوچک (تا 380px) */
@media (max-width: 380px) {
  .about-title {
    font-size: 1.3rem;
  }
  
  .about-pill {
    width: 100%;
    text-align: center;
  }
  
  .value-row {
    flex-direction: column;
    text-align: center;
  }
  
  .value-row i {
    margin: 0 auto 0.5rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
}