:root {
    --qm-orange: #f59e0b;
    --qm-orange-dark: #d97706;
    --qm-dark: #111827;
    --qm-text: #526173;
    --qm-light: #f7f8fa;
}


/* SECTION */

.qm-section {
    position: relative;
    padding: 110px 0 120px;
    background: #f8f8f6;
    overflow: hidden;
}


/* BACKGROUND SHAPES */

.qm-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.qm-shape-1 {
    width: 420px;
    height: 420px;
    background: rgba(245, 158, 11, 0.07);
    top: -180px;
    right: -100px;
}

.qm-shape-2 {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(245, 158, 11, 0.12);
    bottom: -150px;
    left: -100px;
}


/* BADGE */

.qm-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 50px;
    background: #fff;
    color: var(--qm-orange-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.qm-badge span {
    width: 7px;
    height: 7px;
    background: var(--qm-orange);
    border-radius: 50%;
    animation: qmPulse 1.8s infinite;
}

@keyframes qmPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: .5;
    }

}


/* TITLE */

.qm-title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--qm-dark);
    margin-bottom: 20px;
}

.qm-title span {
    color: var(--qm-orange);
}

.qm-description {
    color: var(--qm-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* INTRO */

.qm-intro {
    margin-top: 75px;
}


/* IMAGE */

.qm-image-wrap {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    background: #ddd;
}

.qm-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.qm-image-wrap:hover img {
    transform: scale(1.06);
}

.qm-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, .7));
}


/* IMAGE CARD */

.qm-image-card {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.qm-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--qm-orange);
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
}

.qm-image-card strong {
    display: block;
    font-size: 15px;
    color: var(--qm-dark);
}

.qm-image-card small {
    display: block;
    color: #687586;
    margin-top: 3px;
}


/* CONTENT */

.qm-content {
    position: relative;
    padding-left: 50px;
}

.qm-content-number {
    font-size: 100px;
    line-height: 1;
    font-weight: 900;
    color: rgba(245, 158, 11, .08);
    position: absolute;
    right: 0;
    top: -25px;
}

.qm-content h3 {
    position: relative;
    font-size: 34px;
    font-weight: 800;
    color: var(--qm-dark);
    margin-bottom: 18px;
}

.qm-content > p {
    position: relative;
    color: var(--qm-text);
    line-height: 1.8;
    font-size: 16px;
    max-width: 620px;
}


/* FEATURES */

.qm-features {
    margin-top: 30px;
}

.qm-feature {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--qm-orange-dark);
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all .3s ease;
}

.qm-feature:hover .feature-icon {
    background: var(--qm-orange);
    color: #fff;
    transform: translateY(-4px);
}

.qm-feature h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--qm-dark);
    margin-bottom: 5px;
}

.qm-feature p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}


/* PROCESS HEADING */

.qm-process-heading {
    text-align: center;
    margin-top: 115px;
    margin-bottom: 65px;
}

.qm-process-heading span {
    display: block;
    color: var(--qm-orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.qm-process-heading h3 {
    font-size: 34px;
    font-weight: 700;
    color: var(--qm-dark);
}

.qm-process-heading strong {
    color: var(--qm-orange);
}


/* TIMELINE */

.qm-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}


/* LINE */

.qm-timeline::before {
    content: "";
    position: absolute;
    top: 39px;
    left: 9%;
    right: 9%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--qm-orange),
            #ddd,
            var(--qm-orange));
}


/* STEP */

.qm-step {
    position: relative;
    z-index: 2;
    text-align: center;
}


/* NUMBER */

.qm-step-number {
    width: 78px;
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #7b8794;
    font-size: 14px;
    font-weight: 800;
    transition: all .4s ease;
}

.qm-step:hover .qm-step-number,
.qm-step.active .qm-step-number {
    background: var(--qm-orange);
    border-color: var(--qm-orange);
    color: #fff;
    box-shadow: 0 10px 30px rgba(245, 158, 11, .3);
    transform: translateY(-5px);
}


/* ICON */

.qm-step-icon {
    width: 55px;
    height: 55px;
    margin: 25px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    color: var(--qm-orange-dark);
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
    transition: all .35s ease;
}

.qm-step:hover .qm-step-icon {
    background: var(--qm-dark);
    color: #fff;
    transform: rotate(-5deg) scale(1.08);
}


/* STEP CONTENT */

.qm-step-content h4 {
    font-size: 18px;
    font-weight: 750;
    color: var(--qm-dark);
    margin-bottom: 10px;
}

.qm-step-content p {
    color: #718096;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 210px;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .qm-section {
        padding: 80px 0;
    }

    .qm-title {
        font-size: 38px;
    }

    .qm-content {
        padding-left: 0;
    }

    .qm-image-wrap {
        height: 420px;
    }

    .qm-timeline {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .qm-timeline::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: auto;
        right: auto;
    }

    .qm-step {
        background: #f8f8f6;
    }

    .qm-step-number {
        position: relative;
        background: #fff;
    }

}


@media (max-width: 575px) {

    .qm-section {
        padding: 65px 0;
    }

    .qm-title {
        font-size: 30px;
    }

    .qm-description {
        font-size: 14px;
    }

    .qm-image-wrap {
        height: 350px;
        border-radius: 18px;
    }

    .qm-image-card {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .qm-content h3 {
        font-size: 27px;
    }

    .qm-process-heading {
        margin-top: 80px;
        margin-bottom: 45px;
    }

    .qm-process-heading h3 {
        font-size: 27px;
    }

}
