/*!
* Style Sheet for ""
* version: 1
* last modified:2023 By Applab
* author: Applab
* website: www.applab.qa
*/
/*b5 start -------------------------------------------------------------------------------------------------------------------*/
/*b5 end ---------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 767.98px) {
  .leadership-wrapper h2.black1-op {
    font-size: 20px;
  }
}

.team-tab {
  padding-block: 50px;
}
@media (max-width: 767.98px) {
  .team-tab {
    padding-block: 10px;
  }
}
.team-tab .nav-tabs {
  border: none;
  margin-bottom: 50px;
}
@media (max-width: 991.98px) {
  .team-tab .nav-tabs {
    margin-bottom: 10px;
  }
}
@media (max-width: 450px) {
  .team-tab .nav-tabs {
    flex-direction: column;
  }
}
.team-tab .nav-link {
  font-size: 24px;
  font-weight: 400;
  color: rgba(36, 44, 45, 0.8);
  padding: 10px 20px;
  padding-bottom: 20px;
  position: relative;
  border: none;
}
@media (max-width: 991.98px) {
  .team-tab .nav-link {
    font-size: 20px;
  }
}
@media (max-width: 450px) {
  .team-tab .nav-link {
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }
}
.team-tab .nav-link::after {
  content: "";
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background-color: #EDEEF1;
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
}
.team-tab .nav-link.active {
  border: none;
  color: rgba(36, 44, 45, 0.8);
  font-weight: 600;
}
.team-tab .nav-link.active::after {
  background-color: #2F1D77;
}
.team-tab .nav-item .nav-link:first-child {
  margin-inline-end: 40px;
}
@media (max-width: 991.98px) {
  .team-tab .nav-item .nav-link:first-child {
    margin-inline-end: 20px;
  }
}

.team-block {
  text-align: center;
  cursor: pointer;
}
.team-block h3 {
  color: rgba(36, 44, 45, 0.8);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  text-align: center;
  min-height: 45px;
}
@media (max-width: 767.98px) {
  .team-block h3 {
    min-height: auto;
  }
}
.team-block p {
  color: rgba(36, 44, 45, 0.8);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 767.98px) {
  .team-block figure {
    text-align: center;
    margin: 0;
  }
}

.team-block-fig {
  position: relative;
  z-index: 1;
}
@media (max-width: 767.98px) {
  .team-block-fig {
    text-align: center;
  }
}
.team-block-fig:after {
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url(../images/polygon-green.svg);
  position: absolute;
  top: 4px;
  inset-inline-start: calc(50% + 12px);
  width: 68%;
  height: 0;
  transform: translateX(-50%);
  padding-bottom: 90%;
}
html[dir=rtl] .team-block-fig:after {
  inset-inline-end: calc(50% + 12px);
  inset-inline-start: auto;
}
@media (max-width: 767.98px) {
  .team-block-fig:after {
    top: 11px;
    width: 58%;
    padding-bottom: 75%;
  }
}
.team-block-fig img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-image: url(../images/polygon-black.svg);
  background-color: #c4c1c1;
  width: 80%;
  height: auto;
  margin: 0 auto;
}
@media (max-width: 767.98px) {
  .team-block-fig img {
    width: 70%;
  }
}

.team-wrapper {
  display: flex;
  align-items: start;
  gap: 35px;
}
@media (max-width: 767.98px) {
  .team-wrapper {
    flex-direction: column;
  }
}
.team-wrapper figure {
  margin: 0;
  flex-shrink: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.team-wrapper figure::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}
.team-wrapper h4 {
  font-size: 24px;
  font-weight: 700;
  color: #242C2D;
  margin-bottom: 12px;
}
@media (max-width: 991.98px) {
  .team-wrapper h4 {
    font-size: 20px;
  }
}
.team-wrapper h4 br {
  display: none;
}
.team-wrapper span {
  font-size: 18px;
  font-weight: 400;
  color: #2F1D77;
  display: block;
  margin-bottom: 20px;
}
@media (max-width: 991.98px) {
  .team-wrapper span {
    font-size: 16px;
  }
}
.team-wrapper p {
  font-size: 20px;
  font-weight: 400;
  color: rgba(36, 44, 45, 0.8);
}
@media (max-width: 991.98px) {
  .team-wrapper p {
    font-size: 18px;
  }
}

@media (min-width: 576px) {
  .modal-team .modal-dialog {
    max-width: 1100px;
  }
}
.modal-team .modal-header {
  border: none;
}
.modal-team .modal-body {
  padding: 60px 50px;
}
@media (max-width: 767.98px) {
  .modal-team .modal-body {
    padding: 10px 20px;
  }
}
.modal-team .btn-close {
  position: absolute;
  inset-inline-end: 40px;
  top: 60px;
  z-index: 2;
}
@media (max-width: 991.98px) {
  .modal-team .btn-close {
    position: inherit;
  }
}
.modal-team .modal-content {
  border-radius: 20px;
}
