/* 全局变量 */
:root {
    --primary-color: #2c5fa8;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b35;
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(rgba(44, 95, 168, 0.8), rgba(44, 95, 168, 0.9)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* 特性卡片 */
.feature-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 15px;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #1e4b8f;
    border-color: #1e4b8f;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 统计数字 */
.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: #666;
}

/* 学员评价 */
.testimonial-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-position {
    color: #666;
    font-size: 0.9rem;
}

/* 证书徽章 */
.cert-badge {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #aaa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}
/* 导航下拉菜单样式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(44, 95, 168, 0.1);
    color: var(--primary-color);
}

.dropdown-divider {
    margin: 8px 0;
}

/* 资讯版块新样式 */
.underline-title {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.news-feature-card {
    transition: transform 0.3s;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-feature-card:hover {
    transform: translateY(-5px);
}

.news-card {
    transition: all 0.3s;
    border-radius: 10px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* 资讯分类标签 */
.btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
}