.tab-bar {
  position: relative;
}

.tab-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  height: 50%;
  width: 100%;
  display: block;
  background: transparent linear-gradient(180deg, #00000000 0%, #efecf4 100%) 0%;
}

.tab-bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  height: 50%;
  width: 100%;
  display: block;
  background: transparent linear-gradient(0deg, #00000000 0%, #efecf4 100%) 0%;
}

.tab-bar .tab-bar__nav {
  border: none;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}

.tab-bar .nav-item {
  flex: 1;
}

.tab-bar .nav-link {
  width: 100%;
  border: none;
  outline: 5px solid var(--purple-dk);
  outline-offset: -5px;
  background: var(--white);
  transition:
    background 0.3s ease-out,
    color 0.3s ease-out;
  color: var(--purple-dk);
}

.tab-bar .nav-link:hover {
  background: var(--purple-t);
}

.tab-bar .nav-link.active {
  background: var(--purple-gradient);
  outline: 5px solid transparent;
  color: var(--white);
}

.tab-bar .nav-item:first-child .nav-link {
  border-radius: 37px 0px 0px 37px;
}

.tab-bar .nav-item:last-child .nav-link {
  border-radius: 0px 37px 37px 0px;
}

.tab-bar .tab-bar__tab {
  display: flex;
  gap: 28px;
}

.tab-bar .tab-bar__image {
  position: relative;
  min-width: 37%;
  border-radius: 20px;
  box-shadow: 2px 2px 10px #00000029;
  overflow: hidden;
}

.tab-bar .tab-bar__content--wrapper {
  flex-grow: 1;
  background: var(--white);
  box-shadow: 4px 4px 10px #0000001c;
  padding: 40px 150px;
  border-radius: 20px;
}

.tab-bar .tab-bar__content--wrapper h3 {
  font-weight: 700;
  color: var(--purple-dk);
  position: relative;
}

.tab-bar .tab-bar__content--wrapper h3 .icon {
  position: absolute;
  left: -50px;
  font-size: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.tab-bar .tab-bar__content--wrapper ul {
  list-style: none;
}

.tab-bar .tab-bar__content--wrapper li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.5rem;
}

.tab-bar .tab-bar__content--wrapper small {
  margin-top: -5px;
  margin-bottom: 0.5rem;
  /* padding-left: 24px; */
}

.tab-bar .tab-bar__content--wrapper li::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 6px;
  width: 13px;
  height: 13px;
  border: 4px solid var(--purple-dk);
  border-radius: 50%;
  background-color: white;
}

@media (max-width: 1300px) {
  .tab-bar .tab-bar__content--wrapper {
    padding: 30px 70px;
  }
}

@media (max-width: 1200px) {
  .tab-bar .tab-bar__content--wrapper li {
    font-size: 16px;
  }
}

@media (max-width: 998px) {
  .tab-bar .tab-bar__nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .tab-bar .nav-item:first-child .nav-link,
  .tab-bar .nav-item:last-child .nav-link,
  .tab-bar .nav-item .nav-link {
    border-radius: 37px;
  }
}

@media (max-width: 768px) {
  .tab-bar .tab-bar__tab {
    flex-direction: column;
  }

  .tab-bar .tab-bar__image {
    height: 300px;
  }
}