/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding-top: 80px;
}

/* 透明头部 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 18, 42, 0.6); /* 头部半透明 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

/* Logo */
.logo img {
	width: 150%;
    height: 85px;
	margin-left: -16%;
}

/* 导航菜单 */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: block;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #FFD700;
}

/* 下拉菜单（透明背景） */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    border-radius: 5px;
    overflow: hidden;
    min-width: 150px;
    backdrop-filter: blur(5px); /* 增加毛玻璃效果 */
}

/* 下拉菜单项 */
.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 10px;
    display: block;
    color: white;
    white-space: nowrap;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2); /* 透明度增加 */
    color: #FFD700;
}

/* 使下拉菜单可见 */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* 电话按钮 */
.contact {
    display: flex;
    align-items: center;
    /* background: #007BFF; */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.contact img {
    width: 20px;
    margin-right: 5px;
}
/* 右侧固定按钮 */
.fixed-right-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px; /* 按钮间隔 */
    z-index: 1000;
}


/* 默认按钮样式 */
.right-btn {
    width: 120px;
    height: 40px;
    background: rgba(128, 128, 128, 0.5); /* 默认灰色 */
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

/* 鼠标悬浮时 */
.right-btn:hover {
    background: rgba(0, 123, 255, 1);
}

/* 当前选中的按钮变蓝色 */
.right-btn.active-btn {
    background: rgba(0, 123, 255, 1) !important;
    color: white;
}

/* 页面内容样式 */
.content-container {
    margin-top: -80px;
    padding: 0px;
    text-align: center;
    color: white;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

/* 让 #content1 充满整个视口 */
/* 让 #content1 充满整个视口 */
#content1 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* 视频全屏铺满 */
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* 居中的内容容器 */
.centered-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; /* 确保内容在视频之上 */
    display: flex;
    flex-direction: column;
    align-items: center;
	 
}

/* 文字排布，每一行占满宽度，内部文字横向排列 */
.text-row {
    display: flex;
    justify-content: center;
    gap: 30px; /* 文字之间的间距 */
    width: 100%; /* 让文字行宽 */
    margin-bottom: 10%; /* 每行之间的间隔 */
}

/* 第一排大字 */
.text-large {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

/* 第二排中等大小文字 */
.text-medium {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

/* 第三排小字 */
.text-small {
    font-size: 32px;
    font-weight: normal;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

/* 调整图片大小并往下移动 */
.centered-image {
    width: 12%; /* 图片缩小 */
    height: auto;
    margin-top: 20%; /* 让图片下移 */
}
/* 让 content2 充满整个屏幕，并设置背景图 */
#content2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/bac2.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 让内容靠左 */
    padding-left: 5%; /* 使用百分比让左侧内容占比更合理 */
}

/* 文字内容容器 */
.text-container {
    max-width: 40%; /* 增加宽度，使其占据更大区域 */
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
	position: relative; /* ✅ 让文字可相对自身移动 */
	top: 20%; /* ✅ 向下移动 30px，可以调整大小 */
}

/* 标题样式 */
.text-container h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-container h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 文字描述 */
.text-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 按钮容器 */
.service-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 让按钮自动排列两列 */
    gap: 10px;
    width: 100%; /* 让按钮占满容器 */
}

.service-buttons button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-align: left; /* 让文本对齐到左边 */
    width: 100%; /* 按钮宽度填满父容器 */
    transition: background 0.3s;
}

.service-buttons button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 了解更多按钮 */
/* .more-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    width: fit-content;
}

.more-button:hover {
    background: rgba(255, 255, 255, 0.4);
} */


/* 让 content3 充满整个屏幕，并设置背景图 */
#content3 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/bac3.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ✅ 让内容靠右 */
    padding-right: 5%; /* ✅ 适当调整右侧间距 */
}

/* 文字内容容器（黑色框） */
#content3 .text-container {
    max-width: 40%;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* ✅ 黑色半透明背景 */
    border-radius: 10px;
    margin-left: 55%; /* ✅ 让黑色框稍微远离屏幕边缘 */
	
}





/* 标题样式 */
.text-container h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-container h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 文字描述 */
.text-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 按钮容器 */
.service-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 按钮两列布局 */
    gap: 10px;
    width: 100%;
}

.service-buttons button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-align: left;
    width: 100%;
    transition: background 0.3s;
}

.service-buttons button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 了解更多按钮 */
.more-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    width: fit-content;
}

.more-button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 让 #content4 占满整个屏幕 */
#content4 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #e8f3ff, #ffffff);
    display: flex;
    flex-direction: column; /* ✅ 上下结构 */
    align-items: center;
    justify-content: space-between;
    padding: 10% 15% 50%; /* ✅ 增加顶部间距，使内容整体下移 */
}

/* 上部分标题 */
.content4-top {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
	padding: 0% 0 50px; /* ✅ 增加顶部间距，使内容整体下移 */
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
	color: black !important;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* 下部分卡片 */
.content4-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 卡片容器 */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* 单个卡片 */
.card {
    width: 30%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 卡片头部 */
.card-header {
    background: #166fc8;
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.card-header p {
    font-size: 16px;
    margin: 5px 0 0;
}

/* 卡片内容 */
.card-body {
    padding: 20px;
}

/* 每个条目 */
.card-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-item img {
    width: 40px;
    height: 40px;
}

.card-item h3 {
    font-size: 18px;
    margin: 0 50% 0 0;
	color: #000;
	text-align: left; /* ✅ 确保文字左对齐 */
}

.card-item p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
	text-align: left; /* ✅ 确保文字左对齐 */
}

/* 让 content5 充满整个屏幕 */
#content5 {
    position: relative;
    width: 100%;
    height: 100vh; /* 让 content5 占满整个视口 */
    display: flex;
    flex-direction: column; /* ✅ 让内容上下排列 */
    justify-content: space-between; /* ✅ 让两部分有间距 */
    padding: 50px 5%;
    background: url('../img/bac4-6.jpg') no-repeat center center fixed;
    background-size: cover; /* 让背景图填充整个区域 */
}

/* 上部分 */
.content5-top {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
	 margin-top: 5%; /* ✅ 向下移动 20px */
}

/* 下部分 */
.content5-bottom {
    display: flex;
    justify-content: space-between; /* ✅ 让三部分均匀分布 */
    align-items: center; /* ✅ 垂直居中 */
    gap: 20px; /* ✅ 让三部分之间有间距 */
    padding: 20px;
    /* background: #c8e6c9; /* ✅ 绿色背景，可修改 */ */
    border-radius: 10px;
}

/* 三个部分的样式 */
.content5-center{
    flex: 1; /* ✅ 让每个部分等宽 */
    padding: 20px;
    /* background: rgba(255, 255, 255, 0.6); /* ✅ 半透明背景 */ */
    border-radius: 5px;
	margin-bottom: 2.8%;
}
.content5-left{
    flex: 1; /* ✅ 让每个部分等宽 */
    padding: 20px;
    /* background: rgba(255, 255, 255, 0.6); /* ✅ 半透明背景 */ */
    border-radius: 5px;
}
.content5-right {
    flex: 1; /* ✅ 让每个部分等宽 */
    padding: 20px;
    /* background: rgba(255, 255, 255, 0.6); /* ✅ 半透明背景 */ */
    border-radius: 5px;
	margin-bottom: 5%;
}
/* logo 图片 */
.logo-img {
    width: 100%; /* ✅ 宽度占满整个容器 */
    height: auto; /* ✅ 高度自适应（保持原比例） */
    max-height: 250px; /* ✅ 可选，最大高度限制 */
}

/* 左侧文字 */
.left-text1 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
	margin-top: 20px;
	text-align: left; /* ✅ 确保文字左对齐 */
}
.left-text2 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
	margin-top: 5px;
	text-align: left; /* ✅ 确保文字左对齐 */
}
.medium-text1 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
	margin-top: 20px;
	text-align: left; /* ✅ 确保文字左对齐 */
}
.medium-text2 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
	margin-top: 5px;
	text-align: left; /* ✅ 确保文字左对齐 */
}
.right-text1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
	margin-top: 20px;
	text-align: left; /* ✅ 确保文字左对齐 */
	margin-bottom: 10%;
}
.right-text2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
	margin-top: 20px;
	text-align: left; /* ✅ 确保文字左对齐 */
}
.right-text3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
	margin-top: 20px;
	text-align: left; /* ✅ 确保文字左对齐 */
}

/* 让 content6 充满整个视口 */
#content6 {
    position: relative;
    width: 100%;
    height: 100vh; /* 让 content6 占满整个屏幕 */
    display: flex;
    flex-direction: column; /* ✅ 让子元素上下排列 */
    justify-content: space-between; /* ✅ 均匀分布 */
    align-items: center;
    padding: 50px 5%;
    background: url('../img/bac7.jpg') no-repeat center center fixed;
    background-size: cover; /* 让背景图填充整个区域 */
}

.content6-top {
    display: grid;
    grid-template-columns: 34% 22% 22% 22%; /* 第一列占40%，其余均分 */
    gap: 10px; /* ✅ 设置列间距 */
    width: 100%;
    padding: 20px;
    border-radius: 10px;
	margin-top: 8%;
}

/* 第一列（五行） */
.column-1 {
    display: grid;
    grid-template-rows: auto auto auto auto auto; /* ✅ 五行 */
    gap: 10px; /* ✅ 设置行间距 */
    /* text-align: center; */
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* ✅ 轻微阴影 */
}

/* 标题 */
.col-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
	text-align: left;
}

/* 内容 */
.col-content {
    font-size: 16px;
    color: white;
	margin-top: 5%;
	text-align: left;
	line-height: 2.5;
}

/* 电话 */
.col-phone {
    font-size: 16px;
    font-weight: bold;
    color: white;
	text-align: left;
	line-height: 2.5;
}

/* 邮箱 */
.col-email {
    font-size: 16px;
    color: white;
	text-align: left;
	line-height: 2.5;
}

/* 图标容器（让图标靠左） */
.col-icons {
    display: flex;
    justify-content: flex-start; /* ✅ 让图标靠左对齐 */
    align-items: center; /* ✅ 垂直居中 */
    gap: 10px; /* ✅ 设置图标之间的间距 */
}

/* 调整小图标大小 */
.col-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* ✅ 让黑色图标变白色 */
}
/* 标题 */
.col-title2 {
    font-size: 18px;
    font-weight: bold;
    color: white;
	text-align: center;
}

/* 内容 */
.col-content2 {
    font-size: 17px;
    color: white;
	margin-top: 5%;
	text-align: center;
	line-height: 3.2;
}
/* 每列样式 */
.top-column {
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* ✅ 轻微阴影 */
}


/* 中部分整体样式 */
.content6-middle {
    text-align: left; /* ✅ 让文本左对齐 */
    width: 100%;
    padding: 20px;
    border-radius: 10px;
	margin-left: 1%;
}
/* 友情链接容器，保持水平排列 */
.friend-links {
    display: flex;
    align-items: center; /* ✅ 让标题和列表垂直居中对齐 */
    gap: 10px; /* ✅ 控制标题与列表之间的间距 */
    width: 100%;
}

/* 友情链接标题 */
.friend-title {
    font-size: 16px;
    font-weight: bold;
    color: white;
    white-space: nowrap; /* ✅ 防止换行 */
}

/* 友情链接列表 */
.friend-list {
    display: flex;
    flex-wrap: wrap; /* ✅ 让链接自动换行 */
    gap: 15px; /* ✅ 让链接之间有间隔 */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 每个链接项 */
.friend-list li {
    display: flex;
    align-items: center;
}

/* 友情链接的样式 */
.friend-list a {
    color: #ccc; /* ✅ 浅灰色字体 */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* 悬停变白 */
.friend-list a:hover {
    color: white;
}

/* 竖线分隔符 */
.friend-list li:not(:last-child)::after {
    content: "|";
    color: #777;
    margin-left: 15px;
}

/* 下部分整体样式 */
.content6-bottom {
    display: flex;
    align-items: center; /* ✅ 让文本垂直居中 */
    width: 100%;
    padding: 15px;
    color: #ccc; /* ✅ 文字浅灰色 */
    font-size: 16px;
	margin-left: 1.5%;
}

/* 版权文本样式 */
.copyright-text {
    text-align: left; /* ✅ 文字居中 */
}

/* 备案号链接 */
.copyright-text a {
    color: #aaa; /* ✅ 浅灰色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 备案号悬停变亮 */
.copyright-text a:hover {
    color: white;
}

