﻿.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.honor-item {
    flex: 0 0 20%;
    padding: 0 15px;
    transition: transform 0.3s;
}

.honor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.honor-img {
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.honor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.honor-content {
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
}

.honor-title {
    color: #333;
    font-size: 18px;
}

.honor-desc {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.nav-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dfe6e9;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color);
    transform: scale(1.3);
}

.auto-play-control {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.toggle-btn {
    padding: 10px 20px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.toggle-btn:hover {
    background: #27ae60;
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .honor-item {
        flex: 0 0 25%;
    }
}

@media (max-width: 992px) {
    .honor-item {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    .honor-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .honor-item {
        flex: 0 0 100%;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}