.stories-bg {
    padding: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

.story {
    display: grid;    
    padding-top: 50px;
    padding-bottom: 50px;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

.story-desc {
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    line-height: 1.2em;
}

.story > img {
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
    width: 90%;
    height: auto;
    border-radius: 15px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.story-bg {
    background-color: rgba(173, 216, 230, 0.123);
    font-family: Arial, Helvetica, sans-serif;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
}

.success-stories h2 {
    text-align: center;
    font-size: 1.7rem;
    padding-top: 70px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.success-stories > hr {
    width: 100%;
    background-color: var(--accentplum);
    height: 3px;
}

.service-section h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 1.7rem;
}

.service-section p{
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
}

/* Homepage Services Styling */
.service-section {
    max-width: 64rem;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    padding: 24px 22px;
}

.service-hero {
    display: block;
    padding: 18px 20px;
    margin: 6px 0 18px 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--accentblue), #88c3e5);
    border-radius: 12px;
}
.service-hero strong {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.service-hero p {
    margin: 8px 0 0 0;
}

.service-section h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--accentplum);
    padding-bottom: 6px;
}

.service-list,
.platform-data-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 18px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 18px;
}

.service-list li,
.platform-data-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.4;
}

.service-list li::before,
.platform-data-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accentblue);
}

/* Nested list under E‑Courts/PACER */
.service-list li ul {
    list-style: disc;
    padding-left: 18px;
    margin-top: 6px;
}

@media screen and (max-width: 600px) {
    .service-section {
        padding: 18px 14px;
        border-radius: 10px;
    }
    .service-section h3 {
        font-size: 1.1rem;
    }
}