*, img, ul, li, a, p {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}

/**
 * global scroll reveal animation
 **/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children for common lists site-wide */
.reveal.visible .products-list li,
.reveal.visible .choose-list .choose-item,
.reveal.visible .case-list .case-item,
.reveal.visible .news-list .news-item,
.reveal.visible .product-list .product-item,
.reveal.visible .list-item {
    animation: revealChild 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Ensure they are hidden before animation */
.reveal .products-list li,
.reveal .choose-list .choose-item,
.reveal .case-list .case-item,
.reveal .news-list .news-item,
.reveal .product-list .product-item,
.reveal .list-item {
    opacity: 0;
}

.reveal.visible li:nth-child(1), .reveal.visible .choose-item:nth-child(1), .reveal.visible .product-item:nth-child(1) { animation-delay: 0.1s; }
.reveal.visible li:nth-child(2), .reveal.visible .choose-item:nth-child(2), .reveal.visible .product-item:nth-child(2) { animation-delay: 0.2s; }
.reveal.visible li:nth-child(3), .reveal.visible .choose-item:nth-child(3), .reveal.visible .product-item:nth-child(3) { animation-delay: 0.3s; }
.reveal.visible li:nth-child(4), .reveal.visible .choose-item:nth-child(4), .reveal.visible .product-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes revealChild {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


body {
    font-family: Arial, Arial;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    font-style: normal;
    text-transform: none;
    margin-top: 100px;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #23527c;
    text-decoration: none;
}

.clear_both {
    clear: both;
}


.header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}
.header.scrolled {
    transform: translateY(-40px);
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
}
.header .header-top{
    height: 40px;
    background-color: #f2f2f2;
    font-size: 14px;
}
.header .header-top .header-contact{
    display: flex;
}
.header .header-top .header-contact .header-contact-item{
    margin-right: 20px;
    line-height: 40px;
    color: #1A1A1A;
    font-weight: bold;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header .header-top .header-contact .header-contact-item img{
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}
.header .header-top .header-contact .header-contact-item a{
    color: #1A1A1A;
    font-weight: bold;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header .header-top .header-link{
    display: flex;
}
.header .header-top .header-link .header-link-item{
    width: 24px;
    height: 24px;
    margin-left: 16px;
}
.header .header-top .header-link .header-link-item img{
    width: 100%;
    height: 100%;
}

.header .header-container{
    width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .header-logo{
    width: 250px;
    aspect-ratio: 250 / 37;
}
.header .header-logo img{
    width: 100%;
    height: 100%;
}
.header .header-logo img.active{
    display: none;
}

.header .header-nav{
    display: flex;
    justify-content: flex-end;
    float: left;
}
.header .header-nav .nav-item{
    font-size: 16px;
    line-height: 58px;
    color: #FFFFFF;
    margin-right: 40px;
    position: relative;
}
.header .header-nav .nav-item:last-child{
    margin-right: 0;
}
.header .header-nav .nav-item>a{
    color: #1A1A1A;
    font-weight: bold;
    display: block;
    border-bottom: 2px solid transparent;
}
.header .header-nav .nav-item:hover>a{
    color: #ea222d;
    border-color: #ea222d;
}



/* nav product category styles */
.header .header-nav .nav-item:hover .nav-sub{
    display: block;
}
.header .header-nav .nav-sub {
    min-width: 200px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
    color: #333;
    padding: 0 10px;
    display: none;
    background-color: #fff;
    box-shadow: 0 8px 8px 1px rgba(0, 0, 0, 0.16);
}
.header .header-nav .nav-sub .nav-sub-item {
    margin: 20px 10px;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 17px;
    text-align: center;
    white-space: nowrap;
}
.header .header-nav .nav-sub .nav-sub-item a {
    color: #1A1A1A;
}
.header .header-nav .nav-sub .nav-sub-item:hover a {
    color: #ea222d;
}




@media screen and (max-width: 1440px) {
    .header .header-top .header-contact .header-contact-item .contact-label {
        display: none;
    }
    .header .header-top .header-contact .header-contact-item {
        margin-right: 12px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1440px){
    .header .header-container{
        width: 900px;
    }
    .header .header-logo{
        width: 200px;
    }
    .header .header-nav .nav-item{
        margin-right: 30px;
    }
    .sub-nav .sub-nav-content{
        width: 900px;
        margin: 40px auto 20px;
    }
    .sub-nav .sub-nav-content .sub-nav-title{
        font-size: 30px;
    }
    .sub-nav .sub-nav-content .sub-nav-line{
        margin: 0 30px;
    }
    .sub-nav .sub-nav-content .sub-nav-list .sub-nav-item{
        width: 118px;
        margin-right: 20px;
    }
    .sub-nav .sub-nav-content .sub-nav-list .sub-nav-item .sub-nav-item-title{
        font-size: 13px;
    }
}
@media screen and (max-width: 1000px){
    .header .header-container{
        width: 700px;
    }
    .header .header-logo{
        width: 150px;
    }
    .header .header-nav .nav-item{
        margin-right: 20px;
        font-size: 14px;
        line-height: 60px;
    }
    .sub-nav{
        top: 60px;
    }
    .sub-nav .sub-nav-content{
        width: 700px;
        margin: 20px auto 10px;
    }
    .sub-nav .sub-nav-content .sub-nav-title{
        font-size: 24px;
    }
    .sub-nav .sub-nav-content .sub-nav-line{
        margin: 0 20px;
    }
    .sub-nav .sub-nav-content .sub-nav-list .sub-nav-item{
        width: 100px;
        margin-right: 5px;
    }
    .sub-nav .sub-nav-content .sub-nav-list .sub-nav-item .sub-nav-item-title{
        font-size: 12px;
    }
}



.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner img{
    width: 100%;
}

.banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.banner .banner-text .banner-text-title {
    font-weight: bold;
    color: #FFFFFF;
    line-height: 60px;
    font-style: normal;
    text-transform: none;
}

.title{
    font-weight: bold;
    font-size: 42px;
    color: #333333;
    text-align: center;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .title{
        font-size: 36px;
    }
}
@media only screen and (max-width: 1000px) {
    .title{
        font-size: 30px;
    }
}


/**** footer styles ****/

.footer{
    width: 100%;
    background: #111111;
    padding: 70px 0 40px;
}
.footer .footer-content{
    width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 28fr 22fr 22fr 28fr;
    gap: 40px;
    align-items: start;
}
.footer .footer-content .footer-about{
}
.footer .footer-content .footer-about .footer-logo{
    width: 220px;
    margin-bottom: 24px;
}
.footer .footer-content .footer-about .footer-logo img{
    width: 100%;
    height: auto;
    display: block;
}
.footer .footer-content .footer-about .footer-about-desc{
    font-size: 13px;
    color: #FFFFFF;
    line-height: 1.9;
    opacity: 0.65;
}
.footer .footer-content .footer-about .footer-social{
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.footer .footer-content .footer-about .footer-social a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ea222d;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(234, 34, 45, 0.3);
}
.footer .footer-content .footer-about .footer-social a:hover{
    background-color: #c91922;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(234, 34, 45, 0.5);
}
.footer .footer-content .footer-about .footer-social a img{
    width: 18px;
    height: 18px;
}

.footer .footer-content .footer-news{
}
.footer .footer-content .footer-title{
    font-weight: bold;
    font-size: 17px;
    color: #FFFFFF;
    line-height: 1;
    text-transform: uppercase;
    padding-bottom: 14px;
    border-bottom: 2px solid #ea222d;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.footer .footer-content .footer-news .footer-news-list{
    margin-top: 4px;
    display: flex;
    flex-direction: column;
}
.footer .footer-content .footer-news .footer-news-list .footer-news-item{
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.4;
    padding: 9px 0;
    display: block;
    opacity: 0.65;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-left: 18px;
    position: relative;
}
.footer .footer-content .footer-news .footer-news-list .footer-news-item::before{
    content: '>';
    position: absolute;
    left: 0;
    top: 9px;
    font-size: 12px;
    font-weight: bold;
}
.footer .footer-content .footer-news .footer-news-list .footer-news-item:hover{
    color: #ea222d;
    opacity: 1;
}

.footer .footer-content .footer-contact{
}
.footer .footer-content .footer-contact .footer-contact-item{
    display: block;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.6;
    margin-top: 12px;
    padding-left: 28px;
    background: url(../images/foot-email.webp) no-repeat left 3px;
    background-size: 18px 18px;
    cursor: pointer;
    opacity: 0.65;
}
.footer .footer-content .footer-contact .footer-contact-item:first-of-type{
    margin-top: 0;
}
.footer .footer-content .footer-contact .footer-contact-item.footer-contact-email{
    margin-top: 0;
}
.footer .footer-content .footer-contact .footer-contact-item.footer-contact-address{
    background-image: url(../images/foot-address.webp);
}
.footer .footer-content .footer-contact .footer-contact-item.footer-contact-tel{
    background-image: url(../images/foot-tel.webp);
}
.footer .footer-content .footer-contact .footer-contact-item.footer-contact-wechat{
    background-image: url(../images/foot-wechat.webp);
}
.footer .footer-content .footer-contact .footer-contact-item.footer-contact-whatsapp{
    background-image: url(../images/quote-whatsapp.webp);
}

.footer .footer-content .footer-form{
}
.footer .footer-content .footer-form .footer-title{
    margin-bottom: 0;
}
.footer .footer-content .footer-form .footer-field{
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}
.footer .footer-content .footer-form .footer-field label{
    font-size: 13px;
    color: #FFFFFF;
    margin-bottom: 5px;
    font-weight: 500;
}
.footer .footer-content .footer-form input{
    width: 100%;
    height: 42px;
    background-color: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 0 14px;
    outline: none;
    color: #FFFFFF;
    font-size: 14px;
    transition: all 0.3s;
}
.footer .footer-content .footer-form input:focus{
    border-color: #ea222d;
    background-color: #252525;
}
.footer .footer-content .footer-form textarea{
    width: 100%;
    height: 100px;
    background-color: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    padding: 10px 14px;
    outline: none;
    resize: none;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s;
}
.footer .footer-content .footer-form textarea:focus{
    border-color: #ea222d;
    background-color: #252525;
}
.footer .footer-content .footer-form input::placeholder,
.footer .footer-content .footer-form textarea::placeholder{
    color: #555555;
    font-size: 13px;
}
.footer .footer-content .footer-form .footer-submit{
    width: 100%;
    height: 40px;
    background-color: #ea222d;
    margin-top: 10px;
    color: #FFFFFF;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.footer .footer-content .footer-form .footer-submit:hover{
    background-color: #c91922;
}
.footer-bottom{
    width: 1400px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.form-message-modal{
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.45);
}
.form-message-modal.active{
    display: flex;
}
.form-message-dialog{
    width: 420px;
    max-width: calc(100% - 40px);
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 34px 36px 30px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.form-message-icon{
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background-color: #ea222d;
    position: relative;
}
.form-message-icon::after{
    content: '';
    position: absolute;
    left: 18px;
    top: 15px;
    width: 22px;
    height: 13px;
    border-left: 4px solid #FFFFFF;
    border-bottom: 4px solid #FFFFFF;
    transform: rotate(-45deg);
}
.form-message-modal.error .form-message-icon::before,
.form-message-modal.error .form-message-icon::after{
    content: '';
    position: absolute;
    left: 17px;
    top: 27px;
    width: 24px;
    height: 4px;
    border: 0;
    background-color: #FFFFFF;
}
.form-message-modal.error .form-message-icon::before{
    transform: rotate(45deg);
}
.form-message-modal.error .form-message-icon::after{
    transform: rotate(-45deg);
}
.form-message-title{
    font-size: 24px;
    line-height: 1.25;
    font-weight: bold;
    color: #222222;
}
.form-message-text{
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}
.form-message-button{
    min-width: 130px;
    height: 42px;
    margin-top: 24px;
    border: 0;
    border-radius: 21px;
    background-color: #ea222d;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
.form-message-button:hover{
    background-color: #d71924;
}



@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .footer .footer-content {
        width: 90%;
        gap: 30px;
    }
    .footer-bottom {
        width: 90%;
    }
    .footer .footer-content .footer-about .footer-logo{
        width: 180px;
    }
}

@media only screen and (max-width: 1000px) {
    .footer .footer-content {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
    }
    .footer-bottom {
        width: 90%;
    }
    .footer .footer-content .footer-about{
        grid-column: 1 / -1;
    }
    .footer .footer-content .footer-about .footer-logo{
        width: 160px;
        margin-bottom: 12px;
    }
    .footer .footer-content .footer-title{
        font-size: 14px;
    }
    .footer .footer-content .footer-news .footer-news-list .footer-news-item{
        font-size: 13px;
    }
    .footer .footer-content .footer-contact .footer-contact-item{
        margin-top: 10px;
        padding-left: 20px;
        font-size: 12px;
        background-size: 14px 14px;
    }
    .footer .footer-content .footer-contact .footer-contact-item.footer-contact-email{
        margin-top: 0;
    }
}


.right_fix {
    width: 50px;
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}
.right_fix .right_fix_connect {
    width: 50px;
}
.right_fix .right_fix_connect .right_fix_box {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 28px;
    cursor: pointer;
    position: relative;
    background: #ea222d;
    box-shadow: 0 0 10px 1px rgba(234,34,45,0.2);
}
.right_fix .right_fix_connect .right_fix_box:last-child {
    margin-bottom: 0;
}
.right_fix .right_fix_connect .right_fix_box img {
    width: 25px;
    height: 25px;
    margin-top: 12px;
    margin-left: 12px;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_title {
    margin-top: 4px;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_connect {
    display: none;
    width: 220px;
    height: 50px;
    position: absolute;
    left: -170px;
    top: 0;
    border-radius: 25px;
    background: #ea222d;
    z-index: -1;
    padding-left: 20px;
}
.right_fix .right_fix_connect .right_fix_box.right_fix_email .right_fix_box_connect{
    width: 240px;
    left: -190px;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_connect p {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 21px;
    text-align: left;
    margin-bottom: 0;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_connect p.right_fix_box_connect_text {
    font-size: 16px;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_connect p:first-child {
    margin-top: 4px;
}
.right_fix .right_fix_connect .right_fix_box .right_fix_box_connect p a {
    color: #FFFFFF;
}
.right_fix .right_fix_connect .right_fix_box:hover{
    box-shadow: none;
}
.right_fix .right_fix_connect .right_fix_box:hover .right_fix_box_connect {
    display: block;
}
.right_fix .right_fix_connect .right_fix_box.right_fix_top{
    display: none;
}
.right_fix .right_fix_connect .right_fix_box.right_fix_top .right_fix_top_icon{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    color: #FFFFFF;
    font-weight: bold;
}


/*弹窗*/
.popover_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.popover_wrap .popover_container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: linear-gradient(180deg, #E6F1FF 0%, #FFFFFF 30%);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    padding: 40px 50px;
    overflow-y: auto;
    max-height: 90vh;
}

.popover_wrap .popover_container .popover_close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1010;
}

.popover_wrap .popover_container .popover_content {
    width: 100%;
}

.popover_wrap .popover_container .popover_content .popover_title h2 {
    width: 100%;
    font-family: Arial-BoldMT, Arial-BoldMT;
    font-weight: bold;
    font-size: 32px;
    color: #333333;
    line-height: 1.3;
    text-align: center;
}

.popover_wrap .popover_container .popover_content .popover_title .popover_title_description {
    width: 100%;
    font-family: ArialMT, ArialMT;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 1.5;
    text-align: center;
    margin-top: 15px;
}

.popover_wrap .popover_container .popover_content .popover_title .popover_title_description a:hover {
    color: #003F9B;
}

.popover_wrap .popover_container .popover_content .popover_form {
    width: 100%;
    margin-top: 25px;
}

.popover_wrap .popover_container .popover_content .popover_form form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_name,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_phone,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_email {
    width: 100%;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_name input,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_phone input,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_email input {
    width: 100%;
    height: 52px;
    background: #FFFFFF;
    border-radius: 12px;
    font-family: Arial, Arial;
    font-size: 15px;
    color: #1a1a1a;
    padding-left: 16px;
    border: 1px solid #DCDCDC;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_name input:focus,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_phone input:focus,
.popover_wrap .popover_container .popover_content .popover_form .popover_form_email input:focus {
    border-color: #ea222d;
    box-shadow: 0 0 0 3px rgba(234, 34, 45, 0.1);
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_content {
    grid-column: span 3;
    width: 100%;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_content textarea {
    width: 100%;
    height: 150px;
    background: #FFFFFF;
    border-radius: 12px;
    font-family: Arial, Arial;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.5;
    padding: 12px 16px;
    border: 1px solid #DCDCDC;
    resize: none;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_content textarea:focus {
    border-color: #ea222d;
    box-shadow: 0 0 0 3px rgba(234, 34, 45, 0.1);
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_submit {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_submit button {
    width: 200px;
    height: 52px;
    background: #ea222d;
    border-radius: 26px;
    border: none;
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(234, 34, 45, 0.2);
}

.popover_wrap .popover_container .popover_content .popover_form .popover_form_submit button:hover {
    background: #c91922;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(234, 34, 45, 0.3);
}

@media only screen and (max-width: 991px) {
    .popover_wrap .popover_container {
        padding: 35px 40px;
    }
    .popover_wrap .popover_container .popover_content .popover_title h2 {
        font-size: 28px;
    }
    .popover_wrap .popover_container .popover_content .popover_form form {
        grid-template-columns: repeat(2, 1fr);
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_email {
        grid-column: span 2;
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_content,
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_submit {
        grid-column: span 2;
    }
}

@media only screen and (max-width: 640px) {
    .popover_wrap {
        padding: 10px;
    }
    .popover_wrap .popover_container {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .popover_wrap .popover_container .popover_content .popover_title h2 {
        font-size: 22px;
    }
    .popover_wrap .popover_container .popover_content .popover_title .popover_title_description {
        font-size: 14px;
        margin-top: 10px;
    }
    .popover_wrap .popover_container .popover_content .popover_form form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_email,
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_content,
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_submit {
        grid-column: span 1;
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_name input,
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_phone input,
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_email input {
        height: 46px;
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_content textarea {
        height: 110px;
    }
    .popover_wrap .popover_container .popover_content .popover_form .popover_form_submit button {
        height: 46px;
        width: 100%;
        max-width: 240px;
    }
}



/* old */

/* ===== MEGA MENU STYLES ===== */
.nav-item-product {
    position: static !important; /* Allow mega menu to be full width relative to header */
}

/* Hide the old nav-sub just in case */
.nav-item-product > .nav-sub {
    display: none !important;
}

.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eaeaea;
}

.nav-item-product:hover .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    min-height: 400px;
}

/* Sidebar (Left) */
.mega-menu-sidebar {
    width: 280px;
    background-color: #f8f9fa;
    padding: 20px 0;
    border-right: 1px solid #eaeaea;
}

.mega-menu-cat-link {
    display: block;
    padding: 16px 30px;
    color: #333;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem); /* Adjusted down for better fit */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mega-menu-cat-link:hover,
.mega-menu-cat-link.active {
    background-color: #fff;
    color: #ea222d;
    border-left-color: #ea222d;
}

/* Content (Right) */
.mega-menu-content {
    flex: 1;
    padding: 30px 40px;
    background-color: #fff;
    position: relative;
}

.mega-menu-cat-content {
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

.mega-menu-cat-content.active {
    display: block;
}

.mega-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.mega-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-product-card:hover {
    transform: translateY(-5px);
}

.mega-product-img {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mega-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-product-card:hover .mega-product-img img {
    transform: scale(1.05);
}

.mega-product-title h3 {
    font-size: 16px; /* Increased from 14px */
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
    text-align: center;
    transition: color 0.2s ease;
}

.mega-product-card:hover .mega-product-title h3 {
    color: #ea222d;
}

.mega-menu-view-all {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.mega-menu-view-all a {
    color: #ea222d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-menu-view-all a:hover {
    color: #c9101a;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== BANNER MEGA MENU STYLES (Service & News) ===== */
.nav-item-about {
    position: static !important;
}

.mega-menu-banner-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eaeaea;
}

.nav-item-about:hover .mega-menu-banner-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-banner-inner {
    width: 100%;
    display: flex;
    min-height: 480px;
}

.mega-banner-left {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    /* Align inner text to the 1400px grid while maintaining full bleed background */
    padding-left: max(30px, calc((100vw - 1400px) / 2));
    padding-right: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #fff;
    overflow: hidden;
}

.mega-banner-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
}

.mega-banner-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
}

.mega-banner-content h3 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
}

.mega-banner-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #e8e8e8;
}

.mega-banner-btn {
    display: inline-block;
    padding: 12px 25px;
    color: #fff;
    background-color: #ea222d;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mega-banner-btn i {
    font-style: normal;
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.mega-banner-btn:hover {
    background-color: #c9101a;
    box-shadow: 0 5px 15px rgba(234, 34, 45, 0.4);
    color: #fff;
}
.mega-banner-btn:hover i {
    margin-left: 10px;
}

.mega-banner-right {
    width: 50%;
    padding-left: 60px;
    padding-right: max(30px, calc((100vw - 1400px) / 2));
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background-color: #fcfcfc;
}

.mega-banner-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-banner-menu li {
    margin: 0;
}

.mega-banner-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    color: #333;
    font-weight: 500;
    padding: 18px 25px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mega-banner-menu li a::after {
    content: '➔';
    font-family: inherit;
    font-size: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #ea222d;
}

.mega-banner-menu li a:hover {
    color: #ea222d;
    border-left-color: #ea222d;
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateX(8px);
}

.mega-banner-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}
