.sub-promotion {
    height: 100vh;
    padding-top: 0;
    background: url(../images/service-bg.jpg);
    background-position: right;
    background-size: cover;
}

.sub-promotion-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.sub-p-text {
    width: 100%;
    text-align: left;
}

.sub-p-text h4 {
    color: var(--main-color);
    font-size: 22px;
    margin-bottom: 1.5rem;
}

.sub-p-text h5 {
    font-size: 65px;
}

.sub-p-image {
    width: 65%;
    margin-right: -100px;
}

.sub-article {
    padding-top: 180px;
    margin-top: -80px;
}

.sv-title {
    width: 100%;
    margin-bottom: 4rem;
}

.sv-title p {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sv-title h5 {
    color: #222;
    font-size: 45px;
    line-height: 1.3;
}

.sv-title h4 {
    color: #888;
    font-size: 20px;
    font-weight: 500;
    margin-top: 1.5rem;
}

.sv1-box-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sv1-box {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
}

.sv1-box-text {
    width: 50%;
}

.sv1-box-text h5 {
    color: #333;
    font-size: 24px;
}

.sv1-box-text p {
    color: #888;
    font-size: 18px;
    line-height: 1.65;
    margin-top: 1rem;
}

.sv1-box-image {
    width: 400px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.sv1-box:nth-child(1) .sv1-box-image {
    background-color: #4a40ff10;
}
.sv1-box:nth-child(2) .sv1-box-image {
    background-color: #8dd1fe30;
}
.sv1-box:nth-child(3) .sv1-box-image {
    background-color: #07cd9710;
}
.sv1-box:nth-child(4) .sv1-box-image {
    background-color: #ffb06130;
}
.sv1-box:nth-child(5) .sv1-box-image {
    background-color: #4285f410;
}

.sv1-box-image img {
    width: 27%;
}


.sv2-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.sv2-wrapper .sv-title {
    position: sticky;
    top: 180px;
    height: fit-content;
}

.sv2-box-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sv2-box {
    position: relative;
    width: 100%;
    padding-bottom: 6rem;
}

.sv2-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 12px;
    width: 2px;
    height: 100%;
    background-color: #eee;
    z-index: 1;
}

.sv2-box:last-child::after {
    background: linear-gradient(to bottom, #eee 0%, transparent 100%);
}

.sv2-box-num {
    position: absolute;
    top: 0; left: 0;
    padding-bottom: 5px;
    color: var(--main-color);
    font-size: 24px;
    font-weight: 600;
    background-color: #fff;
    z-index: 2;
}

.sv2-box-text {
    margin-left: 4rem;
}

.sv2-box-text h5 {
    color: #333;
    font-size: 24px;
}

.sv2-box-text p {
    color: #888;
    font-size: 16px;
    line-height: 1.65;
    margin-top: 1rem;
}


.sv3 .sv-title {
    text-align: center;
}

.sv3-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.sv3-box {
    position: relative;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px 0 rgba(80, 86, 131, .1);
    background-color: #fff;
}

.sv3-box-image {
    position: absolute;
    top: 50%; right: 40px;
    transform: translate(0, -50%);
}

.sv3-box-image img {
    height: 60px;
}

.sv3-box-text {
    width: 75%;
}

.sv3-box-text h5 {
    color: #444;
    font-size: 24px;
}

.sv3-box-text p {
    color: #888;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 1rem;
}


/*==================================================*/
@media (max-width: 1450px) {
    .sub-promotion-wrapper {
        flex-direction: column;
        justify-content: center;
    }

    .sub-p-text {
        text-align: center;
    }

    .sub-p-image {
        width: 80%;
        margin-right: 0;
    }
}


@media (max-width: 1250px) {
    .sv3-box {
        padding: 40px;
    }

    .sv3-box-text p br {
        display: none;
    }
}


@media (max-width: 1150px) {
    .sv1-box-text p br {
        display: none;
    }
}


@media (max-width: 950px) {
    .sv3-box {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .sv3-box-image {
        position: static;
        transform: unset;
    }
}


@media (max-width: 850px) {
    .sv2-wrapper {
        flex-direction: column;
        justify-content: unset;
        gap: 1rem;
    }

    .sv2-wrapper .sv-title {
        position: static;
    }
    
    .sv2-box {
        padding-bottom: 5rem;
    }

    .sv2-box-text p br {
        display: none;
    }
}


@media (max-width: 768px) {
    .sub-article {
        padding-top: 145px;
    }
    
    .sv-title {
        margin-bottom: 3rem;
    }

    .sv-title p {
        font-size: 18px;
    }

    .sv-title h5 {
        font-size: 36px;
    }

    .sv-title h4 {
        font-size: 18px;
    }
    
    .sv1-box-text p {
        font-size: 16px;
    }

    .sv1-box-image {
        border-radius: 15px;
    }

    .sv3-box-wrapper {
        gap: 1.5rem;
    }

    .sv3-box {
        padding: 30px;
        border-radius: 15px;
    }

    .sv3-box-image img {
        height: 50px;
    }
}


@media (max-width: 650px) {
    .sub-promotion {
        background: url(../images/service-bg-m.jpg);
        background-position: center;
    }
    
    .sub-p-text h4 {
        font-size: 19px;
    }
    
    .sub-p-text h5 {
        font-size: 45px;
    }
    
    .sv1-box {
        flex-direction: column;
        gap: 1rem;
    }

    .sv1-box-text,
    .sv1-box-image {
        width: 100%;
    }

    .sv1-box-text p {
        margin-top: 10px;
    }

    .sv1-box-image img {
        width: 25%;
    }
}


@media (max-width: 550px) {
    .sub-p-image {
        width: 90%;
    }
    
    .sub-article {
        padding-top: 125px;
    }
    
    .sv1-box-image {
        height: 180px;
    }

    .sv2-box-num {
        font-size: 20px;
    }

    .sv1-box-text h5,
    .sv2-box-text h5
    .sv3-box-text h5 {
        font-size: 20px;
    }

    .sv3-box-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .sv3-box {
        padding: 25px;
        flex-direction: column-reverse;
        gap: 0;
        box-shadow: 0 10px 30px 0 rgba(80, 86, 131, .1);
    }
    
    .sv3-box-text h5 {
        margin-top: 1rem;
    }
    
    .sv3-box-image {
        width: 100%;
        margin-top: -1rem;
    }

    .sv3-box-image img {
        float: right;
    }
}


@media (max-width: 450px) {
    .sv-title p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .sv-title h5 {
        font-size: 32px;
    }

    .sv-title h4 {
        font-size: 16px;
    }
    
    .sv1-box-image {
        height: 160px;
        border-radius: 12px;
    }

    .sv2-box {
        padding-bottom: 3rem;
    }
    
    .sv2-box::after {
        left: 10px;
    }

    .sv2-box-num {
        font-size: 18px;
    }
    
    .sv2-box-text {
        margin-left: 3rem;
    }

    .sv3-box {
        border-radius: 12px;
    }
    
    .sv1-box-text h5,
    .sv2-box-text h5,
    .sv3-box-text h5 {
        font-size: 20px;
    }

    .sv1-box-text p,
    .sv2-box-text p,
    .sv3-box-text p {
        font-size: 15px;
        margin-top: 10px;
    }
}