:root {
    --primary-color: #0066ff;
    --secondary-color: #00b7ff;
}

@font-face {
    font-family: GraublauWeb;
    src: url("./fonts/PingFangSC-Regular.otf");
    font-weight: normal;  
    font-style: normal;  
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    text-align: center;
    letter-spacing: 0px;
    color: #1C1C1C;
}
.navbar-nav .nav-link.active-link {
    color: #0A86FF; /* 设置活动链接的颜色 */
}
/* 导航栏样式 */
.navbar {
    justify-content: space-between; /* 确保导航栏内容两端对齐 */
    height: 72px; /* 设置导航栏高度 */
    padding-top: 0; /* 移除顶部内边距 */
    padding-bottom: 0; /* 移除底部内边距 */
    background-color: #f8f9fa; /* 更新背景色 */
    display: flex;
    align-items: center; /* 垂直居中对齐 */
}
/* 导航栏样式 */
.navbar-nav .nav-item {
    margin-left: 80px; /* 设置每组标签的间隔 */
    white-space: nowrap; /* 防止标签换行 */;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0; /* 移除最后一个标签的右间隔 */
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(to right, #0A86FF, #08E2E4);
    border: none;
    height: 36px;
    width: 80px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes bannerFadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-section .banner-text {
    opacity: 0;
    animation: bannerFadeInUp 1s ease forwards;
}
.hero-section {
    background-size: cover;
    background-position: center;
    height: auto; /* 改为自适应高度 */
    min-height: 604px; /* 设置最小高度 */
    padding: 60px 0; /* 添加内边距确保内容不会贴边 */
}
.hero-section .container {
    display: flex;
    align-items: center;
    min-height: 484px;
    width: 100%;
}
.hero-section .img-fluid {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* section样式 */
.separator-line {
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.lead {
    font-size: 26px; /* 设置字体大小为26px */
    color: #1C1C1C;
}
section .h3 {
    padding-top: 60px;
    font-weight: 600;
    font-size: 40px; /* 设置字体大小为40px */
}

section .en-title {
    font-size: 14px;
    font-weight: normal;
    /* line-height: 32px; */
    letter-spacing: 0px;
    color: #1C1C1C;
    margin-bottom: 40px; /* 根据需要调整这个值以增加距离 */
}

section .content {
    font-size: 20px; /* 设置字体大小为20px */
    color: #1C1C1C; /* 设置字体颜色为#1C1C1C */
    margin-bottom: 40px;
    text-indent: 1em; /* 设置首行缩进为1个字符 */
}
/* 产品优势样式 */

.product-advantages {
    background-image: url('../assets/product_advantages_bg.png');
    background-size: cover;
    background-position: center;
    padding-bottom: 80px;
}
.carousel-caption {
    text-align: left;
    left: 10%;
    padding-top: 30px;
}
.carousel-caption h3 {
    font-size: 28px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 1.4px;
    color: #FFFFFF;
}
.carousel-caption p {
    font-size: 21px;
    font-weight: normal;
    line-height: 36px;
    text-align: justify; /* 浏览器可能不支持 */
    letter-spacing: 0px;
    color: #FFFFFF;
}
/* 页脚样式 */
.footer-info {
    font-size: 12px;
    color: #6E6E6E;
}

.footer-text-weight {
    font-size: 20px;
    font-weight: normal;
    line-height: 32px;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.fotter-divider {
    border: 1px solid #2A2A2A;
    opacity: 1;
}

footer .container {
    max-width: 1440px;
    margin-top: 68px;
}
footer h5 a,
footer h5 span {
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-decoration: none;
}
footer .icon {
    width: 14px;
    height: 15.4px;
    margin-right: 8px; /* 设置图标与文字之间的空格 */
}

footer li,
footer a {
    font-size: 14px;
    font-weight: normal;
    line-height: 30px;
    letter-spacing: 0px;
    color: #878787;
    text-decoration: none;
}

.footer-text {
    margin: 0; /* 移除默认外边距 */
}

footer .qrcode {
    width: 86px;
    height: 86px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
}
@media (max-width: 1024px) {
    .carousel-caption {
        text-align: left;
        left: 10%;
        padding-top: 30px;
    }
}
@media (max-width: 1200px) {
    .navbar-nav .nav-item {
        margin-left: 50px; /* 设置每组标签的间隔 */
    }
}

.features-section .border-0 {
    position: relative; /* 添加相对定位 */
}

.animated-line {
    position: absolute;
    bottom: 30px;
    left: 21px;
    height: 2px;
    background-color: #0A86FF; /* 线条颜色 */
    /* animation: lineExpand 2s ease-in-out forwards; */
}
@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: calc(100% - 42px);
    }
}
.to-top-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.to-top-btn.visible {
    opacity: 1;
}

.to-top-img {
    width: 40px;
    height: 40px;
}
.to-bot-img {
    width: 200%;
    height: 200%;
    object-fit: cover;
    transform: translate(-26%, -20%);
}
