/* 关于我们页面基础样式 */
.about-page {
    padding-top: 0;
    overflow-x: hidden;
}

/* 英雄区样式 */
.hero-section {
    margin-top: 160px;
    height: calc(100vh - 160px);
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a192f 0%, #0077b6 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    color: #48cae4;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #48cae4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}

/* 公司介绍部分 */
.company-intro-section {
    padding: 6rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0077b6, #48cae4);
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text {
    padding-left: 2rem;
}

.intro-text h3 {
    font-size: 1.8rem;
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text h4 {
    font-size: 1.4rem;
    color: #0a192f;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1rem;
}

/* 图片堆叠样式 */
.image-stack {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.image-container {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.image-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.top-image {
    width: 70%;
    top: 10%;
    left: 0;
    z-index: 2;
    transform: rotate(-3deg);
}

.bottom-image {
    width: 70%;
    bottom: 10%;
    right: 0;
    z-index: 1;
    transform: rotate(3deg);
}

.image-container:hover {
    transform: rotate(0) scale(1.05);
    z-index: 3;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

/* 时间轴部分 */
.timeline-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.horizontal-timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 4px;
    background: linear-gradient(to right, #0077b6, #48cae4);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-item {
    flex: 1;
    max-width: 180px;
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-year {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: #0077b6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.1);
    background: #48cae4;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: #0a192f;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 核心价值部分 */
.values-section {
    padding: 6rem 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,180,216,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0077b6, #48cae4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #0a192f;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 团队部分 */
.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(0,119,182,0.8);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: #48cae4;
    transform: translateY(-3px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    color: #0a192f;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 荣誉证书部分 */
.certificate-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.certificate-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-item:hover img {
    transform: scale(1.03);
}

/* 选项卡样式 */
.company-tabs {
    margin-bottom: 3rem;
}

.company-tabs .nav-tabs {
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.company-tabs .nav-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    z-index: -1;
}

.company-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0;
    background: transparent;
}

.company-tabs .nav-link:hover {
    color: #0077b6;
    border-color: transparent;
}

.company-tabs .nav-link.active {
    color: #0077b6;
    background: transparent;
    border: none;
}

.company-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;  /* 改为100%宽度 */
    height: 3px;
    background: linear-gradient(to right, #0077b6, #48cae4);
    z-index: 1;
    transform: scaleX(0);  /* 初始状态隐藏 */
    transform-origin: left center;  /* 从左侧开始缩放 */
    transition: transform 0.3s ease-out;  /* 平滑过渡 */
}
.company-tabs .nav-link.active::after {
    transform: scaleX(1);  /* 激活状态显示 */
}

/* 联系我们部分 */
.contact-content {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.contact-info-container {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
    z-index: 1;
    transition: all 0.5s ease;
}

.contact-info-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.2);
}

.decorative-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.1), rgba(0, 119, 182, 0.1));
    border-radius: 50%;
    z-index: -1;
}

.decorative-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.decorative-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: -80px;
    animation: float 8s ease-in-out infinite 2s;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.info-item:hover {
    background: white;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0077b6, #48cae4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: rotate(15deg) scale(1.1);
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 1.2rem;
    color: #0a192f;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.address-hover,
.contact-hover,
.email-hover,
.time-hover {
    font-size: 0.85rem;
    color: #6c757d;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-item:hover .address-hover,
.info-item:hover .contact-hover,
.info-item:hover .email-hover,
.info-item:hover .time-hover {
    opacity: 1;
    max-height: 50px;
    margin-top: 0.5rem;
}

.contact-qr {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed #dee2e6;
}

.qr-item {
    text-align: center;
    transition: all 0.3s ease;
}

.qr-item:hover {
    transform: translateY(-5px);
}

.qr-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 5px;
    background: white;
}

.qr-item p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 地图部分 */
.map-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.2);
}

.baidu-map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.map-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
}

.map-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #0077b6;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-btn:hover {
    background: #0077b6;
    color: white;
    transform: scale(1.1);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes tabUnderline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section {
        margin-top: 80px;
        height: auto;
        padding: 3rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .intro-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-text {
        padding-left: 0;
        padding-top: 2rem;
    }

    .image-stack {
        min-height: 300px;
        height: auto;
    }

    .top-image,
    .bottom-image {
        position: relative;
        width: 100%;
        transform: none !important;
        margin-bottom: 2rem;
    }

    .contact-info-container {
        margin-bottom: 2rem;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 6rem 0;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline-items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .timeline-item {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }

    .timeline-progress {
        display: none;
    }

    .timeline-content {
        min-height: auto;
    }

    .image-stack {
        min-height: 250px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .contact-qr {
        flex-direction: column;
        gap: 1.5rem;
    }

    .company-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/*公司简介入场动画*/
.intro-image {
    transform: translateY(50px);
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.intro-text {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 1s ease-out 0.3s, opacity 1s ease-out 0.3s;
}

/* 荣誉证书样式 */
.certificate-item {
    position: relative;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.certificate-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.certificate-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(0, 119, 182, 0.3);
    border-radius: 5px;
    pointer-events: none;
}

.certificate-frame:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.25);
}

.certificate-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.certificate-frame:hover .certificate-img {
    transform: scale(1.03);
}

.certificate-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #0077b6, #48cae4);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.certificate-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
    padding: 20px 15px 10px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 2;
}

.certificate-frame:hover .certificate-overlay {
    opacity: 1;
    transform: translateY(0);
}

.certificate-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.certificate-year {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* 金色边框效果 */
.certificate-frame::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
}

/* 光晕效果 */
.certificate-frame:hover::before {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(0, 119, 182, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 119, 182, 0.8);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .certificate-frame {
        padding: 10px;
    }

    .certificate-ribbon {
        right: -25px;
        padding: 4px 25px;
        font-size: 0.7rem;
    }

    .certificate-name {
        font-size: 0.9rem;
    }

    .certificate-year {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .certificate-item {
        margin-bottom: 1.5rem;
    }

    .certificate-overlay {
        padding: 15px 10px 8px;
    }
}

