.pricing-section {
    padding: 3rem 0;
}

.hidden {
    display: none !important;
}
#payAsYouGo {
    display: none; /* Will be shown by JS if Pay As You Go is selected */
}
.pricing-cards {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.card, .payAsYouGo-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.card.featured, .payAsYouGo-card.featured {
    transform: scale(1.05);
}

.card:hover,
.payAsYouGo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card.featured:hover,
.payAsYouGo-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-body {
    padding: 1rem;
    text-align: center;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #212529;
}

.plan-price, .payAsYouGo-plan-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #3980be;
}

.plan-savings,
.payAsYouGo-plan-savings {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.plan-features li:last-child {
    border-bottom: none;
}


/* Pricing switcher styles */
.pricing-switcher {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.pricing-switcher .fieldset {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2px;
    border-radius: 50px;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    width: 340px;
}

.pricing-switcher input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pricing-switcher label {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.pricing-switcher input[type="radio"]:checked + label {
    color: #3980be;
    font-weight: 500;
}

.pricing-switcher .switch {
    position: absolute;
    top: 2px;
    left: 2px;
    height: calc(100% - 4px);
    width: 49.5%;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pricing-switcher input[type="radio"]:checked:nth-of-type(2) ~ .switch {
    transform: translateX(100%);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    
    
    .card, .payAsYouGo-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .card.featured, .payAsYouGo-card.featured {
        transform: scale(1);
    }

    .card.featured:hover,
    .payAsYouGo-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }
}

.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #4b6cb7, #182848); /* Gradient Blue */
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.2rem .8rem;
    border-bottom-left-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.card:hover .recommended-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


/* Terms and conditions */

.t&d-contents {
  font-size: 1.1rem;
  color: #333;
}
.section-contents h6 {
  color: #007bff;
  margin-top: 1.5rem;
}