#pricing {
    background-color: var(--bg-color); /* Match other sections */
    padding: 2rem 1rem; /* Default padding */
}

#pricing h3 {
    font-size: calc(2rem + 0.9vw);
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

#pricing .underline {
    width: 25%; /* Consistent with other sections */
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 2rem auto;
}

.pricing-options {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center; /* Center-align all pricing cards */
    align-items: stretch; /* Make all cards the same height */
}

.pricing-card {
    background-color: var(--secondary-bg-color); /* Subtle card contrast */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px; /* Limit card width */
    min-height: 250px; /* Uniform height for all cards */
    display: flex; /* Enable flexbox inside the card */
    flex-direction: column; /* Arrange items vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center-align text */
}

.pricing-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card p {
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondary-text-color);
    line-height: 1.5;
}

.pricing-card p strong {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    #pricing {
        padding: 3rem 10rem; /* Larger padding for bigger screens */
    }

    #pricing .underline {
        width: 8%; /* Adjust line length for larger screens */
    }
}
