
.container {
    padding-top: 0px;
}
/* 顶部banner */
.banner {
    width: 100%;
    height: 600px;
    background-image: url('../image/home-top.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1920px) {
    .banner {
        background-size: 100% auto;
    }
}

@media (max-width: 1280px) {
    .banner {
        background-position: center center;
    }
}

.banner-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 80px;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
}

.banner-subtitle {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    text-align: center;
}

/* 数据卡片 */
.data-card {
    width: 1200px;
    height: 236px;
    margin: -80px auto 0;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    z-index: 10;
    justify-content: space-between;
}

.trade-info {
    background-color: #FFF8F0;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trade-info:hover {
    background-color: #FFE8D0;
}

.trade-info-left {
    display: flex;
    align-items: center;
}

.trade-info-left img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}

.trade-info-text {
    color: #FF9800;
    font-size: 14px;
}

.trade-info-arrow {
    color: #FF9800;
    font-size: 16px;
    font-weight: bold;
}

.data-metrics {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    padding: 20px 0;
}

.data-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.data-metric-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: -60px;
    top: 10px;
    height: 60px;
    width: 1px;
    background-color: #eee;
}

.data-metric-value {
    font-size: 40px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.data-metric-label {
    font-size: 14px;
    color: #666666;
}

/* 动态资讯部分样式 */
.dynamic-news {
    width: 1200px;
    margin: 80px auto;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    position: relative;
}
.section-title span {
    font-size: 14px;
    color: #666;
}

.more-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.news-container {
    display: flex;
    justify-content: space-between;
}

.news-main {
    width: 48%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-main:hover img {
    transform: scale(1.05);
}

.news-main-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.news-list {
    width: 48%;
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #1890ff;
}

.news-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    margin-left: 20px;
    display: flex;
    align-items: center;
}

/* 核心功能部分样式 */
.core-functions {
    width: 100%;
    background: url('../image/features-bg.png') no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 80px 0;
    position: relative;
}

.core-functions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.core-functions-wrap {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.function-title {
    margin-bottom: 40px;
}

.function-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.function-title h2:after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #1890ff;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.function-title p {
    font-size: 16px;
    color: #999;
    margin-top: 20px;
}

.function-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

.function-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.function-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.function-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.function-card-icon {
    width: 48px;
    height: 48px;
    background-color: #e6f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.function-card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.function-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.function-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    display: flex;
    justify-content: flex-end;
}

.learn-more a {
    color: #1890ff;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.learn-more img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
}

/* 口岸信息部分样式 */
.port-info {
    width: 1200px;
    margin: 80px auto;
}

.port-info-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.port-info-title h2 {
    position: relative;
}

.port-info-title h2:after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #1890ff;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.port-nav {
    display: flex;
    gap: 15px;
}

.port-nav-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.port-nav-item:hover {
    background-color: #f0f0f0;
    border-color: #1890ff;
    color: #1890ff;
}

/* 口岸信息轮播 */
.port-carousel {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.port-slides {
    display: flex;
    transition: transform 0.5s ease;
    width: max-content;
}

.port-card {
    width: 390px;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 240px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.port-card:last-child {
    margin-right: 0;
}

.port-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.port-card:hover img {
    transform: scale(1.05);
}

.port-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 16px;
}

/* 底部地图和联系信息 */
.footer-wrap {
    width: 100%;
    background: #f5f5f5;
}

.footer-info {
    width: 100%;
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.footer-content {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-map {
    width: 50%;
    height: 200px;
    position: relative;
    border: 1px solid #f5f5f5;
}

.footer-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info {
    width: 50%;
    text-align: left;
    line-height: 2;
}

.company-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.company-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

