#primary .founders {
  background: #f3f5fb;
  overflow: hidden;
}

.founders-teams__title {
  color: var(--black-color);
}

.founders__card-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.founders__image {
  transition: opacity 0.3s ease;
}

.hover-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

@media screen and (min-width: 1024px) {
  .founders__card:hover .hover-image {
    opacity: 1;
  }

  .founders__card:hover .default-image {
    opacity: 0;
  }
}

.founders .navigation {
  justify-content: center;
  padding-top: 50px;
}

.founders-pagination-wrapper {
  margin-top: 24px;
  position: relative;
  display: flex;
  justify-content: center;
}

.founders-pagination {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  position: relative !important;
  width: 100% !important;
  max-width: 72px;
  height: 100% !important;
  z-index: 100 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  justify-content: flex-start;
  scrollbar-width: none;
}

.founders-pagination::-webkit-scrollbar {
  display: none;
}

.founders-pagination .swiper-pagination-bullet {
  min-width: 8px !important;
  min-height: 8px !important;
  max-width: 8px !important;
  max-height: 8px !important;
  opacity: 1 !important;
  background: #cfcfcf !important;
  margin: 0 4px !important;
  outline: none !important;
  flex-shrink: 0;
}

.founders-pagination .swiper-pagination-bullet:first-child {
  margin-left: auto !important;
}

.founders-pagination .swiper-pagination-bullet:last-child {
  margin-right: auto !important;
}

.founders-pagination .swiper-pagination-bullet-active {
  background: #1629d6 !important;
  opacity: 1 !important;
}

.founders__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founders__content {
  margin-top: 50px;
}

@media screen and (max-width: 499px) {
  .founders__swiper,
  .founders__swiper-wrapper {
    overflow: visible !important;
  }
}

.founders__swiper-wrapper {
  padding-left: 4px;
  padding-bottom: 7px;
  margin-left: -4px;
}

.founders__card {
  position: relative;
  width: 100%;
  min-height: 266px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fafafa;
  box-sizing: border-box;
  box-shadow:
    0px 4px 4px 0px #e2e2e21a,
    0px 4px 10px 0px #2d60e21a;
  border: 1px solid #e4ebff;
  transition: transform 0.35s ease;
  z-index: 1;
}

.founders__card-content {
  display: flex;
  flex-direction: column;
  z-index: 1;
  height: 100%;
  background: linear-gradient(193.05deg, #4951e2 5.5%, #373cc2 93.39%);
  box-sizing: border-box;
  padding: 24px;
}

.founders__card-image {
  display: flex;
  justify-content: center;
}

.founders__card-image img {
  height: 100%;
  object-fit: contain;
}

.swiper-slide-active .founders__card-image img {
  animation: foundersRotate 6s linear infinite;
}

.founders__card-title {
  color: #fefefe;
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: 0;
}

.founders__card-description {
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0;
  color: #fefefe;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.founders__title-button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.founders__card-info {
  margin-top: 24px;
}

@media screen and (max-width: 1024px) {
  .founders__card {
    transform: none !important;
  }
}

@media screen and (min-width: 769px) {
  .founders-pagination-wrapper {
    display: none !important;
  }

  #primary .founders {
    padding-top: 120px;
    padding-bottom: 112px;
  }
}

@media screen and (max-width: 768px) {
  #primary .founders {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .founders__navigation {
    display: none;
  }

  .founders__paragraph-navigate {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .founders__card-title {
    font-size: 20px;
  }

  .founders__card-description {
    font-size: 16px;
  }

  .founders__card-content {
    padding: 16px 16px 32px;
  }
}
