.work {
    background: #E3F6FF;
    padding-bottom: 20px;
}
.work h1 {
    padding: 70px 0 50px 0;
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    color: #1A469D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.work h1::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 6px;
    background: #1A469D;
    border-radius: 15px;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 0);
}
.work .container {
   max-width: 1200px;
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: auto;
   padding: 0 40px;
}
.work .container .work-card {
    background: white;
    display: flex;
    justify-content: flex-end;
    padding-right: 80px;
    gap: 38px;
    border-radius: 120px;
    align-items: center;
    position: relative;
    width: 100%;
}
.work .container .work-card.second {
    margin-top: 30px;
}


.work-card::before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 43px solid white;
    border-bottom: 10px solid transparent;
    right: 50%;
    bottom: -30px;
    transform: translate(50%, 0);
}
.work-card .title {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content {
    z-index: 1;
}
.work-card .content img {
    display: none;
}
.work-card .title h3 {
    font-size: 17px;
    color: #92A1A8;
    font-weight: bold;
    margin: 0;
}
.work-card .title p {
    color: #92A1A8;
    font-weight: bold;
    font-size: 60px;
    margin: 0;
    line-height: 50px;
}
.work-card .content h2 {
    color: #090A0A;
    font-size: 24px;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}
.work-card .content p {
    margin: 0;
    font-size: 14px;
}
.work-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
}
.title-bubble-chat {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: row;
    padding: 20px 0 15px 0;
}
.buble-chat {
    padding: 11px 18px;
    background: #1A469D;
    color: white;
    border-radius: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    line-height: 19px;
}
.buble-chat::before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    z-index: 0;
    border-left: 29px solid #1A469D;
    border-right: 24px solid transparent;
    border-top: 9px solid #1A469D;
    border-bottom: 11px solid transparent;
    right: -20px;
    bottom: -3px;
    transform: skewX(71deg);
}
.title-bubble-chat .buble-chat h2 {
    margin: 0;
    color: white;
    font-size: 16px;
    z-index: 1;
    font-weight: bold;
}
.title-bubble-chat .buble-chat h2 span {
    font-size: 13px;
    font-weight: bold;
    color: white;
}

.title-bubble-chat .buble-chat p {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    z-index: 1;
}

.title-bubble-chat h2.right-title {
    position: relative;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
}
.title-bubble-chat h2.right-title.mobile {
    display: none;
}

.title-bubble-chat h2 span {
    color: #1A469D;
    z-index: 1;
    position: relative;
}
.title-bubble-chat h2.right-title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 15px;
    bottom: 0;
    background: #A2E0FF;
    z-index: 0;
}
.main-card-image {
    display: flex;
    flex: 1 1 0px;
    justify-content: center;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
}
.card-image {
    background: #E9F1F5;
    border-radius: 20px;
    box-shadow: rgb(0 73 203 / 20%) 0px 6px 16px;
    position: relative;
    top: 0;
    flex: 1 1 0px;
    display: flex;
    flex-direction: column;
}
.card-image img {
    object-fit: contain;
    width: 100%;
    max-height: 260px;
    background: white;
    border-radius: 20px 20px 0 0;
}
.card-image .sub {
    display: block;
    padding: 15px;
    text-align: center;
}
.card-image .sub p {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}
.card-image .sub p a {
    color: #0C82BC;
}
.card-image .sub p a:hover {
    opacity: 0.7;
}

@media (min-width: 992px){
    .down-line {
        display: none;
    }
}
@media (min-width: 768px) and   (max-width: 992px) {
    .main-card-image {
        flex-direction: row !important;
    }
    .work .container .work-card {
        padding: 10px 20px 20px 20px !important;
    }
    .work .container .work-card.second {
        margin-top: 0;
    }
    .work-card .title {
        margin-bottom: -35px;
    }
}

@media (max-width: 768px) {
    .work {
        padding-bottom: 10px;
    }
    .work h1 {
        padding: 54px 34px;
        font-size: 30px;
    }
    .work .container {
        padding: 0 20px;
        display: block;
    }
    
    .work .container .work-card {
        flex-direction: column;
        border-radius: 20px;
        align-items: center;
        gap: 0px;
        justify-content: center;
        padding: 20px;
    }
    .work .container .work-card.second {
        margin-top: 0;
    }
    .work-card .title {
        flex-direction: row;
        gap: 10px;
    }
    
    .work-card .title h3 {
        font-size: 14px;
    }
    
    .work-card .title p {
        font-size: 35px;
    }

    .temp-title {
        display: flex;
        gap: 5px;
        align-items: flex-end;
        justify-content: center;
    }
    .work-card .content img {
        display: block;
        width: 74px;
        height: 74px;
        object-fit: cover;
    }
    .work-card .content h2 {
        font-size: 18px;
    }
    .work-card img {
        display: none;
    }
    .title-bubble-chat {
        flex-direction: column;
        padding: 30px 0 20px 0;
        gap: 0;
    }
    .title-bubble-chat h2.right-title {
        font-size: 24px;
        text-align: center;
        display: none;
    }
    .title-bubble-chat h2.right-title.mobile {
        display: block;
    }
    .main-card-image {
        flex-direction: column;
        gap: 20px;
    }
    .title-bubble-chat h2.right-title::before {
        width: 100%;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .buble-chat {
        flex-direction: row;
        margin-bottom: 10px;
    }
    .buble-chat::before {
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;
        border-left: 30px solid #1A469D;
        border-right: 20px solid transparent;
        border-top: 0px solid #1A469D;
        border-bottom: 12px solid transparent;
        left: 40px;
        bottom: -10px;
    }
    .card-image .sub {
        padding: 15px;
        text-align: unset;
    }
    .card-image .sub p {
        font-size: 14px;
        margin: 0;
    }
    .card-image .sub p a {
        float: right;
    }
}