/* 远山教育网站样式 - 品牌蓝色主题 */

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

:root {
    /* 品牌主色 - 专业蓝色系 */
    --primary: rgb(0, 92, 179);          /* 深蓝色 - 专业、信任 */
    --primary-light: #3b82f6;    /* 亮蓝色 - 现代、活力 */
    --primary-blue: rgb(0, 92, 179); /* 主蓝色（备用变量名） */
    --primary-50: #eff6ff;       /* 最浅的蓝色背景 */
    --primary-100: #dbeafe;      /* 浅蓝背景 */

    /* 渐变色组合 - 专业蓝色系 */
    --gradient-primary: linear-gradient(135deg, rgb(0, 92, 179) 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, rgb(0, 92, 179) 0%, #6366f1 100%);
    --gradient-hero: linear-gradient(to right, rgb(0, 92, 179) 0%, transparent 100%);

    /* 中性色 */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --white: #ffffff;

    /* 蓝色系阴影 */
    --shadow-primary: 0 10px 40px rgba(30, 64, 175, 0.15);
    --shadow-hover: 0 10px 40px rgba(30, 64, 175, 0.25);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    background-attachment: fixed;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 动画类 */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 确保导航栏文字颜色为白色 */
body .navbar a {
    color: #ffffff !important;
}

.navbar.scrolled {
    background: linear-gradient(to right, rgba(0, 92, 179, 0.95) 0%, rgba(0, 92, 179, 0.1) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 92, 179, 0.3);
}

/* 非首页导航栏：始终显示蓝色渐变背景 */
.navbar.always-scrolled {
    background: linear-gradient(to right, rgba(0, 92, 179, 0.95) 0%, rgba(0, 92, 179, 0.1) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 92, 179, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
    flex-shrink: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white) !important;
}

.nav-logo .logo-img {
    height: 44px;
    width: auto;
    margin-right: 12px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-logo span {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--white) !important;
}

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

/* 独立的联系我们按钮 - 大屏幕 */
.nav-cta-btn {
    display: inline-block !important;
    background: rgb(255, 191, 0) !important;
    padding: 6px 28px !important;
    border-radius: 0 !important;
    color: rgb(51, 51, 51) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: background 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* CTA按钮hover效果：背景色变深 */
.nav-cta-btn:hover {
    background: rgb(230, 172, 0) !important;
}

/* Logo链接不应用hover效果 */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white) !important;
}

.nav-logo a:hover {
    color: var(--white) !important;
}

.nav-logo a::before {
    display: none;
}

/* 只对菜单项应用hover效果，不包括logo和CTA按钮 */
.nav-link,
.nav-menu a,
.nav-menu .menu-item a,
.nav-menu .page_item a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-menu a:hover,
.nav-menu .menu-item a:hover,
.nav-menu .page_item a:hover {
    background: transparent;
    color: #ffffff !important;
}

.nav-link::before,
.nav-menu a::before,
.nav-menu .menu-item a::before,
.nav-menu .page_item a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffffff !important;
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-menu a:hover::before,
.nav-menu .menu-item a:hover::before,
.nav-menu .page_item a:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: rgb(2, 89, 182);
    font-weight: bold;
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    max-height: 800px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: transparent;
    padding: 0;  /* 覆盖section的通用padding */
}

/* 从左到右的线性渐变背景 - 覆盖层 */
.hero::before {
    content: '';
    position: absolute;
    top: -70px;  /* 从导航栏上方开始，覆盖整个导航栏和hero区域 */
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgb(0, 92, 179) 0%, transparent 100%);
    z-index: 1;  /* 在图片之上，文字之下 */
}

/* 底部白色遮罩 - 隐藏蓝色底部边线 */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--white);
    z-index: 2;
}

/* 背景图片层 - 最底层 */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    z-index: 0;  /* 最底层 */
    opacity: 1;
}

/* 小屏幕使用unsplash图片 */
@media (max-width: 968px) {
    .hero-image {
        background-image: url('https://images.unsplash.com/photo-1591123120675-6f7f1aae0e5b') !important;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px !important;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-text {
    color: var(--white);
    animation: fadeInLeft 1s ease-out;
    text-align: left !important;
    flex: 0 1 auto;
    max-width: 600px;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
    opacity: 1;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    margin-bottom: 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    transform: translateY(0);
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 10px 36px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid var(--white);
    box-shadow: none;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.btn-primary:hover {
    background: var(--white);
    color: rgb(0, 92, 179);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Hero响应式设计 */
@media (max-width: 968px) {
    .hero {
        height: 70vh;
        min-height: 550px;
        max-height: 750px;
        padding: 0;  /* 确保覆盖section的padding */
    }

    .hero-content {
        flex-direction: column;
        text-align: left;
        padding: 100px 20px 120px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0;  /* 确保没有额外padding */
        margin: 0;  /* 确保没有额外margin */
    }

    .hero-image {
        width: 100%;
        opacity: 0.4;
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%);
    }

    .hero-text {
        animation: fadeInUp 1s ease-out;
        text-align: left;
        padding: 0;  /* 确保没有额外padding */
        margin: 0;  /* 确保没有额外margin */
    }

    .services-section::before,
    .services-section::after {
        height: 30px;
        top: -30px;
    }

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

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 450px;
        max-height: 650px;
        padding: 0;  /* 确保覆盖section的padding */
    }

    .hero-content {
        padding: 80px 20px 100px;
    }

    .hero-text {
        text-align: left;
        padding: 0;  /* 确保没有额外padding */
        margin: 0;  /* 确保没有额外margin */
    }

    .services-section::before,
    .services-section::after {
        height: 30px;
        top: -30px;
    }
}

/* 通用区块样式 */
section {
    padding: 80px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* 图片轮播 - 完全重写版本 */
.carousel-section {
    background: var(--gray-50);
    padding: 80px 20px;
    margin: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible; /* 改为visible,避免裁剪 */
}

.carousel-viewport {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 0; /* 使用padding控制间距 */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 50%; /* 每张占50%宽度 - 大屏幕默认 */
    box-sizing: border-box;
    padding: 0 6px; /* 使用padding代替gap,每侧6px,总共12px */
    position: relative;
}

.carousel-slide-inner {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 500px;
    border: 10px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.carousel-slide:hover .carousel-slide-inner {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3), transparent);
    color: var(--white);
    padding: 50px 20px 25px;
    font-size: 18px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    opacity: 1;
}

/* 轮播按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-500);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 56px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-btn.active {
    background: rgb(255, 191, 0);
    color: rgb(51, 51, 51);
    box-shadow: 0 8px 25px rgba(255, 191, 0, 0.35);
}

.carousel-btn:hover {
    /* hover效果由active类控制，无需额外样式 */
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* 轮播指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dots .carousel-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    outline: none;
    padding: 0 !important;
    flex-shrink: 0;
}

.carousel-dots .carousel-dot.active {
    background: rgb(255, 191, 0) !important;
    transform: scale(1.2);
}

.carousel-dots .carousel-dot:hover {
    background: rgb(255, 191, 0) !important;
}

/* 小屏幕: 只显示1张图片 */
@media (max-width: 767px) {
    .carousel-slide {
        flex: 0 0 100%;
        padding: 0; /* 小屏幕移除padding */
    }

    .carousel-slide-inner {
        height: 300px;
    }

    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
        line-height: 48px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

/* 留学目的地区块 */
.destinations-section {
    padding: 75px 20px;
    background: #f5f6f7;
    position: relative;
    overflow: visible;
}

/* 顶部三角形效果 - 覆盖hero底部两侧 */
.destinations-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 55%;
    height: 50px;
    z-index: 10;
    background: #f5f6f7;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.destinations-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 55%;
    height: 50px;
    z-index: 10;
    background: #f5f6f7;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.destinations-grid {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 30px;
}

.destination-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15%;
}

.destination-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.destination-flag {
    width: 60px;
    height: 40px;
    border-radius: 2px;
    flex-shrink: 0;
    filter: grayscale(100%) brightness(1.5);
    object-fit: cover;
    border: 1px solid #ddd;
}

.destination-name {
    font-size: 15px;
    font-weight: 500;
    color: #aaa;
}

/* 服务区块 */
.services-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-50) 50%, var(--primary-100) 100%);
    position: relative;
    overflow: visible;
}

/* 服务导航区域 - 水平图标导航 */
.services-nav {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    flex: 1;
    min-width: 0;
    position: relative;
    border-right: 1px solid var(--gray-200);
    margin-bottom: 0;
}

.service-nav-item:last-child {
    border-right: none;
}

.service-nav-item:hover {
    box-shadow: 0 4px 15px rgba(0, 92, 179, 0.1);
}

.service-nav-item.active {
    background: rgb(0, 92, 179);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 92, 179, 0.3);
    border-right-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.service-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: rgb(0, 92, 179);
    z-index: -1;
}

/* 大屏幕：确保图标不换行 */
@media (min-width: 1025px) {
    .services-nav {
        flex-wrap: nowrap;
    }
}

.service-nav-item .service-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease;
}

.service-nav-item.active .service-icon-wrapper {
    background: transparent;
}

.service-nav-item .service-icon {
    width: 28px;
    height: 28px;
    stroke: var(--gray-500);
    transition: all 0.3s ease;
}

.service-nav-item.active .service-icon {
    stroke: var(--white);
}

.service-nav-item .service-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-nav-item.active .service-label {
    color: var(--white);
    font-weight: 600;
}

/* 服务内容展示区域 */
.services-display {
    position: relative;
    min-height: 450px;
    margin-top: 0;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.service-detail {
    display: none;
    background: var(--white);
    border-radius: 0 0 4px 4px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-top: 0;
}

.service-detail.active {
    display: block;
    background: rgb(0, 92, 179);
    box-shadow: 0 8px 30px rgba(0, 92, 179, 0.3);
    border-top: none;
    overflow: visible;
}

.service-detail-content {
    display: flex;
    gap: 0;
    min-height: 450px;
    overflow: visible;
    padding: 10px;
}

.service-detail-image {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    transition: transform 0.5s ease;
    object-position: center;
    display: block;
}

.service-detail:hover .service-detail-image img {
    /* 移除缩放动画，避免视觉分离 */
}

.service-detail-info {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--gray-700);
    overflow: visible;
    border-radius: 0 4px 4px 0;
}

.service-detail.active .service-detail-info {
    color: var(--white);
}

.service-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-detail.active .service-detail-title {
    color: var(--white);
}

.service-detail-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--gray-600);
}

.service-detail.active .service-detail-desc {
    color: rgba(255, 255, 255, 0.9);
}

.service-detail-features {
    list-style: none;
}

.service-detail-features li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    color: var(--gray-700);
}

.service-detail.active .service-detail-features li {
    color: rgba(255, 255, 255, 0.95);
}

.service-detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgb(0, 92, 179) 0%, #3b82f6 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail.active .service-detail-features li::before {
    background: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 - 留学目的地区块 */
@media (max-width: 768px) {
    .destinations-section {
        padding: 40px 15px;
    }

    .destinations-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px 10px;
    }

    .destination-flag {
        width: 28px;
        height: 19px;
    }

    .destination-name {
        font-size: 11px;
    }
}

/* 响应式设计 - 服务区块 */
@media (max-width: 1024px) {
    .services-nav {
        flex-wrap: nowrap;
        gap: 0;
    }

    .service-nav-item {
        padding: 8px 4px;
        flex: 1;
        border-right: 1px solid var(--gray-200);
        margin-bottom: 0;
        border-radius: 4px 4px 0 0;
    }

    .service-nav-item:last-child {
        border-right: none;
    }

    .service-nav-item.active {
        border-right-color: rgba(255, 255, 255, 0.2);
    }

    .service-nav-item.active:last-child {
        border-right: none;
    }

    .service-nav-item .service-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .service-nav-item .service-icon {
        width: 22px;
        height: 22px;
    }

    .service-nav-item .service-label {
        font-size: 11px;
    }

    .services-display {
        margin-top: 0;
    }

    .service-detail-image {
        flex: 0 0 250px;
    }

    .service-detail-image img {
        min-height: 350px;
    }

    .service-detail-info {
        padding: 30px 35px;
    }
}

@media (max-width: 768px) {
    .services-nav {
        flex-wrap: nowrap;
        gap: 0;
    }

    .service-nav-item {
        padding: 5px 3px;
        flex: 1;
        border-right: 1px solid var(--gray-200);
        margin-bottom: 0;
        border-radius: 4px 4px 0 0;
    }

    .service-nav-item:last-child {
        border-right: none;
    }

    .service-nav-item.active {
        border-right-color: rgba(255, 255, 255, 0.2);
    }

    .service-nav-item.active:last-child {
        border-right: none;
    }

    .service-nav-item .service-icon-wrapper {
        width: 35px;
        height: 35px;
    }

    .service-nav-item .service-icon {
        width: 20px;
        height: 20px;
    }

    .service-nav-item .service-label {
        font-size: 10px;
    }

    .service-detail-content {
        min-height: 380px;
    }

    .service-detail-image {
        flex: 0 0 200px;
    }

    .service-detail-image img {
        min-height: 300px;
    }

    .service-detail-info {
        padding: 25px 30px;
    }

    .service-detail-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .service-detail-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .service-detail-features li {
        font-size: 13px;
        padding: 8px 0;
        padding-left: 28px;
    }
}

@media (max-width: 480px) {
    .services-nav {
        flex-wrap: wrap;
        gap: 4px;
    }

    .service-nav-item {
        padding: 4px 2px;
        flex: 1;
        border-right: 1px solid var(--gray-200);
        margin-bottom: 0;
        border-radius: 4px 4px 0 0;
    }

    .service-nav-item:last-child {
        border-right: none;
    }

    .service-nav-item.active {
        border-right-color: rgba(255, 255, 255, 0.2);
    }

    .service-nav-item.active:last-child {
        border-right: none;
    }

    .service-nav-item .service-icon-wrapper {
        width: 30px;
        height: 30px;
    }

    .service-nav-item .service-icon {
        width: 18px;
        height: 18px;
    }

    .service-nav-item .service-label {
        font-size: 9px;
    }

    .service-detail-content {
        min-height: 320px;
    }

    .service-detail-image {
        flex: 0 0 150px;
    }

    .service-detail-image img {
        min-height: 250px;
    }

    .service-detail-info {
        padding: 20px;
    }

    .service-detail-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-detail-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }
}

/* 成功案例 - 专业蓝色系渐变背景 */
.success-section {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 50%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

/* 添加装饰性元素 - 专业蓝色系 */
.success-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.success-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* 合作院校 */
.colleges-section {
    background: var(--white);
}

/* 响应式：平板优化 */
@media (max-width: 1024px) {
    .service-nav-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

/* 响应式：移动端优化 */
@media (max-width: 768px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
        gap: 4px;
    }

    .college-item {
        padding: 8px 4px;
    }

    .college-icon {
        width: 38px;
        height: 38px;
    }

    .college-name {
        font-size: 10px;
    }

    /* 服务section响应式 */
    .services-nav {
        gap: 0;
        margin-bottom: 0;
        flex-wrap: nowrap;
    }

    .service-nav-item {
        flex: 1;
        padding: 8px 5px;
        border-right: 1px solid var(--gray-200);
    }

    .service-nav-item:last-child {
        border-right: none;
    }

    .service-nav-item .service-icon-wrapper {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }

    .service-nav-item .service-icon {
        width: 28px;
        height: 28px;
    }

    .service-nav-item .service-title {
        font-size: 14px;
    }

    .services-display {
        min-height: auto;
    }

    .service-content-item {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        height: 250px;
    }

    .service-image img {
        min-height: 250px;
    }

    .service-info {
        padding: 30px 25px;
    }

    .service-info h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .service-info p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 30px;
    }
}

/* 行动号召 - 专业蓝色系渐变 */
.cta-section {
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 添加装饰性背景 */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-section .section-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-desc {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--white) 0%, #fff7ed 100%);
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.35);
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 18px 45px;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 联系我们 */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.contact-content p {
    color: var(--gray-600);
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    font-size: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--gray-50);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
    min-height: 140px;
    background: var(--gray-50);
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

.form-textarea::placeholder {
    color: var(--gray-400);
}

.btn-submit {
    width: 100%;
    background: rgb(255, 191, 0);
    color: rgb(51, 51, 51);
    padding: 10px 36px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: none;
}

.btn-submit:hover {
    background: rgb(230, 172, 0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 联系我们表单消息框 */
#contactFormMessage {
    text-align: center;
    animation: fadeIn 0.3s ease;
}

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

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 80px 20px 30px;
    position: relative;
    overflow: hidden;
}

/* 添加装饰性光晕 */
.footer::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-300);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-light);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow), 0 8px 25px rgba(30, 64, 175, 0.35);
    border-color: transparent;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 15px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: var(--gray-400);
}

.btn-newsletter {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 18px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 8px 20px rgba(30, 64, 175, 0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    color: var(--gray-400);
}

.footer-bottom p {
    margin-bottom: 8px;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        justify-content: flex-start;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 0;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
    }

    /* 移动端菜单文字强制深色，覆盖全局的白色设置 */
    .nav-menu a,
    .nav-menu .menu-item a,
    .nav-menu .page_item a,
    .nav-link {
        color: var(--gray-900) !important;
    }

    /* 移动端链接hover状态 */
    .nav-menu a:hover,
    .nav-menu .menu-item a:hover,
    .nav-menu .page_item a:hover,
    .nav-link:hover {
        color: var(--gray-900) !important;
    }

    .nav-link {
        padding: 15px 20px;
        border-radius: 5px;
        width: 100%;
        display: block;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    /* 移动端移除hover效果，因为触控屏没有真正的hover状态 */
    .nav-link:hover {
        background: transparent;
    }

    /* 移动端保留CTA按钮并调整样式 */
    .nav-cta-btn {
        display: inline-block !important;
        padding: 8px 20px !important;
        font-size: 13px !important;
        margin-left: auto !important;
        margin-right: 12px !important;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
        gap: 3px;
    }

    .college-item {
        padding: 6px 3px;
        gap: 3px;
    }

    .college-icon {
        width: 32px;
        height: 32px;
    }

    .college-name {
        font-size: 9px;
        line-height: 1.1;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 70px;
}

/* 关于我们部分 */
.about-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
}

.about-content {
    margin-bottom: 60px;
}

.about-intro h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.about-intro p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.team-section {
    margin-top: 40px;
}

.team-container {
    max-width: 600px;
    margin: 0 auto;
}

.team-founder {
    max-width: 600px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.founder-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.founder-info {
    padding: 30px;
    flex: 1;
}

.founder-info h4 {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.founder-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.founder-desc {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

/* 留学流程部分 - 专业蓝色系渐变背景 */
.process-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-50) 50%, #dbeafe 100%);
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-item {
    background: var(--white);
    padding: 24px 20px 20px 20px;
    border-radius: 0;
    border: 1px solid #d1d5db;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d1d5db;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.process-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255, 191, 0);
    color: rgb(51, 51, 51);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    box-shadow: 0 2px 8px rgba(255, 191, 0, 0.3);
    flex-shrink: 0;
}

.process-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    text-align: left;
}

.process-content > p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
}

.process-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 12px;
}

.process-list li {
    color: var(--gray-700);
    font-size: 13px;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 0;
    display: inline-block;
    text-align: left;
}

/* 核心优势部分 */
.advantages-section {
    background: var(--white);
    position: relative;
    padding: 60px 20px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    background: var(--white);
    border-radius: 0;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

/* 右上角战旗样式书签图案 */
.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 80px;
    background: rgb(0, 92, 179);
    clip-path: polygon(30px 0, 60px 0, 60px 60px, 30px 80px, 0 60px);
    z-index: 0;
}

/* 确保内容在书签上方 */
.advantage-header,
.advantage-content {
    position: relative;
    z-index: 1;
}

/* 图标和标题水平排列 */
.advantage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.advantage-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 0;
    flex-shrink: 0;
}

.advantage-icon {
    width: 32px;
    height: 32px;
    color: var(--gray-600);
}

.advantage-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.advantage-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.advantage-card:hover::after {
    background: #3b82f6;
}

.advantage-card:hover .advantage-icon {
    color: var(--primary);
}

.advantage-card:hover .advantage-icon-wrapper {
    background: var(--primary-50);
}

.advantage-content {
    flex: 1;
}

.advantage-desc {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* 成功案例部分 */
.success-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 80px 20px;
}

/* 数字概要 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.stat-card {
    background: var(--white);
    padding: 28px 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    border-radius: 0;
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 0.6em;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: 50%;
    color: var(--primary);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 0.6em;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
}

/* 学生心声轮播 */
.testimonials-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    overflow: hidden; /* 隐藏溢出内容 */
    padding: 0 40px;
}

.testimonials-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    will-change: transform;
}

.testimonial-card {
    flex-shrink: 0;
    width: calc(50% - 12px);
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    gap: 28px;
    align-items: center;
    overflow: hidden;
}

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

.testimonial-quote {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 0;
}

.quote-icon {
    width: 80px;
    height: 80px;
    color: var(--gray-300);
    opacity: 0.35;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 120px;
    background: var(--gray-100);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    order: 2;
}

.avatar-silhouette {
    width: 80px;
    height: 100px;
    color: inherit;
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    order: 1;
}

.testimonial-card[data-avatar-color="#60a5fa"] .testimonial-avatar {
    background: #f0f7ff;
}

.testimonial-card[data-avatar-color="#60a5fa"] .avatar-silhouette {
    color: #6eb5ff;
}

.testimonial-card[data-avatar-color="#f472b6"] .testimonial-avatar {
    background: #fff0f5;
}

.testimonial-card[data-avatar-color="#f472b6"] .avatar-silhouette {
    color: #f68cc0;
}

.testimonial-card[data-avatar-color="#34d399"] .testimonial-avatar {
    background: #f0fdfa;
}

.testimonial-card[data-avatar-color="#34d399"] .avatar-silhouette {
    color: #5cdeb8;
}

.testimonial-card[data-avatar-color="#a78bfa"] .testimonial-avatar {
    background: #f5f3ff;
}

.testimonial-card[data-avatar-color="#a78bfa"] .avatar-silhouette {
    color: #bfa5ff;
}

.testimonial-card[data-avatar-color="#fb923c"] .testimonial-avatar {
    background: #fff7ed;
}

.testimonial-card[data-avatar-color="#fb923c"] .avatar-silhouette {
    color: #ffb366;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    order: 1;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 0;
    font-style: italic;
    order: 2;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.author-school {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* 轮播控制按钮 */
.testimonial-prev-btn,
.testimonial-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-500);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.testimonial-prev-btn.active,
.testimonial-next-btn.active {
    background: rgb(255, 191, 0);
    color: rgb(51, 51, 51);
    box-shadow: 0 8px 25px rgba(255, 191, 0, 0.35);
}

.testimonial-prev-btn:hover,
.testimonial-next-btn:hover {
    /* hover效果由active类控制，无需额外样式 */
}

.testimonial-prev-btn:active,
.testimonial-next-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.testimonial-prev-btn {
    left: 15px;
}

.testimonial-next-btn {
    right: 15px;
}

/* 轮播指示器 */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.testimonial-dots .testimonial-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    outline: none;
    padding: 0 !important;
    flex-shrink: 0;
}

.testimonial-dots .testimonial-dot.active {
    background: rgb(255, 191, 0) !important;
}

.testimonial-dots .testimonial-dot:hover {
    background: rgb(255, 191, 0) !important;
}

/* testimonials响应式 - 小屏幕显示1个 */
@media (max-width: 767px) {
    .testimonial-card {
        width: 100%;
        padding: 24px;
    }

    /* 隐藏头像 */
    .testimonial-avatar {
        display: none;
    }

    /* 姓名和学校并排显示，底部对齐 */
    .author-info {
        flex-direction: row;
        align-items: flex-end;
        gap: 8px;
    }

    .quote-icon {
        width: 64px;
        height: 64px;
    }

    .testimonial-prev-btn,
    .testimonial-next-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* 已录取院校 */
/* 已录取院校 */
.colleges-section {
    max-width: 1200px;
    margin: 0 auto;
}

.colleges-header {
    text-align: center;
    margin-bottom: 40px;
}

.colleges-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.colleges-subtitle {
    font-size: 16px;
    color: var(--gray-600);
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
}

.college-item {
    background: var(--white);
    padding: 12px 8px;
    text-align: center;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.college-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 1px;
    background: var(--white);
}

.college-icon svg {
    width: 100%;
    height: 100%;
}

.college-icon img.college-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.college-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
    text-align: center;
}

.timeline-section {
    background: linear-gradient(180deg, var(--white) 0%, #fef3c7 100%);
    position: relative;
}

.timeline-container {
    display: grid;
    gap: 30px;
}

.timeline-month {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

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

.timeline-month-header {
    background: var(--gradient-primary);
    padding: 20px 30px;
}

.timeline-month-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.timeline-tasks {
    padding: 25px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.timeline-task {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-task:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-primary);
}

.timeline-task h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-task p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .college-icon {
        width: 58px;
        height: 58px;
    }

    .college-name {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .college-icon {
        width: 55px;
        height: 55px;
    }

    .college-name {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }

    .college-icon {
        width: 50px;
        height: 50px;
    }

    .college-name {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        gap: 12px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        padding: 24px 20px;
        border-radius: 0;
    }

    .advantage-card::after {
        width: 50px;
        height: 65px;
        clip-path: polygon(25px 0, 50px 0, 50px 50px, 25px 65px, 0 50px);
    }

    .advantage-icon-wrapper {
        border-radius: 0;
    }

    /* 成功案例响应式 */
    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 13px;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    /* 小屏幕下申请流程优化 */
    .process-number {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .process-content h3 {
        font-size: 17px;
    }

    .process-content > p {
        font-size: 14px;
    }

    .process-list li {
        font-size: 12px;
        padding: 3px 8px;
    }
}
}

@media (max-width: 480px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-header {
        justify-content: center;
    }

    .process-list {
        justify-content: center;
    }

    .process-content h3 {
        font-size: 15px;
    }

    .advantage-icon {
        font-size: 28px;
        width: auto;
    }

    .advantage-title {
        font-size: 15px;
    }

    .advantage-desc {
        font-size: 13px;
    }

    /* 成功案例小屏幕响应式 */
    .stats-grid {
        gap: 6px;
    }

    .stat-card {
        padding: 16px 10px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .college-item {
        padding: 10px 6px;
    }

    .college-icon {
        width: 50px;
        height: 50px;
    }

    .college-name {
        font-size: 11px;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .founder-photo {
        width: 120px;
        height: 120px;
    }

    .founder-info {
        padding: 15px;
    }

    .founder-info h4 {
        font-size: 20px;
    }

    .founder-role {
        font-size: 16px;
    }

    .founder-desc {
        font-size: 14px;
    }

    .process-item {
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: 0;
    }

    .process-header {
        justify-content: center;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .timeline-tasks {
        grid-template-columns: 1fr;
    }

    .destination-list {
        width: 100%;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}
