.cards{
  position: relative;
  margin: 0em 0 10em 0;
}

.cards__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: stretch; /* Ensures all cards stretch to the same height */
}

.card, .overlay .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%; /* Ensures all cards are equal height */
}
.card{
  --flow-space: 0.5em;
  --hsl: var(--hue), var(--saturation), var(--lightness);
  background-color: #2b2b2b;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  flex: 1 1 14rem;
  padding: 1.5em 2em;
  align-items: start;
  gap: 0.5em;
  color: #eceff1;
  border: 1px solid #eceff133;
  border-radius: 15px;
  justify-self: center;
}
.card__bullets{
  line-height: 1.4;
}
.card__bullets li::before{
  display: inline-block;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='16' title='check' fill='%23dddddd'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z' /%3E%3C/svg%3E");
  transform: translateY(0.25ch);
  margin-right: 1ch;
}
.card__heading{
  font-size: 1.05em;
  font-weight: 600;
}

.card__price{
  font-size: 1.75em;
  font-weight: 700;
}
.flow > * + * {
  margin-top: var(--flow-space, 1.25em);
}
/* booknow button */
.cta{
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: #0d0d0d;
  align-self: end;
  margin: 1em 0 0.5em 0;
  text-align: center;
  padding: 0.7em;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.card:nth-child(1){
  --hue: 180;
  --saturation: 82.26%;
  --lightness: 51.37%;
}

.card:nth-child(2) {
  --hue: 291.34;
  --saturation: 95.9%;
  --lightness: 61.76%;
}

.card:nth-child(3) {
  --hue: 338.69;
  --saturation: 100%;
  --lightness: 48.04%;
}
.card:nth-child(4) {
  --hue: 48;
  --saturation: 90%;
  --lightness: 55%;
}
.overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  opacity: var(--opacity, 0);
  mask: radial-gradient(
      25rem 25rem at var(--x) var(--y),
      #000 1%,
      transparent 50%
  );
  will-change: mask;
  transition: 400ms mask ease;
}
:not(.overlay) > .card{
  transition: 400ms background ease;
  will-change: background;
}
:not(.overlay) > .card:hover{
  --lightness: 95%;
  background: hsla(var(--hsl), 0.1);
}

.overlay .card{
  background-color: hsla(var(--hsl), 0.15);
  border-color: hsla(var(--hsl), 1);
  box-shadow: 0 0 0 1px inset hsl(var(--hsl));
}

.overlay .cta {
  display: block;
  grid-row: -1;
  width: 100%;
  background-color: hsl(var(--hsl)); /* Ensure button gets the same overlay color */
  box-shadow: 0 0 0 1px hsl(var(--hsl));
  color: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
} 
  @media (max-width: 768px) {
    .navbar-nav {
      text-align: center;
    }
    .nav-btn-area {
      flex-direction: column;
      gap: 10px;
    }
  }@media (max-width: 480px) {
    .card {
      padding: 1em;
    }
    .card__heading {
      font-size: 1em;
    }
    .card__price {
      font-size: 1.5em;
    }
  }
  