/* ==========================================================================
   Why BajetKala — Trust Section
   ========================================================================== */

.why-us {
  direction: rtl;

  background-color: #F5F7FA;

  padding: 34px 20px 36px;

  font-family: 'Vazirmatn', Tahoma, sans-serif;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.why-us__container {
  width: 100%;
  max-width: 1180px;

  margin-inline: auto;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.why-us__header {
  text-align: center;

  margin: 0 0 20px;
}


.why-us__title {
  margin: 0 0 5px;
  padding: 0;

  color: #14264C;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.5;
}


.why-us__subtitle {
  margin: 0;
  padding: 0;

  color: rgba(20, 38, 76, 0.62);

  font-size: 12px;
  font-weight: 400;

  line-height: 1.6;
}


/* ==========================================================================
   GRID
   ========================================================================== */

.why-us__grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;
}


/* ==========================================================================
   CARD
   ========================================================================== */

.why-us__card {
  display: flex;
  align-items: center;

  min-width: 0;
  width: 100%;

  padding: 14px 16px;

  gap: 12px;

  box-sizing: border-box;

  background-color: #FFFFFF;

  border: 1px solid #E7EBF1;

  border-radius: 12px;

  direction: rtl;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;

  -webkit-tap-highlight-color: transparent;
}


.why-us__card:hover {
  border-color: rgba(242, 120, 12, 0.35);

  background-color: #FFFFFF;
}


/* ==========================================================================
   ICON
   ========================================================================== */

.why-us__icon {
  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin: 0;

  color: #14264C;
}


.why-us__icon-svg {
  display: block;

  width: 100%;
  height: 100%;

  fill: none;

  stroke: currentColor;
}


/* ==========================================================================
   CONTENT
   ========================================================================== */

.why-us__content {
  flex: 1 1 auto;

  min-width: 0;
  width: auto;

  margin: 0;
  padding: 0;

  text-align: right;
}


/* ==========================================================================
   CARD TITLE
   ========================================================================== */

.why-us__card-title {
  margin: 0 0 3px;
  padding: 0;

  color: #14264C;

  font-size: 14px;
  font-weight: 700;

  line-height: 1.5;
}


/* ==========================================================================
   DESCRIPTION
   ========================================================================== */

.why-us__card-desc {
  margin: 0;
  padding: 0;

  color: rgba(20, 38, 76, 0.62);

  font-size: 12px;
  font-weight: 400;

  line-height: 1.55;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 992px) {

  .why-us {
    padding: 30px 16px 32px;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 576px) {

  .why-us {
    padding: 26px 10px 28px;
  }

  .why-us__header {
    margin-bottom: 16px;
  }

  .why-us__title {
    font-size: 18px;
  }

  .why-us__subtitle {
    font-size: 11px;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;
  }

  .why-us__card {
    flex-direction: column;

    justify-content: center;

    min-height: 112px;

    padding: 12px 8px;

    gap: 7px;

    text-align: center;
  }

  .why-us__icon {
    flex-basis: 34px;

    width: 34px;
    height: 34px;
  }

  .why-us__content {
    width: 100%;

    text-align: center;
  }

  .why-us__card-title {
    font-size: 12px;

    margin-bottom: 2px;
  }

  .why-us__card-desc {
    font-size: 10px;

    line-height: 1.5;
  }

  .why-us__card:hover {
    border-color: #E7EBF1;
  }
}