.services-section {
    padding: 120px 20px;
    background-color: var(--rp-background);
}

.services-section .container {
    padding: 0;
}

.services-section .section-header {
    max-width: 1000px;
    margin-bottom: 60px;
}

.services-section .section-title-wrapper {
	max-width: 100%;
}

.services-section .section-title {
margin-bottom: 18px;
}


.services-section .section-subtitle {
    color: var(--rp-black);
    font-family: var(--font-body);
    font-size: var(--paragraph-lg-size);
    line-height: var(--paragraph-lg-line);
    font-weight: var(--weight-regular);
    margin-bottom: 0px;
}

.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px 20px;
}

.services-section .services-grid .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;   
}

.services-section .service-icon {
    width: 165px;
    height: 165px;
    margin-bottom: 30px;
}

.services-section .service-title {
    color: var(--rp-headlines);
    font-family: var(--font-heading);
    font-size: var(--heading-sm-size);
    font-weight: var(--weight-bold);
    line-height: var(--heading-sm-line);
    margin-bottom: 12px;
    max-width: 309px;
}

.services-section .service-description {
    color: var(--rp-headlines);
    font-family: var(--font-body);
    font-size: var(--paragraph-sm-size);
    line-height: var(--paragraph-sm-line);
    font-weight: var(--weight-regular);
    margin-bottom: 25px;
    max-width: 278px;
}

.services-section .section-icon {
width: 167px;
height: 149px;
position: absolute;
top: 0;
right: 30%;
}

@media (max-width: 768px) {

.services-section {
    padding: 60px 20px 70px;
}

.services-section .section-header,
.services-section .section-title {
    margin-bottom: 12px;
}

.services-section .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px 21px;
}
.services-section .service-icon {
    width: 124px;
    height: 124px;
    margin-bottom: 0;
}

.services-section .service-description,
.services-section .service-link {
    display: none;
}

.services-section .section-subtitle {
    font-size: var(--paragraph-md-size);
    line-height: var(--paragraph-md-line);
}

.services-section .service-content {
    margin:auto    
}

.services-section .service-icon-wrapper,
.services-section .service-title {
    font-size: var(--heading-xs-size);
    line-height: var(--heading-xs-line);
    text-align: center;
}
.services-section .service-icon-wrapper {
    margin-bottom: 23px;
}

.services-section .service-title {
    margin-bottom: 0;
}


.services-section .view-services {
    margin-top: 40px;
}

.services-section .section-title {
    font-size: var(--heading-mobile-lg-size);
    line-height: var(--heading-mobile-lg-line);
}
}

