.pricing-tabs {
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allows tabs to wrap in smaller viewports */
}

.tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px 0; /* Adjust margin for better spacing */
}

.tab.active {
    background-color: orange;
    color: white;
}

.pricing-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Change to wrap */
    overflow-x: hidden; /* Disable horizontal scroll */
}

.pricing-card {
    background-color: #f8f9fa;
    width: 100%; /* Make cards take full width in smaller screens */
    max-width: 300px; /* Limit max width */
    margin: 10px auto; /* Center cards */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 auto; /* Adjust flex property */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.pricing-card p {
    font-size: 24px;
    color: #007bff;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    margin: 5px 0;
    color: #555;
}

.theme-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.theme-btn:hover {
    background-color: #e69500;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column; /* Stack tabs vertically */
    }
    .pricing-container {
        flex-direction: column; /* Stack pricing cards vertically */
    }
    .pricing-card {
        max-width: 100%; /* Ensure full width in mobile */
    }
}
