/* before and fater section */
.blog-thumb-image.before-after-futuristic{
    position:relative;
    overflow:hidden;
    border-radius:12px;
}

.before-after-wrapper{
    position:relative;
    width:100%;
    height:auto;
    cursor:ew-resize;
}

.before-after-wrapper img{
    width:100%;
    display:block;
}

.after-img{
    position:absolute;
    top:0;
    left:0;
    width:50%;
    height:100%;
    object-fit:cover;
    overflow:hidden;
}

.slider-line{
    position:absolute;
    top:0;
    left:50%;
    width:2px;
    height:100%;
    background:linear-gradient(
        to bottom,
        transparent,
        #ffffff,
        transparent
    );
    z-index:3;
    animation: glowLine 2.5s infinite alternate;
}

.slider-handle{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:48px;
    height:48px;
    border-radius:50%;
    background:#040e2b;
    border:2px solid #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:5;
    box-shadow:0 0 15px rgba(255,255,255,0.6);
    transition:.3s;
}

.slider-handle:hover{
    transform:translate(-50%,-50%) scale(1.1);
}

.handle-dot{
    width:8px;
    height:8px;
    background:#fff;
    border-radius:50%;
}

.label{
    position:absolute;
    top:20px;
    padding:6px 12px;
    font-size:12px;
    letter-spacing:1px;
    border-radius:30px;
    background:rgba(4,14,43,0.8);
    color:#fff;
    backdrop-filter:blur(8px);
}

.before-label{
    left:20px;
}

.after-label{
    right:20px;
}

@keyframes glowLine{

    0%{
        box-shadow:0 0 8px rgba(255,255,255,0.3);
    }

    100%{
        box-shadow:0 0 18px rgba(255,255,255,0.8);
    }

}
/* btn section */
.btn-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.btn-container a{
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tj-color-grey-2);
    background: transparent;
    border: 2px solid var(--tj-color-theme-primary);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* hover effect */
.btn-container a:hover{
    color: #040e2b;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255,255,255,0.6),
                0 0 25px rgba(255,255,255,0.3);
}

/* subtle futuristic glow line */
.btn-container a::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transition: 0.6s;
}

.btn-container a:hover::before{
    left: 100%;
}


/* faq section */

.tj-faq-section{
    padding:80px 0;
    max-width:900px;
    margin:auto;
}

.faq-header{
    text-align:center;
    margin-bottom:40px;
}

.faq-header h2{
    font-size:32px;
    color:var(--tj-color-theme-primary);
    margin-bottom:10px;
}

.faq-header p{
    color:#666;
}

.faq-container{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.faq-item{
    border:1px solid rgba(0,0,0,0.08);
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    transition:all .3s ease;
}

.faq-item:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.faq-question{
    width:100%;
    text-align:left;
    padding:18px 22px;
    font-size:17px;
    font-weight:600;
    border:none;
    background:#fff;
    cursor:pointer;
    color:var(--tj-color-theme-primary);
    position:relative;
}

.faq-question::after{
    content:"+";
    position:absolute;
    right:22px;
    font-size:22px;
    transition:transform .3s ease;
}

.faq-item.active .faq-question::after{
    transform:rotate(45deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.faq-answer p{
    padding:0 22px 20px;
    color:#555;
    line-height:1.6;
}

.tagcloud a{
    color: white !important;
}