/* PC端样式 - 高端大气设计 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.nav-logo h1 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo-image {
    height: 36px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
    display: block;
}

.nav-logo {
    display: flex;
    align-items: center;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-login {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register {
    background: linear-gradient(135deg, #004773 0%, #0066cc 100%);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 71, 115, 0.3);
    text-decoration: none;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: white;
    color: #667eea;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 71, 115, 0.5);
    background: linear-gradient(135deg, #0066cc 0%, #004773 100%);
}

.btn-register i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-register:hover i {
    transform: translateX(3px);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    color: white;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: 0;
}

.hero-content {
    flex: 1;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    margin-left: 40px;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    min-height: 2.4rem;
}

/* 打字效果样式 */
#typing-text {
    display: inline-block;
}

#typing-description {
    display: inline-block;
    min-height: 1.4rem; /* 确保有足够的高度容纳文本 */
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #004773;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 5.5rem;
    margin-bottom: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 3rem;
}

.btn-primary {
    background: #004773;
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 71, 115, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 2.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* 按钮图标样式 */
.btn-primary i, .btn-secondary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary:hover i {
    transform: translateX(3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* 语言标签云样式 - 瀑布下落效果 */
.language-tag-cloud {
    position: relative;
    width: 600px;
    height: 500px;
    margin: 0 0 0 auto;
    overflow: hidden;
    background: transparent;
}

.language-tag {
    position: absolute;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
    top: -60px;
    animation: waterfallDrop 8s linear infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.language-tag:hover {
    opacity: 1;
    transform: scale(1.2);
    z-index: 10;
    animation-play-state: paused;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 标签颜色变体 */
.language-tag.color-1 { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
.language-tag.color-2 { background: linear-gradient(135deg, #4ECDC4, #44A08D); }
.language-tag.color-3 { background: linear-gradient(135deg, #FFD166, #FF9A3C); }
.language-tag.color-4 { background: linear-gradient(135deg, #06D6A0, #048A81); }
.language-tag.color-5 { background: linear-gradient(135deg, #118AB2, #073B4C); }
.language-tag.color-6 { background: linear-gradient(135deg, #EF476F, #9D4EDD); }
.language-tag.color-7 { background: linear-gradient(135deg, #7209B7, #3A0CA3); }
.language-tag.color-8 { background: linear-gradient(135deg, #F72585, #B5179E); }
.language-tag.color-9 { background: linear-gradient(135deg, #4361EE, #3A0CA3); }
.language-tag.color-10 { background: linear-gradient(135deg, #4CC9F0, #4895EF); }
.language-tag.color-11 { background: linear-gradient(135deg, #560BAD, #480CA8); }
.language-tag.color-12 { background: linear-gradient(135deg, #F15BB5, #9B5DE5); }

/* 瀑布下落动画 - 亮度渐变效果 */
@keyframes waterfallDrop {
    0% {
        transform: translateY(-60px) scale(0.3);
        opacity: 0.1;
        filter: brightness(0.3) blur(3px);
        clip-path: inset(100% 0 0 0);
    }
    10% {
        transform: translateY(-45px) scale(0.5);
        opacity: 0.3;
        filter: brightness(0.5) blur(2px);
        clip-path: inset(85% 0 0 0);
    }
    20% {
        transform: translateY(-30px) scale(0.6);
        opacity: 0.5;
        filter: brightness(0.7) blur(1px);
        clip-path: inset(70% 0 0 0);
    }
    30% {
        transform: translateY(-15px) scale(0.7);
        opacity: 0.7;
        filter: brightness(0.8) blur(0.5px);
        clip-path: inset(55% 0 0 0);
    }
    40% {
        transform: translateY(0) scale(0.8);
        opacity: 0.8;
        filter: brightness(0.9) blur(0px);
        clip-path: inset(40% 0 0 0);
    }
    50% {
        transform: translateY(50px) scale(0.9);
        opacity: 0.9;
        filter: brightness(1) blur(0px);
        clip-path: inset(25% 0 0 0);
    }
    60% {
        transform: translateY(100px) scale(1);
        opacity: 1;
        filter: brightness(1.1) blur(0px);
        clip-path: inset(10% 0 0 0);
    }
    70% {
        transform: translateY(200px) scale(1);
        opacity: 1;
        filter: brightness(1) blur(0px);
        clip-path: inset(0 0 0 0);
    }
    80% {
        transform: translateY(300px) scale(1);
        opacity: 0.9;
        filter: brightness(0.9) blur(0px);
        clip-path: inset(0 0 0 0);
    }
    90% {
        transform: translateY(400px) scale(0.9);
        opacity: 0.7;
        filter: brightness(0.7) blur(0.5px);
        clip-path: inset(0 0 0 0);
    }
    100% {
        transform: translateY(500px) scale(0.8);
        opacity: 0.3;
        filter: brightness(0.5) blur(1px);
        clip-path: inset(0 0 0 0);
    }
}

/* 学习目标样式 */
.learning-goals-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
}

.single-goal-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 450px;
}

.single-goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.goal-header {
    text-align: center;
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    color: white;
}

.goal-main-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
}

.goal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.goal-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.goals-content {
    padding: 2.5rem 3rem;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    margin-right: 66.66%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 450px;
    width: 100%;
}



/* 学校介绍样式 */
.school-intro-section {
    padding: 80px 0;
    background: linear-gradient(
        rgba(255, 255, 255, 0.85),
        rgba(255, 255, 255, 0.85)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23f0f4f8"/><path d="M0,300 Q300,250 600,300 T1200,300 L1200,600 L0,600 Z" fill="%23e2e8f0"/><path d="M0,400 Q300,350 600,400 T1200,400 L1200,600 L0,600 Z" fill="%23cbd5e0"/><rect x="200" y="200" width="80" height="120" fill="%23667eea" rx="5"/><rect x="300" y="180" width="100" height="140" fill="%23764ba2" rx="5"/><rect x="450" y="220" width="90" height="100" fill="%2348bb78" rx="5"/><rect x="600" y="190" width="110" height="130" fill="%23ed8936" rx="5"/><rect x="750" y="210" width="95" height="110" fill="%23e53e3e" rx="5"/><rect x="900" y="180" width="85" height="140" fill="%239f7aea" rx="5"/><rect x="1050" y="200" width="70" height="120" fill="%2338b2ac" rx="5"/><rect x="220" y="200" width="40" height="60" fill="%23ffffff" rx="2"/><rect x="320" y="180" width="50" height="70" fill="%23ffffff" rx="2"/><rect x="470" y="220" width="45" height="50" fill="%23ffffff" rx="2"/><rect x="620" y="190" width="55" height="65" fill="%23ffffff" rx="2"/><rect x="770" y="210" width="47" height="55" fill="%23ffffff" rx="2"/><rect x="920" y="180" width="42" height="70" fill="%23ffffff" rx="2"/><rect x="1070" y="200" width="35" height="60" fill="%23ffffff" rx="2"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.school-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.school-intro-section > .container {
    position: relative;
    z-index: 2;
}

.school-intro-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 2rem;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature i {
    color: #48bb78;
    font-size: 1.2rem;
}

.feature span {
    color: #4a5568;
    font-weight: 500;
}

.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-logo {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.school-logo:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 四大服务板块 */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004773, transparent);
}

.services-section > .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 71, 115, 0.08);
    border: 1px solid rgba(0, 71, 115, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 71, 115, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 71, 115, 0.15);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004773, #003355);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 71, 115, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #f0f7ff, #e6f3ff);
    color: #004773;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 71, 115, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #004773, #003355);
    color: white;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* 新三大学习目标区域 */
.new-goals-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
}

.new-goals-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 71, 115, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 71, 115, 0.1);
}

.goals-header-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    color: white;
}

.goal-header-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.goal-header-item:last-child {
    border-right: none;
}

.goal-header-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 71, 115, 0.2);
    z-index: 2;
}

.goal-header-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.goal-header-item:hover h3 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

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

.goal-content-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid #e9ecef;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
}

.goal-content-item:last-child {
    border-right: none;
}

.goal-content-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 71, 115, 0.15);
    z-index: 2;
    border-radius: 10px;
}

.goal-content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #004773, #003355);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.goal-content-item:hover::before {
    opacity: 1;
    width: 120px;
    height: 4px;
}

.goal-content-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-weight: 400;
    transition: all 0.3s ease;
}

.goal-content-item:hover p {
    color: #004773;
    font-weight: 500;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .goals-header-row {
        grid-template-columns: 1fr;
    }
    
    .goals-content-row {
        grid-template-columns: 1fr;
    }
    
    .goal-header-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .goal-content-item {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .goal-header-item:last-child,
    .goal-content-item:last-child {
        border-bottom: none;
    }
    
    .goal-header-item h3 {
        font-size: 1.2rem;
    }
    
    .goal-content-item p {
        font-size: 0.95rem;
    }
}

/* 课程区域样式 */
.courses-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: -20px;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}



/* 课程选项卡样式 */
.course-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
    position: relative;
}

.tab-btn {
    background: #f8fafc;
    border: 2px solid #cbd5e0;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    text-align: center;
}

.tab-btn:hover {
    color: #004773;
    background: #e3f2fd;
    border-color: #004773;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 71, 115, 0.2);
}

.tab-btn.active {
    color: white;
    background: #004773;
    border-color: #004773;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 71, 115, 0.3);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #004773;
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 71, 115, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 71, 115, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 71, 115, 0.3);
    }
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80%;
        opacity: 1;
    }
}

.courses-content {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 一行两列布局样式 */
.two-column-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 高端横向三列布局样式 */
.horizontal-goals-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.horizontal-goals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.horizontal-goals-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.horizontal-goals-section > .container {
    position: relative;
    z-index: 2;
}

.horizontal-goals-section .section-title {
    color: white;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.horizontal-goals-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.horizontal-goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.goal-card, .service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.goal-card::before, .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.goal-card:hover::before, .service-card:hover::before {
    left: 100%;
}

.goal-card:hover, .service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.goal-icon, .service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

/* 学习目标卡片图标颜色 */
.goal-card:nth-child(1) .goal-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4);
}

.goal-card:nth-child(2) .goal-icon {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    box-shadow: 0 12px 25px rgba(78, 205, 196, 0.4);
}

.goal-card:nth-child(3) .goal-icon {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
    box-shadow: 0 12px 25px rgba(69, 183, 209, 0.4);
}

/* 服务卡片图标颜色 - 调整为蓝色主题 */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    box-shadow: 0 12px 25px rgba(0, 71, 115, 0.4);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #1e6fba 0%, #004773 100%);
    box-shadow: 0 12px 25px rgba(30, 111, 186, 0.4);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #2a8bd6 0%, #1e6fba 100%);
    box-shadow: 0 12px 25px rgba(42, 139, 214, 0.4);
}

.goal-icon::after, .service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

/* 学习目标卡片图标外圈颜色 */
.goal-card:nth-child(1) .goal-icon::after {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.goal-card:nth-child(2) .goal-icon::after {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.goal-card:nth-child(3) .goal-icon::after {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}

/* 服务卡片图标外圈颜色 - 调整为蓝色主题 */
.service-card:nth-child(1) .service-icon::after {
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
}

.service-card:nth-child(2) .service-icon::after {
    background: linear-gradient(135deg, #1e6fba 0%, #004773 100%);
}

.service-card:nth-child(3) .service-icon::after {
    background: linear-gradient(135deg, #2a8bd6 0%, #1e6fba 100%);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.goal-card:hover .goal-icon, .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 学习目标卡片悬停阴影 */
.goal-card:nth-child(1):hover .goal-icon {
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.6);
}

.goal-card:nth-child(2):hover .goal-icon {
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.6);
}

.goal-card:nth-child(3):hover .goal-icon {
    box-shadow: 0 15px 30px rgba(69, 183, 209, 0.6);
}

/* 服务卡片悬停阴影 - 调整为蓝色主题 */
.service-card:nth-child(1):hover .service-icon {
    box-shadow: 0 15px 30px rgba(0, 71, 115, 0.6);
}

.service-card:nth-child(2):hover .service-icon {
    box-shadow: 0 15px 30px rgba(30, 111, 186, 0.6);
}

.service-card:nth-child(3):hover .service-icon {
    box-shadow: 0 15px 30px rgba(42, 139, 214, 0.6);
}

.goal-card h3, .service-card h3 {
    color: #2d3748;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.goal-card h3::after, .service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 学习目标卡片标题下划线颜色 */
.goal-card:nth-child(1) h3::after {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.goal-card:nth-child(2) h3::after {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.goal-card:nth-child(3) h3::after {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}

/* 服务卡片标题下划线颜色 - 调整为蓝色主题 */
.service-card:nth-child(1) h3::after {
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
}

.service-card:nth-child(2) h3::after {
    background: linear-gradient(135deg, #1e6fba 0%, #004773 100%);
}

.service-card:nth-child(3) h3::after {
    background: linear-gradient(135deg, #2a8bd6 0%, #1e6fba 100%);
}

.goal-card:hover h3::after, .service-card:hover h3::after {
    width: 60px;
}

.goal-card p, .service-card p {
    color: #718096;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 71, 115, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0, 71, 115, 0.4);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #004773;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.two-column-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #004773;
    margin-bottom: 1rem;
}

.two-column-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.column-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004773;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 10px;
    border-left: 4px solid #004773;
    border-right: 4px solid #004773;
    box-shadow: 0 4px 12px rgba(0, 71, 115, 0.1);
}

.content-row {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #004773;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.content-row h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #004773;
    margin-bottom: 0.8rem;
}

.content-row p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.content-row h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #004773;
    margin-bottom: 0.8rem;
}

.content-row p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.right-column {
    display: flex;
    flex-direction: column;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    height: 100%;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: right;
    border-top: 4px solid #004773;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: #718096;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* 右边卡片样式 */
.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: #718096;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* 课程卡片详情样式 */
.course-details {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
}

.detail-item i {
    color: #667eea;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
}

.course-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    justify-content: space-between;
}

.trial-btn, .detail-btn {
    flex: 0.6;
    padding: 0.4rem 0.6rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.trial-btn {
    background: #004773;
    color: white;
}

.trial-btn:hover {
    transform: translateY(-2px);
}

.detail-btn {
    background: #f8f9fa;
    color: #004773;
    border: 2px solid #004773;
}

.detail-btn:hover {
    background: #004773;
    color: white;
    transform: translateY(-2px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}



.course-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.course-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #718096;
    font-weight: 500;
}

.info-value {
    color: #2d3748;
    font-weight: 600;
}

.enroll-btn {
    width: 100%;
    background: transparent;
    color: #004773;
    border: 2px solid #004773;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

/* 校区展示样式 */
.campuses-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.campuses-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.campus-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.campus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.campus-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.campus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-image-wrapper:hover .campus-image {
    transform: scale(1.05);
}

.campus-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #004773, #003355);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.campus-content {
    padding: 2rem;
}

.campus-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.campus-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.campus-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    color: #004773;
    font-size: 1.2rem;
    width: 24px;
    margin-right: 10px;
}

.detail-text {
    color: #4a5568;
    font-size: 1rem;
}

.campus-btn {
    background: linear-gradient(135deg, #004773, #003355);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.campus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 115, 0.3);
    text-decoration: none;
    color: white;
}



/* 网校介绍样式 */
.school-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-item i {
    font-size: 3rem;
    color: #004773;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 咨询区域样式 */
.consult-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #004773 0%, #003355 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.consult-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatBubbles 20s linear infinite;
    z-index: 1;
}

.consult-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

.consult-section > .container {
    position: relative;
    z-index: 2;
}

.consult-section .section-title {
    color: white;
    animation: fadeInUp 1s ease-out;
}

.consult-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.form-input {
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.form-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #a0aec0;
}

.submit-btn {
    background: #004773;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 1, 18, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* 友情链接区域靠右对齐 */
.footer-section:nth-child(4) {
    justify-self: end;
    text-align: right;
}

/* 关注我们区域靠右对齐 */
.footer-section:nth-child(5) {
    justify-self: end;
    text-align: right;
}

/* 友情链接内部链接靠右对齐 */
.footer-section:nth-child(4) .friend-links {
    align-items: flex-end;
}

/* 关注我们内部内容靠右对齐 */
.footer-section:nth-child(5) .qrcode-container {
    align-items: flex-end;
}

/* 友情链接内部链接文字靠右 */
.footer-section:nth-child(4) .friend-links a {
    justify-content: flex-end;
}

/* 关注我们二维码文字靠右 */
.footer-section:nth-child(5) .qrcode-text {
    text-align: right;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* 联系我们部分段落间距调整 */
.footer-section:nth-child(3) p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* 联系我们部分图标间距调整 */
.footer-section:nth-child(3) .fas {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* 联系我们部分链接样式统一 */
.footer-section:nth-child(3) p {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0.2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
}

.footer-section:nth-child(3) p:hover {
    color: white;
    text-decoration: none;
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.footer-section:nth-child(3) p::before {
    content: "•";
    color: #004773;
    margin-right: 0.4rem;
    font-weight: bold;
    font-size: 1rem;
}

/* 友情链接样式统一 */
.footer-section:nth-child(4) .friend-links a {
    position: relative;
    padding-left: 1.2rem;
}

.footer-section:nth-child(4) .friend-links a::before {
    content: "•";
    color: #004773;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1rem;
}

.footer-section:nth-child(4) .friend-links a:hover {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem 0.2rem 1.2rem;
    border-radius: 4px;
}

/* 页脚logo样式 */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    filter: grayscale(0.3);
    cursor: pointer;
}

.footer-logo-img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: grayscale(0);
}

.footer-logo-text {
    color: #bdc3c7;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
    min-height: 1.8rem;
    display: flex;
    align-items: center;
}

/* 打字光标动画 */
.typing-cursor {
    color: #004773;
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 微信图标特殊样式 */
.social-links a.wechat:hover {
    color: #07c160;
    background: rgba(7, 193, 96, 0.1);
}

/* QQ图标特殊样式 */
.social-links a.qq:hover {
    color: #12b7f5;
    background: rgba(18, 183, 245, 0.1);
}

/* 抖音图标特殊样式 */
.social-links a.douyin:hover {
    color: #ff0050;
    background: rgba(255, 0, 80, 0.1);
}

/* 小红书图标特殊样式 */
.social-links a.xiaohongshu:hover {
    color: #ff2442;
    background: rgba(255, 36, 66, 0.1);
}

/* 视频号图标特殊样式 */
.social-links a.video:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

/* 二维码容器样式 */
.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qrcode-text {
    color: #bdc3c7;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* 友情链接样式 */
.friend-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.friend-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
}

.friend-links a:hover {
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* 页脚链接样式 */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0.2rem 0;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.footer-link::before {
    content: "•";
    color: #004773;
    margin-right: 0.4rem;
    font-weight: bold;
    font-size: 1rem;
}

/* 版权信息和备案号样式 */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: #7a7f85;
    font-size: 0.9rem;
    margin: 0;
}

.license-info p {
    color: #7a7f85;
    font-size: 0.9rem;
    margin: 0;
}

.icp-info p {
    color: #7a7f85;
    font-size: 0.9rem;
    margin: 0;
}

.icp-info a {
    color: #7a7f85;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #a0a5aa;
    text-decoration: none;
}

/* 版权信息中技术支持链接样式 */
.copyright a {
    color: #7a7f85;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #7a7f85;
    text-decoration: none;
    cursor: pointer;
}

/* 新闻资讯样式 */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.news-section .section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.875rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 160px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #004773, #003355);
    transition: width 0.3s ease;
}

.news-btn {
    background: #004773;
    color: white;
}

.news-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 115, 0.4);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #e2e8f0;
}

.news-card:hover::before {
    width: 6px;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.news-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

.news-content h3::before {
    content: '📰';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

.news-summary {
    color: #4a5568;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.95rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .campuses-container {
        flex-direction: column;
        align-items: center;
    }
    
    .campus-card {
        max-width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* 横向目标布局响应式 */
    .horizontal-goals-section {
        padding: 60px 0;
    }
    
    .horizontal-goals-section .section-title {
        font-size: 2.2rem;
    }
    
    .horizontal-goals-section .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .horizontal-goals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .goal-card, .service-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .goal-icon, .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .goal-card h3, .service-card h3 {
        font-size: 1.4rem;
    }
    
    .goal-card p, .service-card p {
        font-size: 0.95rem;
    }
}