.show {
  opacity: 1;
  transform: translateY(0);
}

.m-top {
    margin-top: 8vh; /* 8% of viewport height */
}

/* New custom CSS for pricing page */
.pricing-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    position: relative; /* For absolute positioning fallback */
    padding-bottom: 80px; /* Create space for the button at bottom */
    color: white;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 30px 20px;
    background-color: rgba(13, 110, 253, 0.7);
}

.card-body {
    flex: 1; /* Allow body to take up available space */
}

.price {
    margin-top: 15px;
}

.currency {
    font-size: 24px;
    vertical-align: super;
}

.amount {
    font-size: 48px;
    font-weight: bold;
}

.period {
    font-size: 16px;
    opacity: 0.8;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.checkmark {
    color: #0d6efd;
    margin-right: 10px;
    font-weight: bold;
}

/* Position the button at the bottom */
.pricing-card .btn-primary,
.pricing-card .button-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
}

.premium-card {
    position: relative;
}

.premium-card::before {
    content: "Most Popular";
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: rgba(218,165,32, 1);
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    transform: rotate(30deg);
    width: 150px;
    text-align: center;
    z-index: 2;
}

.btn-primary {
    background-color: rgba(13, 110, 253, 0.5);
    border-color: rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background-color: rgba(13, 110, 253, 0.7);
    border-color: rgba(13, 110, 253, 0.5);
}

.modal-content {
    background-color: #2a2e33;
    color: white;
}

.modal-header {
    border-bottom-color: #3a3e43;
}

.modal-footer {
    border-top-color: #3a3e43;
}

.btn-outline-light:hover {
    background-color: rgba(13, 110, 253, 0.5);
    border-color: rgba(13, 110, 253, 0.5);
}

@media (max-width: 768px) {
    .m-top {
        margin-top: 150px;
    }
    .premium-card::before {
        display: none;
    }
}