/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
html {
    scroll-behavior: smooth;
}
/* body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
} */
body {
	font-family: 'Noto Sans JP', 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

/* 基础文本样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1D2129;
    line-height: 1.3;
}

p {
    font-size: 16px;
    color: #4E5969;
    line-height: 1.6;
}

/* 粒子背景容器 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #0F3460;
}

/* 预加载动画 */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F3460;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #d3ab3e;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 卡片样式 */
.feature-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 导航栏样式 */
.nav-scrolled {
    background-color: rgba(15, 52, 96, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 联系浮窗动画 */
.contact-popup {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}
.contact-popup.active {
    transform: translateX(0);
}

/* 微信二维码悬停效果 - 修复为矩形显示 */
.wechat-qrcode {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    right: 100%;
    margin-right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 180px; /* 调整为矩形尺寸 */
    height: 220px; /* 调整为矩形尺寸 */
    border: 4px solid white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: cover; /* 确保图片正确显示 */
}
.wechat-btn {
    position: relative;
    z-index: 51;
}
.wechat-btn:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

/* 电话图标的悬停效果 */
.phone-btn {
    position: relative;
    z-index: 51;
}
.phone-popup {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    right: 100%;
    margin-right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background-color: white;
    color: #0F3460;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
    font-weight: 500;
}
.phone-btn:hover .phone-popup {
    opacity: 1;
    visibility: visible;
}

/* 视频播放覆盖层 */
.video-overlay {
    cursor: pointer;
}
#video-info{
    bottom: 1rem;
}

#video-info .font-medium{
    color: #d3ab3e;
}
/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.5;
}

.btn-primary {
    color: #fff;
    background-color: #0F3460;
    border: 1px solid #0F3460;
}
.btn-primary:hover {
    background-color: #1A3A6E;
}

.btn-accent {
    color: #0F3460;
    background-color: #d3ab3e;
    border: 1px solid #d3ab3e;
}
.btn-accent:hover {
    background-color: #c49c2d;
}

.btn-outline {
    color: #fff;
    background-color: transparent;
    border: 1px solid #d3ab3e;
}
.btn-outline:hover {
    color: #0F3460;
    background-color: #d3ab3e;
}

/* 圆角按钮变体 */
.btn-rounded {
    border-radius: 30px;
}

/* 底部联系我们文字颜色修复 */
#contact {
    color: #ffffff;
}
#contact h2, 
#contact h3, 
#contact p, 
#contact span {
    color: #ffffff !important;
}
#contact .text-gray-300 {
    color: #e2e8f0 !important;
}
#contact .text-accent {
    color: #d3ab3e !important;
}

/* 合格访谈轮播样式 */
.testimonials-slider {
    overflow: hidden;
    position: relative;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonials-group {
    min-width: 100%;
    display: flex;
    justify-content: center;
}
.testimonial-card {
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background-color: #0F3460;
    width: 30px;
    border-radius: 5px;
}

/* 服务流程轮播样式 */
.process-slider {
    overflow: hidden;
    position: relative;
}
.process-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.process-item {
    min-width: 33.333%; /* 每次显示3个 */
    padding: 0 10px;
    box-sizing: border-box;
}


  @media (max-width: 768px) {
      .process-slider {
          overflow: visible !important; /* 强制移除滚动限制 */
      }
      .process-track {
          display: block !important; /* 强制改为块级显示 */
          transform: none !important; /* 强制取消滚动变换 */
      }
      .process-item {
          min-width: 100% !important; /* 强制占满宽度 */
          margin-bottom: 2rem; /* 保持间距 */
      }
      /* 新增：隐藏轮播控制按钮（若有） */
      .process-controls {
          display: none !important;
      }
	  #pc-lang{
		  display: none;
	  }
  }
  @media (min-width: 769px) {
      .process-slider {
          overflow: hidden; /* 保留滚动限制 */
      }
      .process-track {
          display: flex; /* 保持flex布局 */
          transition: transform 0.5s ease-in-out; /* 保留过渡动画 */
      }
      .process-item {
          min-width: 33.333%; /* 每次显示3个（原有逻辑保留） */
          padding: 0 10px;
          box-sizing: border-box;
      }
  }

.process-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.process-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 向下滚动按钮样式 - 优化动画效果 */
.scroll-down-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-medium;
    color: white;
    animation: bounce 2.5s infinite; /* 调整动画周期 */
    z-index: 10;
}

/* 优化滚动按钮动画 - 减小弹跳幅度 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translate(-50%, 0);}
    40% {transform: translate(-50%, -10px);} /* 减小向上移动距离 */
    60% {transform: translate(-50%, -5px);}  /* 减小向上移动距离 */
}

/* 精灵图开始 */

            
.un-logo-1 {
    background-position: 0 0;
}
.un-logo-2 {
    background-position: -60px 0;
}
.un-logo-3 {
    background-position: -120px 0;
}
.un-logo-4 {
    background-position: -180px 0;
}
.un-logo-5 {
    background-position: -240px 0;
}
.un-logo-6 {
    background-position: 0px -60px;
}
.un-logo-7 {
    background-position: -60px -60px;
}
.un-logo-8 {
    background-position: -120px -60px;
}
.un-logo-9 {
    background-position: -180px -60px;
}
.un-logo-10 {
    background-position: -240px -60px;
}
.un-logo-11 {
    background-position: 0px -120px;
}
.un-logo-12 {
    background-position: -60px -120px;
}
.un-logo-13 {
    background-position: -120px -120px;
}
.un-logo-14 {
    background-position: -180px -120px;
}

/* 八大学院新样式 */
#colleges {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
#colleges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(15,52,96,0.03) 0%, rgba(255,255,255,0) 100%);
}

.colleges-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.colleges-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.colleges-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #d3ab3e;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    align-items: start; /* 关键修改：使卡片顶部对齐，不自动拉伸高度 */
}

@media (min-width: 640px) {
    .college-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .college-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .college-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.w-5-fix{
    width: 1.6rem;
}
.college-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: auto; /* 确保卡片高度自动适应内容 */
}

.college-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.college-image-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

.college-card:hover .college-image {
    transform: scale(1.08);
}

.college-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15,52,96,0) 0%, rgba(15,52,96,0.7) 100%);
}

.college-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.college-title-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.college-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F3460;
    transition: color 0.3s ease;
}

.difficulty-badge {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

.college-card:hover .college-title {
    color: #d3ab3e;
}

.college-toggle {
    color: #0F3460;
    background-color: #f1f5f9;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.college-toggle.active {
    transform: rotate(180deg);
    background-color: #d3ab3e;
    color: white;
}

.college-content {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease;
    background-color: #ffffff;
}

.college-content.active {
    max-height: 500px;
    padding: 1.25rem;
}

.college-description {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.college-jobs {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.college-jobs h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #0F3460;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.college-jobs h4 i {
    margin-right: 0.5rem;
    color: #d3ab3e;
    font-size: 1rem;
}

.jobs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-tag {
    font-size: 0.85rem;
    background-color: #eef2ff;
    color: #3b5bdb;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.job-tag:hover {
    background-color: #3b5bdb;
    color: white;
}

/* 学院图标装饰 */
.college-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #0F3460;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 难度标识说明 */
.difficulty-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    flex-wrap: wrap;
    max-width: 600px;
}

.difficulty-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}



/* 校区信息样式 */
.campus-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}
.campus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.campus-image {
    height: 300px;
    object-fit: cover;
}
.campus-details {
    padding: 2rem;
}
.campus-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.campus-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* 就职辅导样式 */
.job-coaching-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}
.job-coaching-item:last-child {
    border-bottom: none;
}
.job-coaching-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(15, 52, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.job-coaching-icon i {
    font-size: 2rem;
    color: #0F3460;
}

/* 内推企业样式 - 仿照huoban.com的网格布局 */
.recruitment-partners {
    background-color: #f8fafc;
    padding: 5rem 0;
    margin-top: 3rem;
}

.partner-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partner-section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F3460;
    margin-bottom: 1rem;
}

.partner-section-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* 入塾流程样式 - 新版设计 */
.admission-process {
    position: relative;
    margin: 6rem 0;
}

.process-header {
    text-align: center;
    margin-bottom: 6rem;
}

.process-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F3460;
    margin-bottom: 1rem;
}

.process-header p {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* PC端时间线 */
.timeline-pc {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-pc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #e2e8f0;
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-content {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 52, 96, 0.05);
}

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

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #0F3460;
    top: 2rem;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0F3460;
    color: white;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-right: 1rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F3460;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* 移动端流程卡片 */
.timeline-mobile {
    display: none;
}

.process-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border-left: 4px solid #0F3460;
}

.process-card-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-card-header h4 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F3460;
}

.process-card-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.process-card-content.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.card-toggle {
    transition: transform 0.3s ease;
}

.card-toggle.active {
    transform: rotate(180deg);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 隐藏PC端时间线，显示移动端卡片 */
    .timeline-pc {
        display: none;
    }
    
    .timeline-mobile {
        display: block;
    }
    
    /* 调整内推企业网格 */
    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .partner-item {
        height: 60px;
    }
    #video-info {
        bottom: 0.4rem;
        left: 0.4rem;
        right: 0.4rem;
        padding: 2vw;
    }
    #play-icon{
        width: 10vw;
        height: 10vw;
    }
}

