/* ============================= */
/* Modern Remodeling Sidebar CSS */
/* ============================= */

.modern-remodel-sidebar {
    position: relative;
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 244, 0.96)),
        radial-gradient(circle at top right, rgba(87, 92, 49, 0.14), transparent 38%);
    border: 1px solid rgba(87, 92, 49, 0.14);
    box-shadow: 0 24px 60px rgba(48, 48, 48, 0.12);
}

.modern-sidebar-widget {
    position: relative;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(87, 92, 49, 0.13);
    box-shadow: 0 14px 34px rgba(48, 48, 48, 0.08);
    overflow: hidden;
}

.modern-sidebar-widget:last-child {
    margin-bottom: 0;
}

.modern-sidebar-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 54px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: #575c31;
}

.modern-sidebar-widget h3 {
    margin: 0 0 18px;
    color: #303030;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: capitalize;
    font-family: "Roboto Slab", serif;
}

/* Search */
.modern-search-form {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f7f7f3;
    border: 1px solid rgba(87, 92, 49, 0.18);
}

.modern-search-form input {
    width: 100%;
    height: 52px;
    padding: 0 58px 0 18px;
    border: none;
    outline: none;
    background: transparent;
    color: #303030;
    font-size: 14px;
    font-weight: 600;
}

.modern-search-form input::placeholder {
    color: rgba(48, 48, 48, 0.55);
}

.modern-search-form button {
    position: absolute;
    right: 6px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #575c31;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-search-form button:hover {
    background: #303030;
    transform: translateY(-2px);
}

/* Category List */
.modern-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-category-list li {
    margin-bottom: 10px;
}

.modern-category-list li:last-child {
    margin-bottom: 0;
}

.modern-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 14px;
    color: #303030;
    background: #f8f8f4;
    border: 1px solid rgba(87, 92, 49, 0.12);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.32s ease;
}

.modern-category-list a i {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(87, 92, 49, 0.12);
    color: #575c31;
    transition: all 0.32s ease;
}

.modern-category-list a:hover {
    color: #ffffff !important;
    background: #575c31;
    border-color: #575c31;
    transform: translateX(4px);
    box-shadow: 0 12px 26px rgba(87, 92, 49, 0.22);
}

.modern-category-list a:hover i {
    background: #ffffff;
    color: #575c31;
    transform: translateX(3px);
}

/* Popular Projects */
.modern-popular-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-popular-projects li {
    margin-bottom: 14px;
}

.modern-popular-projects li:last-child {
    margin-bottom: 0;
}

.modern-popular-projects a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: #f8f8f4;
    border: 1px solid rgba(87, 92, 49, 0.12);
    text-decoration: none;
    transition: all 0.32s ease;
}

.modern-popular-projects a:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(48, 48, 48, 0.12);
    border-color: rgba(87, 92, 49, 0.28);
}

.modern-popular-projects img {
    width: 82px;
    height: 74px;
    min-width: 82px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(48, 48, 48, 0.12);
}

.modern-project-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.modern-project-info strong {
    color: #303030;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.modern-project-info small {
    color: #575c31;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.modern-project-info small i {
    transition: all 0.3s ease;
}

.modern-popular-projects a:hover small i {
    transform: translateX(4px);
}

/* CTA Widget */
.modern-cta-widget {
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(48, 48, 48, 0.96), rgba(31, 31, 31, 0.98)),
        radial-gradient(circle at top right, rgba(87, 92, 49, 0.5), transparent 42%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-cta-widget::before {
    background: #ffffff;
}

.modern-cta-widget h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.modern-cta-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-cta-widget p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.modern-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.modern-cta-actions a {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.32s ease;
}

.modern-cta-main {
    color: #ffffff;
    background: #575c31;
    border: 2px solid #575c31;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.modern-cta-main:hover {
    color: #303030;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.modern-cta-phone {
    color: #303030;
    background: #ffffff;
    border: 2px solid #ffffff;
}

.modern-cta-phone:hover {
    color: #ffffff !important;
    background: #575c31;
    border-color: #575c31;
    transform: translateY(-3px);
}

.modern-cta-email {
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.modern-cta-email:hover {
    color: #303030;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Tags */
.modern-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.modern-tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #f8f8f4;
    color: #303030;
    border: 1px solid rgba(87, 92, 49, 0.14);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-tag-cloud a:hover {
    color: #ffffff !important;
    background: #575c31;
    border-color: #575c31;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .modern-remodel-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .modern-remodel-sidebar {
        padding: 16px;
        border-radius: 18px;
    }

    .modern-sidebar-widget {
        padding: 20px;
        border-radius: 16px;
    }

    .modern-sidebar-widget h3 {
        font-size: 18px;
    }

    .modern-popular-projects a {
        align-items: flex-start;
    }

    .modern-popular-projects img {
        width: 74px;
        height: 68px;
        min-width: 74px;
    }
}

.faq-text{
    margin-top: 40px !important;
}

#blog-post article .popular-question h2:after{
    display: none;
}