.rsg-service-cards {
    background: #ffffff;
    padding: 80px 0;
}

.rsg-service-container {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.rsg-service-header {
    margin: 0 auto 70px;
}

.rsg-service-heading {
    font-size: 35px;
    line-height: normal;
    font-weight: 800;
    margin: 0;
}

.rsg-service-header-description {
    color: #333333;
    font-size: 18px;
    line-height: normal;
    margin-top: 18px;
}

.rsg-service-header-description p {
    margin: 0 0 14px;
}

.rsg-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
}

.rsg-service-card {
    background: #0A0C99;
    border-radius: 25px;
    padding: 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.rsg-service-icon img {
    border-radius: 0 !important;
}


.rsg-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #08cce8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
}

.rsg-service-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.rsg-service-title {
    color: #ffffff;
    font-size: 25px;
    line-height: normal;
    font-weight: 800;
    margin: 0 0 18px;
}

.rsg-service-description {
    color: #ffffff;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 34px;
}

.rsg-service-description p {
    margin: 0 0 14px;
}

.rsg-service-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 42px;
    border-radius: 999px;
    border: 3px solid #ffffff;
    background: #5753ea;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}


.rsg-service-card:hover, .rsg-service-card:focus {
    background: #5655E3;
}


.rsg-service-card-highlight .rsg-service-button {
    background: #08cce8;
}

.rsg-service-button:hover {
    background: #ffffff;
    color: #070096;
}

@media (max-width: 1024px) {
    .rsg-service-grid {
        grid-template-columns: 1fr;
    }

    .rsg-service-card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .rsg-service-cards {
        padding: 55px 0;
    }

    .rsg-service-container {
        width: min(100% - 28px, 1280px);
    }

    .rsg-service-header {
        margin-bottom: 40px;
    }

    .rsg-service-card {
        padding: 32px 26px;
    }

    .rsg-service-description {
        font-size: 17px;
    }

    .rsg-service-button {
        width: 100%;
        font-size: 20px;
    }
}