/* 自定义样式 */

/* 字体定义 */
@font-face {
    font-family: 'PoppinsVF';
    src: url('../fonts/Poppins-VariableFont_wght.otf') format('truetype');
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap;
 /* font-stretch: 75% 125%;  */
}

/* 自定义颜色变量 */
:root {
    --primary-green: #126352;
    --primary-green-dark: #0A4238;
    --primary-orange: #FD742D;
    --primary-orange-dark: #E55A1A;
    --primary-gray: #3C3F3F;
    --primary-gray-dark: #272A2A;
    --primary-gray-light: #626565;
    --primary-gray-lighter: #8D9090;
    --primary-gray-lightest: #B7B9B9;
    --primary-gray-lightestest: #f1f1f1;
    --primary-green-light: #E8F5EA;
    /* Font Variables */
    --font-primary: 'PoppinsVF','Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'STHeiti', 'SimHei', sans-serif;
}

/* 颜色工具类 */

/* 绿色工具类 */
.border-primary-green {
    border: 1px solid var(--primary-green);
    border-color: var(--primary-green);
}
.bg-primary-green {
    background-color: var(--primary-green);
}
.bg-primary-green-dark {
    background-color: var(--primary-green-dark);
}
.bg-primary-green-light {
    background-color: var(--primary-green-light);
}
.text-primary-green {
    color: var(--primary-green);
}
.text-primary-green-dark {
    color: var(--primary-green-dark);
}
.hover\:bg-primary-green:hover {
    background-color: var(--primary-green);
}
.hover\:bg-primary-green-dark:hover {
    background-color: var(--primary-green-dark);
}
.hover\:text-primary-green:hover {
    color: var(--primary-green);
}
.hover\:text-primary-green-dark:hover {
    color: var(--primary-green-dark);
}
.hover\:border-primary-green:hover {
    border-color: var(--primary-green);
}
.hover\:text-white:hover {
    color: white;
}

/* 支持 Tailwind 中使用主题绿色 */
.bg-primary-green\/20 {
    background-color: rgba(18, 99, 82, 0.2);
}
.bg-primary-green\/30 {
    background-color: rgba(18, 99, 82, 0.3);
}

/* 橙色工具类 */
.border-primary-orange {
    border: 1px solid var(--primary-orange);
}
.bg-primary-orange {
    background-color: var(--primary-orange);
}
.bg-primary-orange-dark {
    background-color: var(--primary-orange-dark);
}
.text-primary-orange {
    color: var(--primary-orange);
}
.text-primary-orange-dark {
    color: var(--primary-orange-dark);
}
.hover\:bg-primary-orange:hover {
    background-color: var(--primary-orange);
}
.hover\:bg-primary-orange-dark:hover {
    background-color: var(--primary-orange-dark);
}
.hover\:text-primary-orange:hover {
    color: var(--primary-orange);
}
.hover\:border-primary-orange:hover {
    border-color: var(--primary-orange);
}
.hover\:text-primary-orange-dark:hover {
    color: var(--primary-orange-dark);
}
.hover\:border-primary-orange-dark:hover {
    border-color: var(--primary-orange-dark);
}

/* 灰色工具类 */
.bg-primary-gray {
    background-color: var(--primary-gray);
}
.bg-primary-gray-dark {
    background-color: var(--primary-gray-dark);
}

/* Group hover */
.group:hover .group-hover\:text-white {
    color: white;
}
.group:hover .group-hover\:text-primary-green {
    color: var(--primary-green);
}
.group:hover .group-hover\:bg-primary-green {
    background-color: var(--primary-green);
}
.group:hover .group-hover\:bg-primary-green-dark {
    background-color: var(--primary-green-dark);
}
.group:hover .group-hover\:text-primary-orange {
    color: var(--primary-orange);
}
.group:hover .group-hover\:text-primary-orange-dark {
    color: var(--primary-orange-dark);
}
.group:hover .group-hover\:bg-primary-orange {
    background-color: var(--primary-orange);
}
.group:hover .group-hover\:bg-primary-orange-dark {
    background-color: var(--primary-orange-dark);
}

/* Global Styles */
html {
    background-color: transparent !important;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    overflow-x: hidden;
    color: #3C3F3F;
    margin: 0;
    padding: 0;
}

/* 修复移动端滚动时页面高度变化的问题 */
/* 在移动端，使用 fixed 定位的 sidebar-menu 使用视口高度而不是父元素高度 */
@media (max-width: 1023px) {
    #sidebar-menu[class*="fixed"] {
        height: 100vh !important;
        height: 100dvh !important; /* 使用动态视口高度，避免地址栏影响 */
        max-height: 100vh !important;
        max-height: 100dvh !important;
    }
}



/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}


/* GSAP 动画类 - 初始隐藏状态 */
.gsap-animate {
    visibility: hidden;
}

/* Fade In Up - 从下方淡入 */
.gsap-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Fade In Down - 从上方淡入 */
.gsap-fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
}

/* Fade In Left - 从左侧淡入 */
.gsap-fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

/* Fade In Right - 从右侧淡入 */
.gsap-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

/* Fade In - 仅淡入 */
.gsap-fade-in {
    opacity: 0;
}

/* Zoom In - 缩放进入 */
.gsap-zoom-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Zoom Out - 放大进入 */
.gsap-zoom-out {
    opacity: 0;
    transform: scale(1.2);
}

/* Slide In Up - 从下方滑入（无淡入） */
.gsap-slide-in-up {
    transform: translateY(50px);
}

/* Slide In Down - 从上方滑入 */
.gsap-slide-in-down {
    transform: translateY(-50px);
}

/* Slide In Left - 从左侧滑入 */
.gsap-slide-in-left {
    transform: translateX(-50px);
}

/* Slide In Right - 从右侧滑入 */
.gsap-slide-in-right {
    transform: translateX(50px);
}

/* 移动端禁用 GSAP 动画 */
@media (max-width: 767px) {
    /* 单个元素在移动端禁用动画 */
    .gsap-animate[data-mobile-disable="true"] {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* 如果容器有 data-mobile-disable，禁用容器内所有子元素的动画 */
    [data-mobile-disable="true"] .gsap-animate,
    [data-stagger][data-mobile-disable="true"] .gsap-animate {
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* Swiper 轮播图样式 */
.heroSwiper .swiper-pagination {
    bottom: 30px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Swiper 导航按钮样式 */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        display: none; /* 移动端隐藏导航按钮 */
    }
    
    .heroSwiper .swiper-pagination {
        bottom: 20px;
    }
}

.clientSaySwiper .clientSaySwiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #8D9090;
    opacity: 0.3;
    transition: all 0.3s;
}

.clientSaySwiper .clientSaySwiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-orange);
    width: 30px;
    border-radius: 6px;
    opacity: 1;
}

.table-container::-webkit-scrollbar {
    width: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.canshu{ font-size: 14px; overflow: hidden;}

.canshu .table-container{
    max-width: 100vw;
    width: 100%;
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}
.canshu .table-container p {
    margin: 20px 0;
    font-size:14px;
}

.canshu .table-container h3{
font-size: 16px;
font-weight: 600;
margin-bottom: 1.25rem;
position: relative;
}


.canshu .table-container::-webkit-scrollbar {
    width: 3px;
    height: 3px; 

}

.canshu .table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0;
}

.canshu .table-container::-webkit-scrollbar-thumb {
    background: #1E579E;
    border-radius: 0;
}

.canshu .table-container::-webkit-scrollbar-thumb:hover {
    background: #0f3d6b;
}

.canshu table{
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    
}

.canshu th,.canshu td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    background-color:white;
    transition: background-color 0.1s ease,color 0.3s ease;
    border-bottom: 1px solid #e0e0e0;

}

.canshu-img {
    background-color: transparent !important;
}

.canshu-img img {
    background-color: transparent !important;
    mix-blend-mode: normal;
}
@media (max-width: 767px) {

    .canshu th,.canshu td {
        font-size: 12px !important;
    
    }
    .canshu table tr:first-child td{
        font-size: 12px !important;
    }
}
@media (max-width: 1023px) {
    .canshu .canshu-img {
        max-width: 300px !important;
    }

    .canshu .table-container {
        padding-right: 16px;
        padding-bottom: 16px;
    }
}
@media (min-width: 1024px) {

.canshu .table-container p {
    font-size:16px;
}
.canshu .table-container h3{
font-size: 18px;
}

.canshu th,.canshu td {
    font-size: 16px;
    padding: 20px;

   }
}

.canshu table tr:first-child {
    position: sticky;
    -webkit-position: sticky;
    -moz-position: sticky;
    -ms-position: sticky;
    -o-position: sticky;
    top: 0px;
    z-index: 20;
    color: white;
}
.canshu table tr:first-child td{
    font-size: 16px;
}

.canshu table tr:first-child td {
   color: white;
    background-color: var(--primary-green);
}

.canshu tr:nth-child(odd) td {
    background-color: #f0f0f0;
}

.canshu tr:hover td {
    background-color: var(--primary-green);
    color: white;
}

.canshu td {
    color: #333333;
}

/* ===== nav-10 面包屑导航专属样式 ===== */
.nav-10 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    background: #f9fafb;
    padding: 10px 16px;
    border-radius: 8px;
    overflow-x: auto; /* 防止移动端溢出 */
    white-space: nowrap;
    margin-bottom: 20px;
}

/* 链接样式 */
.nav-10 a {
    color: #374151;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    font-weight: 600;
}

/* hover效果 */
.nav-10 a:hover {
    color: #2563eb;
}

/* 当前页（最后一个链接） */
.nav-10 a:last-child {
    color: #9ca3af;
    pointer-events: none;
}

/* 分隔符优化 */
.nav-10 a + a:before {
    content: "/";
    color: #d1d5db;
    margin: 0 8px;
}

/* 滚动条优化（兼容主流浏览器） */
.nav-10::-webkit-scrollbar {
    height: 4px;
}
.nav-10::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* ===== 平板适配 ===== */
@media (max-width: 992px) {
    .nav-10 {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ===== 手机适配 ===== */
@media (max-width: 768px) {
    .nav-10 {
        font-size: 12px;
        padding: 8px 10px;
        border-radius: 6px;
    }

    .nav-10 a + a:before {
        margin: 0 6px;
    }
}

/* ===== 小屏手机 ===== */
@media (max-width: 480px) {
    .nav-10 {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* ===== 超大屏优化（可选） ===== */
@media (min-width: 1400px) {
    .nav-10 {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* ===== FAQ模块专属样式（仅作用 container-faqs） ===== */
.container-faqs {
    max-width: 1500px;
    margin: 40px auto;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* 标题 */
.container-faqs .title-faqs {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.4;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
}

/* FAQ内容区 */
.container-faqs .text-faqs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 每个问题块 */
.container-faqs .text-faqs h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 8px;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
}

/* hover效果 */
.container-faqs .text-faqs h2:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* 箭头图标 */
.container-faqs .text-faqs h2::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #2563eb;
}

/* 答案 */
.container-faqs .text-faqs p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 8px;
    margin: -8px 0 0 0;
    border: 1px solid #e5e7eb;
}

/* ===== 平板适配 ===== */
@media (max-width: 992px) {
    .container-faqs {
        padding: 20px;
    }

    .container-faqs .title-faqs {
        font-size: 20px;
    }

    .container-faqs .text-faqs h2 {
        font-size: 15px;
    }
}

/* ===== 手机适配 ===== */
@media (max-width: 768px) {
    .container-faqs {
        /* margin: 20px 12px; */
        padding: 16px;
        border-radius: 10px;
    }

    .container-faqs .title-faqs {
        font-size: 18px;
    }

    .container-faqs .text-faqs h2 {
        font-size: 14px;
        padding: 12px;
    }

    .container-faqs .text-faqs p {
        font-size: 13px;
        padding: 12px;
    }
}

/* ===== 小屏手机 ===== */
@media (max-width: 480px) {
    .container-faqs {
        padding: 14px;
    }

    .container-faqs .title-faqs {
        font-size: 16px;
    }
}

/* ===== 大屏优化 ===== */
@media (min-width: 1400px) {
    .container-faqs {
        max-width: 1500px;
    }

    .container-faqs .title-faqs {
        font-size: 24px;
    }
}

/* 作用域限定：只影响该模块 */
.footer-nav-wrapper {
    padding: 30px 15px;
    background: #0f172a; /* 深色背景 */
    font-family: Arial, Helvetica, sans-serif;
}

/* 栅格布局（替代 bootstrap 兼容写法） */
.footer-nav-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* 每列 */
.footer-nav-wrapper .col-md-3 {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

/* 卡片样式 */
.footer-nav-wrapper .footer-nav {
    background: #1e293b;
    border-radius: 10px;
    padding: 18px 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

/* hover效果 */
.footer-nav-wrapper .footer-nav:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

/* 标题 */
.footer-nav-wrapper .footer-nav h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-nav-wrapper .footer-nav h4 a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s;
}

.footer-nav-wrapper .footer-nav h4 a:hover {
    color: #38bdf8;
}

/* 列表 */
.footer-nav-wrapper .list-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 链接 */
.footer-nav-wrapper .list-group-item {
    font-size: 14px;
    color: #cbd5f5;
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.25s ease;
    position: relative;
}

/* 左侧hover线条 */
.footer-nav-wrapper .list-group-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #38bdf8;
    transition: height 0.25s ease;
}

.footer-nav-wrapper .list-group-item:hover {
    color: #38bdf8;
    padding-left: 6px;
}

.footer-nav-wrapper .list-group-item:hover::before {
    height: 70%;
}

/* ========== 响应式 ========== */

/* ≤1200px */
@media (max-width: 1200px) {
    .footer-nav-wrapper .col-md-3 {
        width: 33.33%;
    }
}

/* ≤992px */
@media (max-width: 992px) {
    .footer-nav-wrapper .col-md-3 {
        width: 50%;
    }
}

/* ≤600px（手机） */
@media (max-width: 600px) {
    .footer-nav-wrapper {
        padding: 20px 10px;
    }

    .footer-nav-wrapper .col-md-3 {
        width: 100%;
    }

    .footer-nav-wrapper .footer-nav {
        padding: 14px;
    }

    .footer-nav-wrapper .footer-nav h4 {
        font-size: 15px;
    }

    .footer-nav-wrapper .list-group-item {
        font-size: 13px;
    }
}