@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto:wght@400;700&display=swap");

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Scoped to avoid theme collisions */
.ic-carousel {
  width: 100%;
  background-color: #eeeeee;
}

.ic-carousel .carousel-container {
  max-width: 100%;
  width: 100%;
  position: relative;
  padding: 0 60px;
}

.ic-carousel .carousel-wrapper {
  overflow: hidden;
  border-radius: 16px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
}

.ic-carousel .carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
}

.ic-carousel .carousel-card {
  min-width: calc(50% - 10px);
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.ic-carousel .icon-wrapper {
  width: 64px;
  height: 64px;
  background: #eeeeee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.ic-carousel .icon-wrapper .ic-icon-img {
  width: 30px;
  height: 30px;
  display: block;
}

.ic-carousel .card-title {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ic-carousel .card-description {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ic-carousel .card-description p,
.ic-carousel .card-features p {
  margin: 0 0 1em 0;
}

.ic-carousel .card-description p:last-child,
.ic-carousel .card-features p:last-child {
  margin-bottom: 0;
}

.ic-carousel .card-features {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.6;
}

.ic-carousel .nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.ic-carousel .nav-button:hover {
  transform: translateY(-50%) scale(1.05);
  background: #f8f9fa;
}

.ic-carousel .nav-button:active {
  transform: translateY(-50%) scale(0.98);
}

.ic-carousel .nav-button.prev {
  left: 0;
}

.ic-carousel .nav-button.next {
  right: 0;
}

.ic-carousel .nav-button svg {
  width: 20px;
  height: 20px;
  stroke: #2c3e50;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic-carousel .nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ic-carousel .nav-button:disabled:hover {
  transform: translateY(-50%) scale(1);
  background: #fff;
}

@media (max-width: 768px) {
  .ic-carousel .carousel-container {
    padding: 0 50px;
  }

  .ic-carousel .carousel-card {
    min-width: 100%;
    padding: 24px;
  }

  .ic-carousel .card-title {
    font-size: 18px;
  }

  .ic-carousel .card-description,
  .ic-carousel .card-features {
    font-size: 13px;
  }

  .ic-carousel .nav-button {
    width: 40px;
    height: 40px;
  }

  .ic-carousel .nav-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .ic-carousel .carousel-container {
    padding: 0 45px;
  }

  .ic-carousel .carousel-card {
    padding: 20px;
  }
}
