.banner-section-our-team {
  position: relative;
  padding-block: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../assets/images/ourteam_banner.webp) center / cover no-repeat;
  min-height: 400px;
  height: 400px
}

/* Overlay */
.banner-section-our-team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000080;
  z-index: 1;
}

.banner-section-our-team>* {
  position: relative;
  z-index: 2;
}

.banner-section-about {
  background: url(../assets/images/career/banner.svg)
}

.team_section {
  padding-block: 70px
}

.pioneers_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%
}

.visionaries_box {
  width: 30%;
  position: relative
}

.visionaries_box::after {
  content: "";
  position: absolute;
  right: 0%;
  top: 0%;
  height: 100%;
  width: 2px;
  background-color: #3F3F3F
}

.visionaries_box p {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  color: #3F3F3F
}

.visionaries_box h5 {
  font-size: 45px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  line-height: 38px;
  margin: 7px 0 0 0
}

.visionaries_box_text {
  width: 70%
}

.visionaries_box_text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  font-family: 'Rubik', sans-serif;
  padding-left: 50px
}

.ceo_card h6 {
  margin-top: 19px;
  font-family: 'Rubik', sans-serif;
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  color: #3F3F3F;
  text-align: center
}

.ceo_card p {
  font-family: 'Rubik', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 29.4px;
  color: #3F3F3F;
  text-align: center;
  margin-bottom: 0
}

.team_detalis {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px
}

.ceo_card {
  border: 4px solid #868686;
  padding: 22px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  transition: transform 0.3s ease;
  max-width: 400px
}

.ceo_card:hover {
  transform: translateY(-6px)
}

.team_images {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  margin: 0 auto 15px;
  display: block
}

@media (max-width:1200px) {
  .team_images {
    max-width: -webkit-fill-available
  }

  .ceo_card {
    padding: 15px
  }

  .team_section {
    padding-block: 30px
  }
}

@media (max-width:1024px) {
  .ceo_card h6 {
    margin-top: 11px;
    font-size: 24px;
    line-height: 27px
  }

  .ceo_card p {
    font-size: 20px;
    line-height: 22.4px
  }
}

@media (max-width:992px) {
  .visionaries_box {
    width: 50%
  }

  .ceo_card h6 {
    margin-top: 11px;
    font-size: 24px;
    line-height: 27px
  }

  .ceo_card p {
    font-size: 20px;
    line-height: 22.4px
  }
}

@media (max-width:767px) {
  .visionaries_box_text p {
    font-size: 18px;
    line-height: 26px;
    padding-left: 0
  }

  .pioneers_box {
    display: flex;
    flex-direction: column
  }

  .visionaries_box {
    width: 100%
  }

  .visionaries_box_text {
    width: 100%
  }

  .visionaries_box::after {
    content: none
  }

  .visionaries_box h5 {
    font-size: 40px;
    margin: 7px 0 10px 0
  }
}

@media (max-width:575px) {
  .ceo_card {
    max-width: 100%
  }
}

@media (max-width:480px) {

  .banner-section-our-team {
      min-height: 200px;
      height: 200px
    }
 
  .banner-section-our-team {
      min-height: 200px;
      height: 200px;
    }

  .visionaries_box_text p {
    font-size: 16px;
    line-height: 26px;
    padding-left: 0
  }

  .visionaries_box h5 {
    font-size: 35px;
    margin: 7px 0 5px 0
  }

  .visionaries_box p {
    font-size: 22px;
    line-height: 25px
  }
}