.service-list li a {
        display: block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}

/* =====================================================
   Garage Conversion ADU — CSS for newly added sections
   Add to your main stylesheet (e.g. css/custom.css) AFTER
   the template's existing CSS so these rules take effect.
   These styles intentionally reuse template spacing/tone
   so the new blocks blend with existing service sections.
   ===================================================== */

/* ---------------------------------------------------
   1. Styled lists (cost factors + related services)
   The new sections use <ul><li> inside .service-benefit-box.
   These rules give the bullets a clean, branded look.
   --------------------------------------------------- */
.service-benefit-box ul {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.service-benefit-box ul li {
    position: relative;
    padding: 0 0 14px 32px;
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid #eee;
}

.service-benefit-box ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Custom check-style bullet using a pseudo element
   (no extra markup needed). Adjust color to your brand. */
.service-benefit-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-color, #c8a165);
    /* small white check drawn with a mask-free inline approach */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}

.service-benefit-box ul li strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Inline links inside the new sections */
.service-benefit-box p a,
.service-benefit-box ul li a {
    color: var(--accent-color, #c8a165);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.service-benefit-box p a:hover,
.service-benefit-box ul li a:hover {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

/* Spacing between the stacked new sections so they
   don't crowd each other (cost, permit, related links) */
.service-entry .service-benefit-box + .service-benefit-box {
    margin-top: 40px;
}

/* ---------------------------------------------------
   2. Final CTA section (.service-cta-box)
   This is a brand-new block; full styling provided.
   --------------------------------------------------- */
.service-cta-box {
    margin-top: 50px;
    padding: 45px 40px;
    border-radius: 12px;
    background-color: #1a1a1a;
    background-image: linear-gradient(135deg, #1a1a1a 0%, #2b2620 100%);
    text-align: center;
    color: #fff;
}

.service-cta-box h2 {
    color: #fff;
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 1.3;
}

.service-cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 28px;
}

/* CTA button — styled to match a typical .btn-default,
   but self-contained so it works even if your button
   class name differs. */
.service-cta-box .service-cta-btn {
    margin-top: 5px;
}

.service-cta-box .btn-default,
.service-cta-box .service-cta-btn a {
    display: inline-block;
    padding: 16px 38px;
    background-color: var(--accent-color, #c8a165);
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.service-cta-box .btn-default:hover,
.service-cta-box .service-cta-btn a:hover {
    background-color: #fff;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* ---------------------------------------------------
   3. Responsive adjustments
   --------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .service-cta-box {
        padding: 38px 28px;
    }
    .service-cta-box h2 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 767px) {
    .service-cta-box {
        padding: 32px 20px;
        margin-top: 40px;
    }
    .service-cta-box h2 {
        font-size: 23px;
    }
    .service-cta-box p {
        font-size: 16px;
    }
    .service-cta-box .btn-default,
    .service-cta-box .service-cta-btn a {
        padding: 14px 28px;
        width: 100%;
        text-align: center;
    }
    .service-benefit-box ul li {
        font-size: 15px;
        padding-left: 30px;
    }
    .service-entry .service-benefit-box + .service-benefit-box {
        margin-top: 32px;
    }
}

/* Services Intro Section Start */
.services-intro {
    position: relative;
    padding: 110px 0 50px;
    overflow: hidden;
}

.services-intro::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(1120px, calc(100% - 30px));
    height: 1px;
    transform: translateX(-50%);
    background: currentColor;
    opacity: 0.12;
}

.services-intro .section-title {
    margin-bottom: 0;
}

.services-intro .section-title h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro .section-title p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro .section-title p + p {
    margin-top: 18px;
}
/* Services Intro Section End */


/* Why Choose Us Section Start */
.why-choose-us {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
}

.why-choose-us .section-row {
    margin-bottom: 55px;
}

.why-choose-us .section-title {
    margin-bottom: 0;
}

.why-choose-us .section-title-content {
    max-width: 520px;
    margin-left: auto;
}

.why-choose-us .section-title-content p {
    margin-bottom: 0;
}

.why-choose-item {
    position: relative;
    height: 100%;
    padding: 34px 32px;
    border: 1px solid currentColor;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, border-radius 0.35s ease;
}

.why-choose-item::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid currentColor;
    border-radius: 18px;
    opacity: 0.14;
    z-index: -1;
    transition: inset 0.35s ease, opacity 0.35s ease, border-radius 0.35s ease;
}

.why-choose-item::after {
    content: "";
    position: absolute;
    top: -46px;
    right: -46px;
    width: 120px;
    height: 120px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: transform 0.45s ease, opacity 0.35s ease;
}

.why-choose-item:hover {
    transform: translateY(-6px);
    border-radius: 30px;
}

.why-choose-item:hover::before {
    inset: 8px;
    opacity: 0.24;
    border-radius: 22px;
}

.why-choose-item:hover::after {
    opacity: 0.18;
    transform: scale(1.15);
}

.why-choose-item-content h3 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.25;
}

.why-choose-item-content p {
    margin-bottom: 0;
}
/* Why Choose Us Section End */


/* Services Page Flow Adjustments Start */
.services-intro + .page-services {
    padding-top: 70px;
}

.page-services + .why-choose-us {
    padding-top: 80px;
}
/* Services Page Flow Adjustments End */


/* Responsive Start */
@media (max-width: 991px) {
    .services-intro {
        padding: 80px 0 40px;
    }

    .why-choose-us {
        padding: 80px 0;
    }

    .why-choose-us .section-row {
        margin-bottom: 35px;
    }

    .why-choose-us .section-title-content {
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .services-intro {
        padding: 65px 0 35px;
    }

    .services-intro + .page-services {
        padding-top: 50px;
    }

    .why-choose-us {
        padding: 65px 0;
    }

    .why-choose-item {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .why-choose-item-content h3 {
        font-size: 21px;
    }
}

@media (max-width: 575px) {
    .services-intro {
        padding: 55px 0 30px;
    }

    .why-choose-us {
        padding: 55px 0;
    }

    .why-choose-item {
        padding: 24px 20px;
    }
}
/* Responsive End */


.service-expectation-item .icon-box img,
.service-benefit-item .icon-box img {
    filter: brightness(0) invert(1) !important;
}