.leadership-message {
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.0784313725);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  background: #F9F9F9;
  overflow: hidden;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .leadership-message {
    flex-direction: row;
    align-items: end;
    margin-bottom: 40px;
  }
}
@media (min-width: 1200px) {
  .leadership-message {
    align-items: start;
    margin-bottom: 80px;
  }
}
.leadership-message figure {
  width: clamp(33.96%, 100%, 544px);
  max-width: 544px;
  flex-shrink: 0;
  margin: 0;
}
.leadership-message figure img {
  width: 100%;
}
@media (min-width: 1200px) {
  .leadership-message figure {
    padding-top: 40px;
  }
}
@media (max-width: 1199.98px) {
  .leadership-message figure {
    width: 50%;
    max-width: 480px;
  }
}
@media (max-width: 991.98px) {
  .leadership-message figure {
    width: 45%;
  }
}
@media (max-width: 767.98px) {
  .leadership-message figure {
    width: 100%;
  }
}

.message-text {
  padding: 30px 20px;
}
@media (min-width: 768px) {
  .message-text {
    padding: 40px;
    padding-inline-end: 0;
  }
}
@media (min-width: 1200px) {
  .message-text {
    padding-top: 68px;
    padding-inline-start: 60px;
  }
}
@media (max-width: 1199.98px) {
  .message-text p {
    font-size: 16px;
  }
}
.message-text p:last-of-type {
  margin-bottom: 0;
}
[dir=rtl] .message-text p {
  font-weight: 300;
}
@media (min-width: 1200px) {
  .message-text h3 {
    margin-bottom: 55px;
  }
}
@media (max-width: 1199.98px) {
  .message-text h3 {
    font-size: 32px;
  }
}
@media (max-width: 767.98px) {
  .message-text h3 {
    font-size: 24px;
  }
}

.text-quote {
  padding-top: 20px;
  padding-inline-start: 90px;
  position: relative;
}
@media (max-width: 1199.98px) {
  .text-quote {
    padding-inline-start: 60px;
  }
}
@media (max-width: 767.98px) {
  .text-quote {
    padding-inline-start: 40px;
  }
}
.text-quote::before {
  content: "";
  position: absolute;
  top: 20;
  inset-inline-start: 0;
  width: 70px;
  height: 55px;
  background: url("../images/quote.svg") no-repeat center center;
  background-size: contain;
}
@media (max-width: 1199.98px) {
  .text-quote::before {
    width: 40px;
    height: 35px;
  }
}
@media (max-width: 767.98px) {
  .text-quote::before {
    width: 30px;
    height: 25px;
  }
}
[dir=rtl] .text-quote::before {
  transform: scaleX(-1);
}
.text-quote h5 {
  color: rgba(51, 51, 51, 0.8);
}
.text-quote p {
  color: rgba(51, 51, 51, 0.6);
}

.quote-title {
  margin-bottom: 32px;
}
@media (max-width: 1199.98px) {
  .quote-title {
    margin-bottom: 10px;
  }
}

.list-team {
  display: flex;
  max-width: 780px;
  gap: 40px;
  margin-inline: auto;
  padding-top: 20px;
  justify-content: center;
}
.list-team li {
  cursor: pointer;
}
.list-team li:hover img {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .list-team li {
    width: calc(50% - 20px);
    max-width: 370px;
  }
}
.list-team h4 {
  color: #291045;
}
.list-team figure {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}
.list-team img {
  border-radius: 8px;
  transform: scale(1);
  transition: all ease 0.3s;
}
@media (max-width: 991.98px) {
  .list-team {
    gap: 20px;
  }
}
@media (max-width: 575.98px) {
  .list-team {
    grid-template-columns: 1fr;
  }
}

.team-board {
  margin-bottom: 40px;
}
@media (min-width: 992px) {
  .team-board {
    margin-bottom: 60px;
  }
}
@media (min-width: 1200px) {
  .team-board {
    margin-bottom: 80px;
  }
}

.team-content {
  color: rgba(51, 51, 51, 0.6);
}
@media (min-width: 768px) {
  .team-content {
    display: flex;
    gap: 30px;
  }
}
.team-content figure {
  margin: 0;
  width: 28.81%;
  max-width: 312px;
  min-width: 170px;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .team-content figure {
    float: left;
    margin-inline-end: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 575.98px) {
  .team-content figure {
    float: none;
    margin-inline: auto;
  }
}
.team-content figure img {
  border-radius: 8px;
  aspect-ratio: 312/407;
}

.team-header {
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.3019607843);
  margin-bottom: 20px;
}
@media (max-width: 575.98px) {
  .team-header {
    text-align: center;
  }
}
.team-header h3 {
  color: #8F4866;
  font-family: var(--bold-font);
}
.team-header p {
  color: #999;
  margin: 0;
}

.team-modal .modal-dialog {
  max-width: 1180px;
}
