/* Before After Slider Start */
.before-after-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    margin: 0;
    --before-after-position: 50%;
    background: #111;
}

.before-after-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-after-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.before-after-img-before {
    position: absolute;
    inset: 0;
    width: var(--before-after-position);
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.before-after-img-before img {
    width: auto;
    max-width: none;
    height: 100%;
}

.before-after-img-after {
    position: relative;
    z-index: 1;
}

.before-after-label {
    position: absolute;
    top: 20px;
    z-index: 5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.before-after-label-before {
    left: 20px;
}

.before-after-label-after {
    right: 20px;
}

.before-after-divider {
    position: absolute;
    top: 0;
    left: var(--before-after-position);
    width: 3px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 50%;
    color: #111;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.before-after-handle i {
    font-size: 12px;
    line-height: 1;
}

.before-after-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 6;
}

.btn-default{
    color: black !important;
}

.btn-default:hover{
    color: #f7b575 !important;
}

@media (max-width: 767px) {
    .before-after-slider {
        border-radius: 12px;
    }

    .before-after-label {
        top: 12px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .before-after-label-before {
        left: 12px;
    }

    .before-after-label-after {
        right: 12px;
    }

    .before-after-handle {
        width: 44px;
        height: 44px;
    }
}
/* Before After Slider End */


.project-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
}

.post-tag-links .text-md-end {
    text-align: right;
}

@media (max-width: 767px) {
    .project-nav-btn {
        width: 100%;
    }

    .post-tag-links .text-md-end {
        text-align: left;
    }
}


.projects-intro-pro,
.project-value-pro,
.projects-outro-pro {
    padding: 100px 0;
}

.projects-intro-card,
.project-value-box,
.projects-outro-card {
    height: 100%;
    padding: 30px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.projects-intro-card h3,
.project-value-box h3,
.projects-outro-card h3 {
    margin-bottom: 12px;
}

.page-projects-pro .post-item-content p {
    margin-top: 12px;
    margin-bottom: 0;
}

.project-value-pro {
    background: #f7f3ed;
}

.project-value-list ul {
    margin-top: 25px;
}

.project-value-list ul li {
    margin-bottom: 12px;
}

.project-value-item {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-value-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.projects-outro-card a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}

.projects-final-cta {
    padding: 90px 0;
}

.projects-final-cta-btn p {
    margin-top: 16px;
    margin-bottom: 0;
}

.projects-final-cta-btn p a {
    font-weight: 700;
}

@media (max-width: 991px) {
    .projects-intro-pro,
    .project-value-pro,
    .projects-outro-pro {
        padding: 70px 0;
    }

    .projects-final-cta {
        padding: 70px 0;
    }

    .projects-final-cta-btn {
        margin-top: 25px;
        text-align: left;
    }
}
