/* ============================ */
/*    Team Members Section */
/* ============================ */

/* .section-title-container {
  background: linear-gradient(180deg, #14131b 0%, #004aad10 100%);
} */

.team-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  padding: 2rem 2rem 4rem 2rem;
  background-color: #14131b;
  /* background: linear-gradient(360deg, #14131b 0%, #004aad10 100%); */
}
.team-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-image: url(../../assets/photos/mesh-bg.png);
  background-size: cover;
  background-position: center;
  opacity: 2.5%;
}

.team-wrap {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 4rem;
}
.team-box {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  max-width: 350px;
  transition: opacity 0.35s ease, transform 0.35s ease,
    background-color 0.3s ease;
  will-change: opacity, transform;
}
.team-box:nth-child(1) {
  transition-delay: 0s;
}
.team-box:nth-child(2) {
  transition-delay: 0.1s;
}
.team-box:nth-child(3) {
  transition-delay: 0.2s;
}

.team-image {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: end;
  overflow: hidden;
  height: 450px;
  max-width: 400px;
  border-radius: 20px;
  border-width: 2px;
  border-style: solid;
  border-color: #004aad;
  background: linear-gradient(220deg, #14131b 0%, #004aad50 100%);
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 1rem;
}
.team-title {
  color: white;
}
.team-title h2 {
  font-size: 1.75rem;
}
.team-title h3 {
  font-size: 1.2rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
}
.text-divider {
  height: 5px;
  width: 40%;
  border-radius: 0px;
  background: #4c98ff;
}
.team-box p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}
.team-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem 0.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #ffffff;
  background-color: #004aad;
  transition: all 0.3s ease;
}
.team-box a:hover {
  color: #4c98ff;
  background-color: #ffffff;
}

@media (max-width: 1050px) {
  .team-container {
    padding: 1rem 1rem 4rem 1rem;
  }
  .team-wrap {
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
  }
  .team-box {
    flex-direction: row;
    align-items: center;
    max-width: 100%;
    gap: 1.5rem;
  }
  .team-box:nth-child(1),
  .team-box:nth-child(2),
  .team-box:nth-child(3) {
    transition-delay: 0s;
  }
  .team-image {
    min-width: 300px;
    height: 400px;
  }
  .text-divider {
    width: 100px;
  }
  .team-content {
    max-width: 350px;
  }
}
@media (max-width: 650px) {
  .team-image {
    height: 450px;
  }
}
@media (max-width: 600px) {
  .team-image {
    min-width: 250px;
  }
}
@media (max-width: 550px) {
  .team-wrap {
    align-items: start;
  }
  .team-box {
    flex-direction: column;
    max-width: 100%;
  }
  .team-image {
    min-width: 100%;
    height: auto;
  }
  .team-content {
    max-width: 100%;
  }
}
