.subscription-section {
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    /* padding: 3rem; */
    margin: 50px 8% 0 8%;
    gap: 20px;
}

.subscription-section h1 {
  color: var(--text-color);
  font-weight: 800;
  font-size: 3.5rem;
}

.subscription-section .subtitle {
  color: var(--text-color);
  font-size: 1.4rem;
  text-align: center;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  max-width: 1400px;
  height: fit-content;
}

.arrow-button {
  width: 75px;
  height: 75px;
  background: var(--text-color);
  border-radius: 100%;
  border: none;
  cursor: pointer;
  margin: 0 5px 0 5px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-button img {
  width: 2rem;
}

.cards-wrapper {
  position: relative;
  display: block;
  margin: auto;
  width: 70%;
  height: calc(400px + 2vw);
}

.card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 2.5rem;
  transition: all 0.5s ease;
  background: var(--color-dark-1);
  padding: 2.5rem 1.5rem;
  width: calc(220px + 2vw);
  height: calc(240px + 2vw);
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.card.left {
  left: 7%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}

.card.active {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
  z-index: 2;
}

.card.right {
  left: 93%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 1;
}

.card:not(.left):not(.active):not(.right) {
  transform: translate(-50%, -50%) scale(0.8);
  top: 50%;
  left: 50%;
  opacity: 0;
}

.card h2 {
  margin-bottom: 10px;
  font-size: calc(0.2vw + 24px);
  color: var(--text-color);
}

.card .cost-year {
  position: relative;
  text-align: center;

  padding: 5px;
  margin-right: auto;

  font-size: 1.2rem;

  background-color: var(--text-color);
  border-radius: 5px;
}

.card .discount {
  position: absolute;
  top: -1rem;
  right: -1rem;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 0.85rem;

  width: 2rem;
  height: 2rem;

  border-radius: 100%;
  background-color: var(--accent-color);
  color: var(--text-color);
}

.subscribe-button {
  border-radius: 3.1rem;
  padding: 1rem 1rem;
  border: none;
  background: var(--text-color);
  color: var(--color-dark-1);
  cursor: pointer;
  transition: all 0.2s;
  font-size: calc(0.2vw + 14px);
  font-weight: 700;
}

.subscribe-button:hover {
  background: var(--accent-color);
  color: var(--text-color);
}

.cost .orange {
  font-size: calc(0.5vw + 30px);
}

.cost .white {
  font-size: calc(0.2vw + 16px);
}

.costType {
  color: var(--text-color);
  font-size: calc(0.2vw + 16px);
}

.orange {
  color: var(--accent-color);
}

.gray {
  color: var(--color-dark-2);
}

.white {
  color: var(--text-color);
}
