﻿@charset "utf-8";
/* CSS Document */

* {
    box-sizing: border-box; /* 全局设置box-sizing属性，让所有元素都按此方式计算宽度 */
}
	
a{text-decoration : none} 	

.carousel {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out; /* 改用transform实现滑动 */
    width: 100%; /* 改为100%宽度 */
}

.carousel-image {
    flex: 0 0 100%; /* 每张图片占据100%容器宽度 */
    width: 100%;
    height: auto; /* 保持高度自适应 */
    object-fit: cover;
    min-height: 200px; /* 设置最小高度保持可视性 */
}



/**************************************推荐产品代码样式******************************************/
	.container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
	background-color: #f7f7f7;
	padding: 0 55px;
	padding-top: 80px;
}

.title {
    font-size:30px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.product-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.product-item {
    width: 18%;
    border: none;
    padding: 10px;
	overflow: hidden;
	background-color: #f2f2f2;
}
		
.product-item a {
    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 继承父元素颜色 */
}

.product-item:hover{
	background-color: #273983;	
		}
		

.product-item img {
    width: 100%;
    transition: transform 0.3s ease; /* 添加过渡效果，使放大更平滑 */
}

.product-item:hover img {
    transform: scale(1.1); /* 鼠标悬停时图片放大1.2倍 */
}

.product-item img {
    width: 100%;
}

.product-item p {
    margin-top: 10px;
    font-size: 14px;
}


.more-btn button {
	width: 230px;
	height: 63px;
    background-color: #273983;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
	margin-bottom: 120px;
}

/**************************************推荐产品代码样式******************************************/




/**************************************公司简介代码样式******************************************/
	.CompanyProfile-container {
    display: flex;
    width: 100%;
}

.left-section,
.right-section {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
	position: relative;
}

.left-section {
    background-color: #d0f0fd;
	position: relative;
}
.inner-section {
    position: absolute;
    left: 14.64%;
    right: 4.92%;
    top: 12.81%;
}

.right-section {
    background-color: #252c36;
    color: white;
	padding-top: 8%; /* 添加顶部内间距 */
}

.right-section img{
    width: 100%;
    height: auto;
		}		

.right-section h2 {
    position: absolute;
    left: 14.64%;
    top: 12.81%;
}		
		
h2 {
	font-size: 24px;
    margin-top: 0;
}

p {
    font-size:14px; /* 根据视口宽度设置段落字体大小 */
    margin: 10px 0;
}
		
.info {
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.CompanyProfile-year,
.tech {
	width: 48%;
    text-align: center;
	color: #20337f;
}

.CompanyProfile-year h3,
.tech h3 {
    font-size: 3vw; 
    margin-bottom: 5px;
}

.CompanyProfile-year sup,
.tech sup {
    font-size: 1.2vw; 
}

.separator {
    width: 1px;
    height: 80%;
    background-image: linear-gradient(to bottom, transparent 0%, transparent 50%, #cff0f7 50%, #01a9f4 100%);
    background-size: 1px 4px;
}
/**************************************公司简介代码样式******************************************/














/**************************************新闻资讯代码样式******************************************/
        .news-all {
            margin-top: 90px;
            padding: 0;
            font-family: Arial, sans-serif;
        }

      .news-container {
            display: flex;
            justify-content: space-between;
            width: 90%;
            margin: 50px auto;
        }

      .news-item {
            width: 30%;
            border: none;
            padding: 20px;
            box-sizing: border-box;
        }

      .date {
		  font-size:18px;
            text-align: left;
            margin-bottom: 70px; /* 修改此处，将日期与下方内容间隔设置为70px */
            position: relative;
        }

      .date::after {
            content: "";
            position: absolute;
            bottom: -35px; /* 这里设置横线位置，使其位于日期与内容中间，间隔距离的一半 */
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #ccc;
        }

      .month-day {
	 font-size: 24px;
     color: #666666;
	 font-weight:bold;
        }

      .year {
            font-size:14px;
            color: #666666;
			font-weight:normal;
        }

      .news-title {
            font-size: 20px;
            margin-bottom: 25px;
            color: #333;
        }

      .news-description {
            font-size: 14px;
            color: #666;
        }

      .news-more-btn {
            display: block;
            width: 225px;
		  height: 63px;
            margin: 30px auto;
            padding: 10px 20px;
            background-color: #FFFFFF;
            color: #0269F4;
            border: 1px solid #0269F4;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
			
        }

      .news-header {
            text-align: center;
            margin-bottom: 30px;
        }
/**************************************新闻资讯代码样式******************************************/



/* 手机端样式 */
@media (max-width: 768px) {
	
	    .carousel-image {
        min-height: 150px; /* 调小移动端最小高度 */
    }


/* 通用图片响应式规则 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
	
    /* 推荐产品板块 */
    .product-container {
        flex-direction: column;
    }
    
    .product-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* 公司简介板块 */
    .CompanyProfile-container {
        flex-direction: column;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        padding: 20px;
    }
    
    .inner-section {
        position: static;
        padding: 15px;
    }
    
    /* 新闻板块 */
    .news-container {
        flex-direction: column;
    }
    
    .news-item {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* 通用调整 */
    .title {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    /* 底部调整 */
    .contact-row {
        flex-direction: column;
    }
    
    .contact-item {
        margin: 10px 0;
        justify-content: flex-start;
    }
    
    /* 按钮调整 */
    .more-btn button,
    .news-more-btn {
        width: 90%;
        height: auto;
        padding: 15px;
    }
    
    /* 文字大小调整 */
    p {
        font-size: 14px;
    }
}

/* 隐藏桌面滚动条 */
.carousel-inner::-webkit-scrollbar {
    display: none;
}

/* 添加指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.carousel-indicator.active {
    background: white;
}


















