.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.pricing-content {
    margin-left: 200px;
    font-family: 'Poppins', sans-serif;
}

.pricing-content h2 {
    margin: 0;
    font-weight: 600;
    font-size: 36px;
    line-height: 46.8px;
    color: #333;
}

.pricing-content .highlight {
    font-weight: 700;
    color: #6658CE;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 200px;
}

.features li::before {
    content: '✔';
    color: #6658CE;
    margin-right: 10px;
}

.plans {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan {
    width: 460px; /* Maximum width */
    height: 75px; /* Fixed height */
    padding: 10px;
    border: 1px solid #DDDDDD;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
    border-radius: 16px;
    background-color: #fff;
    margin-right: 200px;
    justify-content: space-between;
}

.plan-info {
    display: flex;
    flex-direction: column;
    margin-right: auto;
}

.plan-name {
    font-weight: 400;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    line-height: 28px;
    margin-bottom: 5px;
    margin-left: 10px;
}

.badge {
    font-family: 'Poppins', sans-serif;
    background-color: #F0EEFA;
    width: 79px;
    height: 29px;
    border-radius: 90px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    gap: 10px;
    color: #6658CE;
    margin-left: 10px;
}

.price {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    margin-right: 10px;
}

.amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 550;
    font-size: 38px;
    line-height: 28px;
    letter-spacing: -3%;
    color: #313038;
}

.frequency {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    text-align: left;
    margin-left: 5px;
}

/* Custom radio button styles */
input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

input[type="radio"] + label::before {
    content: '';
    width: 22px;
    height: 22px;
    border: 1px solid #313038;
    border-radius: 50%;
    background: transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="radio"]:checked + label::before {
    background: transparent;
    border-color: #fff;
}

input[type="radio"] + label::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    left: 5px;
    top: calc(50% - 6px);
    transition: background-color 0.3s;
    opacity: 0;
}

input[type="radio"]:checked + label::after {
    opacity: 1;
}

.plan input:checked + label .badge {
    background-color: #7569D3;
    color: #fff;
}

.plan input:checked + label .plan-name {
    color: #fff;
}

input[type="radio"]:checked + label .amount {
    color: #fff;
}

.plan input:checked + label .price {
    color: #fff;
}

/* Media queries for responsiveness */
@media (max-width: 1700px) {
    .pricing-section {
        flex-direction: column;
        align-items: center;
    }

    .pricing-content {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .features li {
        margin-left: 0;
        justify-content: center;
    }

    .plans {
        align-items: center;
    }

    .plan {
        max-width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        width: 95%;
    }

    .pricing-content h2 {
        font-size: 28px;
    }

    .features li {
        font-size: 14px;
    }

    .plan {
        max-width: 90%;
    }

    .plan-name {
        font-size: 20px;
    }

    .amount {
        font-size: 32px;
    }

    .frequency {
        font-size: 13px;
    }
}

@media (max-width: 580px) {
    .pricing-section {
        width: 90%;
        padding: 10px;
    }

    .pricing-content h2 {
        font-size: 24px;
    }

    .features li {
        font-size: 12px;
    }

    .plan {
        max-width: 70%;
        padding: 10px;
        margin-right:20px;
       
    }

    .plan-name {
        font-size: 18px;
    }

    .amount {
        font-size: 28px;
    }

    .frequency {
        font-size: 12px;
    }
}

@media (max-width: 580px) {
    .pricing-section {
        width: 90%;
        padding: 10px;
    }

    .pricing-content h2 {
        font-size: 24px;
    }

    .features li {
        font-size: 12px;
    }

    .plan {
        max-width: 70%;
        padding: 10px;
        margin-right:20px;
       
    }

    .plan-name {
        font-size: 18px;
    }

    .amount {
        font-size: 28px;
    }

    .frequency {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    
    
    .pricing-section {
        width: 80%;
        padding: 7px;
    }

    .pricing-content h2 {
        font-size: 20px;
    }

    .features li {
        font-size: 11px;
    }

    .plan {
        max-width: 50%;
        padding: 10px;
        margin-right:10px;
       
    }

    .plan-name {
        font-size: 14px;
    }

    .amount {
        font-size: 22px;
    }

    .frequency {
        font-size: 10px;
    }
}


     .subscription-details {
            display: flex;
            align-items: center;
            gap: 20px; 
            margin-left:600px;
        }

        .subscription-details img {
            max-width: 300px; 
            height: 300px;
        }

        .subscription-info {
            display: flex;
            flex-direction: column;
            margin-left: 100px;
        }

        .subscription-info h2 {
          font-family: 'Poppins', sans-serif;
           text-transform: capitalize;
             color: #6658CE;
        }

        .subscription-info p {
            font-family: 'Poppins', sans-serif;
            opacity:0.7;
            margin: 5px 0;
         
        }
        
       .timer {
            font-weight: bold;
            color: red;
        }

/* Responsive Styles */
@media (max-width: 1180px) {
    .subscription-details {
        flex-direction: column; /* Stack image and info vertically */
        align-items: flex-start;
        margin-left: 0;
    }

    .subscription-details img {
        width: 200px; /* Adjust width for medium screens */
        height: auto;
         margin-left: 80px;
    }

    .subscription-info {
        margin-left: 80px; /* Remove left margin when stacked */
    }

    .subscription-info h2 {
        font-size: 1.25rem; /* Adjust font size for medium screens */
    }

    .subscription-info p {
        font-size: 0.9rem; /* Adjust font size for medium screens */
    }
}

@media (max-width: 480px) {
    .subscription-details img {
        width: 150px; /* Adjust width for small screens */
        height: auto;
    }

    .subscription-info h2 {
        font-size: 1rem; /* Adjust font size for small screens */
    }

    .subscription-info p {
        font-size: 0.8rem; /* Adjust font size for small screens */
    }
    .subscription-info {
        margin-left: 50; /* Remove left margin when stacked */
    }
}