:root {
  --titleFont: 'Inter', sans-serif;
  --bodyFont: 'Inter', sans-serif;
  --primaryColor: #537FE7 ;
  --secondaryColor: #5E5E5E ;
  --whiteColor: #ffffff;
  --titleColor: #181823;
  --hoverColor: #000;
  --bodyColor: #5E5E5E;
  --partialColor: #181823;
  --btnColor: #15171A;
  --button-bg: #537FE7;
  --button-bg-hover: #5E5E5E;
}

.team-grid-style1 .team-item {
  text-align: center;
  padding-bottom: 90px;
}
.team-grid-style1 .team-item .team-inner-wrap {
  position: relative;
  z-index: 1;
}
.team-grid-style1 .team-item .team-inner-wrap .image-wrap {
  position: relative;
  overflow: hidden;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content {
  background: #FFFFFF;
  padding: 40px 20px 20px 20px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -90px;
  display: grid;
  width: 120%;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content h3.team-name {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 5px;
  text-transform: capitalize;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content h3.team-name a {
  text-decoration: none;
  color: var(--titleFont);
}
.team-grid-style1 .team-item .team-inner-wrap .team-content span.team-title {
  color: var(--titleFont);
  font-size: 16px;
  line-height: 26px;
  margin-top: 5px;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons {
  display: flex;
  align-items: center;
  margin-top: -25%;
  margin-bottom: 10px;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 170px;
  transform: translateX(-50%) scale(0);
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a {
  margin: 0 10px;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #FFFFFF;
  box-shadow: 5px 5px 10px rgba(0, 0, 1, 0.05);
  border-radius: 50%;
  transition: all 0.4s;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a i,
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a svg {
  width: 14px;
  height: 14px;
  line-height: 14px;
  display: inline-block;
  color: #5E5E5E;
  fill: #5E5E5E;
  font-size: 14px;
  transition: all 0.4s;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a:hover i {
  color: var(--primaryColor);
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a:hover svg {
  fill: var(--primaryColor);
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a:nth-child(2) {
  margin-top: -14px;
}
.team-grid-style1 .team-item .team-inner-wrap .team-content .social-icons a:nth-child(3) {
  margin-top: -14px;
}
.team-grid-style1 .team-item .team-inner-wrap:hover .team-content .social-icons {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* Team Member Popup */
.rspopup_style1 {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.rspopup_style1 .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -15px;
}
.rspopup_style1 .row > [class*=col-] {
  padding: 0 15px;
}
.rspopup_style1 .col-md-5 {
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
}
.rspopup_style1 .col-md-7 {
  flex: 0 0 58.3333333333%;
  max-width: 58.3333333333%;
}
.rspopup_style1 .rsteam_img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.rspopup_style1 .rsteam_content .team-heading {
  margin-bottom: 18px;
}
.rspopup_style1 .rsteam_content .team-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--titleColor);
}
.rspopup_style1 .rsteam_content .team-title {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: var(--primaryColor);
}
.rspopup_style1 .rsteam_content .team-des {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bodyColor);
  margin-bottom: 22px;
}
.rspopup_style1 .contact-info {
  margin-bottom: 22px;
}
.rspopup_style1 .contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rspopup_style1 .contact-info ul li {
  font-size: 15px;
  color: var(--bodyColor);
  margin-bottom: 8px;
}
.rspopup_style1 .contact-info ul li:last-child {
  margin-bottom: 0;
}
.rspopup_style1 .contact-info ul li span {
  font-weight: 600;
  color: var(--titleColor);
}
.rspopup_style1 .contact-info ul li a {
  color: inherit;
  text-decoration: none;
}
.rspopup_style1 .rs-social-icons .social-icons1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.rspopup_style1 .rs-social-icons .social-icons1 a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--titleColor);
  fill: var(--titleColor);
  transition: all 0.3s;
}
.rspopup_style1 .rs-social-icons .social-icons1 a i,
.rspopup_style1 .rs-social-icons .social-icons1 a svg {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}
.rspopup_style1 .rs-social-icons .social-icons1 a:hover {
  background: var(--primaryColor);
  color: #ffffff;
  fill: #ffffff;
}
@media (max-width: 767px) {
  .rspopup_style1 {
    padding: 25px;
  }
  .rspopup_style1 .col-md-5,
  .rspopup_style1 .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .rspopup_style1 .col-md-5 {
    margin-bottom: 22px;
  }
}