﻿@charset "utf-8";
/* CSS Document */



/***************************************公司简介样式**********************************************/
.Subpage-header-image img{
	max-width: 100%;
    height: auto;
		}
.CompanyProfile-container {
    display: flex;
    width: 70%;
    min-height: 100vh;
	margin: 0 auto;
}

.sidebar {
    width: 42%;
	margin-right: 35px;
    color: white;
	text-align: center;
}

.sidebar-header {
	background-color: #20337f;
	height: 70px;
	
}
		
.sidebar-header h3{
	font-size: 1vw;
    line-height: 70px;
		}
		
.sidebar ul {
	border: 1px solid #ccc;
    margin-top: 0;
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    
	height: 55px;
	font-size:14px;
	font-weight:500;
	/*border: 1px solid #0269F4;*/
	border-bottom: 1px solid #ccc;
	line-height: 55px;
}

.sidebar li:last-child {
    border-bottom: none;
}
		
.sidebar a {
    color: black;
	font-family:"Arial Black", Gadget, sans-serif
	font-size:14px;
    text-decoration: none;
}

.sidebar a:hover {
    color: blue;
}

.CompanyProfile-right{
	width: 100%;
}

.title-right-subpage{
	width: 100%;
	height: auto;
	font-family:"Arial Black", Gadget, sans-serif;
	font-size:14px;
	margin-bottom: 20px;
}

.title-right-subpage h2{
	line-height: 70px;
	border-bottom: 1px dashed #ccc;
}




.main-content {
	
    flex: 1;
	
	
}

	
.main-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
		
.main-content p {
    max-width: 100%;
	font-size: 1vw;
	line-height: 2;
}
/***************************************公司简介样式**********************************************/




.timeline {
    max-width: 100%;
    padding: 10px;
    background-color: #fff;
    
}

.timeline-item {
    margin-bottom: 50px;
	
}

.timeline-item h3 {
    color: #20337f;
    font-size: 24px;
	font-family:"Microsoft YaHei", "微软雅黑", sans-serif;
    margin-bottom: 10px;
    position: relative;
}

.timeline-item h3:before, .timeline-item h3:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
}

.timeline-item h3:before {
    top: -10px;
}

.timeline-item h3:after {
    bottom: -10px;
}

.timeline-item ul {
    list-style-type: none;
    padding: 0;
	margin-top:15px;
	margin-bottom: 20px;
	font-size: 14px;
	font-family:"Microsoft YaHei", "微软雅黑", sans-serif;
}

.timeline-item li {
	margin-top: 15px;
    margin-bottom: 20px;
    padding-left: 10px;
    position: relative;
    border-bottom: 1px dashed #ccc;
	padding-bottom: 15px;
}

.timeline-item li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
}

        .Certification-system-right {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
			align-items: flex-start;
            min-height: 100vh;
			margin-bottom: 30px;
            
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            
			row-gap: 40px; 
			column-gap: 90px;
            width: 80%;
            max-width: 1000px;
        }

        .gallery img {
            width: 100%;
            height: auto;
            border: 20px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .gallery img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* 弹出高清大图样式 */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .lightbox img {
            max-width: 80%;
            max-height: 80%;
            border-radius: 8px;
            transition: transform 0.2s ease;
        }


/* 手机端适配 - 最大宽度768px */
@media (max-width: 768px) {

    /* 公司简介容器 */
    .CompanyProfile-container {
        width: 95%;
        flex-direction: column;
    }

    /* 侧边栏适配 */
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .sidebar-header h3 {
        font-size: 16px !important;
    }
    .sidebar li {
        font-size: 12px;
    }

    /* 主要内容区域 */
    .main-content p {
        font-size: 14px !important;
        line-height: 1.8;
    }
    
    /* 时间轴调整 */
    .timeline-item h3 {
        font-size: 18px;
    }
    .timeline-item li {
        font-size: 12px;
    }

    /* 认证图片网格 */
    .gallery {
        grid-template-columns: 1fr;
        column-gap: 20px;
        row-gap: 20px;
    }

    /* 优势页图片修正 */
    .main-content img[width="673"] {
        width: 100%;
        height: auto;
    }

    /* 底部联系方式堆叠 */
    .contact-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* 小尺寸手机 - 最大宽度480px */
@media (max-width: 480px) {
    /* 导航文字缩小 */
    .main-nav li a {
        font-size: 12px;
    }
    
    /* 时间轴装饰线隐藏 */
    .timeline-item h3:before,
    .timeline-item h3:after {
        display: none;
    }

    /* 弹出图片调整 */
    .lightbox img {
        max-width: 95%;
    }
}



