/**
 * Elementor widget: b2 feature cards
 */
.aim-b2 {
  direction: rtl;
  font-family: "Yekan Bakh", Tahoma, "Segoe UI", sans-serif;
  background-color: #f8fafb;
  padding: clamp(28px, 4vw, 48px) 0;
}

.aim-b2,
.aim-b2 * {
  font-family: "Yekan Bakh", Tahoma, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.aim-b2__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.aim-b2__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 28px 18px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 100%;
}

.aim-b2__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  color: inherit;
}

.aim-b2__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.aim-b2__icon i,
.aim-b2__icon svg {
  width: 26px;
  height: 26px;
  font-size: 24px;
  line-height: 1;
  fill: currentColor;
}

.aim-b2__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
}

.aim-b2__desc {
  margin: 0 0 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.75;
  flex: 1 1 auto;
}

.aim-b2__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.aim-b2__card:hover .aim-b2__arrow {
  background: #e5e7eb;
}

@media (max-width: 1100px) {
  .aim-b2__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .aim-b2__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .aim-b2__inner {
    grid-template-columns: 1fr;
  }
}
