.home-page-popular-services {
    width: 100%;
    display: flex;
    background-color: #ffffff;
}
.home-page-popular-services .inner {
    margin: 0 auto;
    max-width: 1170px;
    padding: 70px 0;
    width: 100%;
}
.home-page-popular-services .inner .second-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.home-page-popular-services .inner .second-row a {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #565656;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
}
.home-page-popular-services .inner .second-row a span {
    margin-right: 10px;
}
.home-page-popular-services .inner .first-row {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}
.home-page-popular-services .inner .first-row .about-row {
    width: 350px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: column;
    text-align: right;
}
.home-page-popular-services .inner .first-row .about-row .a-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.home-page-popular-services .inner .first-row .about-row .a-title h4 {
    color: #000000;
    font-size: 36px;
    line-height: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}
.home-page-popular-services .inner .first-row .about-row p {
    color: #000000;
    font-size: 15px;
    font-weight: 600;
}
.home-page-popular-services .inner .first-row .about-row .carousel-action-buttons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}
.home-page-popular-services .inner .first-row .about-row .carousel-action-buttons .button {
    border: none;
    border-radius: 0;
    background-color: transparent;
}
.home-page-popular-services .inner .first-row .about-row .carousel-action-buttons .button:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.home-page-popular-services .inner .first-row .about-row .carousel-action-buttons .button:first-child {
    margin-right: 10px;
}
.home-page-popular-services .inner .first-row .services-carousel {
    width: 800px;
    position: relative;
}
.home-page-popular-services .inner .first-row .services-carousel::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 101%;
    right: -1px;
    top: -1px;
    z-index: 1;
    background-color: white;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item {
    min-width: 250px;
    margin-right: 30px;
    padding: 28px;
    background-color: #dfebf6;
    display: flex;
    flex-direction: column;
    height: 470px;
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item:hover {
    box-shadow: inset 2px 2px 0px 0px #c83636, inset -2px -2px 0px 0px #c83636;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item p {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item a {
    color: #000000;
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 24px;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item a:hover .icon {
    transform: scale(1.2);
}
.home-page-popular-services .inner .first-row .services-carousel .service-item a span {
    position: relative;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item a span .icon {
    position: absolute;
    bottom: 8px;
    right: -28px;
    transition: transform 0.3s ease;
}
.home-page-popular-services .inner .first-row .services-carousel .service-item a span img {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    display: inline-block;
}
@media (max-width: 1087px) {
    .home-page-popular-services .inner {
        max-width: 100%;
        padding: 50px 40px 40px;
    }
    .home-page-popular-services .inner .first-row {
        flex-direction: column-reverse;
    }
    .home-page-popular-services .inner .first-row .services-carousel {
        width: calc(100% + 30px);
    }
    .home-page-popular-services .inner .first-row .about-row {
        width: 100%;
        margin-left: 0;
        text-align: left;
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .home-page-popular-services .inner {
        padding: 30px 14px;
    }
    .home-page-popular-services .inner .first-row {
        position: relative;
    }
    .home-page-popular-services .inner .first-row .services-carousel {
        width: calc(100% + 10px);
    }
    .home-page-popular-services .inner .first-row .services-carousel::after {
        width: 10px;
    }
    .home-page-popular-services .inner .first-row .services-carousel .service-item {
        margin-right: 10px;
    }
    .home-page-popular-services .inner .first-row .about-row {
        position: static;
    }
    .home-page-popular-services .inner .first-row .about-row .carousel-action-buttons {
        width: 100%;
        justify-content: space-between;
        top: auto;
        bottom: 40%;
        z-index: 1;
    }
    .home-page-popular-services .inner .first-row .about-row .a-title {
        align-items: center;
    }
    .home-page-popular-services .inner .first-row .about-row .a-title h4 {
        line-height: 15px;
        font-size: 24px;
        text-align: center;
    }
}
