/* ==== Stats Banner Section ==== */
.stats-banner-section {
  width: 100%;
  margin: 30px 0 10px 0;
  position: relative;
  z-index: 2;
}

.stats-banner-container {
  max-width: 1754px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.stats-banner {
  background-color: #031024;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 135px;
  height: auto;
  padding: 16px 24px;
  box-sizing: border-box;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
  direction: rtl;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.stats-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stats-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stats-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  line-height: 1.3;
}

.stats-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
  font-family: 'Sahel', 'Vazirmatn', sans-serif;
}

.stats-value {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  margin: 3px 0;
  letter-spacing: -0.5px;
  white-space: nowrap;
  font-family: 'Sahel', 'Vazirmatn', sans-serif;
}

.stats-subtitle {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  white-space: nowrap;
  font-family: 'Vazirmatn', sans-serif;
}

/* Divider vertical line with circle dot */
.stats-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 48px;
  width: 24px;
  flex-shrink: 0;
}

.divider-line {
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 4px,
      transparent 4px,
      transparent 8px);
  position: absolute;
}

.divider-dot {
  width: 7px;
  height: 7px;
  background-color: #031024;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  z-index: 2;
  position: relative;
}

/* ==== Responsive Design ==== */

/* Large Tablets & Small Laptops (1025px - 1280px) */
@media (max-width: 1280px) {
  .stats-banner {
    padding: 16px 16px;
    min-height: 120px;
  }

  .stats-item {
    gap: 12px;
  }

  .stats-icon {
    width: 48px;
    height: 48px;
  }

  .stats-title {
    font-size: 13.5px;
  }

  .stats-value {
    font-size: 21px;
  }

  .stats-subtitle {
    font-size: 11px;
  }

  .stats-divider {
    height: 40px;
    width: 16px;
  }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .stats-banner-section {
    margin: 25px 0 10px 0;
  }

  .stats-banner-container {
    padding: 0 20px;
  }

  .stats-banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    padding: 22px 18px;
    height: auto;
    min-height: auto;
  }

  .stats-divider {
    display: none;
  }

  .stats-item {
    justify-content: flex-start;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    gap: 14px;
  }

  /* 5th item spans full width on 2-col tablet layout */
  .stats-item:last-child {
    grid-column: 1 / -1;
  }

  .stats-icon {
    width: 48px;
    height: 48px;
  }

  .stats-title {
    font-size: 14px;
  }

  .stats-value {
    font-size: 22px;
  }

  .stats-subtitle {
    font-size: 12px;
  }
}

/* Small Tablets / Large Phones (576px - 767px) */
@media (max-width: 767px) {
  .stats-banner-container {
    padding: 0 16px;
  }

  .stats-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 14px;
    border-radius: 6px;
  }

  .stats-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    gap: 14px;
  }

  .stats-item:last-child {
    grid-column: auto;
  }

  .stats-icon {
    width: 44px;
    height: 44px;
  }

  .stats-title {
    font-size: 13.5px;
  }

  .stats-value {
    font-size: 20px;
  }

  .stats-subtitle {
    font-size: 11.5px;
    white-space: normal;
  }
}

/* Mobile Phones (up to 575px) */
@media (max-width: 575px) {
  .stats-banner-section {
    margin: 20px 0 10px 0;
  }

  .stats-banner-container {
    padding: 0 12px;
  }

  .stats-banner {
    padding: 14px 12px;
    gap: 8px;
  }

  .stats-item {
    padding: 10px 12px;
    gap: 12px;
  }

  .stats-icon {
    width: 40px;
    height: 40px;
  }

  .stats-title {
    font-size: 13px;
  }

  .stats-value {
    font-size: 19px;
  }

  .stats-subtitle {
    font-size: 11px;
  }
}

/* Extra Small Phones (up to 380px) */
@media (max-width: 380px) {
  .stats-banner-container {
    padding: 0 8px;
  }

  .stats-banner {
    padding: 10px 8px;
    gap: 6px;
  }

  .stats-item {
    padding: 8px 10px;
    gap: 10px;
  }

  .stats-icon {
    width: 34px;
    height: 34px;
  }

  .stats-title {
    font-size: 12px;
  }

  .stats-value {
    font-size: 17px;
  }

  .stats-subtitle {
    font-size: 10.5px;
  }
}