:root {
    --theme-primary: var(--primary-color);
    --theme-secondary: var(--secondary-color);
    --theme-secondary-light: var(--secondary-light);
    --theme-secondary-bg: #f5f2fe; /* Light purple */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
    align-items: stretch; /* Ensures cards in the same row have the same height */
}

.service-card {
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--theme-primary);
    margin-bottom: 1rem;
    height: 45px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card__subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color-light);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-card__description {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1; /* Keeps cards equal height by growing this element */
}

.service-card__price {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background-color: var(--theme-secondary-bg);
    border-radius: 12px;
}

.service-card__price span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-secondary);
}

.service-card__price small {
    font-size: 0.9rem;
    color: var(--text-color-light);
    display: block;
    margin-top: 0.25rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-align: left;
}

.service-card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-card ul li::before {
    content: '\f00c'; /* check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--theme-secondary);
    position: absolute;
    left: 0;
    top: 2px;
}

.service-card__cta {
    margin-top: 5.5rem; /* Further increased space to push the list higher */
    padding-top: 0;
}

.service-card__cta .btn {
    width: 100%;
    padding-top: 1.4rem; /* Further increased padding to make button taller */
    padding-bottom: 1.4rem;
    font-size: 1.1rem; /* Increased font size for button text */
}