.wh_choose {
  padding: 40px 0;
  background: #4f163f;
  background: radial-gradient(circle, rgba(79, 22, 63, 1) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
  position: relative;
  background-image: url(../images/why-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.wh_choose::before {
  position: absolute;
  content: "";
  width: 300px;
  height: 90%;
  bottom: 0;
  left: 0;
  background-image: url(../images/vector-1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  filter: brightness(0) saturate(100%) invert(83%) sepia(30%) saturate(716%) hue-rotate(25deg) brightness(95%) contrast(55%);

}

.wh_choose::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  background: radial-gradient(circle, rgb(0 0 0) 0%, rgb(39 39 39 / 53%) 100%);
}

.wh_choose .ag-head {
  width: 60%;
}

.wh_choose .ag-head h1 {
  font-size: 40px;
  line-height: 1.35;
  color: #ffffff;
  font-weight: bold;
  margin-top: 20px;
      white-space: nowrap;
}

.wh_choose .ag-head .wh_txt {
  border: 1px solid #a5e5a5;
  padding: 5px;
  color: #a5e5a5;
}

.wh_choose .ag-head h1 .wh_txt {
  position: relative;
  display: inline-block;
  border: 2px solid #a5e5a5;
  border-radius: 3px;
  margin-right: 38px;

}

.wh_choose .ag-head h6 {
  /* border: 1px solid #f1faf1; */
  display: inline;
  padding: 5px 10px;
  color: #8ed2ff;
  font-size: 20px;
  border-radius: 8px;
  font-weight: bold;
}

.wh_choose .ag-head h1 .wh_txt::before {
  content: "";
  position: absolute;
  right: -12px;
  top: 28%;
  width: 13px;
  height: 2px;
  background: #a5e5a5;
}

.wh_choose .ag-head h1 .wh_txt::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 58%;
  width: 27px;
  height: 2px;
  background: #a5e5a5;
}

.wh_choose .ag-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: 15px;
  margin-top: 50px;
}

.wh_choose .ag-item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 1;
}

.wh_choose .ag-item:nth-child(2) {
  grid-column: span 4;
}

.wh_choose .ag-item:nth-child(3) {
  grid-column: span 3;
  height: 295px;
}

.wh_choose .ag-item:nth-child(4) {
  grid-column: span 3;
  height: 290px;
}

.wh_choose .ag-item:nth-child(5) {
  grid-column: span 4;
}

.wh_choose .ag-item:nth-child(6) {
  grid-column: span 5;

}

.wh_choose .ag-item:nth-child(7) {
  grid-column: span 6;
  height: 230px;
}

.wh_choose .ag-item:nth-child(8) {
  grid-column: span 6;
}

.wh_choose .ag-item {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  margin: 0px 10px;
  background: linear-gradient(0deg, #28465c 0%, rgb(255 255 255 / 0%) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: 0.35s ease;
}

.wh_choose .ag-item:hover {
  transform: translateY(-6px);
}

.wh_choose .ag-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border: 1px solid transparent;
  border-image: linear-gradient(to bottom, #abbeb4 0%, rgb(25 135 84) 35%, rgba(193, 217, 74, 0.15) 70%, rgba(193, 217, 74, 0) 100%) 1;
}

.wh_choose .ag-content {
  position: relative;
  z-index: 3;
  padding: 0;
  color: #111;
}

.wh_choose .ag-content h4 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #defee5;
}

.wh_choose .ag-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #e9e8e8;
}

/* .wh_choose .ag-one {
  grid-column: 1 / 4;
  margin-top: 118px;
  min-height: 291px;
}

.wh_choose .ag-two {
  grid-column: 4 / 7;
  margin-top: 118px;
  min-height: 180px;
}

.wh_choose .ag-three {
  grid-column: 7 / 10;
  margin-top: -10px;
  min-height: 310px;
}

.wh_choose .ag-four {
  grid-column: 10 / 13;
  margin-top: 40px;
  min-height: 245px;
}

.wh_choose .ag-five {
  grid-column: 4 / 8;
  margin-top: -104px;
  min-height: 190px;
}

.wh_choose .ag-six {
  grid-column: 8 / 13;
  margin-top: -103px;
  min-height: 210px;
} */

/* responsive */
@media(max-width: 991px) {
  .wh_choose .ag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .wh_choose .ag-one,
  .wh_choose .ag-two,
  .wh_choose .ag-three,
  .wh_choose .ag-four,
  .wh_choose .ag-five,
  .wh_choose .ag-six {
    grid-column: auto;
    margin-top: 0;
    min-height: 220px;
  }

  .wh_choose .ag-head h2 {
    font-size: 34px;
  }
}

@media(max-width: 575px) {
  .wh_choose .about-grid-sec {
    padding: 70px 0;
  }

  .wh_choose .ag-grid {
    grid-template-columns: 1fr;
  }

  .wh_choose .ag-head h2 {
    font-size: 28px;
  }

  .wh_choose .ag-one,
  .wh_choose .ag-two,
  .wh_choose .ag-three,
  .wh_choose .ag-four,
  .wh_choose .ag-five,
  .wh_choose .ag-six {
    min-height: 200px;
  }
}

.wh_choose .ag-item {
  position: relative;
  overflow: hidden;
}

.wh_choose .ag-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 69px;
  height: 58px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffffff, #cae8c6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 10px 24px rgba(122, 44, 125, 0.22);
}

.wh_choose .ag-icon img {
  width: 50%;
}

@media (min-width:1201px) and (max-width:1399px) {
  .wh_choose .ag-head h1 {
    font-size: 30px;
  }

  /* .wh_choose .ag-five {
    margin-top: -76px;
  } */

  .wh_choose .ag-content h4 {
    font-size: 18px;
  }

  .wh_choose .ag-content p {
    font-size: 14px;
  }

  .wh_choose .ag-icon {
    width: 64px;
    height: 50px;
  }
}

@media (min-width:1200px) and (max-width:1399px) and (min-height:700px) and (max-height:900px) {
  /* .wh_choose .ag-five {
    margin-top: -76px;
  } */
}

@media (min-width:1700px) and (max-width:1900px) {
  .wh_choose .ag-head h1 {
    font-size: 40px;
  }

  .wh_choose .ag-content h4 {
    font-size: 25px;
  }

  .wh_choose .ag-content p {
    font-size: 18px;
  }
}

@media (min-width:1901px) and (max-width:2500px) {
  .wh_choose .ag-head h1 {
    font-size: 50px;
  }

  .wh_choose .ag-content h4 {
    font-size: 30px;
  }

  .wh_choose .ag-content p {
    font-size: 22px;
  }

  .wh_choose .ag-head h6 {
    padding: 8px 10px;
    font-size: 20px;
  }
}

@media (max-width:990px) {
  .wh_choose .ag-head {
    width: 100%;
  }

  .wh_choose .ag-head h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .wh_choose .ag-content {
    margin-bottom: 40px;
  }

  .wh_choose .ag-icon {
    right: 9px;
    bottom: 7px;
    width: 53px;
    height: 45px;
  }
}

@media (max-width: 991px) {


  .wh_choose .ag-grid {
    grid-template-columns: 1fr;
  }

  .wh_choose .ag-item:nth-child(1),
  .wh_choose .ag-item:nth-child(2),
  .wh_choose .ag-item:nth-child(3),
  .wh_choose .ag-item:nth-child(4),
  .wh_choose .ag-item:nth-child(5),
  .wh_choose .ag-item:nth-child(6),
  .wh_choose .ag-item:nth-child(7),
  .wh_choose .ag-item:nth-child(8) {
    grid-column: span 1;
    height: auto;
  }

  .wh_choose .ag-item {
    margin: 0;
  }

}