/* ==========================================================================
   Payroll Funding Page CSS
   ========================================================================== */

.page-service-single {
    padding: 120px 0;
}

.page-single-sidebar {
    position: sticky;
    top: 30px;
    margin-right: 15px;
}

.page-category-list {
    background: var(--secondary-color);
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

.page-category-list .page-category-list-title {
    font-size: 26px;
    line-height: normal;
    color: var(--white-color);
    background: var(--accent-color);
    padding: 18px 40px;
}

.page-category-list ul {
    list-style: none;
    margin: 0;
    padding: 40px;
}

.page-category-list ul li {
    font-family: var(--accent-font);
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.5em;
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.page-category-list ul li:last-child {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.page-category-list ul li a {
    position: relative;
    display: block;
    text-transform: capitalize;
    color: inherit;
    padding-right: 25px;
    transition: all 0.3s ease-in-out;
}

.page-category-list ul li a:hover {
    color: var(--accent-color);
}

.page-category-list ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    background: url('../../../images/arrow-primary.svg') no-repeat;
    background-position: center center;
    background-size: cover;
    width: 20px;
    height: 20px;
    transform: translate(-2px, -50%);
}

.sidebar-cta-box {
    position: relative;
    border-radius: 20px;
    min-height: 350px;
    align-content: end;
    padding: 40px;
    overflow: hidden;
}

.sidebar-cta-box:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 2.71%, rgba(2, 22, 35, 0.90) 100%);
    z-index: 1;
}

.sidebar-cta-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sidebar-cta-image figure {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.sidebar-cta-image figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-cta-body {
    position: relative;
    z-index: 1;
}

.sidebar-cta-body h2 {
    font-size: 20px;
    line-height: 1.4em;
    color: var(--white-color);
}

.sidebar-cta-body p {
    color: var(--white-color);
    margin: 15px 0 0;
}

.sidebar-cta-contact-btn {
    margin-top: 25px;
}

.page-single-image {
    margin-bottom: 30px;
    border-radius: 24px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page-single-image figure {
    display: block;
    border-radius: 20px;
}

.page-single-image img {
    width: 100%;
    aspect-ratio: 1 / 0.622;
    object-fit: cover;
    border-radius: 20px;
}

.service-intro-content {
    width: 45%;
    color: var(--white-color);
    padding: 64px 50px;
    border-radius: 24px;
    background-color: rgb(2 22 35 / 75%);
}

.service-intro-content-mobile {
    display: none;
}

.service-entry {
    margin-bottom: 60px;
}

.service-entry p {
    margin-bottom: 20px;
}

.service-entry p:last-child {
    margin-bottom: 0;
}

.service-entry h2 {
    font-size: 52px;
    line-height: 1.1em;
    margin-bottom: 20px;
}

.service-entry h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-entry ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-entry ul li {
    position: relative;
    line-height: 1.5em;
    margin-bottom: 20px;
    padding-left: 25px;
}

.service-entry ul li:last-child {
    margin-bottom: 0;
}

.service-entry ul li::before {
    content: '\2a';
    position: absolute;
    font-family: 'Font Awesome 7 Free';
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    top: 0;
    left: 0;
}

.service-offer-item-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px 40px;
    margin-top: 40px;
}

.service-offer-item-list {
    width: calc(58% - 20px);
}

.service-entry .section-footer-text.section-satisfy-img {
    justify-content: start;
    border-top: 1px solid var(--divider-color);
    padding-top: 30px;
}

.what-we-quote-box {
    width: calc(42% - 20px);
    background-color: var(--white-color);
    border-radius: 20px;
    padding: 30px;
}

.what-we-quote-box .icon-box img {
    width: 100%;
    max-width: 40px;
}

.what-we-quote-content {
    margin-top: 20px;
}

.what-we-quote-content p {
    font-weight: 500;
    color: var(--primary-color);
}

.what-we-author-content {
    border-top: 1px solid var(--divider-color);
    padding-top: 20px;
    margin-top: 20px;
}

.what-we-author-content h3 {
    margin-bottom: 5px;
}

.service-offer-box,
.service-why-choose-box {
    margin-top: 60px;
}

.service-why-choose-image-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.service-why-choose-item-list {
    width: calc(51% - 15px);
    background-color: var(--secondary-color);
    border-radius: 20px;
    padding: 40px;
}

.service-why-choose-item {
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.service-why-choose-item:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service-why-choose-item .icon-box {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.service-why-choose-item .icon-box:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--primary-color);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transition: all 0.4s ease-in-out;
    z-index: 0;
}

.service-why-choose-item:hover .icon-box:before {
    transform: scale(1);
}

.service-why-choose-item .icon-box img {
    position: relative;
    width: 100%;
    max-width: 24px;
    transition: all 0.4s ease-in-out;
    z-index: 1;
}

.service-why-choose-item-content h3 {
    font-size: 26px;
}

.service-why-choose-image {
    width: calc(49% - 15px);
}

.service-why-choose-image figure {
    display: block;
    height: 100%;
    border-radius: 20px;
}

.service-why-choose-image figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1.104;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .page-single-sidebar {
        margin: 0 0 30px 0;
        position: initial;
    }

    .page-service-single {
        padding: 60px 0;
    }

    .service-entry h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .service-offer-item-list,
    .what-we-quote-box,
    .service-why-choose-item-list,
    .service-why-choose-image {
        width: 100%;
    }

    .service-why-choose-item-content h3 {
        font-size: 22px;
    }

    .page-category-list ul,
    .sidebar-cta-box {
        padding: 20px;
    }

    .service-intro-content {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .page-single-image {
        min-height: 60vw;
        border-radius: 20px;
    }

    .service-intro-content {
        padding: 15px 12px;
        border-radius: 20px;
    }

    .has-content {
        padding: 160px 12px 12px 12px !important;
    }
}