:root {
    --primary-color: #1e50ae;
    --primary-dark: #2b3792;
    --primary-darker: #252525;
    --secondary-color: #3F23B4;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted-light: rgba(255, 255, 255, 0.7);
}
.d-none{
    display: none!important;
}
.stats-section {
    background-color: var(--primary-dark);
    padding: 40px 0;
}

.stats-section .stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 0;
}

.stats-section .stat-item:last-child {
    border-right: none;
}

.stats-section .stat-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.stats-section .stat-number {
    font-family: 微软雅黑;
    font-size: 20px;
    color: #fff;
    font-weight: normal;
}

.stats-section .stat-label {
    font-family: 微软雅黑;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}
/* ==================== 顶部工具栏 ==================== */
.top-bar {
    width: 100%;
    border-bottom: 1px solid #e8ecf1;
    font-size: 13px;
    padding: 8px 0;
    background: var(--royal-text-dark);
  color: white;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
   
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right i {
   
    font-size: 14px;
}

.top-bar-right a {
   
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: #0d7ae0;
}
/* ==================== 微信区域容器 ==================== */
.royal-footer-wechat {
    display: flex;
    gap: 40px;
    justify-content: left;
    align-items: flex-start;
    padding: 20px 0;
}

/* ==================== 单个微信项 ==================== */
.wechat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wechat-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    padding: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.wechat-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.wechat-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}


/* ==================== 响应式 ==================== */
@media (max-width: 576px) {
    .royal-footer-wechat {
        gap: 24px;
        flex-wrap: wrap;
    }

    .wechat-item img {
        width: 80px;
        height: 80px;
    }

    .wechat-item p {
        font-size: 12px;
    }
}


/* ===== MODALS ===== */
.royal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.5rem);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.royal-modal.show {
    display: flex;
    opacity: 1;
}

.royal-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--royal-radius-xl);
    padding: var(--royal-space-xl);
    max-width: 30rem;
    width: 100%;
    box-shadow:
        0 1.25rem 3.75rem rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: royal-modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}


@keyframes royal-modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(3.125rem) scale(0.9);
    }

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

.royal-close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--royal-gradient-red);
    border: none;

    font-size: var(--royal-font-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--royal-transition);
    z-index: 10;
}

.royal-close-modal:hover {
    background: var(--royal-red-500);
    color: white;
    transform: rotate(90deg);
}

.royal-modal-header {
    text-align: center;
    margin-bottom: var(--royal-space-lg);
    padding-right: 2.5rem;
}

.royal-modal-title {
    font-size: var(--royal-font-lg);
    font-weight: 700;
    color: var(--royal-text-dark);
    margin-bottom: var(--royal-space-sm);
    background: linear-gradient(135deg, var(--royal-text-dark) 0%, var(--royal-primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.royal-modal-subtitle {
    color: var(--royal-text-light);
    font-size: var(--royal-font-md);
    line-height: 1.6;
}

.royal-modal-body {
    margin-bottom: var(--royal-space-xl);
}

.royal-download-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}



/* ========================================
   员工之家（轮播图）
   ======================================== */
.staff-gallery-section {
    padding: 4.881% 0;
    background: #f9f9f9;
}

/* 自定义轮播样式 */
#staffCarousel {
    max-width: 80%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#staffCarousel .carousel-item img {
    aspect-ratio: 16/9;
    -o-object-fit: cover;
       object-fit: cover;
}

#staffCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 4px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: inline-block;
}

#staffCarousel .carousel-caption p {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

/* 指示器样式 */
#staffCarousel .carousel-indicators {
    position: static;
    margin-top: 16px;
    gap: 6px;
}

#staffCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    opacity: 1;
    transition: background 0.3s;
}

#staffCarousel .carousel-indicators button.active {
    background: var(--primary-color);
}

/* 控制按钮样式 */
#staffCarousel .carousel-control-prev,
#staffCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.6;
    transition: opacity 0.3s;
}

#staffCarousel .carousel-control-prev:hover,
#staffCarousel .carousel-control-next:hover {
    opacity: 1;
}

#staffCarousel .carousel-control-prev {
    left: -60px;
}

#staffCarousel .carousel-control-next {
    right: -60px;
}

/* 缩略图导航 */
.thumb-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.thumb-navigation .thumb-item {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.thumb-navigation .thumb-item:hover,
.thumb-navigation .thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-navigation .thumb-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}


   .swiper-slide {
      background-size: cover;
      background-position: center;
    }

    .mySwiper2 {
      height: 80%;
      width: 100%;
    }

    .mySwiper {
      height: 20%;
      box-sizing: border-box;
      padding: 10px 0;
    }

    .mySwiper .swiper-slide {
      width: 25%;
      height: 100%;
      opacity: 0.4;
    }

    .mySwiper .swiper-slide-thumb-active {
      opacity: 1;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

/* ========================================
   Swiper 通用样式（合并去重）
   ======================================== */
.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== 员工之家 Swiper ====== */
#staff-gallery {
    padding: 60px 0;
    background: #f8fafc;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-wrap h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #1690ff;
    margin: 12px auto 0;
}

/* ====== Swiper 主图 ====== */
.mySwiper2 {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.mySwiper2 .swiper-slide {
    width: 100%;
    height: 100%;
}

.mySwiper2 .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== Swiper 缩略图 ====== */
.mySwiper {
    width: 100%;
    height: 120px;
    margin-top: 16px;
    padding: 10px 0;
    box-sizing: border-box;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1690ff;
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== Swiper 导航按钮 ====== */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
    .mySwiper2 {
        height: 300px;
    }

    .mySwiper {
        height: 80px;
    }

    .mySwiper .swiper-slide {
        width: 80px;
    }
}
