.team-area{
  background-color: rgb(250, 250, 250);
  padding-bottom: 200px;
  padding-top: 100px;
}

.single-team .team-thumb .tst-social li a{
    color: #f8f8f8ff;
    font-size: 16px;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #8B0000;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.section-title{
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2{
  font-size: 36px;
  font-weight: bold;
  color: #8B0000;
  text-align: center;
}

.section-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 200px;
    background-color: #8B0000;
    left: calc(50% - 100px);
}

.section-title h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 8px;
  width: 8px;
  background-color: #8B0000;
  left: calc(50% - 4px);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.section-title p{
  font-size: 18px;
  color: #333;
  font-weight: bold;
  text-align: center;
  font-size: x-large;
  padding-bottom: 15px;
}

.single-team{
    text-align: center;
    overflow: hidden;
    background-color: #fff;
    border-radius: 3px;
    padding-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.single-team:hover{
  box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}


.team-thumb{
    margin: 40px 0px;
}
.team-thumb img{
    max-width: 120px;
    max-height: 120px;
    border-radius: 20%;
    height: auto;
    display: inline-block;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.single-team h4{
    font-size: 20px;
    font-weight: 500;
    color: #232323;
    letter-spacing: 0;
    margin-bottom: 8px;
}
.single-team span{
    display: block;
    color: #666;
    font-weight: 400;
    letter-spacing: 0;
}
.single-team ul{
    margin-top: 40px;
}

.tst-social{
    margin-top: 30px;

}

.tst-social li{
    display: inline-block;
    margin: 0 5px;
}

.tst-social {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tst-social li {
  margin: 0 10px;
}

.tst-social li a {
  display: block;
  font-size: 24px;
  color: #000;
  transition: color 0.3s ease;
}

.tst-social li a:hover {
  color: #dc3545;
}

/* Optional: If you want to increase the size of the icons on larger screens */
@media (min-width: 768px) {
  .tst-social li a {
    font-size: 24px;
  }
}