* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", Arial, sans-serif;
}

.container-nav {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 30px;
    padding: 0 10px;
}

.row {
    display: grid;
    gap: 25px;
}

.row-1 {
    grid-template-columns: repeat(2, 1fr);
}

.row-2 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .row-1 {
        grid-template-columns: 1fr;
    }
    
    .row-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .carousel {
        height: 250px;
    }
    
    .carousel-item img {
        height: calc(100% - 40px);
    }
}

@media (max-width: 576px) {
    .row-2 {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 200px;
    }
    
    .card-desc {
        font-size: 13px;
    }
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F3E5D;
    margin-bottom: 12px;
    font-family: "微软雅黑", Arial, sans-serif;
}

.card-desc {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.4;
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 320px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
    height: 100%;
}

.carousel-item {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 0 20px;
}

.carousel-item img {
    width: 100%;
    height: calc(100% - 50px);
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-50%) scale(1.1);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

