/* ========== 全局基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}
body {
    font-family: 'Times New Roman', Times, serif;
    color: #090909;
    line-height: 1.6;
    font-size: 16px;
    background-color: #fff;
}
img {
    max-width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}
p {
    margin-bottom: 10px;
}
a{
    text-decoration: none!important;
}
a:active{
    color: unset;
    background: unset;
}
ul {
    list-style-type: none; /* 移除圆点 */
    padding-left: 0; /* 可选：移除默认的左侧内边距，让列表左对齐 */
}

/* 方式2：作用于li（效果相同，适合单独控制某个li） */
li {
    list-style-type: none;
}
/* ========== 核心容器样式 ========== */
.container {
    max-width: 1200px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ========== 头部样式 ========== */
/* 广告栏 - 滚动隐藏 */
/* ========== 头部样式 ========== */
/* 广告栏 - 滚动隐藏 */
.ad-bar {
    background-color: #090909;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000; /* 广告栏层级高于导航栏 */
    transition: transform 0.3s ease;
    font-size: 14px;
    width: 100%;
}

/* 头部专属容器样式 */
.header-container {
    max-width: 1400px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
}

/* 头部外层容器样式增强 */
.header-wrapper {
    background-color: #edd997;
    padding: 8px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    /* PC端粘性定位 */
    position: sticky;
    top: 0;
    z-index: 999; /* 确保在最上层 */
}

.dropdown-image .left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.dropdown-menu a{
    color:#090909;
}
.solution_menu{
    display: flex;          /* 启用flex布局 */
    flex-wrap: wrap;        /* 元素超出容器宽度时自动换行 */
    gap: 20px;              /* 元素之间的间距（替代margin，更简洁） */
    padding: 20px;          /* 容器内边距 */
}
.solution_menu_block{
    flex: 0 0 calc(50% - 10px);
    box-sizing: border-box; /* 确保padding不影响宽度计算 */
    text-align: center;
}
/* 仅PC端(≥992px)启用粘性导航，移动端禁用 */
@media (max-width: 991.98px) {
    .header-wrapper {
        position: static; /* 移动端恢复默认定位 */
    }
    .dropdown-menu {
        position: static;
        background-color: #f6f6f6;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .dropdown-list {
        list-style: none;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #D4BE8C;
    }

    .dropdown-item {
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-item li {
        padding-left: 30px;
    }

    .dropdown-list:first-child .dropdown-item{
        border-bottom: none;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-image {
        padding: 15px;
        text-align: center;
    }

    .dropdown-image img {
        max-width: 60%;
        height: auto;
    }

    .solution_menu_block {
        flex: 0 0 100%; /* 移动端宽度100%，一行1个 */
        /* 等价：width: 100%; */
    }
}
/* 优化PC端轮播图间距 */
@media (min-width: 992px) {
    .dropdown-menu {
        display: flex;
        width: 700px !important; /* 调整为合适的宽度 */
        padding: 0;
        overflow: hidden;
    }
    .dropdown-menu a{
        color:#090909;
    }
    .dropdown-content-wrapper {
        display: flex;
        width: 100%;
    }

    .dropdown-list {
        flex: 1;
        list-style: none;
        padding: 0;
        margin: 0;

    }

    .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {

    }

    .dropdown-item a {
        color: #090909;
        text-decoration: none;
        display: block;
    }

    .dropdown-image {
        flex: 0 0 400px; /* 图片区域宽度 */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background-color: #fff;
    }

    .dropdown-image img {
        max-width: 100%;
        max-height: 200px;
        object-fit: contain;
    }
}

/* 头部核心布局：Logo左，标题+导航右 */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 60px;
    padding-bottom: 10px;
}

/* Logo区域 - 左侧独立 */
.header-logo {
    flex: 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-logo img {
    vertical-align: middle;
    max-width: 200px; /* 移动端限制Logo宽度 */
}

/* 右侧区域：标题+功能+导航 */
.header-right {
    flex: 1;
    max-width: calc(100% - 230px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题+搜索+多语言行 */
.header-top-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* 主标题 - 右侧顶部 */
.main-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #090909;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: 'Times New Roman', Times, serif!important;
}

/* 搜索+多语言 - 标题右侧 */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

/* 搜索图标样式 */
.search-icon {
    color: #090909;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px;
}
.search-icon:hover {
    color: #8b5a2b;
}

/* 多语言样式增强 */
.language-selector {
    position: relative;
    padding: 3px 8px;
    border-radius: 4px;
}
.language-selector:hover {
    background-color: #E8D9B0;
}

/* 多语言下拉菜单 */
.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #F5E9C8;
    border: 1px solid #D4BE8C;
    border-radius: 4px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 语言选项样式 */
.language-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    color: #090909;
    text-decoration: none;
    font-size: 0.9rem;
}
.language-option:hover {
    background-color: #D4BE8C;
    color: #8b5a2b;
}
.language-option.active {
    background-color: #D4BE8C;
    color: #8b5a2b;
    font-weight: bold;
}

/* 展开状态 */
.language-selector.open .lang-indicator {
    transform: rotate(180deg);
}
.language-selector.open .language-dropdown {
    display: block;
}

/* 导航栏容器 */
.header-nav-wrapper {
    width: 100%;
    padding-top: 8px;
}

/* 桌面端导航 */
.header-nav {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Times New Roman', Times, serif!important;
}

/* 导航项容器 - 核心：适配下拉菜单 */
.nav-item {
    position: relative;
}

/* 导航链接样式 */
.nav-link {
    color: #090909;
    text-decoration: none;
    font-size: 1.3rem;
    display: block;
    cursor: pointer;
    font-weight: bold;
}
.nav-link:hover {
    color: #8b5a2b;
}

/* 下拉菜单指示器 */
.dropdown-indicator {
    font-size: 0.7rem;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

/* 下拉菜单展开时，指示器旋转 */
.nav-item.open .dropdown-indicator {
    transform: rotate(180deg);
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
/*    background-color: #F5E9C8;
    border: 1px solid #D4BE8C;*/
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 下拉菜单项样式 */
.dropdown-item {
    display: block;
    padding: 15px 15px;
    color: #090909;
    text-decoration: none;
    font-size: 0.9rem;
}
.dropdown-item:hover {
   /* background-color: #f6f6f6;
    color: #8b5a2b;*/
}

/* 下拉菜单展开状态 */
.nav-item.open .dropdown-menu {
    display: block;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #090909;
    cursor: pointer;
    padding: 5px;
}
/* ========== 页脚 ========== */
footer {
    background-color: #2d2d2d;
    color: #fff;
    padding-top:100px;
    padding-bottom: 20px;
    width: 100%;
    font-family: "Candara";
}
.foot .intro{
    font-size: 24px;
    line-height: 26px;
    margin-top:50px;
    margin-bottom: 70px;
}
.foot .icon{
    margin-left:20px;
}
.foot .icon img{
    margin-right: 30px;
}

.foot .contact h4{
    font-size: 55px;
    padding-bottom: 100px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
    font-size: 26px;
    display: block;
}
.footer-contact {
    margin-top: 15px;
}
.footer-contact p {
    padding-bottom: 30px;
    font-size: 26px;
    display: flex;
    align-items: flex-start; /* 图标和文字顶部对齐 */
}
.footer-contact img{
    margin-right: 15px; /* 移动端减小间距 */
    max-width: 24px; /* 移动端限制图标大小 */
    flex-shrink: 0; /* 防止图标被压缩 */
}
.foot .bottom{
    background: #eed996;
    color:#010101;
    width: 100%;
}
.foot .bottom a{
    color:#010101;
}
.foot .bottom .copyright{
    font-size: 22px;
}
.foot .bottom .Privacy{
    font-size: 30px;
}
/* ========== 响应式适配（核心） ========== */
/* 超小屏 (≤575px) - 手机 */
@media (max-width: 575.98px) {
    /* 基础容器适配 */
    .container {
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* 头部适配 */
    .header-container {
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    .header-main {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }
    .header-logo {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center; /* 移动端Logo居中 */
    }
    .header-logo img {
        max-width: 150px; /* 手机端缩小Logo */
    }
    .header-right {
        max-width: 100%;
        width: 100%;
        justify-content: flex-start;
    }
    .header-top-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .main-title {
        font-size: 1.2rem;
        width: 100%;
        text-align: center; /* 移动端标题居中 */

    }
    .header-actions {
        margin-left: 0;
        align-self: center; /* 移动端搜索和语言居中 */
        width: 100%;
        justify-content: center;
    }

    /* 移动端汉堡菜单 */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 60px;
        right: 15px;
        z-index: 1050;
    }
    .header-nav-wrapper {
        display: none;
        border-top: none;
        padding-top: 0;
        margin-top: 10px;
        background-color: #F5E9C8;
        border: 1px solid #D4BE8C;
        border-radius: 4px;
        padding: 10px;
    }
    .header-nav-wrapper.show {
        display: block;
    }
    .header-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 10px 0;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        font-size: 1rem;
        padding: 8px 0;
        width: 100%;
        border-bottom: 1px dashed #D4BE8C;
    }
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* 移动端下拉菜单适配 */
    .dropdown-menu {
        position: static;
        background-color: #E8D9B0;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        min-width: auto;
        width: 100%;
    }
    .language-dropdown {
        position: static;
        background-color: #E8D9B0;
        border: none;
        box-shadow: none;
    }
    /* 页脚适配 */
    footer {
        padding-top: 50px;
    }
    .foot .intro {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    .foot .icon {
        margin-left: 0;
        text-align: center;
    }
    .foot .icon img {
        margin-right: 15px;
        max-width: 24px;
    }
    .foot .contact h4 {
        font-size: 24px;
        padding-bottom: 30px;
        text-align: center;
    }
    .footer-nav a {
        font-size: 18px;
        text-align: center;
    }
    .footer-contact p {
        font-size: 16px;
        padding-bottom: 15px;
        line-height: 1.5;
    }
    .foot .bottom .copyright {
        font-size: 14px;
        text-align: center;
    }
    .foot .bottom .Privacy {
        font-size: 16px;
    }
    .foot .bottom .d-flex {
        gap: 10px;
    }

    /* 通用按钮适配 */
    .btn {
        padding: 8px 15px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }
    .foot .contact{
        display: none;
    }

    .foot-logo{
        text-align: center;
    }

    .chatnow{
        height: 50px;
    }
}

/* 小屏 (576px - 991px) - 平板 */
@media (min-width: 576px) and (max-width: 991.98px) {
    /* 头部适配 */
    .header-main {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }
    .header-logo {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    .header-right {
        max-width: 100%;
        width: 100%;
    }
    .header-top-right {
        flex-direction: row;
        justify-content: space-between;
    }
    .main-title {
        font-size: 1.5rem;
    }

    /* 平板端汉堡菜单 */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 60px;
        right: 15px;
        z-index: 1050;
    }
    .header-nav-wrapper {
        display: none;
    }
    .header-nav-wrapper.show {
        display: block;
    }
    /* 页脚适配 */
    .foot .intro {
        font-size: 18px;
    }
    .footer-contact p {
        font-size: 18px;
    }
}

/* 中屏 (992px - 1799px) */
@media (min-width: 992px) and (max-width: 1799px) {
    .header-container {
        max-width: 90% !important;
    }
    .main-title {
        font-size: 1.8rem;
    }
    .nav-link {
        font-size: 1.1rem;
    }
}
/* 大屏 (≥1800px) */
@media (min-width: 1800px) {
    .container {
        max-width: 1200px !important;
        width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .header-wrapper{
        display: flex;
        justify-content: center;
    }
    .header-container {
        max-width: 1400px !important;
        width: 1400px !important;
    }
}

.family1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 自定义类：适配 fs-5 的响应式 */
.fs-1-responsive {
    font-size: 36px !important; /* 移动端默认 18px */
}
.fs-2-responsive {
    font-size: 30px !important; /* 移动端默认 18px */
}
.fs-3-responsive {
    font-size: 28px !important; /* 移动端默认 18px */
}
.fs-5-responsive {
    font-size: 18px !important; /* 移动端默认 18px */
}
.fs-6-responsive {
    font-size: 16px !important; /* 移动端默认 18px */
}
/* 大屏（≥992px）恢复为 fs-5 的 20px（1.25rem） */
@media (min-width: 992px) {
    .fs-1-responsive {
        font-size: 2.5rem !important; /* 移动端默认 18px */
    }
    .fs-2-responsive {
        font-size: 2rem !important;
    }
    .fs-3-responsive {
        font-size: 1.5rem !important; /* 移动端默认 18px */
    }
    .fs-5-responsive {
        font-size: 1.25rem !important;
    }
    .fs-6-responsive {
        font-size: 1rem !important;
    }
}
