
/* TRang chủ ----------------------------------------------------------------------------------------- */
.banner img {
    position: relative;
    width: 100%;
}
.btn-contact {
    cursor: pointer;
    background: linear-gradient(180deg, #F0B800 0%, #E97F00 100%);
    width: 160px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 100px;

    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.line-title-home {
    text-align: center;
    padding-bottom: 20px;
}
.line-title-home h2 {
    font-size: 32px;
    text-transform: uppercase;
    color: #1D60A6;
    font-weight: 700;
}
.line-title-home h3 {
    font-size: 24px;
    text-transform: uppercase;
}
.box-risk {
    display: flex;
    align-items: center;
}
.w50pc {
    width: 50%;
}
.risk-left-item {
    display: flex;
    align-items: center;
    background: linear-gradient(0deg, rgba(166, 48, 50, 0), rgba(166, 48, 50, 0)),
    linear-gradient(90deg, rgba(58, 136, 215, 0.2) 0%, rgba(212, 228, 244, 0.2) 84.13%, rgba(255, 255, 254, 0.2) 100%);
    margin: 10px 0;
    border-radius: 100px;
}
.risk-left-item .item-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #C6DFF8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
}
.risk-left-item p {
    font-size: 16px;
    font-weight: 700;
    padding-left: 10px;
    color: #1D60A6;
}
.bg-reason {
    background-image: url(../images/home2/banner2.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.content-reason {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.item-reason {
    background: #ECF3FA;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}
.item-reason .dess {
    font-size: 12px;
    margin-top: 10px;
}
.box-item-icon-rs {
    display: flex;
    align-items: center;
}
.box-item-icon-rs p {
    padding-left: 10px;
    font-size: 14px;
    color: #1D60A6;
    font-weight: 700;
}
.bg-option {
    background-image: url(../images/home2/banner3.png);
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: 300px;
}
.thuongdo-banner {
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 40px 0 40px 20px;
    color: #ffffff;
    background-image: url(../images/home2/carblue.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 50px 0 20px 0;
}

/* Chia cột */
.banner-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.banner-left img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.banner-right {
    flex: 1.5;
    padding: 20px 5px 20px 30px;
}
.banner-content p {
    margin-bottom: 5px;
}
.banner-content h6 {
    margin-bottom: 5px;
}
.banner-content ul {
    margin-bottom: 5px;
}
/* Tiêu đề */
.banner-title {
    color: #ffcc00; /* Màu vàng của tiêu đề chính */
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.3;
}

.banner-title span {
    color: #ffffff;
    font-size: 24px;
}

/* Khu vực Buttons */
.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}
/* Nút Nhập khẩu trực tiếp (Vàng) */
.btn-primary {
    border: 2px solid #FFE100;
    color: #ffcc00;
}
.btn:hover {
    border: 2px solid #FFE100;
    color: #FFE100 !important;
}
.banner-content {
    height: 187px;
    overflow-y: auto;
    font-size: 13px;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #f0b800 transparent;
}
.banner-content::-webkit-scrollbar {
    width: 6px;
}
.banner-content::-webkit-scrollbar-track {
    background: transparent;
}
.banner-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F0B800 0%, #E97F00 100%);
    border-radius: 999px;
}
.banner-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e0aa00 0%, #d96f00 100%);
}
.dess-res-seven  {
    display: flex;
    justify-content: center;
}
.dess-res-seven span {
    width: 55%;
    font-size: 14px;
    color: #555555;
    padding-top: 15px;
}
.mTam80 {
    margin-top: -80px;
}
.chart-wrapper{
    width:400px;
    height:400px;
    margin:auto;
    position:relative;
}
.center-image{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:120px;
    height:120px;
    border-radius:50%;
    overflow:hidden;
    z-index:10;
    border:6px solid #fff;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.center-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}



/*<!--  Quy trình      -->*/
.timeline-bg {
    background-image: url(../images/home2/banner4.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
.timeline-wrap{
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: auto;
    overflow: hidden;
}
/* SVG LINE */
.timeline-line{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
/* ITEM */
.timeline-item{
    position: absolute;
    transform: translateX(-50%);
}
/* PIN */
.pin{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #5B9BE6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);cursor: pointer;
}
.pin img{
    width: 42px;
    height: 42px;
    object-fit: contain;
}
/* giọt nước */
.pin::after{
    content:'';
    position:absolute;
    bottom:-25px;
    left:50%;
    transform:translateX(-50%);
    width:0;
    height:0;
    border-left:14px solid transparent;
    border-right:14px solid transparent;
    border-top:24px solid #5B9BE6;
}
/* chấm dưới */
.pin::before{
    content:'';
    position:absolute;
    bottom:-36px;
    left:50%;
    transform:translateX(-50%);

    width:10px;
    height:10px;
    border-radius:50%;
    background:#2D74C4;
}
/* active */
.pin.active{
    border-color:#2D74C4;
    transform: scale(1.1);
    background:#d7ebff99;
}
.pin.active::after{
    border-top-color:#2D74C4;
}
/* POSITIONS */
.item1{
    left:18%;
    top:18px;
}
.item2{
    left:40%;
    top:50px;
}
.item3{
    left:66%;
    top:155px;
}
.item4{
    left:88%;
    top:95px;
}
/* FLOAT */
@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-10px);
    }
    100%{
        transform:translateY(0px);
    }
}
/* LINE ANIMATION */
.timeline-line path{
    animation: dashMove 20s linear infinite;
}
@keyframes dashMove{
    to{
        stroke-dashoffset:-400;
    }
}
/* MOBILE */
@media(max-width:768px){

    .pin{
        width:70px;
        height:70px;
    }
    .pin img{
        width:32px;
        height:32px;
    }
}
.steps-content {
    background: linear-gradient(180deg, rgba(215, 235, 255, 0.6) 0%, rgba(223, 239, 255, 0.6) 100%);
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    margin-top: -80px;
}
.steps-content h4 {
    color: #1D60A6;
    font-weight: 700;
}
.steps-content p {
    font-size: 14px;
    margin-top: 10px;
}


/*chi tiết báo giá */
.bg-quote-detail {
    padding: 50px 0;
    background-image: url(../images/home2/banner5.png);
    background-repeat: no-repeat;
    background-size: cover;
}
/* responsive mobile */
@media(max-width: 768px){
    .row-4{
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width: 480px){
    .row-4{
        grid-template-columns: 1fr;
    }
}

.contact-iframe{
    width: 100%;
    height: 900px;
    border: none;
    display: block;
    background: transparent;
}

/* scrollbar đẹp */
.contact-iframe::-webkit-scrollbar{
    width: 10px;
}

.contact-iframe::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 20px;
}

.contact-iframe::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg,#4facfe,#00c6fb);
    border-radius: 20px;
}

.contact-iframe::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(180deg,#2196f3,#00bcd4);
}
.contact-wrapper{
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.contact-iframe{
    width: 100%;
    border: none;
    display: block;
    overflow: hidden;
    background: transparent;
    min-height: 300px;
}
/*<!--  bảng giá  -->*/
.bg-quote-price {
    background-image: url(../images/home2/bannerprice.png);
    background-repeat: no-repeat;
    background-size: cover;
}


/* css mobile ------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 768px), (max-width: 1023px) {

    .line-title-home h2 {
        font-size: 18px;
    }
    .line-title-home h3 {
        font-size: 16px;
    }
    .mTam80 {
        margin-top: 0px;
    }
    .btn-contact {
        top: 22%;
    }

    .box-risk .w50pc {
        width: 100%;
    }
    .box-risk {
        flex-wrap: wrap;
    }
    .risk-left-item p {
        font-size: 13px;
    }
    .bg-reason {
        padding: 20px 0;
    }
    .content-reason {
        flex-wrap: wrap;
    }
    .bg-option {
        background-size: cover;
        background: #E8F3FF;
    }
    .bg-option .container {
        padding: 0 !important;
    }

    .thuongdo-banner {
        background-size: cover;
        padding: 0;
        background: none;
        color: #1D60A6;
    }
    .banner-content {
        font-size: 14px;
        font-weight: 700;
    }
    .banner-left {
        display: none;
    }

    .banner-title {
        font-size: 18px;
    }
    .btn {
        padding: 5px 10px;
        color: #ffcc00 !important;
        border: 2px solid #1D60A6
    }
    .banner-right {
        padding: 20px 0;
    }
    .banner-title span {
        font-size: 16px;
        padding-top: 10px;
        color: #ffcc00;

    }
    .dess-res-seven span {
        width: 90%;
    }
    .reson-item {
        display: none;
    }
    .steps-content {
        margin-top: 10px;
    }
    .steps-content h4 {
        font-size: 16px;
    }
    .item1 {
        left: 38px;
        top: 26px;
    }
    .item2 {
        top: 25px;
    }
    .item3 {
        top: 55px;
    }
    .item4 {
        left: 89%;
        top: 35px;
    }
    .timeline-wrap{
        height:255px;
    }
    .btn-re-lo {
        justify-content: center;
        margin: 40px 20px;
    }
    .btn-register {
        background: #ffffff;
        color: #000000  !important;
    }

}
