*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* 强制防止水平滚动 */
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.main-header {
    background-color: #ffffff;
    padding: 10px 5%;
    border-bottom: 1px solid #e0e0e0;
    position: fixed; /* 改为 fixed 定位 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%; /* 确保宽度是100% */
    box-sizing: border-box; /* 确保 padding 不会影响总宽度 */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 14px;
    line-height: 1.2;
    color: #1e64c3;
}

.logo-text-short {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a .subtitle {
    font-size: 10px;
    font-weight: normal;
    color: #888;
    margin-top: 2px;
    text-transform: uppercase;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #5B6600;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #333;
}

.contact-button {
    background-color: #4299e1;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
}

.contact-button i {
    margin-right: 8px;
}

.contact-button:hover {
    background-color: #3182ce;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: left;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 25s infinite, kenburns 40s infinite;
}

.bg-image:nth-child(1) { animation-delay: 0s, 0s; }
.bg-image:nth-child(2) { animation-delay: 5s, 0s; }
.bg-image:nth-child(3) { animation-delay: 10s, 0s; }
.bg-image:nth-child(4) { animation-delay: 15s, 0s; }
.bg-image:nth-child(5) { animation-delay: 20s, 0s; }

@keyframes fade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-5px, 5px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-text-container {
    position: relative;
    z-index: 3;
    padding-left: 10%;
    width: 80%; /* Adjust width as needed */
}

.hero-text {
    position: absolute;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.hero-text.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-text h1 {
    font-size: 96px;
    margin: 0;
    font-weight: normal;
    letter-spacing: -0.04em;
}

.hero-text p {
    font-size: 24px;
    margin-top: 20px;
}

.hero-link {
    margin-top: 40px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.project-link .arrow {
    margin-right: 10px;
    font-size: 18px;
}

.our-services-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 0 5%;
}

.section-header {
    max-width: 600px;
}

.section-tag {
    color: #666;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 48px;
    color: #333;
    margin: 20px 0 40px 0;
    line-height: 1.2;
    font-weight: normal;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #666;
}

.learn-more .arrow {
    margin-right: 10px;
    font-size: 16px;
}

.projects-section, .about-section, .contact-section {
    position: relative;
    min-height: 100vh;
    padding: 60px 5%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qualifications-section {
    min-height: 100vh;
    padding: 60px 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-section {
    position: relative;
    min-height: 100vh;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../assets/power-lines-detailed.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
    overflow: hidden;
}

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

.services-section h2, .projects-section h2, .qualifications-section h2, .about-section h2, .contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-philosophy {
    text-align: center;
    margin: -20px auto 50px auto; /* Pulls it closer to the title */
    font-size: 22px;
    font-weight: 300;
    color: #333;
    letter-spacing: 3px; /* Adds spacing for emphasis */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: transparent;
    perspective: 1000px;
    min-height: 360px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.4s; }
.service-item:nth-child(4) { transition-delay: 0.6s; }

.service-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-item:hover .service-item-inner {
    transform: rotateY(180deg);
}

.service-item-front, .service-item-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
}

.service-item-front {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
    backdrop-filter: blur(5px);
    color: #333;
}

.service-item-front i {
    color: #4299e1;
    margin-bottom: 15px;
}

.service-item-front h3 {
    font-size: 22px;
}

.service-item-back {
    color: white;
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 服务背景图片加载状态 */
.service-item-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-item-back.loaded::before {
    opacity: 0;
}

.service-item-back .service-content {
    position: relative;
    z-index: 2;
}

.service-item-back-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.service-item-back h3 {
    font-size: 22px;
}

.service-item-back p {
    font-size: 14px;
}

.service-item-back i {
    margin-bottom: 15px;
    color: #fff;
}

/* 项目展示容器 */
.projects-display-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: stretch; /* 确保子元素等高 */
}

/* 左侧图文展示区域 */
.projects-visual-section {
    flex: 2.5;
    min-width: 0; /* 防止flex子项溢出 */
    display: flex;
    flex-direction: column;
}

/* 右侧项目列表区域 */
.projects-list-section {
    flex: 0.75;
    min-width: 280px;
    max-width: 350px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    position: sticky;
    top: 100px;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.projects-list-section:hover {
    border-color: #4299e1;
}

/* 项目列表头部 */
.projects-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.projects-list-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.project-count {
    font-size: 14px;
    color: #666;
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 12px;
}

/* 项目列表 */
.projects-list {
    flex: 1;
    overflow: hidden; /* 移除滚动条 */
    display: flex;
    flex-direction: column;
}

.projects-list::-webkit-scrollbar {
    width: 6px;
}

.projects-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.projects-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.projects-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 项目列表项 */
.project-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 3px;
    gap: 8px;
}

/* 项目列表编号 */
.project-list-number {
    width: 22px;
    height: 22px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.project-list-item:hover {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.project-list-item:last-child {
    border-bottom: none;
}

/* 项目列表信息 */
.project-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-list-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-title-text {
    flex: 1;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-list-type {
    font-size: 11px;
    color: #007bff;
    background-color: #e3f2fd;
    padding: 2px 5px;
    border-radius: 8px;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-list-date {
    font-size: 12px;
    color: #666;
    display: none; /* 隐藏日期使列表更紧凑 */
}

/* 项目列表箭头 */
.project-list-arrow {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.project-list-item:hover .project-list-arrow {
    color: #007bff;
}

/* 项目列表分页控件 */
.projects-list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    gap: 10px;
}

.list-page-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.list-page-btn:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.list-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.list-page-btn:disabled:hover {
    background: none;
    color: #666;
    border-color: #ddd;
}

.list-page-info {
    font-size: 12px;
    color: #666;
    padding: 0 8px;
}

/* 滚动指示器 */
.scroll-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.scroll-dots {
    display: flex;
    gap: 6px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background-color: #007bff;
    transform: scale(1.2);
}

.scroll-controls {
    display: flex;
    gap: 5px;
}

.scroll-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.scroll-btn:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 调整原有的项目网格样式 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    height: 100%;
}

.project-item {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
}

.project-item:hover {
    border-color: #4299e1;
}

/* 图片容器样式 */
.image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

/* 图片占位符样式 */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.image-placeholder.loaded {
    opacity: 0;
    pointer-events: none;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e3e3e3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* 懒加载图片样式 */
.lazy-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image.error {
    opacity: 0;
}

/* 错误状态样式 */
.image-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 14px;
    z-index: 3;
}

.image-error-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #dc3545;
}

/* 图片加载进度条 */
.loading-progress {
    margin: 20px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e3e3e3;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* ==================== 响应式设计 ==================== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    /* 平板端响应式布局 */
    .projects-display-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .projects-list-section {
        min-width: unset;
        position: static;
        order: -1; /* 在平板端将列表放在上方 */
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* 保持3列布局 */
    }
    
    .projects-list {
        max-height: 300px;
    }
    
    .service-item {
        height: 200px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text {
        flex: 1;
    }
    
    .about-culture-image {
        flex: 1;
    }
    
    /* 平板设备资质证书优化 */
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .qualification-item {
        height: 180px;
    }
}

/* 手机设备 (最大768px) */
@media screen and (max-width: 768px) {

    #services,
    #projects,
    #qualifications,
    #about,
    #contact {
        scroll-margin-top: 60px; /* 精确匹配移动端导航栏高度 */
    }

    body {
        padding-top: 70px; /* 移动端导航栏高度不同，调整占位空间 */
    }

    /* 导航栏 */
    .navbar {
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    
    .logo {
        height: 40px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
        top: 60px; /* 调整下拉菜单的位置以适应 fixed header */
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        padding: 15px 0;
        text-align: center;
        display: block;
    }
    
    .main-nav .subtitle {
        display: block;
        font-size: 12px;
        margin-top: 2px;
    }
    
    .contact-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        flex-direction: column;
        gap: 4px;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 英雄区域 */
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin: 15px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 24px;
    }
    
    /* 服务区域 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        height: 180px;
        margin: 0 10px;
    }
    
    .service-item-front h3 {
        font-size: 18px;
    }
    
    .service-item-front p {
        font-size: 14px;
    }
    
    /* 项目区域 */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    /* 移动端响应式布局 */
    .projects-display-container {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }
    
    .projects-list-section {
        display: none; /* 在移动端隐藏项目列表 */
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* 移动端也保持3列 */
        gap: 10px;
    }
    
    .project-item {
        margin: 0;
    }
    
    .image-container {
        height: 150px; /* 移动端稍微减小高度 */
    }
    
    .project-title {
        font-size: 13px;
        padding: 12px;
        height: 45px;
    }
    
    .project-item:hover .project-title {
        padding: 15px 12px;
    }
    
    /* 关于我们区域 */
    .about-section {
        padding: 40px 15px; /* 调整内边距 */
    }

    .about-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .about-text {
        flex: 1;
        padding: 0;
        display: flex; /* 使用 flex 布局 */
        flex-direction: column; /* 垂直排列 */
        align-items: center; /* 居中对齐 */
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .about-text .about-image {
        max-width: 80%; /* 限制图片宽度 */
        margin-bottom: 25px; /* 图片下方间距 */
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .about-text p {
        font-size: 1rem; /* 调整字体大小 */
        line-height: 1.8;
        text-align: justify; /* 两端对齐，更美观 */
        max-width: 100%;
    }

    .about-culture-image {
        display: none; /* 在手机端隐藏右侧的大图，避免重复和混乱 */
    }
    
    /* 资质证书区域 */
    .qualifications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }
    
    .qualification-item {
        height: 280px;
        margin: 0;
        width: 100%;
    }
    
    .qualification-item img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }
    
    .qualification-item:hover img {
        transform: scale(1.02);
    }
    
    /* 移动端资质证书点击放大效果 */
    .qualification-item {
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    
    .qualification-item::after {
        content: '点击查看大图';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .qualification-item:hover::after {
        opacity: 1;
    }
    
    /* 移动端资质证书特殊优化 */
    .qualifications-section {
        padding: 30px 0;
    }
    
    .qualifications-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .qualifications-section .container {
        padding: 0 5px;
    }
    
    /* 页脚 */
    .main-footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-info {
        flex: 1;
    }
    
    .footer-info h3 {
        font-size: 1.2rem;
    }
    
    .footer-info p {
        font-size: 14px;
    }
    
    .footer-links {
        flex: 1;
    }
    
    .footer-links h4 {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-bottom span {
        font-size: 12px;
    }

    /* 联系我们区域 */
    .contact-info {
        flex-direction: column;
        padding: 30px 15px; /* 调整内边距 */
        gap: 30px;
    }

    .contact-divider {
        display: none; /* 在手机上隐藏分割线 */
    }

    .contact-column {
        padding: 0;
        text-align: left; /* 改为左对齐 */
        width: 100%;
    }

    .contact-column h3 {
        font-size: 1.6rem;
        text-align: center; /* 标题居中 */
        margin-bottom: 20px;
    }

    .contact-column p {
        display: flex; /* 使用 flex 布局确保对齐 */
        align-items: flex-start; /* 顶部对齐 */
        font-size: 1rem;
        margin-bottom: 15px; /* 增加条目间距 */
        line-height: 1.5;
    }
    
    .contact-column p i {
        font-size: 1.2rem;
        margin-right: 15px; /* 图标和文字的间距 */
        margin-top: 4px;
        width: 20px; /* 固定图标宽度 */
        text-align: center;
    }

    .contact-column p span {
        flex: 1; /* 让文本区域占据剩余空间 */
    }
}

/* 小屏手机 (最大480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        padding: 0 5px;
    }
    
    /* 超小屏幕优化 */
    .projects-list-section {
        margin: 0 5px;
        padding: 10px;
    }
    
    .projects-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .projects-list-header h3 {
        font-size: 16px;
    }
    
    .project-count {
        font-size: 11px;
    }
    
    .project-title {
        font-size: 12px;
        padding: 10px;
        height: 40px;
    }
    
    .qualifications-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 3px;
    }
    
    .qualification-item {
        height: 250px;
    }
    
    .service-item {
        height: 160px;
        margin: 0 5px;
    }
    
    .service-item-front h3 {
        font-size: 16px;
    }
    
    .service-item-front p {
        font-size: 13px;
    }
}

/* 超小屏手机 (最大360px) */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .project-title {
        font-size: 11px;
        padding: 8px;
        height: 35px;
    }
    
    .service-item {
        height: 140px;
        margin: 0 2px;
    }
    
    .service-item-front h3 {
        font-size: 14px;
    }
    
    .service-item-front p {
        font-size: 12px;
    }
    
    .qualifications-grid {
        padding: 0 1px;
    }
    
    .qualification-item {
        height: 220px;
    }
}

/* 横屏手机优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        margin: 10px 0;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn {
        width: auto;
        padding: 10px 20px;
    }
    
    /* 横屏手机资质证书优化 */
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
    }
    
    .qualification-item {
        height: 200px;
    }
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
    border-radius: 6px 6px 0 0;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    z-index: 10;
    border-radius: 0 0 6px 6px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateZ(0);
    box-sizing: border-box;
    /* 默认只显示一行 */
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 鼠标悬停时显示完整文字 */
.project-item:hover .project-title {
    height: auto;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 15px;
    white-space: normal;
    display: block;
}

.about-section {
    background-image: url('../assets/about.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 70vh;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 0.4;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    flex: none;
    float: right;
    width: 170px;
    margin-left: 25px;
    margin-bottom: 20px;
}

.about-culture-image {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out 0.2s;
}

.about-culture-image.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-culture-image img {
    object-fit: contain;
}

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

.qualification-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.qualification-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.qualification-item:nth-child(2) { transition-delay: 0.1s; }
.qualification-item:nth-child(3) { transition-delay: 0.2s; }
.qualification-item:nth-child(4) { transition-delay: 0.3s; }
.qualification-item:nth-child(5) { transition-delay: 0.4s; }

.qualification-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.qualification-item:hover img {
    transform: scale(1.1);
}

.about-image img {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 100%;
    height: auto;
}

.contact-section {
    background-image: url('../assets/mapbg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.contact-info {
    background: rgba(20, 20, 20, 0.7);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-info.is-visible {
    opacity: 1;
    transform: scale(1);
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 20px;
    margin-right: 15px;
    text-align: center;
    color: #4299e1;
}

.contact-column {
    flex: 1;
    padding: 0 30px;
}

.contact-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.address-item {
    margin-bottom: 20px;
}

.address-item h5 {
    font-size: 18px;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.address-item p {
    padding-left: 35px;
    line-height: 1.6;
    margin: 0;
}

.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    margin: 0 10px;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4299e1;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Electron Canvas */
#electron-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}




/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    z-index: 5;
    animation: bounce 2s infinite;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

/* For sections with a light background */
.our-services-section .scroll-down-indicator,
.services-section .scroll-down-indicator,
.projects-section .scroll-down-indicator,
.qualifications-section .scroll-down-indicator,
.about-section .scroll-down-indicator {
    color: #333;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==================== Image Modal Styles ==================== */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* On smaller screens, add some margin at the top of the modal content */
@media screen and (max-width: 700px){
    .modal-content {
        width: 95%;
    }
}


/* ==================== Sections Anchor Offset ==================== */
#services,
#projects,
#qualifications,
#about,
#contact {
    scroll-margin-top: 70px; /* 精确匹配导航栏高度 */
}




/* 服务类型Tab导航样式 */
.service-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
}

.tab-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.tab-btn.active {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

.page-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #666;
    min-width: 120px;
    text-align: center;
}

/* 项目详情页面样式 */
.project-detail-main {
    padding-top: 80px;
    min-height: 100vh;
}

.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.project-detail {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.project-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.project-header .project-title {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.project-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.service-type {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.project-date {
    color: #666;
    font-size: 14px;
}

.project-gallery {
    margin: 30px 0;
}

.gallery-main {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    opacity: 1;
}

.project-content {
    margin: 30px 0;
}

.project-content h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.project-details {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

.project-actions {
    margin: 40px 0;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    opacity: 0.7;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.modal-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .service-tabs {
        gap: 5px;
        margin: 20px 0;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .pagination {
        gap: 10px;
        margin: 30px 0;
    }
    
    .page-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .project-detail {
        padding: 20px;
        margin: 10px 0;
    }
    
    .project-header .project-title {
        font-size: 1.8rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .gallery-main img {
        height: 250px;
    }
    
    .gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }
    
    .gallery-controls {
        padding: 0 10px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Project Detail Page Styles */
.project-detail-section {
    padding: 100px 0 60px; /* Adjust padding for fixed header */
    background-color: #f8f9fa;
    min-height: 100vh;
}

.project-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.project-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.project-detail-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.project-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.project-meta i {
    color: #007bff;
    font-size: 1rem;
}

.project-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 40px;
    text-align: justify;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.project-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.project-images-grid img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-images-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.back-to-projects {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.back-to-projects:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    text-decoration: none;
    color: #fff;
}

/* Mobile responsiveness for project detail */
@media (max-width: 768px) {
    .project-detail-section {
        padding: 80px 0 40px;
    }
    
    .project-detail-container {
        padding: 25px;
        margin: 0 15px;
    }

    .project-detail-header h1 {
        font-size: 2rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .project-content {
        font-size: 1rem;
        padding: 15px;
    }

    .project-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-images-grid img {
        height: 400px;
    }
}

/* ==================== 企业文化页面样式 ==================== */
.culture-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.culture-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/power-lines-detailed.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.culture-hero .container {
    position: relative;
    z-index: 2;
}

.culture-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.culture-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.culture-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.culture-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.culture-intro h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.culture-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    text-align: justify;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.culture-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #007bff;
}

.culture-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.culture-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.culture-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.culture-item h4 {
    font-size: 1.1rem;
    color: #007bff;
    margin-bottom: 15px;
    font-weight: 500;
    font-style: italic;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.values-detail {
    margin-top: 20px;
}

.value-item {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

.value-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 企业文化优势展示区域 */
.culture-features {
    margin-top: 50px;
    padding: 40px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.feature-card {
    text-align: center;
    padding: 25px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #007bff;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ==================== 招聘页面样式 ==================== */
.recruitment-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruitment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/power-lines-detailed.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.recruitment-hero .container {
    position: relative;
    z-index: 2;
}

.recruitment-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.recruitment-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.recruitment-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.recruitment-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recruitment-intro h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
}

.recruitment-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

.recruitment-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
}

.filter-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.filter-btn.active {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.recruitment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.recruitment-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.recruitment-header {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
}

.recruitment-header h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recruitment-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.recruitment-meta span {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.recruitment-content {
    padding: 30px;
}

.recruitment-details {
    margin-bottom: 30px;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    display: inline-block;
}

.detail-section ul {
    margin: 0;
    padding-left: 20px;
}

.detail-section li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.detail-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.recruitment-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.apply-btn, .detail-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.apply-btn {
    background: #28a745;
    color: white;
}

.apply-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.detail-btn {
    background: #6c757d;
    color: white;
}

.detail-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.no-recruitments {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.no-recruitments-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-recruitments-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.no-recruitments-content p {
    color: #666;
    font-size: 1rem;
}

.recruitment-benefits {
    padding: 80px 0;
    background: white;
}

.recruitment-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007bff;
}

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

.benefit-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ==================== 首页概览板块样式 ==================== */
.culture-section, .recruitment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.culture-section::before, .recruitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/power-lines-detailed.svg') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.culture-section .container, .recruitment-section .container {
    position: relative;
    z-index: 2;
}

.culture-section h2, .recruitment-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.culture-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.culture-item-preview {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007bff;
}

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

.culture-item-preview .culture-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.culture-item-preview h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.culture-item-preview p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.recruitment-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.recruitment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007bff;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.recruitment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.5rem;
    color: #007bff;
    width: 30px;
    text-align: center;
}

.feature-item span {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.section-action {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    text-decoration: none;
    color: white;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .culture-hero h1, .recruitment-hero h1 {
        font-size: 2rem;
    }
    
    .culture-hero p, .recruitment-hero p {
        font-size: 1rem;
    }
    
    .culture-intro h2, .recruitment-intro h2 {
        font-size: 2rem;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .culture-item {
        padding: 25px 20px;
    }
    
    .culture-features {
        margin-top: 30px;
        padding: 30px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .recruitment-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
        min-width: 100px;
    }
    
    .recruitment-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .recruitment-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recruitment-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .culture-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-item {
        padding: 30px 20px;
    }
}

/* ==================== 职位详情页面样式 ==================== */
.job-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    margin: 0 10px;
    opacity: 0.7;
}

.breadcrumb .current {
    opacity: 0.8;
}

.job-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.job-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.job-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-detail-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.job-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.job-detail-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-section {
    margin-bottom: 40px;
}

.job-section:last-child {
    margin-bottom: 0;
}

.job-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.job-section h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.job-section p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #666;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.job-list li:last-child {
    border-bottom: none;
}

.job-list li::before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.salary-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.salary-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: #007bff;
    margin: 0;
}

.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.apply-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #007bff;
}

.apply-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.apply-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.job-detail-sidebar .company-info, .job-detail-sidebar .contact-info {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-detail-sidebar .company-info h3, .job-detail-sidebar .contact-info h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.job-detail-sidebar .company-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #0056b3;
    text-decoration: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #666;
}

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

.contact-item i {
    color: #007bff;
    width: 20px;
    text-align: center;
}

/* 招聘列表页面样式调整 */
.recruitment-item {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recruitment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.recruitment-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    flex: 1;
}

.recruitment-summary {
    flex: 1;
}

.salary-range {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    margin: 0 0 8px 0;
}

.job-description {
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recruitment-actions {
    margin-top: auto;
    text-align: center;
}

.view-detail {
    color: #007bff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 20px;
    background: rgba(0, 123, 255, 0.05);
}

.recruitment-item:hover .view-detail {
    color: #0056b3;
}

/* 平板端响应式 */
@media (max-width: 1024px) and (min-width: 769px) {
    .recruitment-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .recruitment-item {
        padding: 20px;
    }
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .job-detail-hero h1 {
        font-size: 2rem;
    }
    
    .job-meta {
        gap: 10px;
    }
    
    .job-meta span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .job-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .job-detail-main {
        padding: 25px 20px;
    }
    
    .apply-card, .company-info, .contact-info {
        padding: 25px 20px;
    }
    
    .recruitment-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recruitment-item {
        padding: 20px;
    }
    
    .recruitment-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .recruitment-actions {
        margin-top: 15px;
        text-align: left;
    }
}

/* 首页招聘新布局样式 */
.recruitment-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
    align-items: start;
}

.latest-jobs-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.latest-jobs-list h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.job-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
}

.job-item-vertical {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-item-vertical:last-child {
    border-bottom: none;
}

.job-item-vertical:hover {
    background: #f8f9fa;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.job-title {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.job-meta-vertical {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #666;
    margin-left: 15px;
}

.job-meta-vertical .location::before {
    content: "📍 ";
}

.job-meta-vertical .salary::before {
    content: "💰 ";
}

.recruitment-stats-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.recruitment-stats-right .stat-item {
    background: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.recruitment-stats-right .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.recruitment-stats-right .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.recruitment-stats-right .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* 恢复原来的招聘特色样式 */
.recruitment-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.recruitment-features .feature-item {
    background: white;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.recruitment-features .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.recruitment-features .feature-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 5px;
}

.recruitment-features .feature-item span {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 600;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .recruitment-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recruitment-stats-right {
        flex-direction: row;
        gap: 10px;
    }
    
    .recruitment-stats-right .stat-item {
        padding: 15px 10px;
    }
    
    .recruitment-stats-right .stat-number {
        font-size: 1.5rem;
    }
    
    .recruitment-stats-right .stat-label {
        font-size: 0.8rem;
    }
    
    .recruitment-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .recruitment-features .feature-item {
        padding: 15px 10px;
    }
    
    .recruitment-features .feature-item i {
        font-size: 1.5rem;
    }
    
    .recruitment-features .feature-item span {
        font-size: 0.85rem;
    }
}

/* 首页招聘紧凑布局样式（保留作为备用） */
.recruitment-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.latest-jobs-compact {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.latest-jobs-compact h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.job-list-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.job-item-compact {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #007bff;
    transition: all 0.3s ease;
}

.job-item-compact:hover {
    background: #e3f2fd;
    transform: translateX(3px);
}

.job-title {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-meta-compact {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.job-meta-compact .location::before {
    content: "📍 ";
}

.job-meta-compact .salary::before {
    content: "💰 ";
}

.view-all-jobs {
    text-align: center;
}

.view-all-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.recruitment-features-compact {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.recruitment-features-compact h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.feature-item-compact:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.feature-item-compact i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .recruitment-content-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .job-meta-compact {
        flex-direction: column;
        gap: 5px;
    }
}

/* 首页招聘职位列表样式（保留原有样式作为备用） */
.latest-jobs {
    margin: 40px 0;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.latest-jobs h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.job-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.job-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #f1eded;
}

.job-meta i {
    color: #007bff;
    width: 14px;
}

.job-actions {
    margin-left: 20px;
}

.job-link {
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    text-decoration: none;
    color: white;
}

/* 移动端职位列表响应式 */
@media (max-width: 768px) {
    .latest-jobs {
        margin: 30px 0;
        padding: 20px;
    }
    
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-meta {
        gap: 15px;
    }
    
    .job-actions {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* 首页企业文化样式 */
.culture-section {
    position: relative;
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.culture-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.culture-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/power-lines-detailed.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.culture-section .container {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.culture-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.culture-section .section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 60px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.culture-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.culture-item-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.culture-item-preview:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.culture-icon i {
    font-size: 2.5rem;
    color: white;
}

.culture-item-preview:hover .culture-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.culture-item-preview h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.culture-item-preview p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.culture-section .section-action {
    margin-top: 40px;
}

.culture-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.culture-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .culture-section {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .culture-section h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .culture-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .culture-preview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .culture-item-preview {
        padding: 25px 20px;
    }
    
    .culture-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .culture-icon i {
        font-size: 2rem;
    }
    
    .culture-item-preview h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .culture-item-preview p {
        font-size: 1rem;
    }
    
    .culture-section .section-action {
        margin-top: 20px;
        padding: 0 20px;
    }
}
