#aboutService {
    padding: 123px 0;
    position: relative;
}

#aboutService h4 {
    font-size: 52px;
    font-weight: 700;
    color: #1A7BA5;
    text-align: center;
    letter-spacing: 5.2px;
    margin-bottom: 25px;
}

#aboutService p.sub-h4 {
    font-size: 26px;
    font-weight: 600;
    color: #FFFDBB;
    background-color: #9494CF;
    width: 1192px;
    height: 115px;
    line-height: 37px;
    margin: 0 auto;
    margin-bottom: 57px;
    padding: 15px 45px 0 27px;
}

#aboutService p.sub-h4 span:nth-child(1){
    float: left;
    width: 250px;
    height: 100%;
}

#aboutService .as-content {
    padding-left: 344px;
    width: 100%;
    max-width: 1903px;
    height: 864px;
    background: url("../images/about-service-bg.png") no-repeat;
    background-position: top 34px right;
    background-size: calc(100vw*1529/1920) calc(100vw*390/1920);
}

#aboutService h3 {
    font-size: 96px;
    font-weight: 500;
    color: #B1CAD6;
    opacity: 0.51;
    transform: rotate(90deg);
    transform-origin: center top;
    position: absolute;
    top: 550px;
    left: -264px;
    letter-spacing: 1px;
}

#aboutService .as-content .asc-item {
    width: calc(100vw*585/1920);
    height: calc(100vw*864/1920);
    background-color: rgba(255, 255, 255, 0.5);
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 5px 5px 15px #00000029;
    float: left;
    margin-right: 63px;
    position: relative;
}

#aboutService .as-content .asc-item .asci-image {
    width: calc(100vw*540/1920);
    height: calc(100vw*360/1920);
    margin: 34px 0 50px 30px;
}

#aboutService .as-content .asc-item .title p.pre-title,
#aboutService .as-content .asc-item .title h4 {
    padding-left: 22px;
}

#aboutService .as-content .asc-item .title h4 {
    font-size: 30px;
    letter-spacing: 3px;
    text-align: left;
}

#aboutService .as-content .asc-item p {
    padding: 0 22px;
    line-height: 35px;
    margin-bottom: 0;
}

#aboutService .as-content .asc-item .asci-action {
    background: url("../images/btn-more-bg-2.png") no-repeat;
    background-size: contain;
    width: 260px;
    height: 60px;
    display: block;
    text-decoration: none;
    text-align: center;
    line-height: 60px;
    font-size: 16px;
    color: #fff;
    position: absolute;
    right: 44px;
    bottom: 45px;
}

#aboutService h4.top-title br{
    display: none;
}

#aboutService p.sub-h4 br{
    display: none;
}

#aboutService .as-content .asc-item.ni .title h4 br{
    display: none;
}

@media (max-width: 1800px){
    #aboutService .as-content .asc-item .title p.pre-title{
        font-size: 18px;
    }

    #aboutService .as-content .asc-item{
        height: 838px;
    }
}

@media (max-width: 1700px){
    #aboutService .as-content .asc-item .asci-action{
        bottom: 15px;
    }

    #aboutService .as-content .asc-item p{
        padding-left: unset;
        padding: 0 10px;
    }

    #aboutService .as-content .asc-item .title p.pre-title{
        font-size: 15px;
    }

    #aboutService .as-content .asc-item .title h4{
        font-size: 24px;
    }
}

/* large desktops more than 1200px*/
@media (max-width: 1399.98px) {   
    #aboutService p.sub-h4{
        margin: 0 0 30px 173px;
        font-size: 22px;
        max-width: calc(100vw - 174px);
    }

    #aboutService .as-content{
        background-size: calc(100vw - 194px) 390px;
    }

    #aboutService .as-content{
        padding-left: 222px;
    }

    #aboutService .as-content .asc-item{
        margin-right: 40px;
        width: calc((585 / 1903)*100vw + 63px);
    }

    #aboutService .as-content .asc-item .asci-image{
        width: calc((585 / 1903)*100vw + 19px);
        height: calc(2*((585 / 1903)*100vw + 19px)/3);
        margin-bottom: 22px;
    }

    #aboutService .as-content .asc-item .title p.pre-title{
        font-size: 15px;
    }

    #aboutService .as-content .asc-item .title h4{
        font-size: 26px;
    }
}

/* desktop more than 992px */
@media (max-width: 1199.98px) { 
    #aboutService .as-content .asc-item{
        width: calc((585 / 1903)*100vw);
    }

    #aboutService .as-content .asc-item .asci-image{
        width: calc((585 / 1903)*100vw - 45px);
        height: calc(2*((585 / 1903)*100vw - 45px)/3);
    }    

    #aboutService .title p.pre-title{
        font-size: 11px;
    }

    #aboutService .title p.pre-title::after{
        width: 14px;
    }

    #aboutService .as-content .asc-item .asci-action{
        right: initial;
        left: 50%;
        margin-left: -120px;
    }

    #aboutService h4.top-title{
        width: 746px;
        margin-left: 173px;
        font-size: 44px;
    }

    #aboutService .as-content .asc-item .title h4{
        height: 53px;
    }

    #aboutService p.sub-h4{
        max-width: calc(100% - 173px);
    }
}

/* tablets more than 768px */
@media (max-width: 991.98px) {  
    #aboutService{
        padding: 50px 0 0 0;
    }

    #aboutService h3{
        font-size: 90px;
    }

    #aboutService h4.top-title{
        margin-left: 123px;
        font-size: 34px;
        text-align: left;
        width: 592px;
    }

    #aboutService p.sub-h4{
        margin-left: 123px;
        width: calc(100vw - 180px);
        font-size: 14px;
    }

    #aboutService .as-content{
        padding-left: 160px;
        background-size: calc(100vw - 143px) 100%;
        height: 1616px;
    }

    #aboutService .as-content .asc-item{
        margin-right: 0;
        width: calc(100vw - 250px);
        margin-bottom: 35px;
    }

    #aboutService .as-content .asc-item.ni{
        margin-bottom: 0;
        height: 735px;
    }

    #aboutService .as-content .asc-item .asci-image{
        width: calc(100vw - 295px);
        height: calc(2*(100vw - 295px)/3)
    }

    #aboutService h4.top-title{
        margin-top: 180px; /* Vương thêm */
    }

    #aboutService .as-content .asc-item .title h4{
        height: 30px;
        margin-bottom: 15px;
    }

    #aboutService .as-content .asc-item .asci-action{
        bottom: 30px;
    }

    #aboutService h4.top-title br{
        display: none;
    }

    #aboutService p.sub-h4 br{
        display: none;
    }
}

/* landscape phones more than 576px */
@media (max-width: 767.98px) {    
    #aboutService h3{
        display: none;
    }

    #aboutService h4.top-title{
        padding-left: 0;
        margin-left: 15px;
        width: 375px;
    }

    #aboutService h4.top-title br{
        display: block;
    }

    #aboutService p.sub-h4{
        margin-left: 15px;
        width: calc(100vw - 30px);
        text-align: left;
        height: auto;
        line-height: 24px;
        padding: 5px 10px;
        max-width: unset;
    }

    #aboutService p.sub-h4 br{
        display: block;
    }

    #aboutService .as-content{
        padding: 25px 15px;
        background-size: cover;
        background-position: top;
    }

    #aboutService .as-content .asc-item{
        width: calc(100vw - 30px);
    }

    #aboutService .as-content .asc-item .asci-image{
        width: calc(100vw - 50px);
        /* height: calc(2*(100vw - 95px)/3); */
        height: auto;
        margin: 10px 10px 20px 10px;
        display: block;
    }

    #aboutService .as-content .asc-item.ni .title h4 br{
        display: none;
    }
}

/* portrait phones less than 576px */
@media (max-width: 575.98px) {    
    #aboutService{
        padding: 0;
    }
    
    #aboutService h4.top-title{
        font-size: 30px;
        font-weight: 700;
        line-height: 40px;
        letter-spacing: 3.0px;
    }

    #aboutService .as-content .asc-item .asci-action{
        margin-left: -100px;
    }

    #aboutService .title p.pre-title{
        display: none;
    }

    #aboutService .as-content .asc-item {
        border-top-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    #aboutService .as-content .asc-item .title h4{
        font-size: 26px;
        font-weight: 700;
        letter-spacing: 2.6px;
        line-height: 30px;
    }

    #aboutService .as-content .asc-item p{
        font-size: 16px;
        font-weight: 700;
        line-height: 30px;
        color: #1A7BA5;
    }

    #aboutService .as-content .asc-item.ichi{
        height: 630px;
    }

    #aboutService .as-content .asc-item.ni .title h4 br{
        display: block;
    }

    #aboutService .as-content .asc-item.ni .title h4{
        height: 70px;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 2.4px;
        line-height: 30px;
    }

    #aboutService .as-content .asc-item.ni{
        height: 620px;
    }

    #aboutService .as-content{
        height: 1346px;
        width: 100vw;
        background: none;
        background-color: #C6D0E3;
    }

    #aboutService h4.top-title{
        width: 350px;
        margin-top: 0;
    }

    #aboutService p.sub-h4{
        display: none;
    }

    #aboutService p.sub-h4.mobile{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #aboutService p.sub-h4.mobile span:nth-child(1){
        flex-basis: 100%;
        color: #FFFDBB;
        font-size: 18px;
        font-weight: 700;
    }

    #aboutService p.sub-h4.mobile span:nth-child(n+1){
        font-size: 18px;
        font-weight: 500;
    }
}

