/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* 移除或注释掉文字相关样式 */
    /* font-size: 1.5rem; */
    /* font-weight: bold; */
    /* color: #fff; */
}

.logo-img {
    height: 90px; /* 根据需要调整高度 */
    width: auto; /* 保持比例 */
    max-width: 370px; /* 最大宽度限制 */
    transition: all 0.3s ease;
}

/* 如果需要悬停效果 */
.logo-img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 640px) {
    .logo-img {
        height: 50px;
        max-width: 200px;
    }
}

.navbar.scrolled .logo {
    color: #1e3a8a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #1e3a8a;
}

.nav-link:hover {
    color: #6b7280;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    transition: all 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
    right: 0;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 2px 0;
    transition: 0.3s;
}

.navbar.scrolled .hamburger span {
    background: #1e3a8a;
}

/* 移动端菜单覆盖层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    transition: left 0.3s ease;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu {
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background: #fff;
    padding: 2rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav-menu {
    list-style: none;
    margin-top: 3rem;
}

.mobile-nav-menu li {
    margin: 1rem 0;
}

.mobile-nav-menu .nav-link {
    color: #1e3a8a;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
}

/* Hero 区域通用样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    color: #fff;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    min-height: 60px;
    line-height: 1.2;

}

.hero h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
}

.btn-transparent {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 容器和布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* 网格系统 */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1e3a8a;
}

.card h3 {
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-size: 1.3rem;
    line-height: 1.4;
    height: 3.6rem;
    overflow: hidden;
}

.card p {
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 轮播样式 */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

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

.carousel-item {
    min-width: 300px;
    margin-right: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-controls:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* 视差背景 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .carousel-item {
        min-width: 250px;
    }
}

/* 特定页面样式 */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.value-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.value-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.honors-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
}

.honors-track {
    display: inline-flex;
    animation: scroll 20s linear infinite;
}

.honor-badge {
    margin-right: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.honor-badge:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sidebar {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

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

.news-content {
    padding: 1.5rem;
}

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

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.map-container {
    margin: 0rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
    }
} 


/* 董事长寄语模块 */
.chairman-message-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #3a5ebb;
}


/* 背景视频容器 */
.chairman-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.chairman-bg-video,
.chairman-bg-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 董事长专用视差效果 */
.chairman-bg-video.chairman-parallax-active,
.chairman-bg-fallback.chairman-parallax-active {
    transform: translate(-50%, -50%) translateY(var(--chairman-parallax-offset, 0));
}

/* 深色渐变蒙层 */
.chairman-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

/* 主要内容 */
.chairman-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* 董事长肖像 */
.chairman-portrait-container {
    flex: 0 0 300px;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chairman-portrait-container.chairman-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chairman-portrait {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: chairmanPortraitBounce 2s ease-out;
}

.chairman-portrait:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
}

@keyframes chairmanPortraitBounce {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 文字内容 */
.chairman-text-container {
    flex: 1;
    position: relative;
}

.chairman-title {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.chairman-title.chairman-animate {
    opacity: 1;
    transform: translateY(0);
}

.chairman-message {
    position: relative;
}

.chairman-paragraph {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.chairman-paragraph.chairman-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 飘动叶片装饰 */
.chairman-floating-leaves {
    position: absolute;
    top: 0;
    right: -2rem;
    width: 100px;
    height: 100%;
    pointer-events: none;
}

.chairman-leaf {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(34, 197, 94, 0.6);
    border-radius: 50% 0;
    opacity: 0;
}

.chairman-leaf.chairman-animate {
    animation: chairmanLeafFloat 4s ease-in-out infinite;
    opacity: 1;
}

.chairman-leaf-1 {
    top: 20%;
    animation-delay: 0s;
}

.chairman-leaf-2 {
    top: 50%;
    animation-delay: 1.5s;
}

.chairman-leaf-3 {
    top: 80%;
    animation-delay: 3s;
}

@keyframes chairmanLeafFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(-10px) translateY(-10px) rotate(90deg);
    }
    50% {
        transform: translateX(0) translateY(-20px) rotate(180deg);
    }
    75% {
        transform: translateX(10px) translateY(-10px) rotate(270deg);
    }
}

/* SVG波浪分割线 */
.chairman-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
    overflow: hidden;
}

.chairman-wave-divider svg {
    width: 100%;
    height: 100%;
    fill: #f8fafc;
    animation: chairmanWaveMove 3s ease-in-out infinite;
}

@keyframes chairmanWaveMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 600px) {
    .chairman-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 1rem;
    }
    
    .chairman-portrait-container {
        flex: none;
        width: 250px;
        margin: 0 auto;
    }
    
    .chairman-portrait {
        height: 300px;
    }
    
    .chairman-title {
        font-size: 2.2rem;
    }
    
    .chairman-paragraph {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .chairman-floating-leaves {
        display: none;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .chairman-content {
        gap: 3rem;
    }
    
    .chairman-portrait-container {
        flex: 0 0 250px;
    }
    
    .chairman-portrait {
        height: 320px;
    }
    
    .chairman-title {
        font-size: 2.5rem;
    }
}
