/* Hero */

#vendor-hero-section .hero-text {
  max-width: 46rem;
}

#vendor-hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 4rem;
}

#vendor-hero-cta__text {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#vendor-hero-cta__text .gradient-line {
  width: 80%;
}
/* End Hero */

/* Company Highlight */

#vendors-highlight-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.vendors-row {
  display: flex;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}

.vendor-highlight-item {
  flex: 0 0 auto;
  margin-right: 4rem;
}

#vendors-highlight-container:hover .vendors-row {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#vendor-stats-section .stats-section__text h2 {
  max-width: 30ch;
  width: 100%;
}

.stats-section__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.vendor-highlight-item_circle {
  width: 7rem;
  aspect-ratio: 1/1;
  height: auto;
  background-color: white;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vendor-highlight-item_circle img {
  height: 84%;
  width: auto;
}

#vendor-stats-section .stats-section__stats {
  display: flex;
}

/* #vendors-highlight-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
} */

#vendors-highlight-container {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
  position: relative;
  flex-direction: column;
  gap: 6rem;
}

#vendors-highlight__fader-left,
#vendors-highlight__fader-right {
  height: 100%;
  width: 8rem;
  position: absolute;
  z-index: 1;
  top: 0;
}

#vendors-highlight__fader-left {
  background: linear-gradient(90deg, var(--darkerblue) 0%, transparent 100%);
}

#vendors-highlight__fader-right {
  background: linear-gradient(90deg, transparent 0%, var(--darkerblue) 100%);
}

#vendors-highlight__fader-left::before,
#vendors-highlight__fader-right::before {
  content: "";
  background: url("../img/noise.svg");
  background-repeat: repeat;
  background-size: auto;
  background-repeat: repeat;
  background-size: auto;
  background-repeat: repeat;
  opacity: 0.2;
  z-index: 10;
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: inherit;
  top: 0;
  left: 0;
}

#vendors-highlight__fader-left::before {
  -webkit-mask-image: linear-gradient(to right, black, transparent);
  mask-image: linear-gradient(to right, black, transparent);
}

#vendors-highlight__fader-right::before {
  -webkit-mask-image: linear-gradient(to left, black, transparent);
  mask-image: linear-gradient(to left, black, transparent);
}

#vendors-highlight__fader-right {
  right: -1px;
}
/* #vendors-highlight-container::before {
  content: "";
  width: 8rem;
  height: 100%;
  background-size: cover;
  background: url("/projects/img/noise.svg");
  background-color: var(--darkerblue);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
} */

.vendor-highlight-item {
  flex: 0 0 auto;
  margin-right: 2rem; /* spacing */
}

.vendor-highlight-item {
  flex: 0 0 auto;
  margin-right: 6rem;
}

#vendors-highlight-container {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  justify-content: space-between;
}

/* .vendor-highlight-item {
  flex: 0 0 auto;
  margin-right: 2rem;
} */
/* End Company Highlight */

/* Benefits */

#benefits-section .container {
  max-width: 140rem;
  padding: 8rem;
  /* border: 1px solid var(--blue); */
  display: flex;
  flex-direction: column;
  gap: 8rem;
  border-radius: 2rem;
}

#benefits-section .container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  padding-bottom: 2px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: add, add;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0.5;
}

#benefits-title h2 {
  text-align: center;
  color: var(--darkerblue);
}

#benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 4rem;
  row-gap: 8rem;
}

.benefit-item {
  display: flex;
  /* width: 36rem; */
  gap: 1.4rem;
}

/* .benefit-item:last-of-type {
  grid-column: 2;
} */

.benefit-icon-circle {
  width: 3.6rem;
  aspect-ratio: 1/1;
  height: auto;
  background: linear-gradient(
    135deg,
    rgba(0, 93, 205, 1) 20%,
    rgba(24, 245, 255, 1) 90%
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  border: 2px solid var(--cyan);
}

.benefit-icon-circle img,
.benefit-icon-circle svg {
  max-height: 1.7rem;
  stroke: white;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.benefit-text__title {
  font-family: "Satoshi-Variable";
  color: var(--darkerblue);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 100%;
}
/* End Benefits */

/* Book Demo */
#book-demo-section {
  background: linear-gradient(
    135deg,
    rgba(0, 93, 205, 1) 20%,
    rgba(24, 245, 255, 1) 90%
  );
  padding: 10rem 0;
  position: relative;
}

#book-demo-section::after {
  content: "";
  background: url("../img/noise.svg");
  background-repeat: repeat;
  background-size: auto;
  background-repeat: repeat;
  background-size: auto;
  background-repeat: repeat;
  opacity: 0.2;
  /* z-index: 10; */
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: inherit;
  top: 0;
  left: 0;
}

#book-demo-section .container {
  max-width: 110rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 equal columns */
  gap: 4rem;
  z-index: 1;
}

#book-demo-title {
  grid-column: 1/-1;
}

#book-demo-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

#book-demo-title h2 {
  color: white;
}

#book-demo-title h2 span {
  color: var(--yellow);
}

#book-demo__text {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#book-demo__text .gradient-line {
  background: linear-gradient(135deg, var(--cyan) 20%, var(--yellow) 90%);
}

#book-demo-form-container {
  background: linear-gradient(135deg, #f8f8f8 20%, #f3f0ed 90%);
  padding: 4rem;
  border-radius: 1rem;
  border: 1px solid white;
  filter: drop-shadow(-2px 1px 8px #0306351c);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#book-demo-form-container h3 {
  color: var(--blue);
  position: relative;
}

#book-demo-form-container h3::after {
  content: "";
  width: 100%;
  height: 1px;
  background-size: 100%;
  background: linear-gradient(135deg, var(--cyan) 20%, #f3f0ed 90%);
  background-color: red;
}

#book-demo-form__form-container {
  position: relative;
  padding: 2rem 0;
}

#book-demo-form__form-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px; /* border thickness */
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--light));
}

#book-demo-image img {
  max-width: 44rem;
  width: 100%;
}
/* End Book Demo */

/* Vendor List */
#vendor-list-section {
  /* padding: 6rem 0; */
}

#vendor-list-section .container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: 102rem;
}

#vendor-list-title h2 {
  text-align: center;
  color: var(--darkerblue);
}

#vendor-list-title h2 span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#vendor-list-navigation {
  display: flex;
  gap: 2rem;
  row-gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  display: none;
}

.vendor-list-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 2rem;
  background-color: #fbfbfb;
  border: 1px solid #18f5ff66;
  border-radius: 3rem;
  font-size: 1.3rem;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
  cursor: pointer;
  font-weight: 500;
  color: #515455;
}

.vendor-list-nav-item.active,
.vendor-list-nav-item:hover {
  background-color: var(--blue);
  color: white;
}

#vendor-list-search {
  position: relative;
  display: flex;
  width: 30rem;
  height: 4rem;
  margin: auto;
  align-items: center;
}

input#vendor-list-search-input {
  padding-right: 35px; /* space for the icon */
  height: 100%;
  width: 100%;
  background-color: var(--light);
}

#vendor-list-search .icon {
  /* position: absolute; */
  /* right: 10px; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
  position: relative;
  pointer-events: none; /* allows clicking in the input */
  font-size: 16px;
  height: 100%;
  display: flex;
  align-items: center;
  right: 3rem;
}

#vendor-list-vendors-container {
  display: flex;
  flex-direction: column;
  gap: 12rem;
}

.vendor-list__category {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  /* margin: 14rem 0; */
}

.vendor-list__category h3 {
  text-align: center;
}

.vendor-list-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 110rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 2rem;
  row-gap: 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.vendor-list-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  /* width: 12rem; */
  max-width: 14rem;
  min-width: 12rem;
  width: 100%;
}

.vendor-list-item__circle {
  width: 5rem;
  aspect-ratio: 1/1;
  height: auto;
  /* background-color: var(--light); */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vendor-list-item__circle img,
.vendor-list-item__circle svg {
  max-width: 12rem;
  max-height: 5rem;
}

.vendor-list-item__name {
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
}

/* End Vendor List */
@media all and (max-width: 1295px) {
  /* .benefit-item:last-of-type {
    grid-column: 1;
  } */
}

@media all and (max-width: 1000px) {
  #benefits-section .container {
    padding: 2rem;
  }

  #benefits-section .container::before {
    background: none;
  }

  #book-demo-section .container {
    grid-template-columns: 1fr;
  }

  #vendor-list-vendors-container {
    gap: 8rem;
  }

  .vendor-list-item__circle {
    width: 5rem;
  }
}
