.col-trusted-by {
  align-items: center;
  display: flex;
  padding: 0 10px;
}

.col-trusted-by-1 {
  justify-content: end;
}

.col-trusted-by-1,
.col-trusted-by-4 {
  width: 10%;
}

.col-trusted-by-2,
.col-trusted-by-3 {
  width: 40%;
}

.col-trusted-by-2,
.col-trusted-by-3,
.col-trusted-by-4,
.col-trusted-by-5 {
  justify-content: center;

  img {
    max-width: 100%;
  }
}

.col-trusted-by-5,
.col-trusted-by-6 {
  display: none;
}

.carousel-trusted-by {
  margin-top: 40px;
  padding: 0;
}

.description-trusted-by {
  /* margin-top: 45px; */
  display: flex;
  flex-direction: column;
  align-items: center;

  .text-trusted-by {
    margin-top: 40px;
    font-weight: 700;
    font-size: var(--fs-h2); /* Changed from 38px to var(--fs-h2) */
    max-width: 965px;
    color: #222222;
    text-align: center;

    strong {
      color: #6800ff;
      font-weight: 700;
    }
  }

  .btn-join-us {
    font-size: var(--fs-h5); /* Changed from 22px to var(--fs-h5) */
    font-weight: 400;
    border: 1px solid #6800ff;
    text-decoration: none;
    color: #6800ff;
    padding: 15px 30px;
    border-radius: 20px;
    margin-top: 40px;
  }
}

@media screen and (min-width: 990px) {
  .col-trusted-by-5,
  .col-trusted-by-6 {
    display: flex;
  }

  .col-trusted-by-2,
  .col-trusted-by-3,
  .col-trusted-by-4,
  .col-trusted-by-5 {
    width: 22.5%;
  }

  .col-trusted-by-1 {
    width: 5%;
  }

  .col-trusted-by-6 {
    width: 5%;
  }
}

@media screen and (max-width: 1580px) {
  .description-trusted-by {
    .text-trusted-by {
      font-size: var(--fs-h3); /* Changed from 30px to var(--fs-h3) */
      line-height: 35px;
    }

    .btn-join-us {
      padding: 10px 30px;
    }
  }
}

@media screen and (max-width: 990px) {
  .col-trusted-by-4 {
    justify-content: left;

    img {
      max-width: none;
      width: 140px;
    }
  }

  .col-trusted-by-1 {
    img {
      width: 140px;
    }
  }

  .description-trusted-by {
    /* margin-top: 25px; */

    .text-trusted-by {
      margin-top: 25px;
      font-size: var(--fs-h4); /* Changed from 25px to var(--fs-h4) */
      max-width: 540px;

      strong {
        color: #6800ff;
      }
    }

    .btn-join-us {
      margin-top: 20px;
      color: #6800ff;
      border-color: #6800ff;
      font-size: var(--fs-h6); /* Changed from 18px to var(--fs-h6) */
      padding: 8px 25px;
    }
  }

  .carousel-trusted-by {
    margin-top: 20px;
  }
}

@media screen and (max-width: 520px) {
  .description-trusted-by {
    .text-trusted-by {
      margin-top: 15px;
      font-size: var(--fs-footnote); /* Changed from 14px to var(--fs-footnote) */
      max-width: 275px;
      line-height: 18px;
    }

    .btn-join-us {
      font-size: var(--fs-body); /* Changed from 16px to var(--fs-body) */
      padding: 5px 25px;
      margin-top: 15px;
    }
  }
}

.principal-carousel {
  margin-top: 150px;

  .img-filter-gray {
    filter: grayscale(0) !important;
  }

  .gradient-hover {
    border-radius: 40px;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(252, 250, 255, 0) 28.13%, #6800ff 100%);
  }

  @media (max-width: 1200px) {
    .btn-read-now {
      display: none;
    }
  }
}

.carousel-secoundaries,
.carousel-second-column {
  margin-top: 75px;

  .btn-read-now {
    display: none;
  }
}

.card-insight {
  cursor: pointer;
  height: 234px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 40px;
  background: round;
  position: relative;
  margin-bottom: 15px;
}

.card-insight:hover {
  .img-filter-gray {
    filter: none;
    transition-duration: 0.2s;
  }

  .gradient-hover {
    border-radius: 40px;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(252, 250, 255, 0) 28.13%, #6800ff 100%);
  }
}

.img-filter-gray {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: grayscale(1) brightness(0.6);
  background-size: cover;
  border-radius: 40px;
}

.info-card-insight {
  padding: 30px 20px;
  z-index: 2;
  text-decoration: none;

  @media screen and (max-width: 980px) {
    padding: 15px 18px;
  }

  @media screen and (max-width: 520px) {
    padding: 20px 15px;
  }
}

.categories-card-insight {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.categories-card-insight::-webkit-scrollbar {
  display: none;
}

.categories-card-insight__categorie {
  margin: 0;
  color: #6800ff;
  font-size: var(--fs-footnote); /* Changed from 12px to closest var(--fs-footnote) */
  background-color: white;
  padding: 5px 10px;
  border-radius: 30px;
  white-space: nowrap;

  @media screen and (max-width: 980px) {
    font-size: var(--fs-footnote); /* Changed from 10px to closest var(--fs-footnote) */
  }

  @media screen and (max-width: 520px) {
    font-size: var(--fs-footnote); /* Changed from 8px to closest var(--fs-footnote) */
  }
}

.principal-carousel {
  .info-values-card-insight {
    max-width: 100%;
  }

  @media screen and (min-width: 1200px) {
    .info-values-card-insight {
      max-width: 60% !important;
    }
  }
}

/*
.categories-card-insight__title {
    font-size: 22px;
    color: white;
    font-weight: 700;
    max-width: 410px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    @media screen and (max-width: 980px) {
        font-size: 20px;
    }

    @media screen and (max-width: 520px) {
        font-size: 16px;
    }
} */

/* *************** Carrusel ********************* */

.categories-card-insight__description {
  font-size: var(--fs-body); /* Changed from 16px to var(--fs-body) */
  font-weight: 400;
  color: white;
  margin-bottom: -1rem;
  max-width: 100%;
  padding-right: 10px;

  @media screen and (max-width: 520px) {
    font-size: var(--fs-footnote); /* Changed from 12px to closest var(--fs-footnote) */
  }
}

.card-item {
  border-radius: 40px;
  padding-right: 30px;
}

.carousel-first-column {
  display: flex;
  justify-content: end;

  .card-insight {
    display: block;
    width: 563px;
    position: relative;
  }

  .img-filter-gray {
    background-position: right;
  }

  .btn-read-now {
    display: none;
  }
}

.carousel-last-column {
  .card-insight {
    position: relative;
    width: 320px;
  }

  .btn-read-now {
    display: none;
  }
}

.carousel--column {
  display: flex;
  justify-content: end;

  .card-insight {
    display: block;
    width: 563px;
    position: fixed;

    .categories-card-insight__title {
      width: 260px;
    }
  }
}

.card-insight-carousel {
  height: 500px;
  background: linear-gradient(180deg, rgba(252, 250, 255, 0) 28.13%, #6800ff 100%);
  pointer-events: none;
}

.actions-carousel {
  top: 50%;
  left: 26%;
  width: 46%;
  line-height: 60px;
  position: absolute;
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 1199px) {
    left: 14%;
    width: 69%;
  }
}

.actions-carousel.case-studies-carousel {
  .btn-action-carousel {
    &:hover {
      img {
        content: url("../assets/enabled-circle-arrow.svg");
        width: 65px;
        height: 65px;
      }

      transform: rotate(180deg);
    }
  }

  .btn-right {
    img {
      transform: rotate(180deg);
    }
  }
}

.btn-action-carousel {
  width: 50px;
  height: 50px;
  border: 1px solid #6800ff;
  border-radius: 50%;
  color: #6800ff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fcfaff;
  text-decoration: none;
}

.btn-right {
  background-color: #6800ff;
  color: #fffffa;
}

@media screen and (max-width: 1199px) {
  .principal-carousel {
    margin-top: 0px;
    padding-right: 0;

    .img-filter-gray {
      filter: grayscale(100%) !important;
      border-top-right-radius: 0px;
      border-bottom-right-radius: 0px;
    }

    .gradient-hover {
      border-radius: 40px;
      width: 100%;
      height: 100%;
      position: absolute;
      background: none;
    }

    .actions-carousel {
      left: calc(15% + 7px);
      width: calc(72%);
    }

    .categories-card-insight__description {
      width: max-content;
    }

    .card-insight-carousel {
      .info-values-card-insight {
        margin-right: 30px !important;
      }
    }
  }

  .carousel-secoundaries,
  .carousel-second-column {
    .info-values-card-insight {
      max-width: 60% !important;
    }

    .btn-read-now {
      display: flex;
      text-decoration: none;
    }
  }

  .carousel-first-column {
    .img-filter-gray {
      border-top-left-radius: 0px;
      border-bottom-left-radius: 0px;
    }
  }

  .carousel-second-column {
    .img-filter-gray {
      filter: grayscale(0) !important;
    }

    .gradient-hover {
      border-radius: 40px;
      width: 100%;
      height: 100%;
      position: absolute;
      background: linear-gradient(180deg, rgba(252, 250, 255, 0) 28.13%, #6800ff 100%);
    }
  }
}

.carousel-body-custom {
  padding: 0;

  .info-card-insight {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .btn-read-now {
    background-color: #fffffa;
    padding: 15px 30px 15px 30px;
    font-size: var(--fs-h5); /* Changed from 22px to var(--fs-h5) */
    font-weight: 400;
    color: #6800ff;
    height: min-content;
    border-radius: 20px;
    pointer-events: auto;
    text-decoration: none;
  }

  .info-values-card-insight {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }
}

.header-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;

  .description-carousel {
    font-weight: 400;
    font-size: var(--fs-h3); /* Changed from 28px to var(--fs-h3) */
  }
}

.title-carousel.title-carousel-partners {
  font-size: var(--fs-h1); /* Changed from 40px to var(--fs-h1) */
  font-weight: 500;
  color: #222222;
  text-align: center;
  padding-bottom: 20px;
}

@media (max-width: 1439px) {
  .title-carousel.title-carousel-partners {
    font-size: var(--fs-h2); /* Changed from 36px to var(--fs-h2) */
    padding-bottom: 15px;
  }
}

@media (max-width: 1023px) {
  .title-carousel.title-carousel-partners {
    font-size: var(--fs-h3); /* Changed from 30px to var(--fs-h3) */
    padding-bottom: 10px;
  }
}

@media (max-width: 719px) {
  .title-carousel.title-carousel-partners {
    font-size: var(--fs-h3); /* Changed from 28px to var(--fs-h3) */
  }
}

.field--name-field-business-driven-a-content {
  .header-carousel {
    .title-carousel {
      font-weight: 400 !important;

      strong {
        color: #222222;
        font-weight: 700;
      }
    }
  }
}

.content-carousel-trusted-by {
  padding: 80px 0;
}

.field--name-field-business-driven-a-content {
  .content-carousel-trusted-by {
    background: linear-gradient(
      78.9deg,
      rgba(104, 0, 255, 0.1) -1.67%,
      rgba(252, 250, 255, 0.1) 25.87%,
      rgba(252, 250, 255, 0.1) 49.69%,
      rgba(252, 250, 255, 0.1) 72.99%,
      rgba(221, 47, 143, 0.1) 100%
    );
    background-size: 100% 100px;
    background-repeat: repeat-y;
  }
}

.carousel-item-trusted-by {
  background-color: transparent;
  height: 150px !important;

  img {
    max-width: 200px;

    @media (max-width: 1200px) {
      max-width: 150px;
    }

    @media screen and (max-width: 991px) {
      max-width: 100px;
    }

    @media screen and (max-width: 320px) {
      max-width: 80px;
    }
  }
}

.content-case-studies {
  padding-top: 80px;
  position: relative;
}

.gradient-left-purple-carrousel-home {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #6800ff;
  position: absolute;
  bottom: 0;
  margin-left: -80px;
  margin-bottom: -40px;
  filter: blur(150px);
}

.gradient-left-carrousel {
  @media screen and (max-width: 1200px) {
    display: none;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

#carouselComponents {
  .carousel-inner .carousel-item-next,
  .carousel-inner .carousel-item-prev {
    display: none;
  }
}

/* medium and up screens */
@media (min-width: 768px) {
  .carousel-inner .carousel-item-end.active,
  .carousel-inner .carousel-item-next {
    transform: translateX(0%) !important;
  }

  .carousel-inner .carousel-item-start.active,
  .carousel-inner .carousel-item-prev {
    transform: translateX(-0%) !important;
  }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
  transform: translateX(0) !important;
}

.carousel-body-custom {
  @media (min-width: 1200px) {
    .col-xl-6 {
      flex: 0 0 auto;
      width: 45%;
    }
  }

  @media (min-width: 1200px) {
    .col-xl-2 {
      flex: 0 0 auto;
      width: 21%;
    }
  }

  @media (min-width: 1200px) {
    .col-xl-1 {
      flex: 0 0 auto;
      width: 6.5%;
    }
  }
}

@media screen and (max-width: 1580px) {
  .header-carousel {
    .description-carousel {
      font-size: var(--fs-h4); /* Changed from 24px to var(--fs-h4) */
    }
  }
}

@media screen and (max-width: 960px) {
  .actions-carousel {
    width: 100%;
    left: 0;
    height: 100%;
    top: 0;

    .btn-action-carousel {
      height: 100%;
      width: 16%;
      border-radius: 0;
      background-color: transparent;
      border: none;
      color: transparent;

      img {
        display: none;
      }
    }
  }

  .carousel-second-column {
    .info-card-insight {
      align-items: start;
      flex-direction: column;
    }

    .btn-read-now {
      margin: auto;
      padding: 11px 22px;
      border-radius: 15px;
      font-size: var(--fs-body); /* Changed from 16px to var(--fs-body) */
      margin-top: 15px;
    }
  }

  .header-carousel {
    .description-carousel {
      font-size: var(--fs-h5); /* Changed from 20px to var(--fs-h5) */
      text-align: center;
      max-width: 440px;
    }
  }

  .content-carousel-trusted-by {
    padding: 40px 0;
  }

  .content-case-studies {
    padding: 40px 0;
  }

  .carousel-item-trusted-by {
    height: 120px !important;
  }
}

@media screen and (max-width: 520px) {
  .carousel-first-column {
    padding: 0;

    .card-insight {
      height: 322px;
    }
  }

  .carousel-second-column {
    padding-right: 15px;
    padding-left: 15px;
  }

  .card-insight-carousel {
    height: 368px;
  }

  .carousel-secoundaries,
  .carousel-second-column {
    margin-top: 20px;
  }

  .principal-carousel {
    .card-insight-carousel {
      height: 322px;
      background: none;
    }
  }

  .header-carousel {
    .description-carousel {
      font-size: var(--fs-footnote); /* Changed from 12px to closest var(--fs-footnote) */
      max-width: 250px;
      text-align: center;
    }
  }

  .carousel-item-trusted-by {
    height: 100px !important;
  }
}

.see-more-cases {
  text-align: center;

  a {
    font-size: var(--fs-h5); /* Changed from 22px to var(--fs-h5) */
    color: #6800ff;
    text-decoration: none;
  }

  img {
    width: 24px;
    margin-left: 3px;
  }
}

.carousel-item-prev:not(.carousel-item-end) {
  transform: translateX(0);
}

.carousel-item-next:not(.carousel-item-start) {
  transform: translateX(0);
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end,
.media-library-view--widget .view-header a.carousel-item-end.is-active {
  /* CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX; */
  transform: translateX(0);
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .principal-carousel {
    .info-values-card-insight {
      max-width: 60% !important;
    }
  }
}

.card-group-title-connects {
  text-align: left;
}
