/* 全局样式 */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #3f51b5;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(45deg, #3949ab, #1e88e5);
    --gradient-light: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* 火狐浏览器的滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    
}

/* 导航栏样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 35, 126, 0.1);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    gap: 100px;
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.logo h1:hover {
    transform: scale(1.02);
    background-position: right center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 500;
    font-family: 'SourceHanSansSC-regular', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    background: transparent;
}

.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(63, 81, 181, 0.08);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0;
}

.nav-links a:hover::after {
    width: 70%;
    opacity: 1;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
        height: auto;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        margin-top: 0;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* 主要内容区域 */
main {
    margin-top: 80px;
    position: relative;
}

main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(26, 35, 126, 0.03) 0%, transparent 70%),
                radial-gradient(circle at bottom left, rgba(13, 71, 161, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: expandWidth 0.5s ease-out forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* 关于我们部分 */
.about-section {
    background-image: url(images/banner3.5bd02791.jpg);
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
    color: white;
}

.title-image {
    text-align: center;
    
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-image img {
    width: auto;
    height: auto;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    z-index: 10;
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    /* background-image: url('images/banner3.5bd02791.jpg');
    background-size: cover; */
    padding: 50px 0;
    color: #fff;
    text-align: center;
    border-radius: 10px;
}
   

.about-text {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-shadow: none;
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    padding-top: 0;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 1;
}

.about-text > * {
    position: relative;
    z-index: 2;
}

.about-text h3 {
    color: white;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.about-text h4 {
   
    font-size: 1.3rem;
    margin: 1.2rem 0 0.8rem;
    position: relative;
    padding-left: 1rem;
    animation: floatUp 0.8s ease-out forwards;
    letter-spacing: 0.3px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
    text-indent: 2em;
}

.about-text ul {
    list-style: none;
    margin: 1.2rem 0;
    padding-left: 1.2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.about-text li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: calc(0.1s * var(--item-index, 0));
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.about-text li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(63,81,181,0.3);
}

.about-text li:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(63,81,181,0.5);
}

.company-intro, .chairman-info, .achievements, .charity {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 3rem;
}

.chairman-info ul li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.chairman-info ul li::before {
    background: white;
}

.achievements ul li {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .about-text {
        padding: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text h4 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-text ul {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .about-text li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .company-intro, .chairman-info, .achievements, .charity {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

/* 荣誉轮播图部分 */
.honors-section {
    background: 
        linear-gradient(120deg, #ffffff, #f8f9fa),
        radial-gradient(circle at top right, rgba(26,35,126,0.05), transparent 70%),
        radial-gradient(circle at bottom left, rgba(13,71,161,0.05), transparent 70%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.honors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(26, 35, 126, 0.03) 0%, transparent 70%),
        radial-gradient(circle at bottom left, rgba(13, 71, 161, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.honors-section .container {
    position: relative;
    z-index: 2;
    padding-left: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0;
    margin-left: 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 100px rgba(26, 35, 126, 0.1);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(20px);
}

.carousel-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 120px rgba(26, 35, 126, 0.15);
}

.carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 600px;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    background: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel img:hover {
    opacity: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    backdrop-filter: blur(10px);
}

.carousel-button:hover {
    background: linear-gradient(145deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(26,35,126,0.3);
}

.carousel-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.prev:hover i {
    transform: translateX(-3px);
}

.next:hover i {
    transform: translateX(3px);
}

.prev {
    left: -25px;
}

.next {
    right: -25px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
    padding: 10px 20px;
    background: var(--gradient-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(63,81,181,0.3);
}

.indicator.active::after {
    transform: translate(-50%, -50%) scale(1);
}

.indicator:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        margin: 0 20px;
        
    }

    .carousel {
        height: 400px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .carousel-indicators {
        padding: 8px 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 页脚样式 */
footer {
    background: #333333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
}

.footer-content span {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-content i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-content span:hover i {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info, .footer-contact {
        margin-bottom: 2rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0 1rem;
    }

    .about-text, .carousel-container {
        background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
    }
    
    .carousel-button {
        background: var(--gradient-accent);
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content, .honors-section h2 {
    animation: fadeIn 1s ease-out;
}

/* 新增动画效果 */
@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(63,81,181,0.2); }
    50% { box-shadow: 0 0 20px rgba(63,81,181,0.4); }
    100% { box-shadow: 0 0 5px rgba(63,81,181,0.2); }
}

.about-text:hover {
    animation: glowPulse 2s infinite;
}

.about-text h4 {
    animation: floatUp 0.8s ease-out forwards;
}

.charity p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    letter-spacing: 0.5px;
    padding: 0 1rem;
    position: relative;
    text-indent: 2em;
}

.charity p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.charity p:not(:first-of-type) {
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.charity p:not(:first-of-type):hover {
    border-left-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .charity p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
        padding: 0 0.8rem;
    }

    .charity p:first-of-type {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
} 