/* ==========================================
       کانتینر اصلی بخش درباره ما
       ========================================== */
.about-container {
  width: 100%;
  height: max-content;
  background-color: var(--bg-base);
}
.about-section {
  width: 70%;
  margin: 1% auto;
  height: 81vh;
  background-color: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0px 1px 2px var(--top-glass);
  padding: 2rem 3rem;
  position: relative;
  overflow: hidden;
}

/* افکت خط طلایی بالای کارت */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--top-glass),
    transparent
  );
}

/* نوار مسیر (Breadcrumb) */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--color-theme);
}

/* چیدمان گرید دو ستونه */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: center;
}

/* ==========================================
       بخش تصویر
       ========================================== */
.image-wrapper {
  position: relative;
  height: 90%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-sm);
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover img {
  transform: scale(1.04);
}

/* نشان یا بج روی عکس */
.badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--bg-surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-primary);
}

/* ==========================================
       بخش محتوا و متن‌ها
       ========================================== */
.content-wrapper {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1.2rem;
}

.sub-title {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--top-color);
  border-radius: 50%;
}

.main-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-theme);
}

.description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  text-align: justify;
}

.description p {
  margin-bottom: 0.8rem;
}

/* کارت‌های ویژگی / آمار */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.stat-card:hover {
  border-color: var(--color-theme);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--top-color);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .about-section {
    width: 90%;
  }
  
}

@media (max-width: 1100px) {
  .about-section {
    width: 95%;
    height: 90vh;
  }
}
/* ریسپانسیو برای موبایل و تبلت */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-section::before {
    background: linear-gradient(
      90deg,
      transparent,
      var(--bg-surface),
      transparent
    );
  }

  .about-container {
    padding: 0;
    /* height: max-content; */
  }
  .about-section {
    width: 100%;
    margin: 0;
    box-shadow: none;
    height: max-content;
    padding: 1rem 1.2rem;
    border-radius: 0;
  }
  .image-wrapper img {
    width: 100%;
    height: 450px;
    object-position: 10% 10%;
    margin: 0 auto;
  }
  .main-title {
    font-size: var(--font-lg);
  }
}

@media (max-width: 768px) {
  .image-wrapper img {
    width: 100%;
    height: 450px;
    object-position: top;
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  .stats-container {
    width: 100%;
    /* grid-template-columns: 3fr; */
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
  }
}
