/* 基本链接样式 */
a {
    color: #888;
    /* 自定义链接颜色，这里使用了蓝色的变种 */
    text-decoration: none;
    /* 移除下划线 */
    transition: color 0.3s ease;
    /* 添加颜色过渡效果 */
}

/* 悬停状态 */
a:hover {
    color: #888;
    /* 鼠标悬停时的颜色变化 */
    text-decoration: underline;
    /* 鼠标悬停时显示下划线 */
}

/* 访问过的链接 */
a:visited {
    color: #7c3aed;
    /* 访问过的链接颜色 */
}


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* 允许换行 */
}

.navbar .links {
    display: flex;
    flex-wrap: wrap;
    /* 允许换行 */
    justify-content: center;
    /* 中心对齐 */
}

.navbar a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
}


/* 登录按钮样式 */
.navbar .login {
    background-color: #ff7f00;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    margin-left: 15px;
    /* 添加左边距以确保与其他链接有间距 */
}

/* Logo 样式 */
.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

/* 横幅样式 */
.banner {
    display: flex;
    /* 使用 flexbox 布局 */
    flex-direction: column;
    /* 垂直排列 */
    justify-content: flex-start;
    /* 靠上对齐 */
    align-items: flex-start;
    /* 靠左对齐 */
    padding: 20px;
    /* 添加内边距以避免文字紧贴边缘 */
    background-image: url('../img/R-C.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 500px;
    width: 97%;
}

/* 横幅样式 */
.banner-about {
    background-image: url('../img/shipai.png');
}

.content-inner {
    width: 95%;
    /* 限制内容宽度 */
    margin: 0 auto;
    padding: 0 px;
}

.banner-text,
.banner-text1,
.banner-text2 {
    font-size: 30px;
    /* 统一字体大小 */
    color: white;
    /* 字体颜色 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* 添加阴影以提高可读性 */
    margin: 5px 0;
    /* 添加上下间距 */
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* 产品资源部分 */
.content {
    padding: 40px 100px;
    background-color: #f9f9f9;
    text-align: center;
}

.content2 {
    padding: 40px 20px;
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tab-link {
    cursor: pointer;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: 2px solid #007bff;
    border-radius: 5px 5px 0 0;
}

.tab-pane {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

.tab-pane.active {
    display: block;
}

.content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    /* 3 items per row with gap */
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 18px;
    color: #007bff;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #666;
}

/* 统计部分 */
.content1 {
    background-image: url('../img/R-C1.jpg');
    padding: 40px 100px;
    background-color: #f9f9f9;
    height: 500px;
    width: 86%;
    background-size: cover;
    background-position: center;
    text-align: center;
    z-index: -1;
}

.content1 h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.stat-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 单个卡片样式 */
.stat-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.stat-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-description {
    font-size: 14px;
    color: #666;
}

/* 按钮样式 */
.button-container {
    margin-top: 40px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.content2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 改为 flex-start 以确保内容靠上对齐 */
    padding: 40px 100px;
    background-color: #f9f9f9;
    min-height: 100vh;
    /* 设置最小高度，确保内容不被挤出 */
}

.solution-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 改为 flex-start 以确保内容靠上对齐 */
    align-items: center;
    gap: 40px;
    width: 100%;
}

.solution-item {
    display: flex;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    /* 设置最大宽度 */
}

.solution-item img {
    width: 50%;
    object-fit: cover;
}

.solution-content {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.solution-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.solution-features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.solution-features li {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* content3 样式 */
.content3 {
    padding: 40px 100px;
    background-color: #f9f9f9;
}

.tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.tab-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.tab-link {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.tab-link.active {
    background-color: #007bff;
    color: white;
}

.tab-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: flex;
    justify-content: space-between;
}

.tab-left {
    flex: 1;
    padding-right: 20px;
}

.tab-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-right img {
    width: 300px;
    height: 400px;
}

.tab-left h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.tab-left ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.tab-left ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.tab-left p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* content4 样式 */
.content4 {
    padding: 40px 200px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-study {
    display: flex;
    justify-content: space-between;
}

.case-image img {
    width: 100%;
}

.case-image {
    width: 50%;
}

.case-content {
    width: 45%;
}

.case-content h3 {
    color: #007bff;
}

/* content5 样式 */
.content5 {
    padding: 40px 100px;
    background-color: #f9f9f9;
    text-align: center;
}

.honor-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.honor-item {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.honor-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* content6 样式 */
.content6 {
    padding: 40px 100px;
    background-color: #007bff;
    color: white;
    text-align: center;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.qr-item img {
    width: 120px;
    height: 120px;
}

.qr-item p {
    margin-top: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
}

.footer .footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer .footer-links a {
    color: #ccc;
    margin: 0 15px;
    text-decoration: none;
}

.footer .contact-info {
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.footer .qr-codes {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.footer .qr-codes img {
    width: 120px;
    height: 120px;
    margin: 0 10px;
}

.footer-bottom {
    background-color: #111;
    padding: 20px;
    text-align: center;
    color: #888;
}

.footer-icons {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: #f5f5f5;
}

.footer-icon {
    display: flex;
    align-items: center;
    margin: 0 30px;
    font-size: 14px;
    color: #333;
}

.footer-icon img {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

/* 修改样式将 contact-info 和 qr-codes 水平分布 */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin: 0 20px;
}

.footer-top .contact-info {
    text-align: left;
}

.footer-top .qr-codes {
    margin-top: 0;
}