﻿.home-about-top .item.left .img a img {
    width: 498px;
    height: 409px;
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s;
}

.w-des-about-r-b .list {
    width: 54%;
    margin-left: 51px;
}

.decor-line-about-l {
    position: absolute;
    width: 5px;
    height: 131px;
    border-radius: 18px;
    background: #3DA608;
    right: -16px;
    top: 0;
    display: none;
}

    .decor-line-about-l:after {
        content: "";
        position: absolute;
        width: 5px;
        height: 131px;
        left: 0;
        bottom: -155px;
        border-radius: 18px;
        background: var(--default-color-3);
    }

.home-about {
    position: relative;
    padding-top: 57px;
    background: url(/Design/img/SongThanh/About/b2.png) no-repeat;
    background-size: cover;
}

img.decor-back-about {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.home-about-container {
    padding-bottom: 61px;
}

.home-about-top .item.right h6 {
    margin: 0;
    color: #FFF;
    font-family: 'Inter-Medium';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px; /* 240% */
    text-transform: capitalize;
    border-radius: 7px;
    background: #3DA608;
    width: max-content;
    padding: 1px 18px;
}

.decor-top-title-about {
    color: #003F52;
    font-family: 'Inter-SemiBold';
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 151.023%; /* 30.205px */
    margin-bottom: 10px;
    display: none;
}

.w-hotline-about-r a {
    display: flex;
}

.p-btn-link {
    position: relative;
    overflow: hidden;
}

    .p-btn-link span {
        position: relative;
        z-index: 2;
        transition: color 0.3s ease;
    }

    /* Hiệu ứng nền trượt từ trái sang */
    .p-btn-link::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #93D802, #3DA608);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 1;
    }

    /* Khi hover */
    .p-btn-link:hover::before {
        transform: translateX(0);
    }

    .p-btn-link:hover span {
        color: #fff;
        font-weight: 600;
    }

.link-phone-about {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.r-decor-phone-about span {
    color: #ed1c24;
    font-family: 'Kanit-Medium';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: all .3s;
}

.decor-img-box {
    position: absolute;
    bottom: -31px;
    left: -114px;
    z-index: 1;
}

.w-hotline-about-r a:hover .r-decor-phone-about span {
    color: var(--default-color-3);
}

.r-decor-phone-about p {
    margin: 0;
    color: #818488;
    font-family: bell;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #ed1c24;
}

.w-hotline-about-r a {
    transition: all 0.3s ease;
}

    .w-hotline-about-r a:hover {
        transform: translateY(-3px);
    }

        /* Icon tròn đổi màu + rung */
        .w-hotline-about-r a:hover .l-decor-phone-icon {
            background: linear-gradient(135deg, #006A8D, #003F52);
            transform: scale(1.15) rotate(-10deg);
            transition: all 0.4s ease;
            box-shadow: 0 0 12px rgba(0, 106, 141, 0.6);
        }

        /* Text đổi màu */
        .w-hotline-about-r a:hover .r-decor-phone-about p {
            color: var(--default-color-1);
            transition: color 0.3s ease;
        }

        .w-hotline-about-r a:hover .r-decor-phone-about span {
            color: #BC3100;
            font-weight: 700;
            transition: color 0.3s ease;
        }

.l-decor-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background: var(--default-color-3);
}
.l-decor-phone-icon svg {
        width: 35px;
        height: 35px;
}
.l-decor-phone-icon svg path{
    fill:#FFF
}
.r-decor-phone-about {
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .r-decor-phone-about p {
    }

.w-hotline-about-r {padding-top: 11px;}

.home-about-top .item.left:hover .img a img {
    transform: scale(1.05);
}

.home-about-top .item.left .img, .home-about-top .item.left .img a {
    overflow: hidden;
    border-radius: 10px;
}

.decor-img2-about-home a {
    overflow: hidden;
    border-radius: 5px;
}

.decor-img2-about-home:hover a img {
    transform: scale(1.2);
}

.decor-b-title-about {
    color: rgba(5, 0, 56, 0.60);
    font-family: 'Inter-Regular';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 160% */
}

.home-about-top .item.right .text p {
    margin: 0;
    text-align: justify;
}

.home-about-top {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

    .home-about-top .item.left {
        width: 50%;
        position: relative;
        padding-left: 40px;
        padding-top: 9px;
    }

    .home-about-top .item.right {
        /* flex: 1 1 0; */
        /* padding-left: 40px; */
        /* padding-top: 9px; */
        width: 100%;
        position: relative;
    }

.w-logo-title-about-l {
    display: flex;
    justify-content: flex-start;
}

.w-des-about-r-b .list {
    color: #3A3737;
    font-family: 'Inter-SemiBold';
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

    .w-des-about-r-b .list p {
        position: relative;
        margin: 0;
        margin-top: 21px;
    }

        .w-des-about-r-b .list p:before {
            content: "";
            position: absolute;
            left: -26px;
            top: 3px;
            width: 15px;
            height: 15px;
            background: url(/Design/img/SongThanh/decor.png) no-repeat;
            background-size: cover;
        }

        .w-des-about-r-b .list p:nth-child(1) {
            margin-top: 10px;
        }

.w-logo-title-about-l h2 {
    margin: 0;
    color: var(--default-color-3);
    font-family: 'Kanit-Medium';
    font-size: 31px;
    font-style: normal;
    font-weight: 600;
    line-height: 50.5px; /* 140.278% */
}

.w-logo-title-about-l > h2:last-child {
    margin-top: -12px
}

.w-logo-title-about-l {
    margin-top: 15px;
    margin-bottom: 11px;
    flex-direction: column;
}

.w-des-about-r-b {
    margin-top: 20px;
    display: flex;
    margin-bottom: 35px;
}

.decor-img2-about-home a img {
    width: 254px;
    height: 155px;
    border-radius: 5px;
    transition: all .3s;
    overflow: hidden;
}

.decor-img2-about-home {
    flex: 1 1 0;
}

/*Ly do*/
.reason-about-home {
    background: #4CC1E0;
    padding-top: 33px;
    padding-bottom: 33px;
    /* background-image: url(/Design/img/SongThanh/About/b3.png); */
    background-size: cover;
    background-repeat: no-repeat;
}

.l-one-reason-home h5 {
    margin: 0;
    color: #FFF;
    font-family: 'Inter-Medium';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.l-one-reason-home h4 {
    margin: 0;
    color: #FFF;
    font-family: 'Kanit-SemiBold';
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 50.5px; /* 157.813% */
    text-transform: uppercase;
    background: linear-gradient(90deg,rgba(0, 180, 216, 1) 0%, rgba(144, 224, 239, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.l-one-reason-home section {
    color: #FFF;
    font-family: 'Inter-Regular';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 184.615% */
    text-align: justify;
}

.title-reason-about-home-t h2 {
    margin: 0;
    color: #FFF;
    font-family: 'Kanit-SemiBold';
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 57.5px; /* 140.278% */
    /* background: linear-gradient(90deg, #0482a3 0%, #0482a3 100%); */
    /* background-clip: text; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

.title-reason-about-home-t span:before {
    content: "";
    position: absolute;
    background: #fff;
    top: 0;
    left: calc(50% - 24px);
    width: 40px;
    height: 4px;
}

.l-one-reason-home:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: url(/Design/img/SongThanh/About/b4.png) no-repeat;
    background-size: cover;
    width: 543px;
    height: 255px;
}

.title-reason-about-home-t span {
    display: block;
    color: #FFF;
    font-family: 'Inter-Medium';
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    padding-top: 21px;
    position: relative;
    width: 100%;
}

.sshreason {
    color: #FFFF
}

.c-one-reason-home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reason-about-home .grid.wide {
    padding: 0;
    max-width: 1310px;
}

.l-one-reason-home {
    position: relative;
    width: 50%;
    padding: 44px;
    /* border: 8px solid rgba(255, 255, 255, 0.80); */
}

.r-reason-about-home {
    display: flex;
    width: auto;
    gap: 0px;
    align-items: center;
    justify-content: center;
}

.item-reason-about-home {
    flex: 1 1 calc(20% - 20px); /* 5 phần = 100% / 5 */
    box-sizing: border-box;
    min-width: 180px; /* để không quá nhỏ trên màn hình nhỏ */
}

    .item-reason-about-home:nth-child(2) {
    }

.title-reason-about-home-t {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 263px;
}

.vhnnddzz {
    display: flex;
    justify-content: center;
    width: 157px !important;
    align-items: center;
    height: 140px;
    background: #FFF;
    border: 3px solid #4CC1E0;
    border-radius: 100%;
    transition: all 0.3s ease; /* thêm mượt */
}

.title-reason-about-home-t img {
    width: 100.8px;
    height: 100.8px;
    transition: transform 0.3s ease;
}
/* Hiệu ứng hover */
.vhnnddzz:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--default-color-1); /* bóng cùng màu border */
}

    .vhnnddzz:hover img {
        transform: scale(1.1);
    }
/*RS*/
@media (min-width: 1024px) and (max-width: 1220px) {
    .home-about-top .item.right {
        padding-left: 25px;
        padding-top: 9px;
    }

    .w-logo-title-about-l h2 {
        font-size: 27px;
        line-height: normal;
    }

    .home-about-top .item.left .img a img {
        width: 100%;
    }

    .decor-img-box img {
        width: 65%;
    }

    .decor-img-box {
        position: absolute;
        bottom: -31px;
        left: 0;
    }

    .home-about .grid.wide, .reason-about-home .grid.wide {
        padding: 0 10px;
    }

    .decor-top-title-about {
        font-size: 18px;
    }

    .l-one-reason-home:before {
        content: "";
        position: absolute;
        left: 0;
        top: 21px;
        background: url(/Design/img/SongThanh/About/b4.png) no-repeat;
        background-size: cover;
        width: 462px;
        height: 217px;
    }

    .r-reason-about-home {
        margin-left: 21px;
    }

    .l-one-reason-home h4 {
        font-size: 26px;
    }

    .l-one-reason-home {
        padding: 54px 69px 54px 35px;
    }
}

@media(max-width:1023px) {
    .home-about-top {
        display: block;
    }

    .l-one-reason-home h5 {
        font-size: 16px;
    }

    .c-one-reason-home {
        display: block;
    }

    .l-one-reason-home {
        width: 100%;
        padding: 26px 25px;
    }

    .r-reason-about-home {
        margin: 0;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        grid-auto-rows: minmax(min-content,max-content);
        column-gap: 33px;
    }

    .l-one-reason-home h4 {
        font-size: 21px;
        line-height: normal;
    }

    .l-one-reason-home:before {
        width: 100%;
        height: 97%;
    }

    .item-reason-about-home:nth-child(2) {
    }

    .title-reason-about-home-t h2 {
        font-size: 13px;
        line-height: 44px;
    }

    .home-about-top .item.left .img a img {
        width: 100%;
        height: 100%;
    }

    .decor-line-about-l {
        display: none;
    }

    .home-about-top .item.right {
        padding: 0;
        /* padding-top: 55px; */
    }

    .decor-img-box {
        left: 2px;
        bottom: 2px;
    }

        .decor-img-box img {
            width: 50%;
        }

    .w-des-about-r-b {
        display: block;
    }

    .link-phone-about {
    justify-content: center;
    }

    .w-hotline-about-r {
        padding-top: 11px;
    }

    .r-decor-phone-about span {
        font-size: 20px;
    }

    .decor-img2-about-home a img {
        width: 100%;
        height: auto;
    }

    .link-phone-about a.p-btn-link {
        padding: 5px 10px 5px 12px;
        height: unset;
    }

    .w-des-about-r-b .list {
        width: 100%;
        margin: 0;
        margin-left: 24px;
        margin-top: 20px;
    }

        .w-des-about-r-b .list p:before {
            left: -21px;
            top: 0;
        }

        .w-des-about-r-b .list p {
            margin-top: 10px;
        }

    .w-logo-title-about-l h2 {
        font-size: 20px;
        line-height: normal;
    }

    .w-logo-title-about-l {
        align-items: center;
    }

    .logo-about-l {
        width: 20%;
    }

        .logo-about-l img {
            width: 100%;
        }

    .decor-top-title-about {
        font-size: 16px;
    }

    .home-about-top .item.left {
        width: 100%;
        display: none;
    }

    .home-about {
        padding: 0 10px;
        background-size: auto;
        background-repeat: repeat;
        padding-top: 45px;
    }

    .reason-about-home .grid.wide {
        padding: 0 5px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .home-about-top .item.left {
        display: none
    }

    .home-about {
        padding-top: 30px;
    }

    .title-reason-about-home-t span {
        font-size: 11px;
        padding-top: 0;
    }
.title-reason-about-home-t span:before{
    display:none
}
    .w-logo-title-about-l > h2:last-child {
        margin-top: 0
    }

    .home-about-top .item.right h6 {
        /* transform: translateX(48%); */
    }

    .r-decor-phone-about p {
        font-size: 18px
    }

    .l-decor-phone-icon {
        width: 35px;
        height: 35px;
    }

    .sshreason {
        font-size: 14px;
        text-align: center;
    }

    .title-reason-about-home-t {
        height: 262px;
    }

    .r-reason-about-home > .item-reason-about-home:last-child {
        justify-self: center;
        grid-column: span 2 / span 2;
        grid-row-start: 3;
    }

    .reason-about-home {
        padding-bottom: 0px
    }
    .home-about-container {
        padding-bottom: 20px;
    }
    .l-decor-phone-icon svg{
        width: 35px;
        height: 25px;
        position: relative;
        left: -1.3px;
    }

}
