/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: rgb(203, 69, 27);
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.horizontal-card {
    display: flex;
    align-items: center;
    gap: 30px;
}

.horizontal-card.reverse {
    flex-direction: row-reverse;
}

.image-container {
    flex: 1;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.hover-effect:hover {
    transform: scale(1.03);
    border-color: rgb(203, 69, 27);
    box-shadow: 0 5px 15px rgba(203, 69, 27, 0.2);
}

.content {
    flex: 1;
}

.content h3 {
    color: rgb(203, 69, 27);
    margin-bottom: 15px;
    font-size: 22px;
}

.content ol {
    padding-left: 20px;
}

.content li {
    margin-bottom: 10px;
}

/* 网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 流程卡片 */
.process-card, .service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(203, 69, 27, 0.15);
    border-color: rgb(203, 69, 27);
}

.process-card .icon-container, .service-card .icon-container {
    margin-bottom: 15px;
    color: rgb(203, 69, 27);
    transition: all 0.3s ease;
}

.process-card:hover .icon-container, .service-card:hover .icon-container {
    transform: scale(1.1);
}

.process-card h3, .service-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.process-card p {
    color: #666;
    font-size: 14px;
}

/* 口岸卡片 */
.port-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.port-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.port-card:hover img {
    transform: scale(1.05);
}

.port-card h3 {
    padding: 15px 15px 5px;
    color: rgb(203, 69, 27);
    font-size: 18px;
}

.port-card p {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

/* 价值网格 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(203, 69, 27, 0.15);
    border-color: rgb(203, 69, 27);
}

.value-card.placeholder {
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
}

.value-card.placeholder:hover {
    background-color: #e9e9e9;
    border-color: rgb(203, 69, 27);
}

.value-card.placeholder .icon-container {
    color: #999;
}

.value-card h3 {
    color: #333;
    margin: 15px 0 10px;
    font-size: 18px;
}

.value-card p {
    color: #666;
    font-size: 14px;
}

/* 场景网格 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scenario-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(203, 69, 27, 0.15);
    border-color: rgb(203, 69, 27);
}

.scenario-card .icon-container {
    color: rgb(203, 69, 27);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.scenario-card:hover .icon-container {
    transform: scale(1.1);
}

.scenario-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.scenario-card p {
    color: #666;
    font-size: 14px;
}

/* 幻灯片样式 */
.slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 50%;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border: 2px solid #ddd;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(203, 69, 27, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgb(203, 69, 27);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card.placeholder {
        display: none;
    }
}

@media (max-width: 768px) {
    .horizontal-card, .horizontal-card.reverse {
        flex-direction: column;
    }
    
    .slide {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
}