body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 200vh;
}

h1 {
  color: black;
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  margin: 1% auto 1% auto;
  width: 95%;
  animation: heading-fade 5s infinite;
}

.header-title {
  color: white;
  text-align: center;
  font-weight: 800;
  width: 95%;
  animation: heading-fade 2s infinite;
}

@keyframes heading-fade {
  0% {
    opacity: 0.9;
    scale: 1;
  }
  50% {
    opacity: 0.6;
    scale: 1.03;
  }
  100% {
    opacity: 0.9;
    scale: 1;
  }
}

h4 {
  font-weight: 600;
}

h5 {
  color: #0c1458;
}

hr {
  background-color: #ce3d19;
  border: none;
  height: 2px;
  margin: 20px 0;
  opacity: 0.8;
}

.image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  background-color: rgb(250, 250, 250);
  border: #e6a991ad 2px solid;
  position: absolute;
  margin: 0 10px;
  padding: 0 20px;
  width: 25%;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.5s ease;
  cursor: pointer;
}

.card:hover {
  border: #ce3d19 2px solid;
}

.card.left {
  transform: translateX(-100%) scale(0.95);
  opacity: 0.95;
}

.card.left:hover {
  transform: translateX(-100%) scale(0.97);
}

.card.center {
  border: #ce3d19 2px solid;
  z-index: 1;
}

.card.right {
  transform: translateX(100%) scale(0.95);
  opacity: 0.95;
}

.card.right:hover {
  transform: translateX(100%) scale(0.97);
}

.card.hidden {
  display: none;
}

.btn-select {
  font-size: 1.1em;
  font-weight: 700;
  display: block;
  margin: 20px auto;
  padding: 10px 80px;
  background: linear-gradient(
    45deg,
    rgb(255, 71, 20) 0%,
    rgb(252, 7, 48) 4%,
    rgb(233, 115, 30) 100%
  );
  color: white;
  opacity: 1;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.card.left .btn-select,
.card.right .btn-select {
  background: white;
  color: #ce3d19;
  border: 2px solid #ce3d19;
  background-color: white;
  transition: background-color 0.3s ease-in-out;
}

.card.left .btn-select:hover,
.card.right .btn-select:hover {
  background-color: #f5c0b37e;
}

ul li {
  font-size: 1.15em;
  list-style: none;
  line-height: 3em;
  word-spacing: 0.1em;
  letter-spacing: 0.1em;
}

ul li:hover {
  color: #ce3d19;
}

.pricing-title {
  font-size: 2.5em;
  font-weight: 800;
  color: #0c1458;
  margin-bottom: 0;
}

.pricing-price {
  font-size: 2em;
  font-weight: 700;
  color: #0c1458;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.org-pricing-price {
  color: rgb(105, 105, 105);
  font-size: 0.7em;
  opacity: 0.9;
}

.org-pricing-price button {
  font-weight: 700;
  color: white;
  padding: 5px 8px;
  background-color: #5c86c5;
  border-radius: 20px;
  border: none;
}

.card-header {
  background: linear-gradient(
    45deg,
    rgb(255, 71, 20) 0%,
    rgb(252, 7, 48) 4%,
    rgb(233, 115, 30) 100%
  );
  border: 2px solid rgb(244, 93, 25);
  /* Customize the background color */
  color: white;
  text-align: center;
  padding: 5px;
  border-radius: 15px 15px 0 0;
  /* Rounded corners at the top */
  position: absolute;
  /* Adjust position as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.header-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.plan-duration {
  margin: 20px 0;
  text-align: center;
}

.plan-duration label {
  font-weight: bold;
  margin-right: 10px;
}

#duration-select {
  color: white;
  background-color: #120b2e;
  padding: 5px;
  font-weight: 800;
  border-radius: 15px;
}

#duration-select option {
  background-color: #120b2e;
}

@media (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    margin: 0;
    padding: 0;
  }

  h1 {
    font-size: 1.8em;
  }

  h4 {
    margin-top: 0;
    font-size: 0.8em;
  }

  h5 {
    font-size: 1.1em;
  }

  ul li {
    font-size: 0.8em;
  }

  .btn-select {
    font-size: 0.8em;
  }

  .card.center .pricing-title {
    margin-top: 40px;
  }

  .image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .card {
    background-color: rgb(250, 250, 250);
    border: #e6a991ad 2px solid;
    position: absolute;
    margin: 0;
    padding: 0 20px;
    width: 60%;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, opacity 0.5s ease;
    cursor: pointer;
  }

  .card.left {
    transform: translateX(-25%) scale(0.9);
    /* Shift left card */
    opacity: 0.5;
    /* Reduce opacity for non-active cards */
  }

  .card.left:hover {
    transform: translateX(-25%) scale(0.9);
  }

  .card.center {
    opacity: 1;
    /* Full opacity for the center card */
    z-index: 1;
    /* Bring the center card to the front */
  }

  .card.right {
    transform: translateX(25%) scale(0.9);
    /* Shift right card */
    opacity: 0.5;
    /* Reduce opacity for non-active cards */
  }

  .card.right:hover {
    transform: translateX(25%) scale(0.9);
  }

  ul li:hover {
    color: #000000;
  }

  /* Dots styling */
  .dots {
    display: flex;
    /* Use flexbox to arrange dots in a row */
    justify-content: center;
    /* Center the dots */
    margin-top: 20px;
    /* Add some space above the dots */
  }

  .dot {
    width: 1em;
    /* Set width for dots */
    height: 1em;
    /* Set height for dots */
    border-radius: 50%;
    /* Make dots circular */
    background-color: #ccc;
    /* Default color for inactive dots */
    margin: 0 5px 25px 5px;
    /* Space between dots */
    transition: background-color 0.3s ease;
    /* Smooth transition for color change */
  }

  .dot.active {
    background-color: #db3b0a;
    /* Color for the active dot */
    animation: blink 1.5s infinite;
  }

  @keyframes blink {
    0% {
      opacity: 1;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }
}

