/* ===================================
   全局样式
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary-blue: #1a3a5c;
    --primary-dark: #0d1f33;
    --business-gray: #2c3e50;
    --gray-light: #5a6c7d;
    
    /* 辅助色 */
    --warm-white: #f8f9fa;
    --light-gold: #c9a962;
    --gold-hover: #b8954a;
    
    /* 其他 */
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ===================================
   按钮样式
=================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--business-gray) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* ===================================
   导航栏
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 58, 92, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--light-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-contact {
    background: var(--light-gold);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 4px;
}

.btn-contact:hover {
    background: var(--gold-hover);
}

.btn-contact::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   首屏轮播
=================================== */
.hero {
    margin-top: 70px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider {
    width: 100%;
}

.slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

/* ===================================
   章节通用样式
=================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-gold));
    margin: 20px auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ===================================
   核心优势
=================================== */
.advantages {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--warm-white);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--light-gold);
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   留学服务
=================================== */
.services {
    background: var(--warm-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-flag {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--light-gold);
    font-weight: 600;
    font-size: 14px;
}

.service-link:hover {
    color: var(--primary-blue);
}

/* 服务流程 */
.service-process {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-process h3 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-gold);
    font-size: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--business-gray));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.5;
}

/* ===================================
   移民项目
=================================== */
.immigration {
    background: white;
}

.immigration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.immigration-card {
    background: var(--warm-white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
}

.immigration-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.immigration-card.featured {
    border-color: var(--light-gold);
    background: linear-gradient(135deg, #fffef8 0%, #fff 100%);
}

.featured-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--light-gold);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.immigration-card h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 20px;
}

.immigration-card ul {
    text-align: left;
    margin-bottom: 25px;
}

.immigration-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.immigration-card li:last-child {
    border-bottom: none;
}

.assessment-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--business-gray) 100%);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    color: white;
}

.assessment-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.assessment-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===================================
   成功案例
=================================== */
.cases {
    background: var(--warm-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.case-card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.case-card h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.case-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.cases-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--light-gold);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
}

/* ===================================
   关于我们
=================================== */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-promise {
    background: var(--warm-white);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--light-gold);
}

.service-promise h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 15px;
}

.service-promise li {
    color: var(--text-light);
    padding: 8px 0;
    line-height: 1.6;
}

.about-image {
    background: var(--warm-white);
    border-radius: 8px;
    overflow: hidden;
}

.placeholder-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--business-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

/* ===================================
   资讯中心
=================================== */
.news {
    background: var(--warm-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-date {
    color: var(--light-gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card h3 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover {
    color: var(--light-gold);
}

/* ===================================
   在线咨询
=================================== */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--warm-white);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    padding: 20px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.info-item p {
    color: var(--text-light);
    font-size: 15px;
}

.qr-code {
    margin-top: 30px;
}

.placeholder-qr {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--business-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
}

/* ===================================
   页脚
=================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--light-gold);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 14px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 8px;
}

/* ===================================
   响应式设计
=================================== */
@media (max-width: 1024px) {
    .advantages-grid,
    .services-grid,
    .immigration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .advantages-grid,
    .services-grid,
    .immigration-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cases-stats,
    .stat-number {
        font-size: 36px;
    }
}
