/* =====================================
   全局样式
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    
}

.section-title{ padding: 1rem 1rem;overflow: hidden;}
.section-title .section-title__bg{ background:  url("http://pet501cdn.petmrs.com/statics/images/home/title_bg.png")  no-repeat center center / contain; height:60px; text-align:center; padding-top:34px; font-size:15px; font-weight: bold; color: #07a69b;}

.boundary{ padding-left:1rem ; padding-right:1rem}

/* =====================================
   导航
   ===================================== */

/* 容器 */
.container {
    width: 100%;
    padding: 0 120px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* ========== 移动端样式 ========== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000;
}

/* 移动端第一行 */
.mobile-header-row1 {
    height: 60px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

/* 导航按钮（汉堡菜单） */
.nav-toggle {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #1dc7be;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}



.contact-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* 移动端第二行 */
.mobile-header-row2 {
    height: 39px;
    background: #FFFFFF;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;  /* IE和Edge */
    scrollbar-width: none;  /* Firefox */
}

.mobile-header-row2::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

.mobile-nav-scroll {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    padding: 0 10px;
}

.mobile-nav-scroll a {
    color: #333;
    padding: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
    font-weight:500;
}
.mobile-nav-scroll a.color1{color:#00BAAD}


.mobile-nav-scroll a.active,
.mobile-nav-scroll a:hover {
    color: #ff6b6b;
}

/* 移动端全屏遮罩导航 */
.mobile-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 99px);
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE和Edge */
    scrollbar-width: none;  /* Firefox */
}

.mobile-overlay::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 100%;
}

.mobile-overlay-nav a {
    color: white;
    font-size: 16px;
    padding: 15px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-overlay-nav a:last-child {
    border-bottom: none;
}

.mobile-overlay-nav a .iconfont {
    flex-shrink: 0;
    font-size: 20px;
}

.mobile-overlay-nav a span {
    flex: 1;
}

.mobile-overlay.active .mobile-overlay-nav a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay.active .mobile-overlay-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(6) { transition-delay: 0.35s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(7) { transition-delay: 0.4s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(8) { transition-delay: 0.45s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(9) { transition-delay: 0.5s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(10) { transition-delay: 0.55s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(11) { transition-delay: 0.6s; }
.mobile-overlay.active .mobile-overlay-nav a:nth-child(12) { transition-delay: 0.65s; }

.mobile-overlay-nav a.active,
.mobile-overlay-nav a:hover {
    color: #ff6b6b;
}

/* ===========大banner展示============*/

#home-banner { position: relative; height: 100vh; overflow: hidden; }

.luxury-bg { position: absolute; inset: 0; }
.luxury-bg img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.9s ease;
}
.luxury-bg img.active { opacity: 1; }
.luxury-bg::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.luxury-brand {
    position: absolute; left: 60px; top: 50%; transform: translateY(-50%); z-index: 10;
    max-width: 420px;
}
.luxury-brand-name {
    font-size: clamp(48px, 6vw, 96px); font-weight: 900;
    letter-spacing: -3px; line-height: 0.9; text-shadow: 0 0 60px rgba(0,0,0,0.5);
}
.luxury-brand-sub {
    font-size: 12px; letter-spacing: 8px; text-transform: uppercase;
    color: rgba(255,255,255,0.6); margin-top: 16px;
}
.luxury-year { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 8px; letter-spacing: 3px; }

/* 每个 item 对应的左侧描述块 */
.luxury-brand-panels { position: relative; margin-top: 32px; min-height: 80px; }
.luxury-brand-panel {
    position: absolute; top: 0; left: 0;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.luxury-brand-panel.active {
    opacity: 1; transform: translateY(0);
    position: relative; pointer-events: auto;
}
.luxury-panel-title {
    font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.2;
    margin-bottom: 12px;
}
.luxury-panel-desc {
    font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 340px;
}
.luxury-panel-tag {
    display: inline-block; margin-top: 14px;
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 12px; border-radius: 20px;
}
.luxury-panel-actions {
    display: flex; gap: 12px; margin-top: 24px; align-items: center;
}
.panel-btn-primary {
    padding: 11px 26px; background: #fff; color: #000;
    font-size: 13px; font-weight: 700; border-radius: 2px;
    text-decoration: none; transition: background 0.3s;
    white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.panel-btn-primary svg { transition: transform 0.3s; }
.panel-btn-primary:hover { background: #e8e8e8; }
.panel-btn-primary:hover svg { transform: translateX(4px); }
.panel-btn-ghost {
    padding: 10px 22px; border: 1px solid rgba(255,255,255,0.4); color: #fff;
    font-size: 13px; border-radius: 2px; text-decoration: none;
    transition: border-color 0.3s, background 0.3s; white-space: nowrap;
}
.panel-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.luxury-list {
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    z-index: 10; width: 320px;
}
.luxury-list-item {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer; transition: all 0.3s;
    transform: translateX(40px); opacity: 0;
    animation: slideInRight 0.6s forwards;
    position: relative;
    text-decoration: none; color: #fff;
}
.luxury-list-item:nth-child(1) { animation-delay: 0.2s; }
.luxury-list-item:nth-child(2) { animation-delay: 0.4s; }
.luxury-list-item:nth-child(3) { animation-delay: 0.6s; }
.luxury-list-item:nth-child(4) { animation-delay: 0.8s; }
.luxury-list-item:nth-child(5) { animation-delay: 1.0s; }

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

.luxury-list-item:hover { padding-left: 10px; }
.luxury-list-item:hover .luxury-item-num { color: #fff; }
.luxury-list-item.active { padding-left: 10px; border-bottom-color: rgba(255,255,255,0.35); }
.luxury-list-item.active .luxury-item-num { color: #fff; }
.luxury-list-item.active .luxury-item-arrow { opacity: 1; transform: translateX(0); }
.luxury-list-item.active::before {
    content: ''; position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%; background: #fff; border-radius: 2px;
}

.luxury-item-num {
    font-size: 11px; color: rgba(255,255,255,0.3);
    letter-spacing: 2px; padding-top: 4px; min-width: 24px; transition: color 0.3s;
}
.luxury-item-body { flex: 1; }
.luxury-item-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.luxury-item-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.luxury-item-arrow {
    opacity: 0; transform: translateX(-8px); transition: all 0.3s; align-self: center;
}
.luxury-list-item:hover .luxury-item-arrow { opacity: 1; transform: translateX(0); }

.luxury-bottom {
    position: absolute; bottom: 40px; left: 0; right: 0; z-index: 10;
    display: flex; align-items: center; padding: 0 60px; gap: 20px;
}
.luxury-scroll-hint {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.4);
}
.scroll-line {
    width: 40px; height: 1px; background: rgba(255,255,255,0.3);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%; background: #fff; animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim { to { left: 100%; } }

@media (max-width: 768px) { .luxury-list { display: none; } }

/* ========== 电脑端样式 ========== */
.desktop-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    z-index: 1000;
    background: white;
    
}

/* 电脑端第一行 */
.desktop-header-row1 {
    height: 40px;
    background: #f5f5f5;
    padding:0px 111px;
}

.desktop-header-row1 .container {
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}





.desktop-header-row2 .logo {
    flex-shrink: 0;
}

/* 电脑端导航 */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.desktop-nav a {
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
    white-space: nowrap;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: #ff6b6b;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

.search-box input {
    border: none;
    outline: none;
    padding: 8px 15px;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    border: none;
    background: none;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-box button:hover svg {
    fill: #ff6b6b;
}

/* ========== 主内容区域 ========== */
main {
    margin-top: 123px; /* 电脑端头部高度 40px + 83px */
}

.section {
    padding: 60px 0;
}

.section .container {
    flex-direction: column;
    align-items: flex-start;
}

.section h1,
.section h2 {
    margin-bottom: 20px;
    color: #333;
}

.section p {
    color: #666;
    line-height: 1.8;
}

#home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home .container {
    align-items: center;
    text-align: center;
}

#home h1 {
    font-size: 36px;
    color: white;
}

#home p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== 响应式布局 ========== */
@media screen and (max-width: 768px) {
    /* 移动端显示，电脑端隐藏 */
    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    /* 调整主内容顶部距离 */
    main {
        margin-top: 99px; /* 移动端头部高度 60px + 39px */
    }

    /* 调整容器内边距 */
    .container {
        padding: 0 15px;
    }

    /* 调整首页样式 */
    #home h1 {
        font-size: 24px;
    }

    #home p {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    /* 平板和小屏幕电脑 */
    .container {
        padding: 0 40px;
    }

    .desktop-nav {
        gap: 20px;
    }

    .desktop-nav a {
        font-size: 14px;
    }
}




/* =====================================
   Banner Section - 顶部轮播
   ===================================== */

.banner-section {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    padding: 0rem 1rem;
    box-sizing: border-box;
   
}

.swiper-style{ position: relative; border-radius: 5px;overflow: hidden;}
.swiper-style .swiper-style__pagination{position:absolute; top:10px;z-index: 10;width: auto;  background: rgba(0, 0, 0, 0.08); border-radius:30px; padding:3px 5px;right:10px; display: flex;}
/* .swiper-style .swiper-style__pagination{  background: rgba(0, 0, 0, 0.08);  position: absolute; right: 0px; top: 0px; z-index:100;} */


.banner-pagination .swiper-pagination-bullet {
    width: 0.6rem;
    height: 0.6rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    
}

.banner-pagination .swiper-pagination-bullet-active {
    width: 1.5rem;
    border-radius: 0.3rem;
    background: white;
}


.bannerSwiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 1.5rem;
    white-space: nowrap;    /* 强制文本单行显示，不换行 */
    overflow: hidden;       /* 隐藏超出容器的文本 */
    text-overflow: ellipsis;/* 超出部分用省略号「…」替代 */
}

.banner-text {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
    margin: 0;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
    padding-right: 0rem;
}



/* =====================================
   Hero Section - Image #5
   ===================================== */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.slide-content {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background gradient - 青色渐变背景 */
.slide-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5EEAD4 0%, #14B8A6 100%);
    z-index: 1;
}

/* Dog image - 左侧小狗图片 */
.dog-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 60%;
    background: url('../images/dog.jpg') no-repeat center;
    background-size: cover;
    z-index: 2;
}

/* Text content - 右侧文字内容 */
.text-content {
    position: absolute;
    right: 6%;
    top: 20%;
    width: 50%;
    z-index: 3;
}

.main-title {
    font-size: 2rem;
    font-weight: bold;
    color: #14B8A6;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.subtitle {
    font-size: 1rem;
    color: #0D9488;
    margin-bottom: 2rem;
    font-weight: 500;
}

.service-list {
    margin-top: 2rem;
}

.service-item {
    font-size: 0.9rem;
    color: #0F766E;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Bottom title box - 底部标题框 */
.bottom-title-box {
    position: absolute;
    bottom: 8%;
    left: 6%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    z-index: 4;
}

/* Swiper pagination - 分页指示器 */
.heroSwiper .swiper-pagination {
    bottom: 8%;
    right: 6%;
    left: auto;
    width: auto;
    display: flex;
    gap: 0.5rem;
}

.heroSwiper .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
}

.heroSwiper .swiper-pagination-bullet-active {
    width: 2rem;
    border-radius: 1rem;
    background: white;
}

/* =====================================
   Articles Section - Image #6
   ===================================== */
.articles-section {
    width: 100%;
    padding: 0.5rem 1.5rem;
    background: white;
}

.articles-container {
    max-width: 100%;
}

/* Article header with cat icon */
.article-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cat-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background: #FED7AA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EA580C;
}

.cat-icon svg {
    width: 2rem;
    height: 2rem;
}

.article-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00baad;
    line-height: 1.4;
}

/* Description text */
.article-description {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Dotted divider */
.dotted-divider {
    width: 100%;
    height: 1px;
    background-image: repeating-linear-gradient(to right, #D1D5DB 0, #D1D5DB 5px, transparent 5px, transparent 10px);
    margin-bottom: 1.5rem;
}

/* Article list */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.article-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding:0.2rem 0.5rem;
    border-radius: 0.5rem;
}

.article-item:active {
    background: #F3F4F6;
}

.article-item .dot {
    width: 0.8rem;
    height: 0.8rem;
    min-width: 0.8rem;
    background: #14B8A6;
    border-radius: 50%;
    margin-top: 0.4rem;
}

.article-item p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}





/* =====================================
   tabSlider
   ===================================== */
.tab-slider-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.tab-slider-container  .tab-nav {
    display: flex;
    position: relative;
    z-index: 2;
}

.tab-slider-container  .tab-item {
    flex: 1;
    padding: 15px 15px;
    text-align: center;
    font-size:0.8rem;
    cursor: pointer;
    border: none;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* 滚动背景 */
.tab-slider-container  .tab-bg {
    position: absolute;
    top: 10px;
    left: 10px;
    height: calc(100% - 20px);
    border-radius: 40px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}


.tab-slider__content{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin-top: 16px;
}

.tab-slider__content .content-item {
            display: none;
            animation: fadeIn 0.5s ease;
}

.tab-slider__content .content-item.active {
            display: block;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 小尺寸标签容器 */
.tab-slider-container.small {
    max-width: 600px;
    border-radius: 30px;
}

.tab-slider-container.small .tab-item {
    font-size: 16px;
    padding: 14px 20px;
}

.tab-slider-container.small .tab-bg {
    border-radius: 25px;
}

.small + .tab-content {
    max-width: 600px;
}

/* =====================================
   Team Section - Image #8
   ===================================== */
.team-section {
    width: 100%;
    background: white;
}

.team-container {
    width: 100%;
}

.teamSwiper {
    width: 100%;
    padding: 0 1rem;
}

.teamSwiper .swiper-slide {
    width: 80%;
    max-width: 280px;
}

.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom:15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.team-photo img{width: 100%; border-radius:0px;}


/* Placeholder colors for different team members */
.photo-1 {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
}

.photo-2 {
    background: linear-gradient(135deg, #9CA3AF 0%, #6B7280 100%);
}

.photo-3 {
    background: linear-gradient(135deg, #D1D5DB 0%, #9CA3AF 100%);
}

.team-name {
    padding: 1.2rem 1.2rem 0.4rem;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1F2937;
    text-align: center;
}

.team-meta {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-honors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content:left;
}

.team-honor-tag {
    display: inline-block;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 20px;
    /*background:linear-gradient(135deg, #fef3c7, #fde68a);color: #92400e;*/
    background:#70d0c7 ;
    color: #FFFFFF;
    font-weight: 500;
    white-space: nowrap;
}

.team-major {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
}

.team-major .fa {
    color: var(--primary, #e67e22);
    margin-right: 3px;
}

.team-outcome {
    font-size: 12px;
    color: #374151;
    text-align: center;
    line-height: 1.4;
    background: #f9fafb;
    border-radius: 6px;
    padding: 4px 8px;
}


/* =====================================
   Courses Section - 新闻中心
   ===================================== */
.news-section  {
    background: url("http://pet501cdn.petmrs.com/statics/images/home/wrapper_backBg_01.png") no-repeat center center;
    background-size: 100% 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.news-section * {
    padding: 0;
    box-sizing: border-box;
}

.news-section-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    gap: 24px;
    align-items: flex-start;

}



/* 主内容区域 */
.news-section .news-content {
    flex: 1;
    min-width: 0;
}

/* 头部样式 */
.news-section .header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;

    gap: 30px;
}

.news-section .title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #000;
    white-space: nowrap;
}

.news-section .nav-tabs {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.news-section .tab-link {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.news-section .tab-link:hover {
    color: #333;
    background-color: #f0f0f0;
}

.news-section .tab-link.active {
    background-color: #e3f2fd;
    color: #1976d2;
}

.news-section .tab-link.more {
    color: #999;
}

/* 卡片网格 */
.news-section .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 卡片样式 */
.news-section .card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.news-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-section .card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.news-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-section .card:hover .card-image img {
    transform: scale(1.05);
}

.news-section .card-content {
    padding: 16px;
}

.news-section .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-section .card-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-section .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-section .category-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px;
    border-radius: 12px;
}

.news-section .stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.news-section .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s;
}

.news-section .stat-item:hover {
    color: #666;
}

.news-section .icon-like {
    font-size: 16px;
}

.news-section .stat-item.liked .icon-like {
    color: #ff4444;
}

.news-section .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.news-section .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-section .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
}

.news-section .author-name {
    font-size: 13px;
    color: #666;
}

.news-section .date {
    font-size: 12px;
    color: #999;
}

/* ========== 侧边栏样式 ========== */
.news-section .sidebar {
    width: 380px;
    flex-shrink: 0;
}

.news-section .latest-articles {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 标题样式 */
.news-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.news-section .title-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #4caf50, #81c784);
    border-radius: 2px;
}

.news-section .section-title h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 特色文章 */
.news-section .featured-article {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 16px;
}

.news-section .featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-section .featured-article:hover img {
    transform: scale(1.05);
}

.news-section .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 69, 19, 0.9), rgba(139, 69, 19, 0.6));
    padding: 16px 20px;
}

.news-section .featured-title {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 文章列表 */
.news-section .article-list {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.news-section .article-item {
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.news-section .article-item:last-child {
    border-bottom: none;
}

.news-section .article-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
}

.news-section .article-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: all 0.3s;
}

.news-section .article-item:hover::before {
    background-color: #4caf50;
}

.news-section .article-item a:hover {
    color: #333;
    padding-left: 8px;
}


/* =====================================
   Courses Section - 学校
   ===================================== */
.schools-container{ 

    /*background: url("http://pet501cdn.petmrs.com/statics/images/home/wrapper_backBg_01.png") no-repeat center center;*/
    /*background-size: 100% 100%;*/
}

.school_jieshao img{border-radius:10px}

/* 隐藏滚动条但允许滚动 */
.schools-container .scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.schools-container .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 纹理背景 */
.schools-container .bg-pet-pattern {
    background-image:
            radial-gradient(circle at 25% 25%, rgba(0, 111, 105, 0.06) 2px, transparent 2px),
            radial-gradient(circle at 75% 75%, rgba(0, 168, 158, 0.04) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
}

/* Tab 切换过渡 */
.schools-container .tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}
.schools-container .tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 装饰性闪烁 */
.schools-container .sparkle {
    animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

/* 学校概况卡片背景 */
.schools-container .school-overview-bg {
    background: #f0faf9;
    position: relative;
    overflow: hidden;
}

/* 图片菜单专用样式 */
.schools-container .image-menu-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.schools-container .image-menu-item.active {
    transform: scale(1.08);
    border: 3px solid #006f69;
    box-shadow: 0 8px 24px rgba(0, 111, 105, 0.3);
}

.schools-container .image-menu-item:hover:not(.active) {
    transform: scale(1.05);
    border: 3px solid rgba(0, 111, 105, 0.45);
    box-shadow:
            0 10px 25px rgba(0, 111, 105, 0.15),
            0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 城市名称标签 */
.schools-container .city-label {
    transition: all 0.3s ease;
}

.schools-container .image-menu-item.active .city-label {
    background: #006f69;
    backdrop-filter: blur(10px);
    border: 1px solid #006f69;
    box-shadow: 0 4px 15px rgba(0, 111, 105, 0.35);
}

.schools-container .image-menu-item.active .city-name {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.schools-container .image-menu-item.active .hq-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.schools-container .image-menu-item:hover:not(.active) .city-label {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schools-container .image-menu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 111, 105, 0.75), rgba(0, 168, 158, 0.75));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.schools-container .image-menu-item.active .image-menu-overlay {
    opacity: 0;
}

.schools-container .image-menu-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(0, 111, 105, 0.9), rgba(0, 168, 158, 0.9));
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.schools-container .image-menu-item.active .image-menu-badge {
    background: linear-gradient(135deg, #006f69, #00a89e);
    box-shadow: 0 2px 10px rgba(0, 111, 105, 0.5);
    transform: scale(1.05);
}

/* ---- 校区 Tab 内容布局 ---- */
.school-tab-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.school-tab-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    flex: 1;
}

.school-tab-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* Hero 图片容器 */
.school-hero-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 111, 105, 0.2);
    background: #e8f7f6;
}

.school-hero-wrap .swiper,
.school-hero-wrap .swiper-wrapper,
.school-hero-wrap .swiper-slide {
    width: 100%;
    height: 100%;
}

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

.school-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 60, 57, 0.5), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.school-hero-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.school-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.school-badge--hq {
    background: linear-gradient(135deg, #006f69, #00a89e);
    color: #fff;
}

.school-badge--city {
    background: rgba(255, 255, 255, 0.92);
    color: #006f69;
    border: 1px solid rgba(0, 111, 105, 0.2);
    backdrop-filter: blur(6px);
}

/* Info Card */
.school-info-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 111, 105, 0.08);
    background: #f0faf9;
    padding: 24px;
    position: relative;
    border: 1px solid rgba(0, 111, 105, 0.12);
}

/* 桌面端：左右两栏 */
@media (min-width: 1024px) {
    .school-tab-grid {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }

    .school-tab-side {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    .school-info-card {
        padding: 48px;
    }
    .school-hero-badges {
        top: 24px;
        left: 24px;
    }
    .school-badge {
        font-size: 14px;
        padding: 6px 16px;
    }
}



/* =====================================
   Courses Section - 课程分类
   ===================================== */
.courses-section {
    width: 100%;
    /* padding: 0rem 0; */
    background:url(http://pet501cdn.petmrs.com/statics/images/home/wrapper_backBg_03.png) no-repeat center top;
    background-size: 100% 100%;
    padding-bottom:20px;
    /* background: #F9FAFB; */
}

.courses-container {
    width: 100%;
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1rem 1.5rem;
    gap: 0.5rem;
    /* border-bottom: 2px solid #E5E7EB; */
    scrollbar-width: none;
}

.tabs-navigation::-webkit-scrollbar {
    display: none;
}

.tab-button {
    flex: 0 0 auto;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #00baad;
    background: white;
    border: 1px solid #00baad;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    color: #14B8A6;
    border-color: #14B8A6;
}

.tab-button.active {
    color: white;
    background: #00baad;
    border-color: #00baad;
}

/* Tabs Content */

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Course Card */
.course-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    display: flex;
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.course-card:active {
    transform: scale(0.98);
}

.course-image {
    width: 120px;
    min-width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* PC端卡片纵向布局 */
@media (min-width: 768px) {
    .course-card {
        flex-direction: column;
        margin-bottom: 0;
    }

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .course-card:hover .course-image img {
        transform: scale(1.05);
    }

    .course-card:active {
        transform: translateY(-3px) scale(0.99);
    }

    .course-image {
        width: 100%;
        height: 200px;
        min-width: auto;
    }

    /* PC端标签样式 */
    .course-tag {
        padding: 5px 12px;
        font-size: 0.75rem;
        border-radius: 5px;
    }
}

.course-info {
    flex: 1;
    padding: 1rem 1rem 0px 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 课程标签 - 内联样式 */
.course-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.course-card:hover .course-tag {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* 热门标签 - 橙红色 */
.tag-hot {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
}

/* 推荐标签 - 青色 */
.tag-recommend {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
}

/* 新课标签 - 绿色 */
.tag-new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* 精品标签 - 金紫色 */
.tag-premium {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.course-detail {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0 0 0.3rem 0;
}

.course-date {
    font-size: 0.85rem;
    color: #6B7280;
    margin: 0 0 0.4rem 0;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.8rem;
}

.course-rating-label {
    font-size: 0.8rem;
    color: #6B7280;
    white-space: nowrap;
}

.course-stars {
    display: flex;
    gap: 1px;
}

.course-stars .star {
    font-size: 1rem;
    color: #D1D5DB;
    line-height: 1;
}

.course-stars .star.full {
    color: #F59E0B;
}

.course-stars .star.half {
    position: relative;
    color: #D1D5DB;
}

.course-stars .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #F59E0B;
}

.course-rating-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: #F59E0B;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 10px;
}

/* PC端样式调整 */
@media (min-width: 768px) {
    .course-info {
        padding: 1.2rem;
    }

    .course-rating {
        margin-bottom: 1rem;
    }

    .course-date {
        margin-bottom: 1rem;
    }
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #14B8A6 0%, #0D9488 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.progress-text {
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 操作按钮区域 */
.course-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.free-consultation-wrap{   
    position: absolute;
    right:1rem;
    top: 1rem;
    z-index:2;
    
}

.free-consultation-wrap a{   
    display: block;
    text-align: center;
    margin-top:1rem;
}

.course-button {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #00baad 0%, #00a199 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 186, 173, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    z-index: 1;
}



/* 按钮图标 */
.button-icon {
    display: inline-block;
    font-size: 1em;
    animation: sparkle 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* 图标闪烁动画 */
@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

.course-button:hover .button-icon {
    animation: sparkle-fast 1s ease-in-out infinite;
}

@keyframes sparkle-fast {
    0%, 100% {
        transform: scale(1.1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
}

/* 按钮发光效果 */
.course-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.course-button:hover::before {
    left: 100%;
}

.course-button:hover {
    background: linear-gradient(135deg, #00a199 0%, #008f85 100%);
    box-shadow: 0 6px 25px rgba(0, 186, 173, 0.6);
    transform: translateY(-2px);
}

.course-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 12px rgba(0, 186, 173, 0.5);
}
.course-date-row{
    display: flex;
    justify-content: space-between;
}
.course-link {
    color: #14B8A6;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}



.course-link:hover {
    color: #0D9488;
    text-decoration: underline;
}

/* PC端按钮样式优化 */
@media (min-width: 768px) {
    .course-actions {
        justify-content: center;
        gap: 1.5rem;
        padding-top: 0.5rem;
    }

    .course-button {
        flex: 1;
        text-align: center;
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
        box-shadow: 0 5px 20px rgba(0, 186, 173, 0.45);
        animation: pulse-button 3s ease-in-out infinite;
        position: relative;
    }

    /* PC端按钮外发光边框 */
    .course-button::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(135deg, #00baad, #00a199, #00baad);
        border-radius: 2rem;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .course-button:hover::after {
        opacity: 0.6;
        animation: border-glow 1.5s ease-in-out infinite;
    }

    @keyframes border-glow {
        0%, 100% {
            opacity: 0.6;
        }
        50% {
            opacity: 0.9;
        }
    }

    .course-button:hover {
        animation: none;
        box-shadow: 0 8px 30px rgba(0, 186, 173, 0.7);
    }

    .course-link {
        flex-shrink: 0;
    }
}

/* 按钮脉冲动画 */
@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 186, 173, 0.45);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 186, 173, 0.65);
    }
}


/* 大图区域 */
.swiper-thum-container .main-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.swiper-thum-container .main-banner-wrapper {
    display: flex;
    transition: transform 0.3s ease-out;
    touch-action: pan-y;
}

.swiper-thum-container .main-banner-item {
    min-width: 100%;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.swiper-thum-container .main-banner-item.active {
    opacity: 1;
}

.swiper-thum-container .main-banner-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 电脑端降低高度 */
@media screen and (min-width: 768px) {
    .swiper-thum-container .main-banner-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .swiper-thum-container .thumbnail-item {
        min-width: 20%; /* 电脑端显示5个小图: 100% / 5 = 20% */
    }
}

/* 小图区域 */
.swiper-thum-container .thumbnail-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.swiper-thum-container .thumbnail-wrapper {
    display: flex;
    transition: transform 0.3s ease-out;
    padding: 12px 10px 0;
    touch-action: pan-y;
    align-items: flex-start;
}

.swiper-thum-container .thumbnail-item {
    min-width: 40%; /* 2.5个小图占满屏幕: 100% / 2.5 = 40% */
    max-width: 40%;
    flex: 0 0 40%;
    padding: 0 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.swiper-thum-container .thumbnail-image {
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.swiper-thum-container .thumbnail-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* 电脑端鼠标悬停效果 */
@media (hover: hover) and (pointer: fine) {
    .swiper-thum-container .thumbnail-item:hover .thumbnail-image {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .swiper-thum-container .thumbnail-item:hover img {
        filter: brightness(1.15);
    }

    .swiper-thum-container .thumbnail-item:not(.active):hover .thumbnail-image {
        border-color: rgba(255, 107, 107, 0.3);
    }
}

.swiper-thum-container .thumbnail-text {
    margin-top: 8px;
    text-align: center;
}

.swiper-thum-container .thumbnail-text p {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 2px 0;
}

.swiper-thum-container .thumbnail-text .sub-text {
    font-size: 12px;
    color: #999;
    -webkit-line-clamp: 1;
}

/* 选中状态 */
.swiper-thum-container .thumbnail-item.active .thumbnail-image {
    border-color: #FF6B6B;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* 箭头 */
.swiper-thum-container .arrow-up {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #FF6B6B;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.swiper-thum-container .thumbnail-item.active .arrow-up {
    opacity: 1;
}

/* 触摸反馈 */
.swiper-thum-container .thumbnail-item:active {
    transform: scale(0.95);
}

/* 防止图片拖拽 */
.swiper-thum-container img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* 响应式调整 */
@media screen and (min-width: 768px) {
    .swiper-thum-container .thumbnail-item {
        min-width: 20%; /* 电脑端显示5个小图: 100% / 5 = 20% */
        max-width: 20%;
        flex: 0 0 20%;
    }

    .swiper-thum-container .thumbnail-text p {
        font-size: 16px;
    }

    .swiper-thum-container .thumbnail-text .sub-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 375px) {
    .swiper-thum-container .thumbnail-text p {
        font-size: 12px;
    }

    .swiper-thum-container .thumbnail-text .sub-text {
        font-size: 11px;
    }
}
/*swiper-thum插件:end */



/* =====================================
   瀑布图
   ===================================== */
.waterfall {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.waterfall-item {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.waterfall-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.waterfall-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;

    /* 最多显示2行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.waterfall-loading {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    display: none;
}

.waterfall-loading.show {
    display: block;
}


/* ========== 证书展示区块 ========== */
.cert-section {
  padding-top:60px;
  padding-bottom:60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.cert-section .cert-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.cert-section .cert-section__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #1a2035;
  letter-spacing: 4px;
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
}

.cert-section .cert-section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c9a84c, #e8c96a);
  border-radius: 2px;
  margin: 12px auto 0;
}

.cert-section__img{width: 100%;}
.cert-section__img img{width: 100%;}

.cert-section .cert-section__subtitle {
  color: #8a95a3;
  font-size: 15px;
  margin: 8px 0 0;
  letter-spacing: 1px;
}

/* 滚动容器 */
.cert-section .cert-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  cursor: grab;
}

.cert-section .cert-scroll-wrap:active { cursor: grabbing; }

.cert-section .cert-scroll-wrap::-webkit-scrollbar { height: 4px; }
.cert-section .cert-scroll-wrap::-webkit-scrollbar-track { background: #eee; border-radius: 2px; }
.cert-section .cert-scroll-wrap::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 2px; }

/* 2行横向网格 */
.cert-section .cert-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 20px;
  width: max-content;
  padding: 4px 2px 4px;
}

/* 证书卡片 */
.cert-section .cert-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.cert-section .cert-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

/* 图片容器 — 固定比例 */
.cert-section .cert-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 70%;
  background: #f9f8f5;
  overflow: hidden;
}

.cert-section .cert-card__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cert-section .cert-card:hover .cert-card__img-wrap img {
  transform: scale(1.06);
}

/* 悬停遮罩 */
.cert-section .cert-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26, 32, 53, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.cert-section .cert-card:hover .cert-card__overlay {
  opacity: 1;
}

.cert-section .cert-card__overlay-text {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-section .cert-card__overlay-text svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 金色顶部装饰条 */
.cert-section .cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #e8c96a, #c9a84c);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cert-section .cert-card:hover::before {
  transform: scaleX(1);
}

/* 证书标题 */
.cert-section .cert-card__title {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: #444;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  transition: color 0.25s ease;
}

.cert-section .cert-card:hover .cert-card__title {
  color: #c9a84c;
}

/* ========== 灯箱 ========== */
.cg-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  animation: cg-lb-fadein 0.25s ease;
}

.cg-lightbox.is-open { display: flex; }

@keyframes cg-lb-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cg-lightbox__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: cg-lb-scalein 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cg-lb-scalein {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.cg-lightbox__img-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.cg-lightbox__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.cg-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.2s;
  font-size: 16px;
  color: #fff;
  line-height: 1;
  z-index: 3;
}

.cg-lightbox__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(220, 50, 50, 0.85);
}

/* 导航箭头 —— 贴屏幕左右边缘 */
.cg-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  z-index: 10000;
}

.cg-lightbox__nav:hover {
  background: rgba(0,0,0,0.65);
  transform: translateY(-50%) scale(1.1);
}

.cg-lightbox__prev { left: 16px; }
.cg-lightbox__next { right: 16px; }

/* 滑动提示 */
.cg-lightbox__swipe-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  z-index: 2;
}

.cg-lightbox__swipe-hint.is-visible { opacity: 1; }
.cg-lightbox__swipe-hint::before { content: '←'; }
.cg-lightbox__swipe-hint::after  { content: '→'; }

/* 标题栏 */
.cg-lightbox__counter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.75);
  padding: 10px 16px;
  gap: 12px;
}

.cg-lb-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cg-lb-index {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .cert-section { padding: 40px 16px; }
  .cert-section .cert-grid { grid-auto-columns: 160px; gap: 12px; }
  .cg-lightbox__nav { width: 36px; height: 36px; font-size: 20px; }
  .cg-lightbox__prev { left: 6px; }
  .cg-lightbox__next { right: 6px; }
}



/* 移动端样式 - 最多2列 */
@media screen and (max-width: 768px) {
    .container {
        padding: 5px;
    }

    .waterfall-item {
        border-radius: 4px;
    }

    .item-caption {
        font-size: 12px;
        padding: 6px 10px;
    }

    .waterfall-loading {
        font-size: 13px;
        padding: 15px;
    }
}

/* 平板和桌面端样式 */
@media screen and (min-width: 769px) {
    .container {
        max-width: 1400px;
        padding: 20px 0px;
    }
}



/* =====================================
   响应式设计
   ===================================== */

/* 小屏幕手机 (< 375px) */
@media (max-width: 374px) {
    .main-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .service-item {
        font-size: 0.8rem;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .cert-title {
        font-size: 0.6rem;
    }

    .banner-section {
        height: 220px;
    }

    .banner-text {
        font-size: 0.95rem;
    }

    .course-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }

    .course-title {
        font-size: 0.95rem;
    }

    .course-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .course-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .course-button {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .button-icon {
        font-size: 0.9em;
    }

    .course-link {
        font-size: 0.85rem;
    }
}

/* 大屏幕手机 (> 428px) */
@media (min-width: 429px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .service-item {
        font-size: 1rem;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .banner-section {
        height: 320px;
    }

    .banner-text {
        font-size: 1.2rem;
    }

    .course-image {
        width: 140px;
        min-width: 140px;
        height: 140px;
    }

    .course-title {
        font-size: 1.2rem;
    }
}

/* 平板 (> 768px) */
@media (min-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .teamSwiper .swiper-slide {
        width: 45%;
    }

    .banner-section {
        height: 400px;
    }

    .courses-section {
        padding-top:3rem;
        padding-bottom:3rem;
    }



    .courses-container {
        margin: 0 auto;
    }

    .tabs-navigation {
        justify-content: center;
        padding: 0rem;
        padding-bottom:1.5rem;
        gap: 1rem;
    }

    .tab-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

   

    /* 平板端使用3列布局 */
    .tab-pane {
        display: none;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .tab-pane.active {
        display: grid;
    }

    .course-card {
        max-width: 100%;
        margin-bottom: 0;
    }

    .course-image {
        width: 100%;
        min-width: auto;
        height: 180px;
    }

    .course-info {
        padding: 1.2rem;
    }

    .course-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .course-detail,
    .course-date {
        font-size: 0.85rem;
    }

    .course-button {
        padding: 0.55rem 1.2rem;
        font-size: 0.9rem;
    }

    .course-link {
        font-size: 0.9rem;
    }

    .course-actions {
        margin-top: 0.5rem;
    }

    .course-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    /* 平板端按钮优化 */
    .course-button {
        box-shadow: 0 4px 18px rgba(0, 186, 173, 0.4);
    }
}


/* 中等PC屏幕 (> 1024px) */
@media (min-width: 1024px) {
    /* PC端课程卡片使用4列网格布局 */
    .tab-pane.active {
        grid-template-columns: repeat(4, 1fr);
    }

    .course-image {
        height: 200px;
    }

    .course-title {
        font-size: 1.05rem;
    }

    .course-tag {
        font-size: 0.72rem;
        padding: 5px 11px;
    }
}

/* 大屏幕 PC (> 1200px) */
@media (min-width: 1200px) {
    /* 大屏幕仍使用4列布局 */
    .tab-pane.active {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }



    .course-image {
        height: 220px;
    }

    .course-title {
        font-size: 1.15rem;
    }

    .course-button {
        font-size: 1rem;
    }

    .course-link {
        font-size: 1rem;
    }

    /* 大屏幕标签 */
    .course-tag {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* 大屏幕按钮优化 */
    .course-button {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
        box-shadow: 0 6px 22px rgba(0, 186, 173, 0.5);
    }
}


/* =====================================
   Teachers Section - 教师展示
   ===================================== */
.teachers-section {
    width: 100%;
    padding-top: 2rem;
    padding-bottom:2rem;
    background: #FFFFFF url("http://pet501cdn.petmrs.com/statics/images/home/bg1.png") no-repeat center bottom ;
    background-size: 100%;
}



.teachers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.teacher-card {
    background: white;
    border-radius: 1rem;
    margin-top: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 0;
}

.teacher-photo {
    width: 100%;
    aspect-ratio: 5/4;
    background: #00b8ae;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 1rem 1rem 0 0;
}
.teacher-photo .teacher-photo__inner{
    position: absolute;
    left: 0;
    right:0;
    bottom: 0;
    top: 0px;
    margin-top: -36px;
    z-index: 2;
    overflow: hidden;
    padding: 0 2%;
}

.teacher-photo img {
    width: 100%;
    height: auto;
    vertical-align: top;
    object-fit: contain;
}

.teacher-info {
    padding: 0.5rem 0.65rem 0.65rem;
}

.teacher-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #1F2937;
    margin: 0 0 0.15rem 0;
}

.teacher-experience {
    font-size: 0.72rem;
    color: #6B7280;
    margin: 0 0 0.4rem 0;
    font-weight: 500;
}

.teacher-qualifications {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.teacher-qualifications li {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    color: #0d9488;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 20px;
    padding: 2px 7px;
    margin-bottom: 0;
    line-height: 1.5;
    vertical-align: middle;
}

.teacher-qualifications li:last-child {
    margin-bottom: 0;
}

/* 响应式设计 - 平板及以上设备 */
@media (min-width: 768px) {
    .teachers-container {
        margin: 0 auto;
    }

    .teachers-grid {
        gap: 1.5rem;
    }

    .teacher-card {
        margin-top: 60px;
    }

    .teacher-photo {
        aspect-ratio: 1;
    }

    .teacher-photo .teacher-photo__inner {
        margin-top: -60px;
    }

    .teacher-info {
        padding: 1.5rem;
    }

    .teacher-name {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .teacher-experience {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .teacher-qualifications li {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    /* 大图 */
    .big-design{ 
        background: url("http://pet501cdn.petmrs.com/statics/images/home/bg.png") no-repeat center center ;
        background-size: 100% ;
    }

        
    .container-margin-top{
        margin-top: 128px;
    }

    .teachers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .big-design .big-design__wrap{
        padding: 15px;
        background: rgba(255, 255, 255, .5);
    }

    }
}
