    .service-wrapper {
        width: 95%;
        max-width: 1600px;
        margin: 0 auto;
    }

    @media only screen and (min-width: 1200px) {
        .main-content.container:has(.service-bg) {
            width: 100% !important;
            background-color: #f7f7f7;
        }
    }


    .service-wrapper .service-contact-info {
        padding-top: 5px;
        border-top: 1px solid #eee;
        line-height: 1.2;
    }

    .service-wrapper .contact-item {
        font-size: 1.2rem;
        color: #555;
        margin-left: 5px;
        margin-right: 5px;
        display: inline-block;
    }

    .service-wrapper .contact-item strong {
        font-weight: 600;
    }

    .service-wrapper .text-truncate-one-line {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .service-wrapper .service-card {
        cursor: pointer;
        background: #fff;
        border-radius: 8px;
        min-height: 300px;
        /* increased height */
        box-shadow: 0 4px 28px -12px rgba(0, 0, 0, .2);
        border: 1px solid #f3f3f3;
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        overflow: hidden;
    }


    .service-wrapper .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 22px -8px rgba(0, 0, 0, 0.25);
    }

    .service-wrapper .service-card .card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        height: 100%;
    }

    .service-wrapper .service-card .card-image {
        position: relative;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .service-wrapper .service-card .card-image::before {
        content: "";
        position: absolute;
        inset: 0;
        /* background: rgba(255, 255, 255, 0.45); */
        z-index: 1;
    }

    .service-wrapper .service-card .card-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1) 100%);
        z-index: 2;
    }

    .service-wrapper .card-title-wrapper {
        position: relative;
        z-index: 3;
        width: 100%;
        padding: 12px 12px 0;
    }

    .service-wrapper .service-icons-section {
        margin-top: 4px;
        padding-top: 0px;
    }


    .service-wrapper h5 {
        margin: 2px 0;
        font-size: 13px;
        color: #535353;
    }

    .service-wrapper .provider {
        color: #535353;
    }

    .service-wrapper .provider > a {
        color: #535353;
    }

    .service-wrapper .service-card .card-title {
        font-size: 14px;
        color: #535353;
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-wrapper .service-card .card-body {
        flex: 1;
        padding: 0px 12px 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-wrapper .service-card .card-text {
        color: #555;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-wrapper .text-muted {
        color: #888 !important;
    }

    .service-wrapper .fade-in {
        opacity: 0;
        transform: translateY(15px);
        animation: fadeInUp 0.7s ease forwards;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* Icon Bar */
    .service-wrapper .service-icons-bottom {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding-top: 5px;
        margin-top: auto;
        margin-bottom: 15px;
        flex-wrap: nowrap;
    }

    .service-wrapper .icon-link i {
        font-size: 14px;
    }

    .service-wrapper .icon-link:hover {
        background-color: #3286d4ff;
        border-color: #3286d4ff;
        color: #fff;
    }

    .service-wrapper .icon-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #fff;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .service-wrapper .category-pill i {
        padding: 3px 4px !important;
    }

    .service-wrapper .category-pill i.radius-3px {
        border-radius: 3px;
    }

    .service-wrapper .category-pill i.size-sm {
        font-size: 13px;
        line-height: 1.5;
        padding: 7px 16px;
    }

    .service-wrapper .category-pill i,
    .service-wrapper .category-pill i::before {
        transition: 300ms ease-in;
    }

    .service-wrapper .category-filters-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .service-wrapper .category-filters-center {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }

    .service-wrapper .category-filters-scroll {
        display: inline-flex;
        gap: 10px;
        overflow-x: auto;
        padding: 0 20px;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .service-wrapper .category-filters-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .service-wrapper .category-filters-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .service-wrapper .category-pill:first-child {
        margin-left: 0;
    }

    .service-wrapper .category-pill {
        padding: 6px 32px 7px;
        color: #333;
        font-size: 15px;
        border: 1px solid #ddd;
        background-color: #fff;
        text-decoration: none;
        border-radius: 30px;
        font-weight: bold;
        line-height: 28px;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.2s ease-in;
    }

    .category-pill:hover,
    .category-pill.active {
        color: #fff;
        background-color: #3286d4ff;
        border-color: #3286d4ff;
    }

    .service-wrapper .service-description {
        background: #fff;
        padding: 15px;
        border-radius: 6px;
        margin: 25px 0;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    }

    .service-wrapper .service-cards {
        display: grid;
        grid-template-columns: repeat(5, 235.5px);
        gap: 40px;
        justify-content: center;
        width: 100%;
        position: relative;
    }

    .service-wrapper .service-cards,
    .service-wrapper .service-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* exactly 4 cards per row */
        gap: 35px;
        /* balanced spacing */
        justify-content: center;
        width: 100%;
        position: relative;
        max-width: 1400px;
        /* optional, keeps it neat on large screens */
        margin: 0 auto;
    }


    .service-wrapper .search-form-center {
        margin-bottom: 25px;
    }

    @media (max-width: 1200px) {

        .service-wrapper .service-cards,
        .service-wrapper .service-cards-wrapper {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {

        .service-wrapper .service-cards,
        .service-wrapper .service-cards-wrapper {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 576px) {

        .service-wrapper .service-cards,
        .service-wrapper .service-cards-wrapper {
            grid-template-columns: 1fr;
        }
    }