/* Projects Page SEO Sections */
.projects-intro-section {
    padding: 100px 0 70px;
    background: #ffffff;
}

.projects-intro-section .section-title h2 {
    margin-bottom: 20px;
}

.projects-intro-section .section-title p {
    margin-bottom: 18px;
    color: #5f5f5f;
    line-height: 1.8;
}

.projects-intro-card {
    background: #f7f4f1;
    border-radius: 22px;
    padding: 35px;
    border: 1px solid rgba(80, 62, 50, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.projects-intro-card h3 {
    margin-bottom: 15px;
    font-size: 26px;
}

.projects-intro-card p {
    color: #5f5f5f;
    line-height: 1.7;
    margin-bottom: 25px;
}

.projects-intro-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 100px;
    background: #5a3f34;
    color: #ffffff;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.projects-intro-btn:hover {
    background: #1f1f1f;
    color: #ffffff;
}

.projects-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.projects-trust-item {
    background: #f7f4f1;
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(80, 62, 50, 0.1);
}

.projects-trust-item h3 {
    font-size: 34px;
    margin-bottom: 5px;
    color: #5a3f34;
}

.projects-trust-item p {
    margin: 0;
    color: #5f5f5f;
    font-weight: 500;
}

.projects-grid-heading {
    margin-bottom: 45px;
}

.projects-grid-heading h2 {
    margin-bottom: 15px;
}

.projects-grid-heading p {
    color: #5f5f5f;
    line-height: 1.7;
}

.projects-process-section {
    padding: 100px 0;
    background: #f7f4f1;
}

.projects-process-card {
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    padding: 35px 30px;
    border: 1px solid rgba(80, 62, 50, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.projects-process-card span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #5a3f34;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 22px;
}

.projects-process-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.projects-process-card p {
    color: #5f5f5f;
    line-height: 1.7;
    margin: 0;
}

.projects-cta-section {
    padding: 100px 0;
    background: #ffffff;
}

.projects-cta-box {
    background: #1f1f1f;
    border-radius: 28px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    position: relative;
}

.projects-cta-box::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(90, 63, 52, 0.45);
    right: -80px;
    top: -100px;
}

.projects-cta-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.projects-cta-content h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.projects-cta-content p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin: 0;
}

.projects-cta-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.projects-cta-btn a {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 100px;
    background: #ffffff;
    color: #1f1f1f;
    font-weight: 700;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.projects-cta-btn a:hover {
    background: #5a3f34;
    color: #ffffff;
}

@media (max-width: 991px) {
    .projects-intro-section,
    .projects-process-section,
    .projects-cta-section {
        padding: 70px 0;
    }

    .projects-trust-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
    }
}

@media (max-width: 575px) {
    .projects-trust-row {
        grid-template-columns: 1fr;
    }

    .projects-intro-card,
    .projects-process-card {
        padding: 28px 22px;
    }

    .projects-cta-box {
        padding: 35px 24px;
    }
}

/* Sidebar Project Navigation */
.sidebar-project-nav {
    padding: 24px;
    border-radius: 20px;
    background: #f7f4f1;
    border: 1px solid rgba(90, 63, 52, 0.12);
}

.sidebar-project-nav-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 18px;
    color: #1f1f1f;
}

.sidebar-project-link {
    display: grid;
    grid-template-columns: 66px 1fr 32px;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(90, 63, 52, 0.08);
    transition: all 0.3s ease;
}

.sidebar-project-link:not(:last-child) {
    margin-bottom: 12px;
}

.sidebar-project-link:hover {
    transform: translateY(-2px);
    border-color: rgba(90, 63, 52, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sidebar-project-thumb {
    width: 66px;
    height: 58px;
    border-radius: 13px;
    overflow: hidden;
    background: #eee;
}

.sidebar-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.35s ease;
}

.sidebar-project-link:hover .sidebar-project-thumb img {
    transform: scale(1.07);
}

.sidebar-project-info span {
    display: block;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a3f34;
    font-weight: 700;
    margin-bottom: 6px;
}

.sidebar-project-info h3 {
    font-size: 15px;
    line-height: 1.25;
    margin: 0;
    color: #1f1f1f;
}

.sidebar-project-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1f1f1f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sidebar-project-link:hover .sidebar-project-arrow {
    background: #5a3f34;
    color: #ffffff;
}

@media (max-width: 575px) {
    .sidebar-project-nav {
        padding: 20px;
    }

    .sidebar-project-link {
        grid-template-columns: 58px 1fr;
    }

    .sidebar-project-arrow {
        display: none;
    }

    .sidebar-project-thumb {
        width: 58px;
        height: 54px;
    }
}

/* before-after slider */

/* Premium Before & After Slider */
.rw-before-after {
    --position: 50%;
    position: relative;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
}

.rw-before-after-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background: #1f1f1f;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.rw-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
}

.rw-ba-after {
    z-index: 1;
}

.rw-ba-before {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.rw-ba-divider {
    position: absolute;
    top: 0;
    left: var(--position);
    z-index: 4;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%);
    pointer-events: none;
}

.rw-ba-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    color: #1f1f1f;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.rw-ba-label {
    position: absolute;
    top: 22px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(31, 31, 31, 0.62);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.rw-ba-label-before {
    left: 22px;
}

.rw-ba-label-after {
    right: 22px;
}

.rw-before-after-range {
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.rw-ba-caption {
    margin-top: 14px;
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 991px) {
    .rw-before-after-media {
        min-height: 320px;
        aspect-ratio: 4 / 3;
        border-radius: 22px;
    }

    .rw-before-after {
        border-radius: 22px;
    }
}

@media (max-width: 575px) {
    .rw-before-after-media {
        min-height: 260px;
        aspect-ratio: 1 / 1;
        border-radius: 18px;
    }

    .rw-before-after {
        border-radius: 18px;
    }

    .rw-ba-divider span {
        width: 46px;
        height: 46px;
        font-size: 10px;
    }

    .rw-ba-label {
        top: 16px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .rw-ba-label-before {
        left: 16px;
    }

    .rw-ba-label-after {
        right: 16px;
    }

    .rw-ba-caption {
        font-size: 14px;
    }
}