/*pricing.css*/
.pricing-section {
    text-align: center;
    background-color: #f8f9fc;
    padding: 60px 0;
}

.pricing-section h2 {
    margin-bottom: 30px;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.toggle-button {
    padding: 10px 30px;
    margin: 0 5px;
    border: none;
    background-color: #e6e8f3;
    color: #3d52a0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}

.toggle-button.active {
    background-color: #3d52a0;
    color: #ffffff;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between cards */
    flex-wrap: wrap; /* Allow cards to wrap */
    padding: 20px;
    align-items: stretch; /* Ensures all cards are the same height */
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 280px; /* Fixed width for consistency */
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column; /* Make card contents stack vertically */
    justify-content: space-between; /* Distribute space evenly */
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.5em;
    color: #3d52a0;
    margin-bottom: 10px;
}

.pricing-card p {
    font-size: 0.95em;
    color: #7c88b1;
    margin-bottom: 20px;
}

.price {
    font-size: 2.8em;
    color: #3d52a0;
    font-weight: bold;
    margin: 20px 0;
}

.features {
    list-style-type: disc;
    text-align: left;
    padding-left: 20px;
    font-size: 0.95em;
    color: #3d52a0;
    margin: 15px 0;
}

.features li {
    margin-bottom: 8px;
}

.pricing-button {
    display: inline-block;
    width: 70%;
    padding: 10px 0;
    background-color: #3d52a0;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin: 20px auto 0 auto; /* Center the button and add space above */
    transition: background-color 0.3s, transform 0.3s;
}

.pricing-button:hover {
    background-color: #8697ca;
    transform: scale(1.05);
}

.pricing-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center; /* Center cards on smaller screens */
    }

    .pricing-card {
        width: 90%; /* Make cards full width on smaller screens */
        margin-bottom: 20px;
    }
}
