/*================================================================================================
    Start Category CSS
===================================================================================================*/
.ed-category__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 20px;
  margin-top: 30px;
}
.ed-category__card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 100px;
  background: var(--ed-white-color);
  padding: 10px;
  transition: all 0.4s ease;
}
.ed-category__card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 12px 24px 0px rgba(44, 44, 84, 0.08);
}
.ed-category__icon {
  width: 72px;
  height: 72px;
  border-radius: 100%;
  text-align: center;
  line-height: 72px;
}
.ed-category__icon.bg-1,
.ed-category__icon.bg-7 {
  background: #fcebfe;
}
.ed-category__icon.bg-2,
.ed-category__icon.bg-8 {
  background: #eef7f6;
}
.ed-category__icon.bg-3,
.ed-category__icon.bg-6 {
  background: #fceeee;
}
.ed-category__icon.bg-4,
.ed-category__icon.bg-5 {
  background: #f0eefd;
}

.ed-category__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ed-category__info h4 {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 0;
}
.ed-category__card:hover .ed-category__info h4 {
  color: var(--ed-primary-color);
}
.ed-category__info p {
  line-height: 18px;
  letter-spacing: -0.28px;
}

/* Category Style 2 */
.ed-category__slider {
  margin-left: -235px;
  margin-right: -235px;
}
.ed-category__card--style2 {
  display: block;
  padding: 0;
  margin-top: 20px;
  border-radius: 0;
  background: transparent;
}

.ed-category__card--style2 .ed-category__content {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
}
.ed-category__card--style2:hover {
  transform: none;
  box-shadow: none;
}
.ed-category__card--style2 .ed-category__img {
  overflow: hidden;
  border-radius: 8px;
}
.ed-category__card--style2 .ed-category__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.4s ease;
}
.ed-category__card--style2:hover .ed-category__img img {
  transform: scale(1.08);
}
.ed-category__card--style2 .ed-category__icon {
  width: 30px;
  height: auto;
  line-height: normal;
}
.ed-category__card--style2 .ed-category__info {
  width: calc(100% - 40px);
}
.ed-category__card--style2 .ed-category__info p {
  line-height: 16px;
  font-size: 14px;
}
.ed-category__card--style2 .ed-category__info h4 {
  margin-bottom: 0;
}

/* Slider Controls  */
.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 65px;
  position: relative;
  bottom: 0px !important;
}
.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: transparent;
  opacity: 1;
  border: 2px solid var(--ed-primary-color);
  position: relative;
  margin: 0 !important;
}
.swiper-pagination-bullet::before {
  position: absolute;
  content: "";
  width: 12.44px;
  height: 12.44px;
  background: var(--ed-primary-color);
  border-radius: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: hidden;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: transparent;
}

.swiper-pagination-bullet-active::before {
  opacity: 1;
  visibility: visible;
}

.ed-category__slider.swiper {
  overflow: initial;
}
.slider-button-group {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 2;
  top: -24%;
  right: 22%;
}
.slider-button-prev i,
.slider-button-next i {
  font-size: 28px;
  color: #c3bcf7;
  transition: all 0.4s ease;
}
.slider-button-prev i:hover,
.slider-button-next i:hover {
  color: var(--ed-primary-color);
}

/* Category Style 3 */
.ed-category.ed-category--style3 {
  padding-bottom: 360px;
}

.tab-menu a.active-a h4{
  color: #fff!important;
}
.tab-menu a.tb1.active-a{
  background-color: #DE1EF9;
}
.tab-menu a.tb2.active-a{
  background-color: #42AC98;
}
.tab-menu a.tb3.active-a{
  background-color: #DF4343;
}
.tab-menu a.tb4.active-a{
  background-color: #543EE8;
}
.tab{
  display: none;
  margin-top: 30px;
  background: #fff;
  padding: 30px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 15px;
}
.tab-active{
  display: block;
}
.view-detail-btn {
  display: inline-block;
  margin-left: 30px;
  color: #543ee8;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .3s ease;
}
.view-detail-btn:hover {
  transform: scale(1.1);
}
.tab .image {
  margin-right: 15px;
}
.tab .image img {
  border-radius: 86px 10px 86px 10px;
}
.tab ul{
  margin: 20px 0;
}
.tab ul li{
  color: var(--ed-title-color);
  font-weight: 500;
  margin: 15px 0;
  position: relative;
  padding-left: 40px;
}
.tab ul li:before {
  position: absolute;
  font-family: uicons-regular-rounded !important;
  content: "\f61a";
  left: 0;
  background: #f0eefd;
  color: #543ee8;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  top: -5px;
}
.tab .ed-btn {
  background: var(--ed-tertiary-color);
  color: #263238;
}
.tab .ed-btn i {
  background: var(--ed-secondary-color);
  color: var(--ed-white-color);
}
.tab .ed-btn:hover {
  background: var(--ed-primary-color);
  color: var(--ed-white-color);
}
.tab .ed-btn:hover i {
  background: var(--ed-white-color);
  color: var(--ed-primary-color);
}
.tab .development-box {
  position: relative;
}
.tab .development-box .image-2 {
  border-radius: 5px;
  overflow: hidden;
}
.tab .development-box .image-2 img {
  transition: all .3s ease;
}
.tab .development-box a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.tab .development-box h6 {
  margin-bottom: 0px;
  font-size: 17px;
  letter-spacing: -.03rem;
  bottom: 0;
  width: 100%;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  color: #333;
  /* justify-content: space-between; */
}
.tab .development-box h6 i {
  border: 1px solid #333;
  display: block;
  width: 25px;
  line-height: 23px;
  border-radius: 50%;
  text-align: center;
  height: 25px;
  margin-left: 10px;
}
.tab .development-box h6 i:before {
  top: 3px;
  position: relative;
}
.tab .development-box:hover h6 {
  color: #DE1EF9;
}
.tab .development-box:hover h6 i {
  background: #DE1EF9;
  color: #fff;
  border: 1px solid #DE1EF9;
}
.programming-languages .pl-box {
  display: flex;
  align-items: center;
  margin-top: 10px;
  position: relative;
}
.programming-languages .pl-box a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}
.programming-languages .pl-box .icon {
  width: 55px;
  position: relative;
  z-index: 1;
}
.programming-languages .pl-box .icon-text {
  font-size: 16px;
  letter-spacing: -.03rem;
  font-weight: 600;
  align-items: center;
  color: #333;
  padding-left: 5px;
  position: relative;
  padding-right: 20px;
  z-index: 0;
}
.programming-languages .pl-box .icon-text:before {
  content: "";
  position: absolute;
  width: 110%;
  height: 44px;
  left: -17px;
  border: 1px solid #ccc;
  border-left: 0;
  border-radius: 0 25px 25px 0;
  top: -10px;
}
.programming-languages .pl-box:hover .icon-text {
  color: #DF4343;
}
.data-science .ds-box {
  margin-top: 25px;
  position: relative;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
}
.data-science .ds-box a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}
.data-science .ds-box .icon {
  width: 90px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.data-science .ds-box .icon-text {
  font-size: 18px;
  letter-spacing: -.02rem;
  font-weight: 600;
  align-items: center;
  color: #333;
  padding-left: 5px;
  position: relative;
  padding-right: 5px;
  z-index: 0;
  text-align: center;
  margin-top: 5px;
}
.data-science .ds-box:hover .icon-text {
  color: #42AC98;
}
.web-development .wd-box {
  margin-top: 25px;
  position: relative;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
}
.web-development .wd-box a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}
.web-development .wd-box .icon {
  width: 90px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.web-development .wd-box .icon-text {
  font-size: 17px;
  letter-spacing: -.02rem;
  font-weight: 600;
  align-items: center;
  color: #333;
  padding-left: 0;
  position: relative;
  padding-right: 0;
  z-index: 0;
  text-align: center;
  margin-top: 5px;
}
.web-development .wd-box:hover .icon-text {
  color: #DE1EF9;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .ed-category__wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .ed-category__card{
    gap: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991.99px) {
  .ed-category__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .ed-category__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-category__info h4 {
    margin-bottom: 12px;
  }
  .slider-button-group {
    display: none;
  }
  .swiper-pagination {
    display: flex !important;
    margin-top: 40px;
  }
  .ed-category.ed-category--style3 {
    padding-bottom: 330px;
  }
}

/*================================================================================================
    End Category CSS
===================================================================================================*/
