.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    gap: 20px;
    background: #fff;
    height: 100%;
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out, border-color 0.3s ease-out;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #000000;
}

.service-synopsis {
    font-size: 14px !important;
}

.service-headline {
    margin: 0;
}

/* Subheading */
.service-subheading {
    font-family: var(--font-body);
}

/* Fixed button at the bottom of the card */
.service-subheading,
.service-content {
    margin: 0;
}

.service-content {
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.service-card ul {
    list-style: none;
    padding: 0;       
    margin: 0;
    text-align: left;
    width: 100%;     
}

.service-card ul li {
    position: relative;
    padding-left: 16px;
    list-style: none;
    margin-bottom: 20px;
}

/* Custom icon for lists */
.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #5B83BF;
    background-image: none;
}

.service-cta {
    margin-top: auto;
}

/* Card button */
.btn-service {
    display: block;
    background-color: transparent;
    border: 1px solid #0a1628;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-service:hover {
    background-color: #f6e66d;
    border-color: transparent;
}

.service-extended {
    border-bottom: 1px solid rgb(220, 220, 220);
    padding-bottom: 20px;
}


/* Responsivity */

.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;                        /* tightened from 32px */
}

@media (min-width: 600px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-synopsis {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-synopsis {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }
}
