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

:root {
    --primary-color: #2d8659;
    --secondary-color: #4a9d7a;
    --accent-color: #6bb88a;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 70px;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.95rem;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--primary-color);
    background-color: #f0f7f4;
}

.nav-menu .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 180px;
    box-shadow: var(--shadow-hover);
    border-radius: 5px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* PC端：通过hover显示下拉菜单 */
@media (min-width: 969px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown:hover .arrow {
        transform: rotate(180deg);
    }
    
    /* PC端点击后不保持active状态，只通过hover */
    .dropdown.active .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
}

/* 移动端：通过active类显示下拉菜单 */
@media (max-width: 968px) {
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f0f7f4;
    color: var(--primary-color);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 首页横幅 */
/* 轮播图容器 */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.2) 0%, rgba(74, 157, 122, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    /* margin-top: 8rem; */
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-slogan {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    /* margin-top: 1.5rem; */
    padding: 0.8rem 2rem;
    display: inline-block;
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%); */
    /* border: 2px solid rgba(255, 255, 255, 0.5); */
    border-radius: 50px;
    /* backdrop-filter: blur(10px); */
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.3s both;
    margin-bottom: 1.5rem;
    /* position: absolute; */
    /* left: 50px;
    top: 50px; */
}

/* 轮播图控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* 轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.8);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    margin-left: 0.2rem;
}

/* 主按钮样式 - 了解更多 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.4);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary:hover span {
    transform: translateX(-2px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

/* 次按钮样式 - 查看详情 */
.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f4 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.15);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: width 0.5s ease;
    z-index: 1;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.3);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover .btn-icon {
    transform: translateX(5px);
}

.btn-secondary:hover span {
    transform: translateX(-2px);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.2);
}

/* 按钮脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 134, 89, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(45, 134, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 134, 89, 0);
    }
}

.btn-primary:hover {
    animation: pulse 2s infinite;
}

/* 按钮加载动画 */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* 按钮响应式设计 */
@media (max-width: 640px) {
    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }
}

/* 通用区块样式 */
.section {
    padding: 80px 20px;
}

.section.partners{
    padding: 136px 20px;
}
.section.contact{
    padding: 165px 20px;
}


.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* 企业简介 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 2;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.culture-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.culture-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.culture-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.culture-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.values p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.values strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

/* 核心业务 */
.business-content {
    max-width: 1200px;
    margin: 0 auto;
}

.business-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

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

.business-item {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.business-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 4rem;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.3;
}

.business-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.business-item p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
    margin: 0;
}

/* 企业信誉 */
.credibility-content {
    max-width: 1000px;
    margin: 0 auto;
}

.credibility-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.credibility-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 2;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.credibility-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.credibility-item:hover {
    transform: translateY(-5px);
}

.credibility-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.credibility-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.credibility-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.credibility-conclusion {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    line-height: 2;
    font-style: italic;
}

/* 资质荣誉 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.honor-item {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.honor-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* 新闻咨询 */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

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

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: var(--bg-white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.news-item p {
    color: var(--text-light);
}

/* 人才招聘 */
.recruit-content {
    max-width: 900px;
    margin: 0 auto;
}

.recruit-item {
    background: var(--bg-white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.recruit-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.recruit-detail h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.recruit-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.recruit-detail ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.recruit-detail li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.recruit-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.recruit-footer p {
    margin: 0.5rem 0;
    color: white;
}

.recruit-footer a {
    color: white;
    text-decoration: underline;
}

/* 产品展示 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 335px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image .image-placeholder {
    font-size: 4rem;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.3;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.product-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
    margin: 0;
}

/* 我们的独特优势 */
.advantage-content {
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 合作院校 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partners-intro {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.partner-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    transition: transform 0.3s ease;
}

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

.partner-logo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
}

/* 联系我们 */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-item strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 友情链接 */
.links {
    background-color: var(--bg-light);
}

.links-content {
    max-width: 1200px;
    margin: 0 auto;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-white);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 134, 89, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.15);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.link-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

.link-item span {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.link-arrow {
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 20px;
    /* text-align: center; */
}
.footer .container{
    display: flex;
    justify-content: space-between;
}
.footer .rightImage{
    width: 20%;
}
.footer .rightImage>img{
    width: 100%;
}
.footer p {
    margin: 0.5rem 0;
    color: rgba(255,255,255,0.8);
}

.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow-hover);
        padding: 1rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 1rem 1.5rem;
        border-radius: 0;
        justify-content: space-between;
    }

    /* 移动端下拉菜单 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.8rem 2.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-slogan {
        font-size: 1.4rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 2rem;
    }

    .culture-grid,
    .credibility-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 640px) {

    .navbar .container {
        justify-content: space-between;
     
    }
    .footer .container {
        flex-direction: column;
    }
    .footer .rightImage {
        width: 100%;
    }
    .hero-carousel {
        height: 80vh;
        min-height: 500px;
        margin-top: 60px;
    }

    .carousel-prev {
        left: 15px;
        width: 40px;
        height: 40px;
    }

    .carousel-next {
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
        padding: 0.5rem 1.2rem;
        letter-spacing: 1px;
        margin-top: 1rem;
    }

    .section {
        padding: 83px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .culture-card,
    .business-item,
    .credibility-item {
        padding: 1.5rem;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .recruit-item {
        padding: 1.5rem;
    }

    .recruit-detail ol {
        margin-left: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .news-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .link-item {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .link-icon {
        font-size: 1.5rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
