/* 公司介绍部分 */
.company-intro {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    align-items: center; /* 垂直居中 */
}

.intro-text {
    flex: 1;
    padding: 20px;
}

.intro-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.intro-btn {
    background-color: #1a365d;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.intro-btn:hover {
    background-color: #2c5282;
}

.intro-video {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 0; /* 去除视频底部空白 */
}

.intro-video video {
    width: 100%;
    height: auto;
    display: block;
}


.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.intro-video:hover .video-controls {
    opacity: 1;
}

.play-btn, .fullscreen-btn {
    background-color: rgba(26, 54, 93, 0.8);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-btn:hover, .fullscreen-btn:hover {
    background-color: rgba(26, 54, 93, 1);
    transform: scale(1.1);
}
.progress-container {
    flex: 1;
    height: 6px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background-color: #1a365d;
    border-radius: 3px;
    width: 0%;
}

.time-display {
    color: white;
    font-size: 0.8rem;
    min-width: 100px;
    text-align: center;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* 全屏样式 */
.intro-video:-webkit-full-screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:-moz-full-screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:-ms-fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.intro-video:fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-container {
        flex-direction: column;
    }
    
    .intro-text, .intro-video {
        flex: none;
        width: 100%;
    }
    
    .intro-video {
        margin-top: 30px;
    }
}