/* Layout 308 */
#pgc-308-0-0,
#pgc-308-1-0,
#pgc-308-6-0,
#pgc-308-7-0 {
    width: 100%;
    width: calc(100% - (0 * 30px))
}

#pg-308-0,
#pg-308-1,
#pg-308-2,
#pg-308-7,
#pl-308 .so-panel {
    margin-bottom: 30px
}

#pgc-308-2-0,
#pgc-308-8-0 {
    width: 40%;
    width: calc(40% - (0.6 * 30px))
}

#pgc-308-2-1,
#pgc-308-8-1 {
    width: 60%;
    width: calc(60% - (0.4 * 30px))
}

#pgc-308-3-0,
#pgc-308-3-1 {
    width: 50%;
    width: calc(50% - (0.5 * 30px))
}

#pg-308-3,
#pg-308-4,
#pg-308-5,
#pl-308 .so-panel:last-of-type {
    margin-bottom: 0px
}

#panel-308-2-1-0 {
    position: relative;
} #panel-308-2-1-0 .carton-box {
    position: absolute;
    bottom: 0;
}

#pg-308-5 h2 {
    font-size: 28px;
}

#pgc-308-4-0 {
    width: 85%;
    width: calc(85% - (0.15 * 30px))
}

#pgc-308-4-1 {
    width: 15%;
    width: calc(15% - (0.85 * 30px))
}

#pgc-308-5-0 {
    width: 55%;
    width: calc(55% - (0.45 * 30px))
}

#pgc-308-5-1 {
    width: 45%;
    width: calc(45% - (0.55 * 30px))
}

#pg-308-0>.panel-row-style {
    background-image: url(https://images.weserv.nl/?url=thienphuhung.vn/wp-content/themes/tph_logistics/assets/images/mega_banner_homepage1.webp);
    background-position: 0 center;
    background-size: cover;
    border: 1px solid #f6ab36;
    border-width: 0 0 5px 0 !important;
    padding: 140px 0 200px;
    min-height: 575px;
}

#panel-308-0-0-0>.panel-widget-style {
    color: #ffffff;
    text-align: center
}

#panel-308-1-0-0>.panel-widget-style {
    margin-top: -125px
}

#pg-308-2>.panel-row-style {
    border: 1px solid #eaeaea;
    padding: 120px 0 60px;
    border-width: 0 0 1px 0 !important
}

#pg-308-3>.panel-row-style {
    padding: 60px 0 0 0
}

#pg-308-4>.panel-row-style {
    padding: 110px 0;
    overflow: hidden;
    background: url(../images/bg03.webp) repeat-x;
    background-size: cover;
    animation: moveBg 9s linear infinite;
}

@keyframes moveBg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 1000px 0;
    }
}

#panel-308-4-1-0>.panel-widget-style {
    position: absolute;
    right: 0;
    bottom: 0
}

#pg-308-5>.panel-row-style {
    background-image: url(https://i.postimg.cc/DwPYkccY/jimeng-2025-05-14-744-A-realistic-Vietnamese-delivery-worker-smiling-and-running-while-pushing-a-ha.png);
    background-repeat: no-repeat !important;
    background-position: right 190px center;
    background-size: 33%;
    padding: 150px 0
}

#pg-308-6>.panel-row-style {
    padding: 120px 0;
    background-position: 0 center !important
}



#pg-308-7 {
    margin: 0;
}

#pg-308-7>.panel-row-style {
    padding: 100px 0
}

#pl-308 .gthieu {
    text-shadow: 0px 1px 2px black;
}

#pl-308 .tph1 {
    text-align: center;
}

#pl-308 .tph1 span {
    color: #ffffff;
    background: linear-gradient(to right, rgba(255, 69, 0, 0), rgba(255, 69, 0, 1) 50%, rgba(255, 69, 0, 0));
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    display: inline-block;
}

#pl-308 .tph2 {
    text-align: center;
    margin-top: 10px;
    line-height: 60px;
}

#pl-308 .tph2 span {
    font-size: 48px;
    color: #FFEB3B;
    letter-spacing: 0px;
}

.breadcrumb {
    background: #f8f8f8;
    padding: 12px 20px;
    margin-bottom: 30px;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.breadcrumb ul li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #999;
}

.breadcrumb ul li a {
    color: #6e6e6e;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb ul li a:hover {
    color: #ff5722;
}

.breadcrumb ul li:last-child {
    color: #6e6e6e;
    font-weight: 600;
}

@media (max-width: 991px) {
    .breadcrumb {
        margin-top: -20px;
    }
}

@media (max-width: 680px) {
    .breadcrumb {
        padding: 10px 15px;
    }
    .breadcrumb ul li {
        font-size: 13px;
    }
}


/*Tin tức*/
#contentpages {
    padding: 10px 0 60px 0;
    min-height: 100vh;
}
#contentpages .container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 30px 20px 30px;
}
.category_title {
    font-size: 32px;
    color: #1a1a1a;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
    letter-spacing: 1px;
}
.col-sidebar {
    border-left: 1px solid #ccc;
}

.list_news {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.list_news .item {
    display: flex;
    background: #fafafa;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.list_news .item:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.list_news .img {
    width: 300px;
    position: relative;
    float: left;
}
.list_news .img img {
    width: 100%;
    height: 188px;
    object-fit: cover;
}
.list_news .date_post {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #e60012;
    color: #fff;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
}
.list_news .date_post .day {
    display: block;
    font-size: 20px;
    font-weight: bold;
}
.list_news .date_post .month {
    font-size: 13px;
    text-transform: uppercase;
}
.list_news .info {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list_news .capt {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.2s;
}
.list_news .item:hover .capt {
    color: #e60012;
}
.list_news .divider {
    width: 40px;
    height: 2px;
    background: #e60012;
    margin-bottom: 10px;
}
.list_news .desc {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}


.box_sidebar {
    background: #fff;
    margin-bottom: 60px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(rgb(255 130 140), rgb(199 10 17));
    padding: 5px;
}

.sidebar-title span {
    margin-left: 5px;
}

.suports .list .item {
    margin: 15px 10px;
}
.suports .title {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
}
.suports .phone {
    color: #e60012;
    font-size: 17px;
    font-weight: 700;
}
.new_posts_sb .list .item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.new_posts_sb .capt {
    margin-left: 12px;
}
.new_posts_sb .img img {
    width: 65px;
    height: 55px;
    max-width: none;
    object-fit: cover;
}
.new_posts_sb .capt {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}
.new_posts_sb .capt a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.new_posts_sb .capt a:hover {
    color: #e60012;
}

@media (max-width: 468px) {
    .page-content {
        padding: 40px 0;
    }
}

.blog-title h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}


.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    gap: 8px;
}
.wp-pagenavi .pages {
    color: #888;
    font-size: 15px;
    margin-right: 10px;
}
.wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 4px;
    background: #f2f2f2;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.wp-pagenavi a:hover, .wp-pagenavi .current {
    background: #e60012;
    color: #fff;
}


@media (max-width: 991px) {
    #contentpages {
        padding: 30px 20px;
    }
    #contentpages .container {
        padding: 15px 5px;
    }
    .col-md-9, .col-md-3 {
        width: 100%;
        padding: 0;
    }
    .footer-widget-area {
        padding: 0 15px;
    }
    .col-sidebar {
        margin-top: 30px;
    }
    .list_news .item {
        flex-direction: column;
    }
    .list_news .img img {
        height: 180px;
    }
    .list_news .info {
        padding: 15px;
    }
}

@media (max-width: 680px) {
    .list_news .img {
        float: none;
    }

    .list_news .info {
        padding: 15px 0;
    }
}
/*Tin tức*/

/*Bảng giá*/
.price-board #content {
    padding-top: 0; 
}

.price-board .shop-box {
    background: #f5ab35;
    padding: 20px;
    position: relative;
}

.price-board .company-info {
    background: #f5ab35;
    padding: 20px 20px 10px 20px;
    position: absolute;
    top: 0px;
    left: 5px;
    border-radius: 15px;
    color: #fff;
}

.price-board .company-name {
    font-size: 20px;
    font-weight: bold;
}

.price-board .company-type {
    display: block;
    padding: 5px 2px;
}

.price-board .blog-title {
    background: #fff;
    border-radius: 15px 15px 0 0;
}

.price-board .blog-title h1 {
    margin-bottom: 0;
    padding-left: 150px;
    color: #f5ab35;
    font-family: system-ui;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
}

.price-board .effective-date {
    display: block;
    text-align: center;
    font-size: 13px;
    padding-left: 150px;
}

.price-board .blog-desc-small {
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 10px;
}

.price-board .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-board .wp-block-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #f5ab35;
    vertical-align: middle;
}

.price-board .wp-block-list {
    margin: 10px 0;
    padding-left: 20px;
}

.price-board .wp-block-list li {
    margin-bottom: 5px;
}

.price-board .td-hotline {
    background: #f5ab35;
    padding: 15px 10px;
    display: inline-block;
    color: #fff;
    position: absolute;
    bottom: 0;
    right: 5px;
    border-radius: 15px;
}

.price-board .td-hotline span {
    border: 1px solid;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 20px;
    font-weight: bold;
}

.price-board .td-hotline .fa-phone {
    transform: rotate(20deg);
}
/*Bảng giá*//*Bảng giá*/

/* Button Contact VR */
#button-contact-vr {
    position: fixed;
    bottom: 0;
    z-index: 99999;
    left: 0;
    transform: scale(0.8);
    margin: -10px;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 75px;
    height: 75px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230,8,8,0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    z-index: 1;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 50px;
    height: 50px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
    z-index: 3;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}

#map-vr .phone-vr-circle-fill {
    background-color: rgba(0,159,181,0.7);
    box-shadow: 0 0 0 0 #009fb5;
}

#map-vr .phone-vr-img-circle {
    background-color: #009fb5;
}

#messenger-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #6a4ffe;
    background-color: rgb(106 79 254 / 50%);
}

#messenger-vr .phone-vr-img-circle {
    background-color: #6a4ffe;
}

#messenger-vr .phone-vr-img-circle img {
    max-width: 100%;
    max-height: 100%;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33,150,243,0.5);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

#phone-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230,8,8,0.5);
}

#phone-vr .phone-vr-img-circle {
    background-color: #e60808;
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
    10% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg)}
    20% {-webkit-transform: rotate(25deg) scale(1) skew(1deg)}
    30% {-webkit-transform: rotate(-25deg) scale(1) skew(1deg)}
    40% {-webkit-transform: rotate(25deg) scale(1) skew(1deg)}
    50% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
    100% {-webkit-transform: rotate(0) scale(1) skew(1deg)}
}

@keyframes phone-vr-circle-fill {
    0% {transform: rotate(0) scale(1) skew(1deg)}
    10% {transform: rotate(-25deg) scale(1) skew(1deg)}
    20% {transform: rotate(25deg) scale(1) skew(1deg)}
    30% {transform: rotate(-25deg) scale(1) skew(1deg)}
    40% {transform: rotate(25deg) scale(1) skew(1deg)}
    50% {transform: rotate(0) scale(1) skew(1deg)}
    100% {transform: rotate(0) scale(1) skew(1deg)}
}

@-webkit-keyframes zoom {
    0% {transform: scale(.9)}
    70% {transform: scale(1); box-shadow: 0 0 0 15px transparent}
    100% {transform: scale(.9); box-shadow: 0 0 0 0 transparent}
}

@keyframes zoom {
    0% {transform: scale(.9)}
    70% {transform: scale(1); box-shadow: 0 0 0 15px transparent}
    100% {transform: scale(.9); box-shadow: 0 0 0 0 transparent}
}

.phone-number-display {
    position: absolute;
    left: 38px;
    top: 30px;
    background-color: #e60808;
    color: white;
    padding: 11px 15px 11px 38px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 2;
}

#phone-vr:hover .phone-number-display {
    width: 160px;
    opacity: 1;
}

.zalo-text-display {
    position: absolute;
    left: 38px;
    top: 30px;
    background-color: #2196F3;
    color: white;
    padding: 11px 15px 11px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 2;
}

#zalo-vr:hover .zalo-text-display {
    width: 139px;
    opacity: 1;
}

.messenger-text-display {
    position: absolute;
    left: 38px;
    top: 30px;
    background-color: #6a4ffe;
    color: white;
    padding: 11px 15px 11px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 2;
}

#messenger-vr:hover .messenger-text-display {
    width: 139px;
    opacity: 1;
}

/* FAQ Styles */
.faq-container {
    padding: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-question {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    margin: 0;
}

.faq-question:hover {
    background: #f6ab36;
    color: #fff;
}

.faq-question i {
    margin-right: 10px;
    color: #f6ab36;
    transition: all 0.3s ease;
}

.faq-question:hover i {
    color: #fff;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #f6ab36;
    transition: all 0.3s ease;
}

.faq-question:hover:after {
    color: #fff;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.faq-answer ul li:before {
    content: "•";
    color: #f6ab36;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.faq-image {
    padding: 20px;
    text-align: center;
}

.faq-image .img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.banhrang-rotate {
    position: absolute;
    top: 30px;
    right: 160px;
    width: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(90deg); }
    50% { transform: rotate(-90deg); }
    80% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}

/* News Styles */
.main-news {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.main-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.main-news .news-image {
    position: relative;
    overflow: hidden;
}

.main-news .news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.main-news:hover .news-image img {
    transform: scale(1.05);
}

.main-news .news-content {
    padding: 20px;
    color: #000000;
}

.main-news .news-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #030303;
}

.main-news .news-excerpt {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
}

.news-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 11px;
    margin-bottom: 19px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.news-item .news-title {
    font-size: 18px;
    margin: 5px 0;
    color: #000000;
}

.news-title:hover {
    color: #2196F3;
}

.news-item .news-excerpt {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    font-size: 14px;
}

.read-more {
    color: #f6ab36;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: blue;
    text-decoration: none;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-desc-small {
    font-size: 17px;
    color: black;
    line-height: 20px;
    font-family: math;
}

.blog-desc-small .wp-block-image {
    margin-bottom: 25px;
}

.blog-desc-small a {
    color: blue;
}

#pg-308-6 .ts-title-style_1.section-title.text-center {
  margin-bottom: 50px;
}

/*ROBOT*/
.eyelid {
  position: absolute;
  width: 35px;
  height: 22px;
  background-color: #1b252d;
  border-radius: 50%;
  opacity: 0;
  z-index: 9;
  display: none;
}

.eyelid.left {
  top: 108px;
  right: 100px;
}

.eyelid.right {
  top: 116px;
  right: 60px;
}

.eyelid.show {
  display: block;
}

.eyelid.first-blink {
  animation: firstBlink 0.5s ease-in-out; /* Animation chớp mắt đầu tiên */
}

.eyelid.blink {
  animation: blink 2.5s infinite; /* Animation chớp mắt định kỳ */
}

.robot {
  position: absolute;
  z-index: -1;
  top: 150px;
  right: 0;
  width: 200px;
  opacity: 0;
  transition: all 1s ease-out;
}

.robot.show {
  top: 30px;
  opacity: 1;
}

.robot.z-index-front {
  z-index: 6;
}

@keyframes firstBlink {
  0%, 92%, 100% {
    opacity: 0;
    transform: scaleY(0.1);
  }
  93%, 94%, 95%, 96%, 97% {
    opacity: 1;
    transform: scaleY(1);
  }
  98% {
    opacity: 0;
    transform: scaleY(0.1);
  }
}

@keyframes blink {
  0%, 92%, 100% {
    opacity: 0;
    transform: scaleY(0.1);
  }
  93%, 94%, 95%, 96%, 97% {
    opacity: 1;
    transform: scaleY(1);
  }
  98% {
    opacity: 0;
    transform: scaleY(0.1);
  }
}

@media (max-width: 991px) {
  .robot, .eyelid {
    display: none !important;
  }
} /*ROBOT*/

#pg-308-6 .ts-title-style_1 .font-backend {
  left: 0;
  right: 0;
  font-size: 90px;
  color: rgb(158 158 158 / 30%);
}

#pg-308-6 .ts-title-style_1 .colored-text {
  font-size: 45px;
  color: #fff;
  text-shadow: 0px 1px 1px rgb(0 0 0 / 60%);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* Tăng độ tối của overlay */
    backdrop-filter: blur(5px); /* Thêm hiệu ứng mờ cho nền */
    -webkit-backdrop-filter: blur(5px); /* Hỗ trợ Safari */
    transition: background-color 0.3s ease; /* Thêm hiệu ứng transition cho overlay */
}

.modal.show {
    background-color: rgba(0,0,0,0.8); /* Tăng độ tối khi modal hiển thị */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    width: 800px;
    height: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2); /* Tăng độ đậm của shadow */
    transition: all 0.3s ease;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .modal-content {
        width: 90%;
        height: 450px;
        margin: 10% auto;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 400px;
        margin: 15% auto;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .modal-content {
        width: 100%;
        height: 350px;
        margin: 20% auto;
        padding: 10px;
        border-radius: 0;
    }
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #cd0e00;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
    padding: 0 6px;
    border-radius: 4px;

}

.close:hover {
    color: #ffffff;
    background: #F44336;
}

#trackingFrame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Thêm animation cho modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show {
    animation: modalFadeIn 0.3s ease-out;
}

/* Responsive Styles */
@media (max-width: 780px) {
    #pg-308-1 {
        margin: 0 10px;
    }

    #pg-308-4 .wp-image-292 {
        width: 250px;
    }

    #pg-308-0.panel-no-style,
    #pg-308-0.panel-has-style>.panel-row-style,
    #pg-308-0,
    #pg-308-1.panel-no-style,
    #pg-308-1.panel-has-style>.panel-row-style,
    #pg-308-1,
    #pg-308-2.panel-no-style,
    #pg-308-2.panel-has-style>.panel-row-style,
    #pg-308-2,
    #pg-308-3.panel-no-style,
    #pg-308-3.panel-has-style>.panel-row-style,
    #pg-308-3,
    #pg-308-4.panel-no-style,
    #pg-308-4.panel-has-style>.panel-row-style,
    #pg-308-4,
    #pg-308-5.panel-no-style,
    #pg-308-5.panel-has-style>.panel-row-style,
    #pg-308-5,
    #pg-308-6.panel-no-style,
    #pg-308-6.panel-has-style>.panel-row-style,
    #pg-308-6,
    #pg-308-7.panel-no-style,
    #pg-308-7.panel-has-style>.panel-row-style,
    #pg-308-7,
    #pg-308-8.panel-no-style,
    #pg-308-8.panel-has-style>.panel-row-style,
    #pg-308-8 {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #pg-308-0>.panel-grid-cell,
    #pg-308-0>.panel-row-style>.panel-grid-cell,
    #pg-308-1>.panel-grid-cell,
    #pg-308-1>.panel-row-style>.panel-grid-cell,
    #pg-308-2>.panel-grid-cell,
    #pg-308-2>.panel-row-style>.panel-grid-cell,
    #pg-308-3>.panel-grid-cell,
    #pg-308-3>.panel-row-style>.panel-grid-cell,
    #pg-308-4>.panel-grid-cell,
    #pg-308-4>.panel-row-style>.panel-grid-cell,
    #pg-308-5>.panel-grid-cell,
    #pg-308-5>.panel-row-style>.panel-grid-cell,
    #pg-308-6>.panel-grid-cell,
    #pg-308-6>.panel-row-style>.panel-grid-cell,
    #pg-308-7>.panel-grid-cell,
    #pg-308-7>.panel-row-style>.panel-grid-cell,
    #pg-308-8>.panel-grid-cell,
    #pg-308-8>.panel-row-style>.panel-grid-cell {
        width: 100%;
        margin-right: 0;
    }

    #pgc-308-2-0,
    #pgc-308-3-0,
    #pgc-308-4-0,
    #pgc-308-5-0,
    #pgc-308-8-0 {
        margin-bottom: 30px;
    }

    #pl-308 .panel-grid-cell {
        padding: 0;
    }

    #pl-308 .panel-grid .panel-grid-cell-empty {
        display: none;
    }

    #pl-308 .panel-grid .panel-grid-cell-mobile-last {
        margin-bottom: 0px;
    }

    #pg-308-5>.panel-row-style {
        background-image: url(/wp-content/themes/tph_logistics/assets/images/01_Go_Home-1.png);
        background-position: unset; 
        background-size: cover;
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .banhrang-rotate {
        right: 50px;
    }
    
    .faq-container {
        padding: 10px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 15px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .faq-image {
        margin-top: 30px;
    }

    .main-news .news-image img {
        height: 200px;
    }
    
    .news-item {
        margin: 0 15px 30px 15px;
    }
    
    .news-item img {
        height: 200px;
    }

    .logo-partner-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .logo-partner-item {
        width: calc(50% - 15px);
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .logo-partner-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 736px) {
    #button-contact-vr {
        transform: scale(0.7);
    }
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }

    .woocommerce .product-tracking-form .signui {
        background: #cf8615;
        display: block;
    }

    .banhrang-rotate {
        right: 50px;
    }

    .faq-container {
        padding: 10px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-image {
        margin-top: 30px;
    }

    .main-news .news-image img {
        height: 200px;
    }

    .news-item {
        margin: 0 15px 30px 15px;
    }

    .logo-partner-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo-partner-item {
        width: calc(50% - 15px);
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
        border-right: none;
        border-bottom: none;
    }

    .logo-partner-item:last-child {
        border-bottom: none;
    }

    .logo-partner-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Custom styles */

/* Header styles */
.show_login {
    background-color: #b06f0a;
}

#show_signup {
    background-color: #b06f0a;
}

#show_signup:hover, #show_login:hover  {
    background-color: #4CAF50;
}

.flag-icon {
    width: 25px;
    margin: -3px 15px 0 15px;
}

/* Background overlays */
.ts-background-overlay {
    background: rgba(18,18,18, 0.3);
}

.ts-background-overlay.dark {
    background: rgba(0,0,0, 0.5);
}

.ts-background-overlay.light {
    background: rgba(0,0,0, 0.2);
}

/* Text colors */
.text-white {
    color: #fff;
}

.text-dark {
    color: #121212;
}

.text-orange {
    color: #f6ab36;
}

.text-brown {
    color: #761f00;
}

/* Typography */
.section-title {
    font-size: 44px;
    margin-bottom: 0px;
}

#pg-308-2 .section-title {
    margin-bottom: 30px;
}

#pg-308-6 .ts-background-overlay {
    background:rgba(0,0,0, 0.2);
}

.section-title .news {
    font-size: 50px;
    text-transform:uppercase; 
    color: #ffffff;
    margin-bottom: 40px;
}

.section-title.large {
    margin-bottom: 30px;
}

.section-title.xlarge {
    margin-bottom: 50px;
}

.section-title h3 {
    text-transform: uppercase;
    color: #121212;
}

.section-title .font-backend {
    left: -25px;
    right: auto;
}

.section-title .font-backend.center {
    left: 0;
    right: 0;
}

.lead {
    margin: 0;
}

.lead.center {
    margin: 0 auto;
}

.panel-row-style-for-308-7 {
    background: radial-gradient(circle, #fff 0%, #c3cfe2 100%);
}


#pgc-308-3-1 .section-title {
    font-size: 44px; color: #121212; margin-bottom: 0px;
}

#pgc-308-3-1 .section-title h3 {
    text-transform:uppercase; color: #121212;
}

#pgc-308-3-1 .section-title h3 span.font-backend {
    left: -25px; right: auto; 
}

#pg-308-7 .section-title .lead {
    margin: 0;
}

#pg-308-0 .ts-background-overlay {
    background:rgba(0,0,0, 0.3);
}

#pg-308-4 .ts-background-overlay {
    background:rgba(0,0,0, 0.5);
}

#pg-308-7 .section-title {
    font-size: 44px; color: #121212; margin-bottom: 50px;
}

#pg-308-7 .section-title h3 {
    text-transform:uppercase; color: #121212;
}

#pg-308-7 .section-title h3 span.font-backend {
    left: 0; right: 0;
}

#pg-308-7 .section-title .lead {
    margin: 0 auto;
}

/* Icons */
.icon-container {
    min-height: 38px;
    line-height: 38px;
}

/* Animations */
.ts-animate {
    visibility: hidden;
    -webkit-animation-duration: 1s;
    -webkit-animation-delay: 0s;
    animation-duration: 1s;
    animation-delay: 0s;
}

.ts-animate.delay {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

/* Backgrounds */
.gradient-bg {
    background: radial-gradient(circle, #fff 0%, #c3cfe2 100%);
}

/* Layout */
.flex-center {
    display: flex;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    margin-left: 16px;
    gap: 10px;
}

.block {
    display: block;
}

/* Images */
.qr-code {
    width: 90px;
    height: 90px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

.app-icon {
    height: 40px;
}

/* Social icons */
.social-blocks {
    width: 32px;
    font-size: 16px;
    line-height: 32px;
}

/* Parallax */
.parallax-img {
    transform: translate3d(0px, -7px, 0px) scale(1.2);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0, 0, 0, 1);
}  

.track_order .button {
    transition: all 0.3s ease;
}

.track_order .button:hover {
    /*background-color: #4CAF50 !important;*/
    border-color: #4CAF50 !important;
    background: linear-gradient(#4caf50ad, #4CAF50);
}  

/* Block logo partner */

.panel-row-style-for-308-8 {
    background: #fff; padding: 0; position: relative;
}
.logo-partner-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: #fff;
    padding: 0 10px;
}
.logo-partner-item {
    flex: 1 1 0;
    text-align: center;
    min-width: 100px;
    padding: 50px 30px;
    border-right: 2px dashed #ccc;
    transition: background-color 0.3s ease;
}

.logo-partner-item:hover {
    background-color: #ffeb3b47;
}

.logo-partner-item img {
    max-width: 125px;
    max-height: 125px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: filter 0.3s;
}

.logo-partner-item:nth-child(n+7) {
    display: none !important;
} .logo-partner-item:nth-child(6) {
    border: none;
}

.arrow-down {
    display: inline-block;
    margin-top: -2px;
    margin-left: 5px;
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    vertical-align: middle;
}
.arrow-right {
    display: inline-block;
    margin-right: 6px;
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #333;
    vertical-align: middle;
}

@media (max-width: 991px) {
    #menu-header-menu {
        display: none;
    }
    .logo-partner-wrapper {
        flex-wrap: wrap;
        gap: 10px 0;
    }
    .logo-partner-item {
        min-width: 80px;
        margin: 0 5px;
    }
    .logo-partner-divider {
        height: 40px;
        margin: 0 5px;
    }

    .product-tracking-form input {
        width: 90%;
    }

    .woocommerce .product-tracking-form .button {
        margin-top: 15px;
        text-align: center;
    }

    #pg-308-0>.panel-row-style {
        padding: 60px 0 260px;
        background-position: right;
    }
}
@media (max-width: 600px) {
    .logo-partner-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .logo-partner-item {
        width: calc(50% - 15px);
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
        border-right: none;
        border-bottom: none;
    }
    .logo-partner-item:last-child {
        border-bottom: none;
    }
    .logo-partner-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}  
