.cards-grid-container {
  height: auto !important;
}
.team-grid-card-container{
  display: flex;
  height: auto;
}
.team-grid-card-container .slick-track{
  display: flex;
  height: auto;
}
.team-grid-card-container .card-background {
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  height: auto !important;
  text-align: center;
}
.team-profile-card-wrapper{
  margin: 10px;
  border: 1px solid #F2F2F2;
  border-radius: 16px;
  padding: 24px;
  height: auto;
}
/* .cards-grid-container .slick-slide {
  display: flex !important;
  height: auto !important;
  gap: 40px;
  margin: 20px !important;
}
.cards-grid-container .slick-track {
  display: flex !important;
  height: auto !important;
} */
.card-header {
  justify-content: space-between;
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.team-card-logo {
  width: 100px;
  height: auto;
}

.profile-img-wrapper {
  position: relative;
}

.team-profile-image {
  /* border-radius: 50%; */
  object-fit: cover;
  z-index: 2;
  /* width: 120px;
  height: 121px; */

}

.card-vector {
  display: flex;
  justify-content: flex-start;
}

.team-card-vector-image {
  width: 48px;
  height: 48px;
}

.card-content {
  text-align: left;
}

.team-review-desc {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  padding: 0 0 15px;
}

.team-profile-name {
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 5px;
}

.team-profile-designation {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  margin: 0;
}

.card-bg-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.team-profile-background-image {
  width: auto;
  max-width: 150px;
  opacity: 0.6;
}

.team-profile-card-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #fff; /* fallback if no image */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* card content layering */
.card-header,
.card-vector,
.card-content {
    position: relative;
    z-index: 2; /* keep content above background */
}

/* profile image wrapper */
.profile-img-wrapper img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* text styling */
.team-review-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.team-profile-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.team-profile-designation {
    font-size: 13px;
    color: #666;
    margin: 0;
}
