/* before and after */
/* BEFORE AFTER WRAPPER */
.before-after-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* CONTAINER */
.before-after-container {
    position: relative;
    width: 100%;
    height: auto;
}

/* IMAGES */
.before-after-container img {
    width: 100%;
    display: block;
}

/* AFTER IMAGE CLIPPED */
.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* SLIDER LINE */
.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #ffffff;
    z-index: 2;
}

/* HANDLE */
.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #ff6b00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* HANDLE ICON (optional arrow) */
.slider-handle::before {
    content: "⇆";
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {
    padding: 80px 0;
    background: #f9fbff;
    font-family: "Poppins", sans-serif;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
}

.faq-header p {
    color: #64748b;
    margin-top: 10px;
}

/* =========================
   FAQ ITEM
========================= */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* QUESTION */

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* ANSWER */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 15px 0;
    color: #475569;
}

/* ACTIVE */

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* HOVER */

.faq-item:hover {
    transform: translateY(-3px);
}

/* =========================
   ANIMATION (FADE IN)
========================= */

.faq-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* services btn */
/* Container spacing */
.ccp-view-btn {
    margin-top: 30px;
}

/* Button base */
.ccp-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;

    /* Elegant brown gradient */
    background: linear-gradient(135deg, #5a3e2b, #8b5e3c);

    /* Depth */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.ccp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
    background: linear-gradient(135deg, #6b4a33, #a9744f);
}

/* Active click */
.ccp-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Subtle shine effect */
.ccp-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.ccp-btn-primary:hover::before {
    left: 125%;
}

.single-sidebar .title h3{
    margin-top: 50px !important;
}