/* 方案5: 边框下划线 */
.nav-link-5 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-5::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #22D3EE;
    transition: all 0.3s ease;
    opacity: 1;
}

.nav-link-1 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-1:hover {
    color: #4ADE80;
}

.nav-link-1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #4ADE80;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-1:hover i.bi {
    color: #4ADE80;
}
.nav-link-1:hover::after,
.nav-link-1.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-2 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-2:hover {
    color: #818CF8;
}

.nav-link-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #818CF8;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-2:hover i.bi {
    color: #818CF8;
}
.nav-link-2:hover::after,
.nav-link-2.active::after {
    height: 2px;
    opacity: 1;
}
.nav-link-3 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-3:hover {
    color: #FBBF24;
}

.nav-link-3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #FBBF24;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-3:hover i.bi {
    color: #FBBF24;
}
.nav-link-3:hover::after,
.nav-link-3.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-6 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-6:hover {
    color: #0066cc;
}

.nav-link-6::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #0066cc;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-6:hover i.bi {
    color: #0066cc;
}
.nav-link-6:hover::after,
.nav-link-6.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-7 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-7:hover {
    color: #993333;
}

.nav-link-7::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #993333;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-7:hover i.bi {
    color: #993333;
}
.nav-link-7:hover::after,
.nav-link-7.active::after {
    height: 2px;
    opacity: 1;
}



.br2:hover{
    --bs-border-opacity: 1;
    border-color: #818CF8 !important
}
.br1{
    --bs-border-opacity: 1;
    border-color: #0b5ed7 !important
}
.br3:hover{
    --bs-border-opacity: 1;
    border-color: #4ADE80 !important
}
.br4:hover{
    --bs-border-opacity: 1;
    border-color: #FBBF24 !important
}

.btning:hover{
    background-color: #FBBF24!important;
    color: white!important;
}
.btninga:hover{
    background-color: #4ADE80!important;
    color: white!important;
}



.qyuyuyia{
    font-weight: 700
}
.qyuyuyib{
    color: #22D3EE
}

.qyuyuyid{
    font-size: 12px!important;width: 260px;
}

/* 定义变量，方便统一改色 */
:root {
    --tech-blue: #0f4c81;   /* 科技蓝 */
    --hq-orange: #ff6600;   /* 活力橙 */
    --gray-border: #e5e7eb; /* 边框灰 */
    --bg-light: #eff6ff;    /* 图标浅蓝背景 */
}

/* --- 外部容器网格布局 --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 手机端默认 2 列 */
    gap: 1rem; /* 间距 16px */
    padding: 2rem 0;
}

/* 平板/电脑端响应式：变为 4 列 */
@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- 单个卡片样式 --- */
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 1.25rem; /* 20px */
    border: 1px solid var(--gray-border);
    border-radius: 0.5rem; /* 8px */
    text-decoration: none; /* 去掉链接下划线 */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 卡片悬停效果：边框变橙，加阴影 */
.cat-card:hover {
    border-color: var(--hq-orange);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px); /* 轻微上浮 */
}

.yuiuaacita{
    border-color: var(--hq-orange);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px); /* 轻微上浮 */
}
.yuiuaacitad{
    background-color: #ff6600!important;
}
.yuiuaacitae{
    color: white!important;
}


/* --- 图标圆圈样式 --- */
.cat-icon-box {
    width: 2.5rem;  /* 40px */
    height: 2.5rem; /* 40px */
    background-color: var(--bg-light);
    color: var(--tech-blue);
    border-radius: 9999px; /* 圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* 卡片悬停时，图标的变化 */
.cat-card:hover .cat-icon-box {
    background-color: var(--hq-orange);
    color: #ffffff;
}

/* --- 文字样式 --- */
.cat-title {
    font-weight: 700;
    color: #1f2937; /* 深灰 */
    font-size: 1rem;
    margin: 0;
}

.cat-desc {
    font-size: 0.75rem; /* 12px */
    color: #9ca3af;     /* 浅灰 */
    margin-top: 0.25rem;
    text-align: center;
}

.qyuyuyie{
    margin-bottom: 50px;
}
.qyuyuyif{

}
.qyuyuyig{

}
.qyuyuyih{

}
.qyuyuyii{

}
.qyuyuyij{

}
.qyuyuyik{

}
.qyuyuyil{

}

