/* ####################################### */
/* Desktop styling */
/* ####################################### */
.meet-team-heading{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px 50px 20px;
}

/* Main parent container */
.meet-the-team-card-wrapper{
  max-width: 1060px;
  min-height: 400px;
  margin: 0 auto;
  position: relative;
  padding: 20px 40px 40px 40px;
  box-sizing: border-box;
/*   border: 1px solid orange; */
}


/* Team card parent container */
.meet-the-team-card-main-container {
  border-radius: 16px;
  background: transparent;
  padding: 20px 20px 20px 20px;
/*   border: 1px solid tomato; */
}

.swiper-slide {
  box-shadow: 0px 2px 8px 0px rgba(20, 25, 31, 0.20);
  width: 320px;
  border-radius: 16px;
  outline: 3px solid transparent;
  transition: outline-color 2s ease;
/*   border: 1px solid yellow; */
}


.meet-the-team-card-img-container{
  border-radius: 16px 16px 0px 0px;
/*   border: 1px solid black; */
  width: 100%;
  height: auto;
  overflow: hidden;
}

.meet-the-team-card-img-container img {
  border-radius: 16px 16px 0px 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.meet-the-team-card-text-container h2{
  color: #000;
  font-size: 20px;
  margin: 0;
  padding: 20px 0;
  text-align: center;
}


.meet-the-team-card-text-container {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
/*   align-items: flex-start; /* top align so text grows downward */ */
/*   justify-content: flex-start; */
  overflow: hidden;    /* clip content until reveal */
  transition: all 0.4s ease;
/*   border: 1px solid green; */
}


.meet-the-team-card-position {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  
}

/* Details hidden by default on hover it will appear*/
.meet-the-team-card-richtext {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  padding: 0px 10px 20px 10px;
  text-align:center;
}

/* On hover: reveal details */
.swiper-slide:hover .meet-the-team-card-richtext {
  max-height: 800px; /* adjust based on content length */
  opacity: 1;
  transition: opacity .5s ease;
}


.swiper-slide:hover {
  outline: 3px solid #1890FF;
  transition: outline 2s ease;
}




/* Arrow buttons outside carousel */

.custom-arrow-container {
/*   border: 1px solid pink; */
}
.custom-arrow {
  position: absoulute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}


/* Hide Swiper’s default arrows */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-prev svg.arrow-svg,
.swiper-button-next svg.arrow-svg {
  width: 16px !important;
  height: 24px !important;
}

/* Position navigation arrows outside horizontally */
.swiper-button-prev.custom-arrow {
  left: -30px;
}

.swiper-button-next.custom-arrow {
  right: -30px;
}

/* Pagination centered to the carousel */
.swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
  z-index: 10;
}
.swiper-pagination-bullets-dynamic {
  bottom: -40px !important;
}
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1; /* visibility of the bullets color */
}
.swiper-pagination-bullet-active {
  background: #303ab2 !important;
}


/* ####################################### */
/* Mobile styling */
/* ####################################### */

@media (max-width: 480px) {

  /* Position navigation arrows outside horizontally */
  .swiper-button-prev.custom-arrow {
    left: -4px;
  }

  .swiper-button-next.custom-arrow {
    right: -4px;
  }
}









