.nav-link.active {
    font-weight: bold;
    color: #243883;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #243883;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
}


/* 自定义滚动条样式 */
.overflow-x-auto::-webkit-scrollbar {
    height: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overflow-x-auto:hover::-webkit-scrollbar {
    opacity: 1;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #243883;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #1a2a61;
}

/* Firefox滚动条样式 */
.overflow-x-auto {
    scrollbar-width: thin;
    scrollbar-color: #243883 #f1f1f1;
    transition: scrollbar-color 0.3s ease;
}

.overflow-x-auto:hover {
    scrollbar-color: #1a2a61 #f1f1f1;
}


.nav-link {
    white-space: nowrap;
}


.follow-us {
    display: none;
}

/* 移动端底部联系方式 */
.mobile-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-contact a {
    position: relative;
    overflow: hidden;
}

.mobile-contact a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}
