/* 全局样式设置 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f4f7fa;
    background: linear-gradient(to bottom, #ffffff, #b6d8ee);
}

/* 导航栏、页脚、按钮和链接样式 */
.navbar, .footer {
    background-color: #0056b3;
    color: white;
}

.nav-link, .btn-outline-primary {
    color: white;
}

.nav-link:hover, .btn-outline-primary:hover {
    color: #ffffff;
    background-color: #007bff;
}

.footer {
    padding: 20px 0;
    text-align: center;
}

/* 按钮样式 */
.btn-outline-primary {
    border-color: #007bff;
}

/* 主幻灯片样式 */
.main-carousel .carousel-item img {
    width: 100%;
    object-fit: cover; /* 确保图片覆盖整个元素 */
}

/* 产品展示区样式 */
.product-slider {
    overflow: hidden;
    white-space: nowrap;
    /* background: #e1ecf4; */
    padding: 20px 0;
}

.product-wrapper {
    display: flex;
    width: calc(200%);
    animation: scroll 10s linear infinite;
}

.product-container {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.product {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
    width: 150px;
    background: rgb(214, 234, 240);
    border: 1px solid #cce1f2;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    border-radius: 5px 5px 0 0;
}

.product span {
    display: block;  /* 块级元素 */
    margin-top: 5px;  /* 顶部间距 */
    color: #011325;  /* 字体颜色 */
    text-align: center;  /* 文本居中 */
    font-size: 13px;  /* 字体大小，可以根据需要调整 */
}

hr {
    border-top: 1px solid #cce1f2;
}

/* 信息区域定制样式 */
.info-section-custom {
    background-color: #0056b3; /* 明确背景颜色 */
}

.custom-container {
    max-width: 80%; /* 容器宽度调整为80% */
    margin: auto; /* 水平居中 */
    padding: 15px; /* 内边距 */
    border-radius: 5px; /* 边角圆润 */
}

.section-title-custom {
    color: #ffffff; /* 标题颜色白色 */
    font-size: 22px; /* 标题大小 */
}

.info-text {
    color: #ffffff; /* 文本颜色白色 */
}

.info-section .carousel-inner .carousel-item img {
    max-width: 100%; /* 图片最大宽度100% */
    object-fit: contain; /* 图片缩放填充 */
}

.caption-bg {
    background-color: rgba(0, 85, 179, 0.75); /* 半透明蓝色背景框 */
    padding: 10px; /* 内边距 */
    border-radius: 5px; /* 圆角边框 */
}
/* 按钮样式调整 */
.btn-outline-primary {
    color: #007bff; /* 按钮文字颜色设置为蓝色 */
    background-color: #e1ecf4; /* 按钮背景设置为浅蓝色 */
    border-color: #007bff; /* 边框颜色也设置为蓝色 */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; /* 平滑过渡效果 */
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: #ffffff; /* 悬浮时文字颜色变为白色 */
    background-color: #007bff; /* 悬浮时背景颜色变为深蓝色 */
    border-color: #0056b3; /* 悬浮时边框颜色变为稍微深一点的蓝色 */
}

/* 资质荣誉证书图片样式调整 */
.carousel-inner .carousel-item img {
    width: auto; /* 宽度自动，保持图片的比例 */
    max-width: 100%; /* 最大宽度不超过容器宽度 */
    object-fit: contain; /* 图片会尽可能填满容器，但不会被拉伸，保持其原有比例 */
    margin: auto; /* 水平居中显示 */
}

.carousel-caption {
    background-color: rgba(0, 85, 179, 0.8); /* 为文字背景设置半透明的蓝色 */
    padding: 10px; /* 内边距增加一些空间 */
    border-radius: 5px; /* 文字背景圆角边框 */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #007bff; /* 控制箭头的背景颜色为深蓝色，增强可见度 */
    border-radius: 50%; /* 圆形箭头背景 */
    padding: 10px; /* 内部填充 */
}


@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 资质荣誉证书图片样式调整 */
#licenseCarousel .carousel-inner .carousel-item img {
    max-height: 100px; /* 设置最大高度为300px，确保所有图片高度一致 */
    width: auto; /* 宽度自动，保持图片的比例 */
    max-width: 100%; /* 最大宽度不超过容器宽度 */
    object-fit: contain; /* 图片会尽可能填满容器，但不会被拉伸，保持其原有比例 */
    margin: auto; /* 水平居中显示 */
}

.carousel-caption {
    background-color: rgba(0, 85, 179, 0.8); /* 为文字背景设置半透明的蓝色 */
    padding: 10px; /* 内边距增加一些空间 */
    border-radius: 5px; /* 文字背景圆角边框 */
    display: flex; /* 使用Flex布局使内容垂直居中 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #007bff; /* 控制箭头的背景颜色为深蓝色，增强可见度 */
    border-radius: 50%; /* 圆形箭头背景 */
    padding: 10px; /* 内部填充 */
}

.custom-caption {
    text-align: center; /* 文字居中 */
    padding: 10px 0; /* 上下内边距 */
    /* background-color: rgba(0, 85, 179, 0.75); 背景颜色 */
    border-radius: 5px; /* 圆角 */
    color: rgb(66, 61, 61); /* 文字颜色 */
    position: relative; /* 相对定位 */
    top: -60px; /* 调整位置，确保不在图片上 */
    transform: translateY(100%); /* 下移，使其位于图片下方 */
}

/* 确保.carousel-inner之后紧跟.custom-caption而不是覆盖在图片上 */
.carousel-inner {
    margin-bottom: 60px; /* 为底部文字留出空间 */
}
.content-spacer {
    height: 50px;  /* 间隔高度，可以根据需要调整 */
    clear: both;  /* 确保不与其他元素的浮动属性冲突 */
}
.custom-info-section {
    background-color: #105aa8; /* 深蓝色背景 */
    color: white; /* 白色文字 */
    padding: 20px 0; /* 上下内边距 */
    border-radius: 5px; /* 圆角边框 */
}

.custom-container {
    max-width: 80%; /* 容器最大宽度调整为80% */
    margin: auto; /* 居中显示 */
}

.custom-section-title {
    color: white; /* 标题颜色 */
    margin-bottom: 15px; /* 标题与内容间隔 */
}

.custom-news-list {
    list-style-type: none; /* 去掉列表前的点 */
    padding-left: 0; /* 去掉默认的内边距 */
}

.custom-news-list li {
    padding: 5px 0; /* 列表项间隔 */
    border-bottom: 1px solid #e1ecf4; /* 列表项之间的分隔线 */
}

.custom-news-list li:last-child {
    border-bottom: none; /* 最后一个列表项无分隔线 */
}

.custom-contact-section p {
    margin-bottom: 5px; /* 段落间距调整 */
}
.wechat-icon {

    cursor: pointer; /* 鼠标悬停时变为手形图标 */
}
.header-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 子项之间的间隔最大化，推动图标到右边 */
    /* background-color: white; */
    /* padding-right: 50px; 右边距 */
}
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    align-items: center;
    justify-content: center;
    z-index: 1000; /* 确保在顶层 */
}
.wechat-qr {
    max-width: 30%;
    max-height: 30%;
}
/* 校企合作模块样式 */
.school-corporation-section {
    /* background-color: #f8f9fa; */
    padding: 20px 0;
}

/* 校企合作模块样式 */
.school-corporation-section .container {
    max-width: 80%; /* 与主体内容宽度保持一致 */
    margin: auto; /* 水平居中 */
}

.school-corporation-section .row {
    justify-content: center; /* 行内内容居中对齐 */
}

/* 校企合作图片样式调整 */
.img-fluid {
    display: block; /* 确保图片块级显示 */
    margin: 10px auto; /* 上下保留10px边距，左右自动调整以居中 */
    width: auto; /* 宽度自适应 */
    max-width: 100%; /* 最大宽度不超过容器宽度 */
    max-height: 200px; /* 限制图片最大高度为200px */
}

.section-title-1 {
    text-align: left; /* 标题靠左对齐 */
}



.innovation-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
    height: 250px; /* 同视频高度 */
    text-align: center; /* 文本居中 */
}

.innovation-text-container h3 {
    font-weight: bold;
    color: #267bd4; /* 深蓝色，增加视觉冲击力 */
    margin-bottom: 15px; /* 增加标题下方间距 */
}

.innovation-text-container p {
    font-size: 16px; /* 增大字体大小 */
    line-height: 1.5; /* 增加行高提高可读性 */
    color: #333; /* 深灰色，提升专业感 */
}

.innovation-video {
    width: 100%;
    height: 250px; /* 限制视频高度，保持与文本部分等高 */
    object-fit: cover; /* 确保视频内容完整显示，不裁剪 */
}
a {
    color: inherit; /* 继承父元素的颜色，不用默认的链接蓝色 */
    text-decoration: none; /* 去掉下划线 */
}

a:hover, a:focus {
    color: inherit; /* 悬停和聚焦时颜色不变 */
    text-decoration: none; /* 悬停和聚焦时也不显示下划线 */
}



/* 视频容器样式 */
.innovation-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 的比例，如果视频是其他比例，需要相应调整 */
}

/* 视频样式 */
.innovation-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.carousel-container {
    max-width: 80%;  /* 设置最大宽度为80% */
    margin: auto;    /* 自动外边距实现水平居中 */
}

.carousel-item img {
    width: 100%;    /* 确保图片宽度自动调整以填充容器 */
    height: auto;   /* 高度自动，保持图片原始比例 */
}

.large-text {
    font-size: 19px;
    margin-top: 20px;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* .top{
    background-color: white;
    top:0;
    position: fixed;
    z-index: 1000; 
    width: 100%; 
}
.content_quan {
    margin-top: 50px; /* 确保内容不会被头部遮挡 */
    /* padding: 20px; */
    /* height: 2000px; 增加内容高度以便滚动 */
/* } */ 