.team-section .heading-wrap h1 {
  font-style: normal;
  font-weight: 900;
  font-size: 44px;
  line-height: 132%;
  background: linear-gradient(
    90deg,
    #4019fe 0%,
    #de19eb 38.54%,
    #ff6557 71.35%,
    #ff831d 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: "Nunito Sans", sans-serif;
  width: max-content;
  margin: auto;
}
.team-section .scrollable-section {
  overflow-x: hidden;
  width: 100vw;
  height: 268px;
  float: left;
  top: 0;
  position: absolute;
  transform: rotate(270deg) translate(0%, -50%);
  right: 0;
  left: -39%;
}
/*.gallery*/
.team-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 50px;
  justify-content: center;
  justify-items: center;
}

.gallery {
  width: 100%;
  display: block;
  /* min-height: 100vh; */
  padding: 80px 0;
}
.gallery .gallery-filter {
  display: flex;
  gap: 60px;
  flex-direction: row;
  justify-content: center;
  padding: 0 15px;
  width: 100%;
  text-align: center;
  margin-bottom: 90px;
  align-items: center;
}
.gallery .gallery-filter .filter-item {
  font-style: normal;
  font-weight: 800;
  font-size: 20.4401px;
  line-height: 28px;
  text-transform: capitalize;
  display: inline-block;
  cursor: pointer;
  /* padding: 8px 20px 8px 20px; */
  height: 65px;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-filter .filter-item:first-child {
  background: linear-gradient(90deg, #ff7a00 0%, #ff3d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.gallery-filter .filter-item:nth-child(2) {
  color: #ff3f25;
}
.gallery-filter .filter-item:nth-child(3) {
  color: #00b9c6;
}
.gallery-filter .filter-item:nth-child(4) {
  background: linear-gradient(0deg, #ff30c5, #ff30c5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.gallery-filter .filter-item:nth-child(5) {
  color: #506cff;
}

.gallery .gallery-filter .filter-item.active {
  border: 1.8px solid;
  box-shadow: 0px 3.59148px 35.9148px rgba(255, 118, 2, 0.12);
  border-radius: 12.5702px;
  height: 65px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.gallery .gallery-filter .filter-item:first-child.active {
  border-color: #ff3e01;
}
.gallery .gallery-filter .filter-item:nth-child(2).active {
  border-color: #ff3f25;
}
.gallery .gallery-filter .filter-item:nth-child(3).active {
  border-color: #00b9c6;
}
.gallery .gallery-filter .filter-item:nth-child(4).active {
  border-color: #ff30c5;
}
.gallery .gallery-filter .filter-item:nth-child(5).active {
  border-color: #506cff;
}
.gallery .gallery-item-inner img {
  transition: all 0.8s ease-in-out;
  position: relative;
}
.gallery .gallery-item-inner .overlay {
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: -1;
  height: 0;
  width: 0;
  left: 0;
  margin: auto;
  bottom: 0;
  right: 0;
}
.gallery .gallery-item-inner:hover .overlay {
  display: inline-block;
  opacity: 1;
  /* position: absolute; */
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 127, 10, 0) 36.53%,
    #ff7f0a 100%
  );
  height: 100%;
  width: 100%;
  z-index: 1;
  border-radius: 100%;
}

.gallery .gallery-item-inner .overlay .details {
  position: absolute;
  bottom: 0;
  margin: auto;
  text-align: center;
  width: 100%;
  color: #fff;
  left: 50%;
  transform: translate(-50%, -50%);
  /* transition: height all 5s ease-out; */
}
/* .gallery .gallery-item-inner:hover .overlay .details{
    height: max-content;
} */
.gallery .gallery-item-inner .overlay .details h5 {
  font-style: normal;
  font-weight: 800;
  font-size: 34.5861px;
  line-height: 47px;
  text-shadow: 0px 0px 54.3167px rgba(0, 0, 0, 0.25);
}
.gallery .gallery-item-inner .overlay .details p {
  font-weight: 800;
  font-size: 21.7267px;
  line-height: 30px;
  text-shadow: 0px 0px 54.3167px rgba(0, 0, 0, 0.25);
}
.gallery .gallery-item-inner:hover img {
  height: 300px !important;
  width: 300px !important;
}

.gallery .gallery-item-inner img {
  /* max-width: 100%; */
  object-fit: cover;
  border-radius: 100%;
}
.gallery .imgSize1 {
  width: 215px;
  height: 215px;
}
.gallery .imgSize2 {
  width: 190px;
  height: 190px;
}
.gallery .imgSize3 {
  width: 260px;
  height: 260px;
}
.gallery .imgSize4 {
  width: 260px;
  height: 260px;
}
.gallery .imgSize5 {
  width: 230px;
  height: 230px;
}
.gallery .imgSize6 {
  width: 180px;
  height: 180px;
}
.gallery .gallery-item {
  /* width: calc(100% / 3); */
  width: auto;
  /* height: 100%; */
  padding: 15px;
  position: relative;
}
.gallery .gallery-item a {
}
.team-wrapper .gallery-item:nth-child(2n + 1) .gallery-item-inner {
  transform: translateY(60px);
}
.team-wrapper .gallery-item:nth-child(2n) .gallery-item-inner {
  transform: translateY(20px);
}
.gallery .gallery-item.show {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.gallery .gallery-item.hide {
  display: none;
}
.community.ourCareer .wrapper {
  background: linear-gradient(93.33deg, #ffa048 -0.99%, #ff60b6 100%);
}
.community .wrapper .particle-wrapper .particles:nth-child(6) {
  position: absolute;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
}
.community .wrapper .particle-wrapper .particles:nth-child(6) img {
  max-width: 220px;
}

.downloadProfileBtn {
  border: 0;
  outline: none;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(180deg, #33b2ff 80%, #3388ff 100%);
}
.downloadProfileBtn:hover {
  transform: scale(1.1);
  background: linear-gradient(180deg, #33b2ff 0%, #3388ff 100%);
}

/*responsive*/
@media (max-width: 491px) {
  .gallery .gallery-item {
    width: 50%;
  }
}
@media (max-width: 467px) {
  .gallery .gallery-item {
    width: 100%;
  }
  .gallery .gallery-filter .filter-item {
    margin-bottom: 10px;
  }
}

.whyustabImg {
  width: 45px;
  height: 45px;
  object-fit: cover;
}
.community.ourCareer {
  padding: 50px 0px;
}

@media (max-width: 1150px) {
  .gallery .gallery-filter {
    gap: 20px;
  }
  .whyustabImg {
    width: 40px;
  }
  .gallery .gallery-filter .filter-item,
  .gallery .gallery-item-inner .overlay .details p {
    font-size: 16px;
  }
  .gallery .gallery-filter .filter-item.active {
    height: 45px;
  }
  /* .team-wrapper .gallery-item:nth-child(2n + 1) .gallery-item-inner {
    width: 120px;
    height: 120px;
  }
  .gallery .gallery-item-inner img {
    height: 100%;
  } */
  .gallery .imgSize1 {
    width: 150px;
    height: 150px;
  }
  .gallery .gallery-item-inner .overlay .details h5 {
    font-size: 20px;
  }
  .community .wrapper .description h2 {
    font-size: 28px;
  }
}
@media (max-width: 850px) {
  .gallery-filter-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
    /* padding-left: 150px; */
  }
  .gallery-filter-container::-webkit-scrollbar {
    height: 4px !important;
  }
  .gallery .gallery-filter {
    width: 900px;
    margin-bottom: 10px;
    margin-left: 150px;
  }
  .community .wrapper .particle-wrapper .particles:nth-child(6) img {
    display: none;
  }
  .team-wrapper {
    grid-gap: 10px;
  }
}
@media (max-width: 767px) {
  .team-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    justify-content: center;
    justify-items: center;
  }

  .gallery .gallery-item-inner img {
    object-fit: contain;
  }

  .teamDetailsModal .modal-dialog .modal-content {
    padding: 10px !important;
  }

  /* .gallery .gallery-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
    text-align: center;
    margin-bottom: 90px;
  } */

  .team-section .heading-wrap h1 {
    font-size: 24px;
    margin-top: 30px;
  }

  .gallery {
    padding: 20px 0px;
    padding-top: 50px;
  }

  .inputResp {
    margin-top: 20px;
  }

  .community .wrapper .submit-btn {
    margin-bottom: 20px;
  }

  .community .wrapper {
    padding: 80px 20px;
  }
  .community .wrapper .particle-wrapper .particles:nth-child(6) img {
    max-width: 100px;
  }

  .community {
    padding: 50px 0px;
  }

  .container.breadcrumb_wrap {
    display: block;
  }

  .gallery .gallery-filter {
    margin-bottom: 0px;
    margin-left: 150px;
  }

  .community .wrapper .description h2 {
    font-size: 24px;
  }
  .community .wrapper .description span {
    font-weight: 700;
  }

  .downloadProfileBtn {
    margin-top: 20px;
  }
  #teamDetails.teamDetailsModal .modal-dialog .teamHeading .name-Wrapper h5 {
    font-size: 20px;
  }
  #teamDetails.teamDetailsModal .modal-dialog .teamHeading .name-Wrapper p {
    font-size: 16px;
  }
  #teamDetails.teamDetailsModal .modal-dialog .teamHeading img {
    width: 60px;
    height: 60px;
  }
  .teamDetailsModal .modal-dialog .modal-content:before {
    z-index: -1;
  }
  .teamHeading {
    padding: 0px 30px;
    flex-direction: column;
    align-items: flex-start !important;
  }
  .downloadProfileBtn {
    font-size: 14px;
    margin-left: 80px;
  }
  #teamDetails.teamDetailsModal .modal-dialog .contentWrapper ul li {
    font-size: 16px;
  }
  .gallery .gallery-item-inner:hover img {
    height: 200px !important;
    width: 200px !important;
  }
  .gallery .gallery-item-inner:hover .overlay {
    bottom: 0%;
  }
  .breadcrumb {
    display: none;
  }
  .whyustabImg {
    width: 30px;
    height: 30px;
  }
  .team-wrapper .gallery-item:nth-child(2n) {
    margin-top: 60px;
  }
  .team-section .scrollable-section {
    left: -22%;
  }
  .gallery .gallery-item-inner .overlay .details p {
    margin-top: -10px;
    line-height: 20px;
    font-size: 12px;
  }
  .gallery .gallery-item-inner:hover img {
    height: 180px !important;
    width: 180px !important;
  }
  .gallery .gallery-item-inner .overlay .details h5 {
    font-size: 16px;
    line-height: 30px;
  }
}

@media screen and (max-width: 500px) {
  .gallery .gallery-filter {
    margin-left: 250px;
  }
  .teamHeading {
    padding: 0;
  }
  .gallery .gallery-item-inner img {
    object-fit: contain;
    width: 120px;
    height: 150px;
  }
  .community .wrapper .description h2 {
    font-size: 20px;
  }
}
