.advantages-info-carousel-container {
  width: 100%;
  max-width: 23.43rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: "Manrope", Arial, sans-serif;
  padding: 4rem 1.25rem;
}

.advantages-info-carousel-header {
  text-align: left;
  margin: 0 auto;
  width: 100%;

  .header-title {
    max-width: 18.68rem;
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  span {
    color: var(--blue);
  }
}

.advantages-info-carousel-layout {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 1rem;
  max-width: 20.93rem;
  position: relative;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 60px;
}

.advantages-info-carousel-card {
  flex: 0 0 100%;
  max-width: 100%;
  height: 526px;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  border-radius: 0.5rem;
}

.advantages-info-carousel-card-img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: contain;
}

.advantages-info-carousel-card-content {
  border-top: 4px solid var(--blue);
  padding: 1rem;
  width: 32.87rem;
  max-height: auto;
  width: 100%;
  background: linear-gradient(0deg, #f8f8ff 0%, #f5f4ff 100%);

  h3 {
    margin: 0 0 1rem 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
  }

  p {
    margin: 0;
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.5;
  }
}

.advantages-info-carousel-card-content {
  flex-grow: 1;
}

.advantages-info-carousel-controls {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 1rem;
  pointer-events: auto;
  z-index: 10;
}

.advantages-info-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.advantages-info-carousel-dot {
  width: 12px;
  height: 6px;
  border: none;
  border-radius: 3px;
  background-color: #e5e5e5;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.advantages-info-carousel-dot.active {
  background-color: var(--blue);
  width: 86px;
  height: 6px;
}

.advantages-info-carousel-arrows {
  display: flex;
  gap: 0.5rem;
}

.advantages-info-carousel-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.advantages-info-carousel-arrow:hover,
.advantages-info-carousel-arrow:focus {
  transform: scale(1.1);
  outline: none;
}

.advantages-info-carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.advantages-info-carousel-arrow .arrow-icon {
  width: 31px;
  height: 32px;
  display: block;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .advantages-info--carousel-container {
    padding: 3rem 1.37rem;
  }

  .advantages-info-carousel-header h3 {
    font-size: 2.5rem;
  }

  .advantages-info-carousel-card-content {
    width: 80rem;
  }

  .advantages-info-carousel-dot.active {
    width: 48px;
  }
}