* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

/* 导航栏样式 */
.nav-container {
    background: linear-gradient(135deg, #1e9542 0%, #207cca 100%);
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 8%;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

.company-name {
    color: white;
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: relative;
    padding-left: 15px;
}

.company-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.nav-menu {
    display: flex;
    margin-left: auto;
    height: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    position: relative;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item i {
    margin-right: 8px;
    font-size: 18px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    position: relative;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content a.active::after {
    content: '✓';
    position: absolute;
    right: 10px;
    color: #207cca;
    font-weight: bold;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 轮播图样式 - 延伸到导航栏 */
.carousel-container {
    position: relative;
    margin-top: 80px; /* 与导航栏高度相同 */
    height: calc(100vh - 80px);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* 内容区域样式 */
.content-section {
    padding: 80px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1e5799;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #1e5799, #207cca);
}

.two-column-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.column {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.column-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e5799, #207cca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.column-icon i {
    font-size: 24px;
    color: white;
}

.column-header h3 {
    font-size: 1.8rem;
    color: #1e5799;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload-area:hover {
    border-color: #207cca;
}

.file-upload-area i {
    font-size: 48px;
    color: #207cca;
    margin-bottom: 20px;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #1e9542 0%, #207cca 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 10px;
    line-height: 40px;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: white;
    color: #207cca;
    transform: translateY(-5px);
}

/* 语言切换提示 */
.lang-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2000;
    display: flex;
    align-items: center;
    transform: translateX(120%);
    transition: transform 0.5s ease;
}

.lang-notification.show {
    transform: translateX(0);
}

.lang-notification i {
    margin-right: 10px;
    font-size: 24px;
    color: #207cca;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .company-name {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .two-column-layout {
        flex-direction: column;
    }

    .nav-container {
        padding: 0 5%;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .company-name {
        font-size: 18px;
        padding-left: 12px;
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .nav-item {
        padding: 0 12px;
        font-size: 14px;
    }

    .logo img {
        height: 50px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .lang-notification {
        top: 80px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .company-name {
        font-size: 16px;
        padding-left: 10px;
        margin-left: 10px;
    }
}

@media (max-width: 600px) {
    .company-name {
        display: none;
    }

    .nav-item span {
        display: none;
    }

    .nav-item i {
        margin-right: 0;
        font-size: 20px;
    }
}


.contact-info {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-form {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h3, .contact-form h3 {
    color: #1e5799;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-item i {
    color: #207cca;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form .layui-form-item {
    margin-bottom: 20px;
}

.contact-form .layui-btn {
    background: linear-gradient(135deg, #1e5799, #207cca);
    border: none;
}

.map-container {
    height: 300px;
    background: #e9e9e9;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.contact-section {
    margin-top: 40px;
    padding: 10px 0;
    background-color: #f0f7ff;
}


.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}
.layui-form-label {
    width: 130px;
    text-align: right;
    padding: 9px 15px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    height: auto;
    float: left;
}

.layui-input-block {
    margin-left: 130px; /* 根据标签宽度调整 */
}



.column {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 560px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.column-header {
    background: linear-gradient(135deg, #94afcd12 0%, #3c4755 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
}

.column-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 24px;
}

.column-content {
    padding: 25px;
}

.column h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.column p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
}

.media-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.media-item {
    flex: 1;
    min-width: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.media-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.media-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* 视频相关样式 - 重点添加的部分 */
.media-item.video {
    position: relative;
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 95, 0.5);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #1a3a5f;
    font-size: 24px;
    transition: all 0.3s ease;
}

.media-item:hover .play-icon {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.media-caption {
    padding: 12px 15px;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #2d3748;
}

/* 视频播放器样式 */
.video-player {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 80%;
    max-width: 900px;
    position: relative;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/*.close-btn {*/
/*    position: absolute;*/
/*    top: -40px;*/
/*    right: 0;*/
/*    color: white;*/
/*    font-size: 30px;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.close-btn:hover {*/
/*    color: #ff6b6b;*/
/*    transform: rotate(90deg);*/
/*}*/

/* 响应式设计 */
@media (max-width: 768px) {
    .columns-container {
        flex-direction: column;
    }

    .media-item {
        min-width: calc(50% - 10px);
    }

    header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .media-item {
        min-width: 100%;
    }

    .column-header {
        flex-direction: column;
        text-align: center;
    }

    .column-icon {
        margin: 0 auto 15px;
    }
}



.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .img-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-size: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .img-desc {
    transform: translateY(0);
}

/* Lightbox 模态框 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.img-info {
    color: white;
    text-align: center;
    margin-top: 15px;
    max-width: 80%;
}

.img-title {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.img-counter {
    font-size: 16px;
    color: #ddd;
    margin-top: 5px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 80%;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: #3498db;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .gallery-item {
        flex: 1 1 calc(33.333% - 15px);
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 10px);
    }

    .lightbox-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        flex: 1 1 100%;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /*.close-btn {*/
    /*    width: 40px;*/
    /*    height: 40px;*/
    /*    font-size: 22px;*/
    /*}*/

    .control-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 在CSS中添加 */
.close-btn:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.3);
}

/* 确保关闭按钮可点击 */
.close-btn {
    cursor: pointer;
    z-index: 1001; /* 确保在视频/图片上方 */
}

/* 视频关闭按钮定位 */
.video-close {
    position: absolute;
    top: -0px;
    right: 0;
}

/* 图片关闭按钮定位 */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
}