@import url("https://fonts.alicdn.com/t/1.0.0/AlibabaPuHuiTi-2-55-Regular.css");
/* 引入阿里巴巴普惠字体 */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

/* 以下是加入我们CSS */
body {
    font-family: 'Alibaba PuHuiTi 2.0', sans-serif; /* 使用阿里巴巴普惠字体 */
    text-decoration: none; /* 去除所有链接的下划线 */
}

a {
    font-family: 'Alibaba PuHuiTi 2.0', sans-serif; /* 使用阿里巴巴普惠字体 */
    text-decoration: none; /* 去除所有链接的下划线 */
}

.feature-box {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加更柔和的阴影 */
    transition: transform 0.3s ease; /* 添加悬停效果 */
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: #3498db; /* 使用蓝色作为图标颜色 */
    margin-bottom: 20px;
}

/* 以下是首页CSS */

/* 移除鼠标悬停时的蓝色方框 */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    outline: none;
    box-shadow: none;
}

.footer p {
    margin-bottom: 0.5rem; /* 设置段落之间的垂直间距 */
}

.vertical-line {
    border-left: 1px solid #dee2e6; /* 设置分割线样式 */
    height: 350px; /* 设置分割线的高度 */
    margin: 0 15px; /* 设置分割线的左右边距 */
}

.text-limit {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 限制行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 允许换行 */
    max-width: 100%; /* 确保宽度不超过父容器 */
}

.column-hover:hover {
    background-color: #f8f9fa; /* Light grey background on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Shadow on hover */
    transform: translateY(-0.25rem); /* Slightly lift the column on hover */
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; /* Smooth transition */
}

/* Custom CSS for horizontal line */
.row hr {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    border-color: #dee2e6; /* Bootstrap default border color */
}

.custom-bold {
    font-weight: 700; /* You can adjust the font weight value as needed */
}

/* 以下是简介CSS */

.hero-section {
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.2rem;
    margin-top: 20px;
}

.about-section {
    padding: 80px 0;
    border: none; /* 移除边框 */
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

.team-member p {
    font-size: 1rem;
    color: #6c757d;
}

/* 以下是资质CSS */
.custom-size {
    width: 60%; /* 相对于父容器的宽度 */
    height: auto; /* 高度自动调整 */
    overflow: auto; /* 隐藏滚动条 */
}

/* 以下是团队页面CSS */
.team-member {
    background-color: #f8f9fa; /* 浅灰色背景 */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1); /* 添加阴影 */
    transition: transform .2s; /* 添加hover效果 */
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team-member h5 {
    margin-bottom: 10px;
}

.team-member .social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #333;
    font-size: 20px;
    transition: color .2s;
}

.team-member .social-links a:hover {
    color: #0d6efd; /* Bootstrap蓝色 */
}

/* 以下是审计鉴证CSS */
header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333; /* 标题使用较深灰色 */
}

header p {
    font-size: 1.2rem;
    color: #999; /* 副标题使用更浅灰色 */
    margin-top: 1rem;
}

section {
    padding: 2rem 0;
    border-bottom: 1px solid #eaeaea;
}

section:last-child {
    border-bottom: none;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #bbb; /* 浅灰色的页脚文字 */
    border-top: none;
}

/* 以下是文章显示CSS */
.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

/* 以下是导航CSS */
.dropdown-menu {
    border: none; /* 移除边框 */
    box-shadow: none; /* 移除阴影（可选） */
    border-radius: 0; /* 圆角 */
}

.form-control {
    border-radius: 10px; /* 圆角 */
    height: auto;
    width: auto;
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

/* 移除鼠标悬停时的蓝色方框 */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    outline: none;
    box-shadow: none;
}

.footer p {
    margin-bottom: 0.5rem; /* 设置段落之间的垂直间距 */
}

/* Custom CSS for horizontal line */
.row hr {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    border-color: #dee2e6; /* Bootstrap default border color */
}

.custom-bold {
    font-weight: 700; /* You can adjust the font weight value as needed */
}

/* 百度地图CSS */
#map {
    height: 400px; /* 高度 */
    width: 100%; /* 宽度 */
}

/* 研究 */
/* 卡片样式 */
.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 关于我们页面CSS */
.photo-wall {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #f0e6d6; /* 背景色 */
}

.photo {
    position: absolute;
    width: 300px; /* 照片宽度 */
    height: auto;
    border: 5px solid white; /* 照片边框 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 阴影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 悬停动画 */
}

.photo:hover {
    transform: scale(1.1) rotate(0deg); /* 悬停时放大并取消旋转 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 悬停时阴影加深 */
    z-index: 10; /* 悬停时照片置顶 */
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
}
