/* 
 * 西安禾艾靳企业官网样式文件
 * 基于Figma设计
 */

/* ===== 引用外部样式 ===== */
@import url('../js/bootstrap-5.3.0-alpha1-dist/css/bootstrap.min.css');
@import url('../js/iconfont/--css2.css');

/* ===== 基础设置 ===== */
:root {
    --primary-blue: #155DFC;
    --primary-dark: #193CB8;
    --text-dark: #101828;
    --text-medium: #364153;
    --text-light: #6A7282;
    --text-lighter: #99A1AF;
    --bg-light-blue: #DBEAFE;
    --bg-light-blue-dark: #BEDBFF;
    --border-color: #E5E7EB;
    --footer-bg: #101828;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== 导航栏样式 ===== */
.navbar {
    background: white;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    padding: 0;
    height: 80px;
    transition: all 0.3s ease;
    z-index: 1050;
}

/* 首页导航栏透明样式 */
.navbar-transparent {
    background: transparent;
    box-shadow: none;
}

.navbar-transparent .navbar-brand {
    color: white !important;
}

.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link.active {
    color: white !important;
}

/* Logo切换 */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark) !important;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    min-width: 20px;
    max-width: none;
    object-fit: contain;
}

.navbar-brand .logo-white {
    display: none;
}

.navbar-brand .logo-dark {
    display: block;
}

.navbar-transparent .navbar-brand .logo-white {
    display: block;
}

.navbar-transparent .navbar-brand .logo-dark {
    display: none;
}

/* 滚动后的导航栏 */
.navbar-scrolled {
    background: white !important;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10) !important;
}

.navbar-scrolled .navbar-brand {
    color: var(--text-dark) !important;
}

.navbar-scrolled .navbar-brand .logo-white {
    display: none;
}

.navbar-scrolled .navbar-brand .logo-dark {
    display: block;
}

.navbar-scrolled .nav-link {
    color: var(--text-medium) !important;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
    color: var(--primary-blue) !important;
}

.nav-link {
    color: var(--text-medium) !important;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
}

/* 汉堡菜单按钮样式 */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero区域样式 - 全屏轮播 ===== */
.hero-carousel {
    position: relative;
    z-index: 1;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.25) 0%, rgba(25, 60, 184, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    width: 224px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 轮播控制按钮 */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.hero-carousel .carousel-control-prev {
    left: 30px;
}

.hero-carousel .carousel-control-next {
    right: 30px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* 轮播指示器 */
.hero-carousel .carousel-indicators {
    bottom: 60px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

/* 轮播按钮样式 */
.btn-outline-light {
    color: white;
    border-color: white;
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 500;
    font-size: 16px;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
}

/* ===== 按钮样式 ===== */
.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 500;
    font-size: 16px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 93, 252, 0.3);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 40px;
    padding: 12px 32px;
    font-weight: 500;
    font-size: 16px;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-weight: 600;
}

.btn-light:hover {
    background: var(--bg-light-blue);
    transform: translateY(-2px);
}

/* ===== 卡片样式 ===== */
.product-card,
.solution-card,
.news-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.news-card img {
    width: 483px;
    height: 312px;
}

.product-card:hover,
.solution-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.solution-card .card-img-top {
    aspect-ratio: 16 / 9;
}

/* 新闻阅读全文链接 */
.news-read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
    font-size: 18px;
}

.news-read-more:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.news-read-more span {
    transition: transform 0.3s ease;
}

.news-read-more:hover span {
    transform: translateX(4px);
}

/* 联系我们模块 - 解决方案页面 */
.contact-section.solutions-contact {
    background-image: url('../assets/images/xtbj.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.contact-section.solutions-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.contact-section.solutions-contact>* {
    position: relative;
    z-index: 2;
}

.solutions-contact .contact-card {
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    padding: 0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.solutions-contact .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.solutions-contact .contact-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.solutions-contact .contact-title {
    font-size: 20px;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 8px;
}

.solutions-contact .contact-desc {
    font-size: 16px;
    color: #717182;
    font-weight: 400;
    margin-bottom: 0;
}

.solutions-contact .contact-body {
    padding: 24px;
}

.solutions-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.solutions-contact .contact-item:last-child {
    margin-bottom: 0;
}

.solutions-contact .contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.solutions-contact .contact-icon-blue {
    background: #EFF6FF;
    color: #155DFC;
}

.solutions-contact .contact-icon-green {
    background: #F0FDF4;
    color: #16A34A;
}

.solutions-contact .contact-icon-purple {
    background: #FAF5FF;
    color: #9333EA;
}

.solutions-contact .contact-item-content {
    display: flex;
    flex-direction: column;
}

.solutions-contact .contact-label {
    font-size: 14px;
    color: #6A7282;
    font-weight: 400;
    margin-bottom: 4px;
}

.solutions-contact .contact-value {
    font-size: 16px;
    color: #0A0A0A;
    font-weight: 500;
}

/* 关于我们页面 - 联系我们模块 */
.contact-section {
    background: #F9FAFB;
    padding: 80px 0;
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--bg-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-icon-wrapper img {
    width: 32px;
    height: 32px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
}

.contact-card-text {
    font-size: 15px;
    color: var(--text-medium);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-contact-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* 成功案例模块 */
.cases-section {
    background-image: url('../assets/images/bg-mk1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.cases-section>* {
    position: relative;
    z-index: 2;
}

/* 案例轮播样式 */
.cases-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.cases-carousel {
    /* overflow: hidden; */
}

.cases-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.cases-slide {
    display: flex;
    gap: 24px;
    min-width: 100%;
}

.cases-slide .case-card {
    flex: 1;
}

.case-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.case-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.case-solution {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.case-desc {
    position: relative;
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-desc_tooltip {
    position: absolute;
    left: 50px;
    top: 200px;
    width: 250px;
    margin: 0 auto;
    z-index: 99;
    background-color: #333;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    border-radius: 10px;
    white-space: normal;
    /* display: block; */
    z-index: 10;
    display: none
}

.case-desc:hover+.case-desc_tooltip {
    display: block;
}

/* .case-desc::after {
    content: 1111;
    display: block;
    clear: both;
}

.case-desc:hover.case-desc::after {
    content: 1111;
    position: absolute;
    left: 100%;
    top: o;
    width: 100px;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    white-space: normal;
    display: block;
    z-index: 10;
} */

/* 案例轮播导航按钮 */
.cases-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-medium);
}

.cases-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.cases-nav-prev {
    left: 0;
}

.cases-nav-next {
    right: 0;
}

/* 案例轮播指示器 */
.cases-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.cases-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cases-dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 5px;
}

/* 案例轮播响应式 */
@media (max-width: 991px) {
    .cases-carousel-wrapper {
        padding: 0 40px;
    }

    .cases-nav {
        width: 32px;
        height: 32px;
    }

    .cases-slide .case-card {
        flex: 0 0 calc(50% - 12px);
    }

    .cases-slide .case-card:last-child {
        display: none;
    }
}

@media (max-width: 768px) {
    .cases-carousel-wrapper {
        padding: 0 30px;
    }

    .cases-slide {
        flex-direction: column;
        gap: 16px;
    }

    .cases-slide .case-card {
        flex: 1;
    }

    .cases-slide .case-card:last-child {
        display: block;
    }
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
    white-space: nowrap;
    /* 防止文本换行 */
    overflow: hidden;
    /* 隐藏溢出的文本 */
    text-overflow: ellipsis;
    /* 使用省略号表示溢出的文本 */
}

/* ===== CTA区域样式 ===== */
.cta-section {
    background: linear-gradient(90deg, #155DFC 0%, #193CB8 100%);
}

.cta-box {
    background: linear-gradient(90deg, #155DFC 0%, #193CB8 100%);
    border-radius: 16px;
    padding: 64px;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--bg-light-blue);
    margin-bottom: 32px;
}

/* ===== 页脚样式 ===== */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 48px 0 0;
}

.footer-logo {
    height: 30px;
    width: auto;
    min-width: 20px;
    max-width: none;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-company {
    font-size: 20px;
    color: var(--text-lighter);
    margin-bottom: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-lighter);
}

.footer-contact-item i {
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #1E2939;
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-lighter);
}

/* ===== 页面标题样式 ===== */
.page-header {
    padding: 48px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-header-products {
    background-image: url('../assets/images/bg1.jpg');
}

.page-header-solutions {
    background-image: url('../assets/images/bg2.jpg');
}

.page-header-news {
    background-image: url('../assets/images/bg3.jpg');
}

.page-header-about {
    background-image: url('../assets/images/bg2.jpg');
}

.page-header-detail {
    background-image: url('../assets/images/bg3.jpg');
    text-align: left !important;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: white;
    opacity: 0.7;
}

/* ===== 区块标题样式 ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== 分类筛选样式 ===== */
.filter-section {
    margin-bottom: 48px;
}

.filter-btn {
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-medium);
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 16px;
    margin: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* ===== 新闻卡片特殊样式 ===== */
.news-card .badge {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
}

/* ===== 联系表单样式 ===== */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.1);
}

textarea.form-control {
    min-height: 120px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .cta-box {
        padding: 48px 32px;
    }

    .cta-title {
        font-size: 28px;
    }

    /* 移动端导航背景 */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 16px;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse .nav-link {
        color: var(--text-medium) !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: var(--primary-blue) !important;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 28px;
    }

    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-title {
        font-size: 24px;
    }

    .footer {
        padding: 32px 0 0;
    }

    .hero-carousel .carousel-indicators {
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .btn-lg {
        padding: 10px 24px;
        font-size: 14px;
    }

    .card-title {
        font-size: 18px;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

/* ===== 面包屑样式 ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--text-light);
}

/* ===== 徽章样式 ===== */
.badge-primary {
    background: var(--primary-blue);
}

.badge-success {
    background: #10B981;
}

.badge-info {
    background: #3B82F6;
}

.badge-warning {
    background: #F59E0B;
}

/* ===== 关于我们页面样式 ===== */
.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Hero Section - About */
.hero-section {
    position: relative;
    height: 260px;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-section .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.hero-section .hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 768px;
}

/* Company Intro */
.company-intro {
    padding: 60px 0;
}

.intro-image {
    border-radius: 16px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.intro-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.intro-text {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 3;
}

/* Mission Vision Cards */
.mission-vision {
    padding: 60px 0;
    background: #F9FAFB;
}

.mv-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
    height: 100%;
}

.mv-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mv-card-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.mv-card-text {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Core Values */
.core-values {
    padding: 80px 0;
}

.value-card {
    background: white;
    border-radius: 14px;
    /* overflow: hidden; */
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
}

.value-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.value-content {
    padding: 24px;
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-desc {
    font-size: 16px;
    color: var(--text-light);
    white-space: nowrap;
    /* 防止文本换行 */
    overflow: hidden;
    /* 隐藏溢出的文本 */
    text-overflow: ellipsis;
    /* 使用省略号表示溢出的文本 */
}

.value-desc_tooltip {
    position: absolute;
    left: 50px;
    top: 230px;
    max-width: 250px;
    margin: 0 auto;
    z-index: 99;
    background-color: #333;
    color: #fff;
    font-size: 12px;
    padding: 5px;
    border-radius: 10px;
    white-space: normal;
    /* display: block; */
    z-index: 10;
    display: none
}

.value-desc:hover+.value-desc_tooltip {
    display: block;

}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.timeline {
    position: relative;
    max-width: 896px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--bg-light-blue-dark);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 48px);
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 48px);
}

.timeline-content {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    width: 408px;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    top: 68px;
}

.timeline-year {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 16px;
    color: var(--text-light);
}

/* Achievement Section */
.achievement-section {
    padding: 96px 0;
    background: linear-gradient(90deg, #155DFC 0%, #193CB8 100%);
}

.achievement-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.achievement-subtitle {
    font-size: 20px;
    color: var(--bg-light-blue);
    margin-bottom: 48px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: var(--bg-light-blue);
}

/* Certifications Carousel */
.certifications {
    padding: 80px 0;
}

.cert-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.cert-carousel {
    overflow: hidden;
}

.cert-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.cert-slide {
    display: flex;
    gap: 20px;
    min-width: 100%;
}

.cert-item {
    flex: 0 0 calc(16.666% - 17px);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-item:hover {
    box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.cert-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: 8px;
}

.cert-name {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.4;
}

.cert-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.cert-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.cert-nav-prev {
    left: 0;
}

.cert-nav-next {
    right: 0;
}

.cert-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.cert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-dot.active {
    background: var(--primary-blue);
    width: 30px;
    border-radius: 5px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.team-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== 详情页样式 ===== */
.breadcrumb-section {
    background: var(--bg-light-blue);
    padding: 20px 0;
}

.breadcrumb-section .breadcrumb {
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-section .breadcrumb-item a {
    color: black;
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--text-dark);
}

.header-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.detail-header {
    padding: 48px 0 32px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-light-blue-dark);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
}

.back-link:hover {
    color: var(--primary-blue);
}

.category-tag {
    display: inline-block;
    color: var(--bg-light-blue-dark);
    font-size: 14px;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.detail-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 0;
}

.detail-content {
    padding: 60px 0;
}

.detail-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 48px;
}

.detail-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 32px;
    width: 100%;
}

.detail-description img {
    max-width: 100%;
}

/* 文章导航 - 上一篇/下一篇 */
.article-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.article-nav-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-nav-item:last-child {
    margin-bottom: 0;
}

.article-nav-item:hover {
    background: var(--bg-light-blue);
    transform: translateX(8px);
}

.article-nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-label {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    min-width: 60px;
    margin-right: 16px;
}

.nav-title {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.article-nav-item:hover .nav-title {
    color: var(--primary-blue);
}

/* 详情页联系人样式 */
.detail-contact-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.detail-contact-item {
    text-align: center;
    padding: 20px;
}

.detail-contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.detail-contact-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.detail-contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-divider {
    border-top: 1px solid var(--border-color);
    margin-top: 32px;
    padding-top: 32px;
    text-align: center;
}

.contact-question {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.contact-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: var(--primary-dark);
}

.cta-btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* ===== 响应式补充 ===== */
@media (max-width: 1200px) {
    .cert-item {
        flex: 0 0 calc(20% - 16px);
    }

    .cert-slide .cert-item:nth-child(6) {
        display: none;
    }
}

@media (max-width: 991px) {
    .timeline-item {
        padding-right: calc(50% + 32px);
    }

    .timeline-item:nth-child(even) {
        padding-left: calc(50% + 32px);
    }

    .timeline-content {
        width: auto;
        max-width: 350px;
    }

    .cert-item {
        flex: 0 0 calc(25% - 15px);
    }

    .cert-slide .cert-item:nth-child(5),
    .cert-slide .cert-item:nth-child(6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section .hero-title {
        font-size: 32px;
    }

    .hero-section .hero-subtitle {
        font-size: 16px;
    }

    .intro-title {
        font-size: 28px;
    }

    .mv-card-title {
        font-size: 24px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-content {
        width: auto;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cert-carousel-wrapper {
        padding: 0 40px;
    }

    .cert-item {
        flex: 0 0 calc(33.333% - 14px);
    }

    .cert-slide .cert-item:nth-child(4),
    .cert-slide .cert-item:nth-child(5),
    .cert-slide .cert-item:nth-child(6) {
        display: none;
    }

    .cert-nav {
        width: 32px;
        height: 32px;
    }

    .detail-title {
        font-size: 28px;
    }

    .detail-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .cert-item {
        flex: 0 0 calc(50% - 10px);
    }

    .cert-slide .cert-item:nth-child(3),
    .cert-slide .cert-item:nth-child(4),
    .cert-slide .cert-item:nth-child(5),
    .cert-slide .cert-item:nth-child(6) {
        display: none;
    }
}

/* ===== 动画效果 ===== */
/* 淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入下移动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入左移动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 淡入右移动画 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 缩放动画 */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 动画初始状态 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 动画触发状态 */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 不同方向的动画 */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* 延迟动画 */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* 悬停动画效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(21, 93, 252, 0.3);
}