* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  background: #050914;
  overflow-x: hidden;
}

/* SECTION */

.team-section {
  padding: 80px 40px;
  background: #050914;
  overflow: hidden;
}
.text-head{
  color: #56a8ff;
}

.section-subtitle {
  text-align: center;
  color: #56a8ff;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.1;
}
.spansub{
  color: #4da3ff;
}
/* SWIPER */

.teamSlider {
  position: relative;
  padding: 0 30px;
}

.swiper-slide {
  height: auto;
}

/* CARD */

.team-card {
  position: relative;
  height:370px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

/* FULL IMAGE */

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.8s ease;
}

/* OVERLAY */

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.05) 100%
  );
  transition: 0.5s ease;
}

/* BOTTOM CONTENT */

.card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  transition: 0.5s ease;
}

.card-content h3 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1;
}

.card-content span {
  color: #4da3ff;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* HOVER CONTENT */

.hover-content {
  position: absolute;
  inset: 0;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 50px;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s ease;
}

.hover-content p {
  color: #fff;
  font-size: 18px;
  line-height: 1.9;
  text-align: center;
}

/* HOVER */

.team-card:hover img {
  transform: scale(1.08);
}

.team-card:hover .card-overlay {
  background: rgba(0, 0, 0, 0.78);
}

.team-card:hover .card-content {
  opacity: 0;
  transform: translateY(25px);
}

.team-card:hover .hover-content {
  opacity: 1;
  visibility: visible;
}

/* ARROWS */

.team-section {
  position: relative;
  padding: 80px 70px;
  background: #050914;
  overflow: hidden;
}

/* SWIPER */

.teamSlider {
  padding: 0;
}

/* OUTSIDE ARROWS */

.team-prev,
.team-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  color: #fff;
  cursor: pointer;
  z-index: 100;
  transition: 0.3s;
}

.team-prev:hover,
.team-next:hover {
  background: rgba(255, 255, 255, 0.15);
}

.team-prev {
  left: 15px;
}

.team-next {
  right: 15px;
}

.team-prev i,
.team-next i {
  font-size: 19px;
}

/* MOBILE */

@media (max-width: 767px) {
  .team-prev,
  .team-next {
    display: none;
  }

  .team-section {
    padding: 60px 15px;
  }
}

/* TABLET */

@media (max-width: 1199px) {
  .section-title {
    font-size: 50px;
  }

  .team-card {
    height: 440px;
  }

  .card-content h3 {
    font-size: 34px;
  }
}

/* IPAD */

@media (max-width: 991px) {
  .team-section {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 42px;
  }

  .team-card {
    height: 420px;
  }

  .card-content h3 {
    font-size: 30px;
  }

  .card-content span {
    font-size: 18px;
  }

  .hover-content p {
    font-size: 16px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .team-section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .team-card {
    height: 380px;
    border-radius: 16px;
  }

  .card-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .card-content h3 {
    font-size: 24px;
  }

  .card-content span {
    font-size: 15px;
  }

  .hover-content {
    padding: 20px;
  }

  .hover-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  .team-prev,
  .team-next {
    display: none;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .team-card {
    height: 340px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-content h3 {
    font-size: 20px;
  }

  .card-content span {
    font-size: 13px;
  }
    .section-titles {
    font-size: 34px;

  }
}
