/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #ed6c00;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #ed6c00;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ed6c00;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ed6c00;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('sources/background.jpg') no-repeat center center/cover;
    overflow: hidden;
    margin-top: 70px; /* 增加上边距以避免被导航栏遮挡 */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
    margin-bottom: 10px;
    text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff;
}

.title-line:nth-child(1) {
    animation-delay: 0s;
    color: #ed6c00;
    font-size: 1.1em;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
    color: #1463dc;
    font-size: 0.9em;
    font-weight: 600;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
    color: #0584e1;
    font-size: 0.8em;
    font-weight: 400;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ed6c00;
    color: white;
    box-shadow: 0 4px 15px rgba(237, 108, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 108, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* 浮动卡片 */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 20px;
    animation-delay: 2s;
}

.card-3 {
    top: 180px; /* 调整后的 top 值 */
    left: 0px; /* 调整后的 left 值 */
    animation-delay: 4s;
}

.floating-card h3 {
    color: #ed6c00;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.floating-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 背景元素 */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite, float-vertical 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: 7s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 5%;
    animation-delay: 14s;
}

@keyframes float-vertical {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px; /* 默认值 */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ed6c00;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* 招聘岗位 */
.jobs-section {
    padding: 100px 0; /* 默认值 */
    background: #f8f9fa;
}

.job-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.tab-link {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-link:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.tab-link.active {
    background: #ed6c00;
    color: white;
    border-color: #ed6c00;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.job-category {
    margin-bottom: 60px;
}

.job-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ed6c00;
    border-radius: 2px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.job-card {
    background: transparent; /* 修改为边框线样式 */
    border: 1px solid #ccc; /* 添加边框线 */
    border-radius: 10px; /* 调整圆角 */
    padding: 15px; /* 进一步缩减框框大小 */
    /* box-shadow: none; */ /* 移除阴影 */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* .job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ed6c00, #ff8c00);
} */ /* 移除伪元素 */

.job-card:hover {
    transform: translateY(-5px); /* 调整hover效果 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 调整hover阴影 */
}

.job-icon {
    display: none; /* 取消图标展示 */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.job-card h3 {
    font-size: 1.1rem; /* 缩小文字 */
    font-weight: 600;
    color: #333;
    margin-bottom: 10px; /* 调整间距 */
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem; /* 缩小文字 */
    font-weight: 500;
}

.job-desc {
    color: #666;
    font-size: 0.85rem; /* 缩小文字 */
    margin-bottom: 15px; /* 调整间距 */
    line-height: 1.5;
}


.btn-job {
    width: 100%;
    padding: 10px; /* 缩小按钮 */
    background: #ed6c00;
    color: white;
    border: none;
    border-radius: 8px; /* 调整圆角 */
    font-weight: 600;
    font-size: 0.9rem; /* 缩小文字 */
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-job:hover {
    background: #d55a00;
    transform: translateY(-2px);
}

/* 公司简介 */
.about-us-section {
    padding: 100px 0; /* 默认值 */
    position: relative;
    overflow: hidden;
    color: white;
}

.about-us-section #companyVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
}

.about-us-section .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.about-us-section .section-header .section-title,
.about-us-section .section-header .section-subtitle {
    color: white;
}

.about-us-section .company-intro {
    position: relative;
    z-index: 2;
}

.about-us-section .intro-text h3 {
    color: white;
}

.about-us-section .intro-text p {
    color: #eee;
}

.about-us-section .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.about-us-section .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.about-us-section .stat-label {
    color: #eee;
}

.company-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ed6c00;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* 企业优势 */
.advantages-section {
    padding: 100px 0; /* 默认值 */
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 公司历程 */
.company-section {
    padding: 0; /* Remove padding as timeline has its own */
    position: relative;
    overflow: hidden;
}

/* 企业荣誉 */
.honors-section {
    padding: 100px 0; /* 默认值 */
    background: white;
}

.honors-section .honors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.honors-section .honor-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.honors-section .honor-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.honors-section .honor-year {
    background: #ed6c00;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.honors-section .honor-title {
    color: #333;
    font-weight: 500;
}


/* 荣誉照片墙 */
.honors-gallery {
    margin-top: 40px;
}

.honors-gallery h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.honor-photo {
    position: relative;
    height: 560px; /* 增加高度以适应更宽的尺寸 */
    background: url('sources/honor-photo.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.photo-placeholder {
    display: none; /* Replaced with background image */
}

.gallery-item:hover .photo-placeholder {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.photo-year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    background: #ed6c00;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* 企业发展历程 */
.company-timeline {
    margin-top: 80px;
    padding: 80px 20px; /* Add some horizontal padding */
    position: relative;
    background: url('./sources/mountains.jpg') no-repeat center center/cover;
    color: white;
}

.company-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.company-timeline h3 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: white;
}

.company-timeline h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.timeline-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.timeline-container {
    display: flex;
    gap: 30px;
    padding: 20px 10px;
    /* transition 属性由 JavaScript 控制，这里移除 */
    /* transition: transform 0.5s ease-in-out; */
}

.timeline-item {
    flex: 0 0 280px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ed6c00;
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.timeline-detail p {
    font-size: 0.9rem;
    color: #eee;
    line-height: 1.6;
}

.timeline-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    z-index: 2;
    position: relative;
}

.timeline-btn {
    background: #ed6c00;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-btn:hover {
    background: #ff8c00;
    transform: scale(1.1);
}

.timeline-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
}

.timeline-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    z-index: 2;
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.timeline-dot.active {
    background: #ed6c00;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(237, 108, 0, 0.5);
}

/* 招聘流程 */
.process-section {
    padding: 100px 0; /* 默认值 */
    background: #f8f9fa;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 4px;
    background: #ed6c00;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ed6c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    position: relative;
    margin-bottom: 20px;
}

.step-content {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 180px;
}

.step-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 立即投递 */
.apply-section {
    padding: 100px 0; /* 默认值 */
    background: white;
}

.apply-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.qr-code-container {
    text-align: center;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.qr-code-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.qr-code-container img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qr-code-container p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.apply-steps h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
}

.apply-steps ol {
    list-style: none;
    padding: 0;
}

.apply-steps li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.apply-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #ed6c00;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 15px;
}

/* 公司环境 */
.environment-section {
    padding: 100px 0; /* 默认值 */
    background: #f8f9fa;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.env-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.env-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.env-image {
    height: 220px;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
}

.env-item-content {
    padding: 25px;
    text-align: center;
}

.env-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.env-item p {
    color: #666;
    line-height: 1.6;
}

/* 底部 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section h3 {
    color: #ed6c00;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section p a {
    color: #ed6c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #ed6c00;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ed6c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ed6c00;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ed6c00;
}

.footer-qr-codes {
    display: flex;
    gap: 20px;
}

.qr-code-item {
    text-align: center;
}

.qr-code-item img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code-item p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    overflow-y: auto; /* 添加滚动条 */
    max-height: 80vh; /* 限制最大高度 */
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ed6c00;
}

/* 动画 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .jobs-section,
    .about-us-section,
    .advantages-section,
    .honors-section,
    .process-section,
    .apply-section,
    .environment-section {
        padding: 60px 0; /* 缩小垂直间距 */
    }
    
    .container {
        padding: 0 30px; /* 增加左右内边距 */
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px; /* 缩小间隙 */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-line:nth-child(1) {
        font-size: 1.2em;
    }
    
    .title-line:nth-child(2) {
        font-size: 1em;
    }
    
    .title-line:nth-child(3) {
        font-size: 0.85em;
        display: none; /* 在手机端隐藏"智能制造赛道已点亮，就等你的技能加载！" */
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-qr-codes {
        flex-direction: row; /* 改回横向排列 */
        justify-content: center; /* 水平居中 */
        gap: 20px; /* 添加间距 */
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 20px;
    }
    
    .company-intro {
        grid-template-columns: 1fr;
        gap: 30px; /* 缩小间隙 */
    }

    .company-intro .intro-text p:nth-child(1) {
        display: none;/* 手机端隐藏第二段内容 */
    }
    
    .intro-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0 15px; /* 增加左右内边距 */
    }
    
    .stat-item {
        padding: 25px 20px; /* 调整统计项的内边距 */
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* 缩小间隙 */
    }
    
    .process-timeline::before {
        top: 0;
        left: 30px;
        width: 4px;
        height: 100%;
    }
    
    .process-step {
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: none;
        padding-left: 60px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        margin-bottom: 0;
    }
    
    .step-content {
        margin-left: 20px;
        text-align: left;
        max-width: none;
        width: calc(100% - 80px);
    }
    
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* 缩小间隙 */
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .honors-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .honor-photo {
        height: 150px;
    }
    
    .photo-placeholder {
        font-size: 3rem;
    }
    
    .company-timeline {
        padding: 40px 20px;
        margin-top: 0;
    }
    
    .company-timeline h3 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .timeline-wrapper {
       /* overflow-x: auto;  改回 auto，允许原生滚动 */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory; /* 重新添加 scroll-snap-type */
        padding-bottom: 20px; /* Add some space for scrollbar */
    }
    
    .timeline-container {
        flex-direction: row; /* Change to row for horizontal scroll */
        align-items: flex-start;
        gap: 30px;
        /* transform: none !important; */ /* 允许JS控制transform */
        width: max-content; /* Allow content to define width for scrolling */
        padding: 0 20px; /* Add horizontal padding for items */
    }
    
    .timeline-container::before {
        display: none; /* Hide vertical line for horizontal scroll */
    }
    
    .timeline-item {
        flex-direction: column; /* Year and content stacked */
        align-items: center;
        width: 200px; /* Fixed width for each item */
        flex: 0 0 auto; /* Prevent items from stretching */
        padding: 20px; /* Adjust padding */
        scroll-snap-align: start; /* Snap to start of item */
        text-align: center; /* Center text */
    }
    
    .timeline-year {
        position: static; /* Remove absolute positioning */
        margin-bottom: 10px; /* Adjust margin */
        transform: none !important;
    }
    
    .timeline-content {
        margin: 0; /* Remove left margin */
        text-align: center; /* Center text */
        width: 100%; /* Take full width of item */
        min-height: auto;
    }
    
    .timeline-item:hover {
        transform: translateY(-10px); /* Keep hover effect */
    }
    
    .timeline-detail {
        opacity: 1;
        max-height: none;
    }
    
    .timeline-controls {
        display: none;
    }
}

@media (max-width: 480px) {
    .jobs-section,
    .about-us-section,
    .advantages-section,
    .honors-section,
    .process-section,
    .apply-section,
    .environment-section {
        padding: 40px 0; /* 进一步缩小垂直间距 */
    }

    .section-header {
        margin-bottom: 30px; /* 进一步缩小标题底部间距 */
    }

    .container {
        padding: 0 20px; /* 增加容器左右内边距，防止内容被边缘遮挡 */
    }
    
    .company-intro {
        gap: 30px; /* 减小间隙 */
    }
    
    .intro-stats {
        gap: 15px; /* 减小间隙 */
        padding: 0 10px; /* 增加左右内边距 */
    }
    
    .stat-item {
        padding: 20px 15px; /* 调整统计项的内边距 */
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .title-line:nth-child(1) {
        font-size: 1.3em;
    }
    
    .title-line:nth-child(2) {
        font-size: 1.1em;
    }
    
    .title-line:nth-child(3) {
        font-size: 0.9em;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .apply-content {
        grid-template-columns: 1fr;
    }

    .apply-steps {
        display: none;
    }

    .job-card .job-tags,
    .job-card .job-desc,
    .job-card .btn-job {
        display: none;
    }

    .job-card {
        text-align: center;
        padding: 10px; /* 进一步缩小小屏幕下的框框大小 */
        cursor: pointer;
    }

    .job-card h3 {
        font-size: 1rem; /* 缩小小屏幕下的文字 */
        margin-bottom: 0;
    }

    .advantages-section .container,
    .environment-section .container {
        padding: 0;
    }

    .advantages-grid,
    .environment-grid {
        display: flex;
        overflow-x: auto; /* 改回 auto，允许原生滚动 */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory; /* 重新添加 scroll-snap-type */
        padding: 15px; /* 缩小内边距 */
        gap: 15px; /* 缩小间隙 */
    }

    .advantages-grid::-webkit-scrollbar,
    .environment-grid::-webkit-scrollbar {
        display: none;
    }

    .advantage-item,
    .env-item {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }
}

/* 进度条样式 */
.progress-container {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%)!important; 
    width: 220px;
    z-index: 100;
    /* animation: float 3s ease-in-out infinite; 添加动画 */
}

.progress-bar {
    border: 2px solid #4a99d4;
    border-radius: 12px;
    background-color: #fff;
}


.progress-bar-fill {
    fill: #4a99d4;
    transition: width 0.3s ease-in-out;
}

/* 弹窗样式 */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #adadad; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 确保在最上层 */
}

.maintenance-modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.maintenance-modal input {
    margin-bottom: 10px;
}

#imageModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#imageModal img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
