﻿
body {
    font-family: 'Inter', sans-serif;
}

.hero-gradient {
    background: linear-gradient(to right, rgba(3, 71, 116, 0.7), rgba(3, 71, 116, 0.5));
}

.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
.nav-scrolled {
    background-color: rgba(3, 71, 116, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
/* 下拉菜单优化 - 解决移出消失问题 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    /*visibility: hidden;*/
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(10px);
    z-index: 999;
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    /*visibility: visible;*/
    transform: translateY(0);
}
/* 二维码悬浮样式 */
.qrcode-container {
    position: relative;
}

.qrcode-popup {
    position: absolute;
    /* bottom: 100%; */
    left: 50%;
    width: 400%;
    transform: translateX(-50%);
    /* opacity: 0; */
    /* visibility: hidden;
    z-index: 999; 

    */
    transition: opacity 0.3s, visibility 0.3s;
    background: white;
    padding: 12px; /* 增加内边距 */
    border-radius: 8px; /* 增大圆角 */
    box-shadow: 0 6px 16px rgba(0,0,0,0.15); /* 增强阴影 */
}

.qrcode-container:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}


.section-padding {
    padding: 8rem 0 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #034774;
    border: 2px solid #fff;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -24px;
    top: 17px;
    width: 2px;
    height: calc(100% + 20px);
    background: #e2e8f0;
}

.timeline-item:last-child::after {
    display: none;
}

.capability-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.verify-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.verify-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
}

.verify-container {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 0;
}

.verify-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-wrapper {
    width: 100%;
    height: 40px;
    position: relative;
    margin: 15px 0;
}

.slider-track {
    width: 100%;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    position: absolute;
    top: 16px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

    .slider-btn::after {
        content: "";
        width: 100%;
        height: 8px;
        background: #FF9500;
        position: absolute;
        top: 16px;
        left: 0;
        border-radius: 4px;
        z-index: -1;
    }

.verify-refresh {
    color: #034774;
    cursor: pointer;
    text-decoration: underline;
    float: right;
    font-size: 14px;
}

    .verify-refresh:hover {
        color: #FF9500;
    }

/* 容器样式 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.page-desc {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 产品分类样式 */
.product-category {
    /*margin-bottom: 80px;*/
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
   /* overflow: hidden;*/
}

.category-header {
    /*background: linear-gradient(90deg, #0066cc 0%, #0088ff 100%);*/
    color: #fff;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    /*font-size: 14px;*/
    background-color: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    padding: 40px;
}

/* 产品卡片样式 */
.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        border-color: #0066cc20;
    }

.product-img {
    height: 200px;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .product-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-bottom: 15px;
    border-left: 3px solid #0066cc;
    padding-left: 12px;
}

.product-features {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

    .product-features ul {
        margin: 10px 0;
        padding-left: 20px;
    }

    .product-features li {
        margin-bottom: 8px;
    }

.product-specs {
    background-color: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

    .product-specs span {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 8px;
    }

.view-detail-btn {
    display: inline-block;
    padding: 10px 24px;
    /*background-color: #0066cc;*/
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
}

    .view-detail-btn:hover {
        /*background-color: #0052aa;*/
        transform: translateY(-2px);
    }
.category-title {
    font-size: 28px;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 30px 20px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        padding: 30px 20px;
    }
    .indexHome {
        padding-top: 25rem;
        /*padding-bottom: 15rem;*/
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .category-title {
        font-size: 20px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 180px;
    }

    .language-switch {
        padding: 15px 20px;
        text-align: center;
    }

    .category-header {
        padding: 20px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
.text-dark {
    color: #333;
}

.hover:bg-primary/10:hover {
    background-color: rgba(10, 36, 99, 0.1);
}

.hover:text-primary:hover {
    color: #0a2463;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.block {
    display: block;
}

.ml-1 {
    margin-left: 0.25rem;
}

.text-xs {
    font-size: 0.75rem;
}
/* 语言切换样式 */
.relative {
    position: relative;
}

.group {
    cursor: pointer;
}

.absolute {
    position: absolute;
}

.top-full {
    top: 100%;
}

.right-0 {
    right: 0;
}

.shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rounded-md {
    border-radius: 0.375rem;
}

.opacity-0 {
    opacity: 0;
}

.invisible {
    visibility: hidden;
}

.group-hover:opacity-100:hover {
    opacity: 1;
}

.group-hover:visible:hover {
    visibility: visible;
}

.transition-all {
    transition: all 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.z-50 {
    z-index: 50;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
/* 页面内容样式 */
.clients-banner {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    text-align: center;
}

    .clients-banner h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #0a2463;
    }

    .clients-banner p {
        font-size: 1.1rem;
        color: #666;
        max-width: 800px;
        margin: 0 auto;
    }

.clients-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.clients-intro {
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #333;
}

.partners-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #0a2463;
    border-bottom: 2px solid #0a2463;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partner-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

    .partner-card:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    }

    .partner-card img {
        max-width: 150px;
        margin: 0 auto 1rem;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .partner-card:hover img {
        opacity: 1;
    }

    .partner-card p {
        color: #333;
        font-weight: 500;
    }

.cooperation-values {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

    .value-card i {
        font-size: 2rem;
        color: #0a2463;
        margin-bottom: 1rem;
    }

    .value-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        color: #0a2463;
    }

    .value-card p {
        color: #666;
        line-height: 1.6;
    }

.contact-cta {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #0a2463;
    color: #fff;
}

    .contact-cta h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .contact-cta p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-btn {
    display: inline-block;
    background-color: #ffc107;
    color: #0a2463;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    .cta-btn:hover {
        background-color: #e0a800;
        color: #0a2463;
    }

.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;     
}

    .footer p {
        margin-top: 1rem;
        color: #ccc;
    }
.product-category {
    position: relative;
}

.submenu {
    z-index: 999;
}
/* 小三角指示样式 */
.products-menu-arrow {
    position: absolute;
    z-index: 3;
    top: -0.5rem;
    left: 2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 2px 0 0 0;
    background: #fff;
    transform: rotate(45deg);
}
/* 小三角指示样式 */
.submenu-arrow {
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 8px solid white;
    border-bottom: 8px solid transparent;
}
.logo {
    border-radius: 10px; /* 圆角半径 */
    overflow: hidden; /* 隐藏溢出内容 */
}