.team-member {
  background-color: #fff;
  color: #000;
  border-radius: 120px;
  padding: 35px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  transition: .4s all ease-in;
}
.team-member:hover{
  background-color: #29cc2f;
}

.team-section .row > .team-card:last-child .team-member{
	background-color: #29cc2f;
} 
.team-section .row > .team-card:last-child .team-member:hover{
	background-color: #fff;
} 

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
.team-member h5 {
    font-weight: 700;
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}
.team-member small {
    font-weight: 600;
    font-size: 16px;
    color: #2D2D2D;
    font-family: var(--font-family);
    margin: 0;
    margin-bottom: 8px !important;
    font-weight: 700;
}
.team-member p{
    font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 23.5px;
  margin: 0;
}
.section-header h2{
  margin-bottom: 0px;
}



/* Service Styling */
.services-grid{
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 40px;
  justify-content: center;
  margin-top: 10px;
}
.services-item{
  width: calc(50% - 40px/2);
  text-align: center;
}
.services-item-inner{
  text-decoration: none;
}
.services-item-inner img{
  max-width: 200px;
  width: 100%;
  margin: auto;
}
.services-item-inner h5{
  color: rgb(49, 188, 25);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;
}
.popup-content .services-grid {
  gap: 15px;
}
@media (min-width:768px){
 .services-item{
    width: calc(20% - 160px/5);
  } 
  .popup-content .services-item{
    width: calc(16% - 160px/5) !important;
  }
}
@media (min-width:992px){
  .services-item-inner img{
    max-width: 120px;
    margin-top: 20px;
  }
}
@media (min-width: 1025px){
  .services-item-inner h5{
    font-size: 16px;
  }
  .popup-content .services-grid {
    gap: 40px;
  }
}


/* service card carasoul */

  .carousel-item-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
  }

  @media (max-width: 767px) {
    .carousel-item-group {
      grid-template-columns: 1fr;
    }
  }

  .service-card {
    background: #222;
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  }

  .service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0px;
    margin-bottom: 15px;
  }

  .service-card h5 {
    color: #00c000;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    font-family: var(--heading-font);
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.6;
    font-family: var(--heading-font);
    font-weight: 400;
  }


  /* Portfolio styling */
.testimonial-slider {
  width: 100%;
  padding-top: 100px;
  --box-bg: #1e272e;
  --box-border: #fff;
  --box-shadow: #0000001c;
  --box-shadow-border: #0000000f;
  position: relative;
  background: radial-gradient(circle, #2f3539 0%, #1e272e 100%);
}

.testimonial-slider__prev,
.testimonial-slider__next {
  position: absolute;
  bottom: -40px;
  cursor: pointer;
  font-size: 40px;
  color: white;
}

.testimonial-slider__prev:hover,
.testimonial-slider__next:hover {
  transform: scale(1.2);
}
.testimonial-slider__prev { left: 40%; }
.testimonial-slider__next { right: 40%; }

.testimonial-slider__body {
  overflow: hidden;
}

.testimonial-slider__track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.testimonial-slider__item {
  margin: 0 20px;
  flex-shrink: 0;
}

.testimonial__3d-frame {
  position: relative;
  width: 100%;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
}

.testimonial__3d-frame:after {
  content: '';
  position: absolute;
  bottom: -15%;
  width: 100%;
  height: 40px;
  background: var(--box-shadow);
  transform: rotateX(90deg) translate3d(0px, -20px, 0px);
  opacity: 0.85;
}

.testimonial__3d-box {
  position: absolute;
  border: 3px solid var(--box-border);
  background: var(--box-bg);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.testimonial__3d-box--left {
  width: 40px;
  left: 0;
  transform: translate3d(1px, 0, -40px) rotateY(-90deg);
  transform-origin: 0%;
}

.testimonial__3d-box--right {
  width: 40px;
  right: 0;
  transform: translate3d(-1px, 0, -40px) rotateY(90deg);
  transform-origin: 100%;
}

.testimonial__3d-box--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

