/* ==========================================
   关于我们页面样式 - About Page Styles
   ========================================== */

/* Hero Section 样式 */
.about-hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('../images/40001.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 60px;
    width: 100%;
    text-align: center;
}

.about-hero-title {
    color: #ffffff;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

.about-hero-subtitle {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1.2s ease 0.3s forwards;
}

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

/* 了解 BioNTech Section */
.know-biontech-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
}

.section-content {
    max-width: 100%;
}

.intro-paragraph {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.intro-paragraph:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 25px;
}

.intro-list {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    margin-left: 0;
    padding-left: 30px;
    list-style: none;
}

.intro-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.intro-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #96b545;
    font-weight: bold;
    font-size: 20px;
}

.intro-list li:last-child {
    margin-bottom: 0;
}

/* 核心业务 Section */
.core-business-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* 平台服务 Section */
.platform-services-section {
    padding: 100px 0;
    background-color: #ffffff;
}

/* 发展历程 Section */
.development-history-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 27px;
    border-left: 2px solid #e0e0e0;
}

.history-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -38px; /* Corrected for border-left positioning */
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: #96b545;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #96b545;
}

.history-date {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.history-content {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 愿景和使命 Section */
.vision-mission-section {
    position: relative;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* Section间隔 */
.section-spacer {
    height: 80px;
    background-color: #ffffff;
}

.vision-mission-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.vision-mission-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vision-mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-mission-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 50%;
    background-color: #0d6d6d;
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.vision-mission-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.3;
}

.vision-mission-description {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.vision-mission-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 0;
}

.vision-mission-link:hover {
    gap: 12px;
}

.vision-mission-link svg {
    transition: transform 0.3s ease;
}

.vision-mission-link:hover svg {
    transform: translateX(4px);
}

/* 我们的历史 Section */
.our-history-section {
    position: relative;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
}

.our-history-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.our-history-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.our-history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-history-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 50%;
    background-color: #1e6b6b;
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.our-history-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.3;
}

.our-history-description {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.our-history-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.our-history-link:hover {
    gap: 12px;
}

.our-history-link svg {
    transition: transform 0.3s ease;
}

.our-history-link:hover svg {
    transform: translateX(4px);
}

/* 公司注册证明 Section */
.company-registration-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.registration-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.registration-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: zoom-in;
    position: relative;
    max-width: 500px; /* 限制最大宽度 */
    width: 100%;
}

.registration-card::after {
    content: '🔍 点击查看';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(150, 181, 69, 0.95), rgba(150, 181, 69, 0));
    color: #ffffff;
    text-align: center;
    padding: 30px 10px 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.registration-card:hover::after {
    opacity: 1;
}

.registration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #96b545;
}

.registration-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* 资质认证 Section */
.certifications-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.certifications-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.certifications-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.certification-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: zoom-in;
    position: relative;
}

.certification-card::after {
    content: '🔍 点击查看';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(150, 181, 69, 0.95), rgba(150, 181, 69, 0));
    color: #ffffff;
    text-align: center;
    padding: 30px 10px 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover::after {
    opacity: 1;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #96b545;
}

.certification-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* 图片查看大图遮罩层 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.image-modal-close:hover {
    color: #96b545;
}

/* 软件著作权 Section */
.software-copyrights-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.software-copyrights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.software-copyrights-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
}

.software-copyrights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.copyright-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: zoom-in;
    position: relative;
}

.copyright-card::after {
    content: '🔍 点击查看';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(150, 181, 69, 0.95), rgba(150, 181, 69, 0));
    color: #ffffff;
    text-align: center;
    padding: 30px 10px 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copyright-card:hover::after {
    opacity: 1;
}

.copyright-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #96b545;
}

.copyright-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* 响应式设计 */
@media (max-width: 1440px) {
    .about-container {
        padding: 0 40px;
    }

    .section-spacer {
        height: 70px;
    }

    .vision-mission-container {
        min-height: 550px;
    }

    .vision-mission-content {
        padding: 50px 80px;
    }

    .our-history-container {
        min-height: 550px;
    }

    .our-history-content {
        padding: 50px 80px;
    }

    .certifications-container {
        padding: 0 40px;
    }

    .software-copyrights-container {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .about-hero {
        height: 500px;
    }

    .about-hero-title {
        font-size: 52px;
    }

    .about-hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 42px;
    }

    .intro-paragraph {
        font-size: 17px;
    }

    .subsection-title {
        font-size: 26px;
        margin-top: 45px;
        margin-bottom: 22px;
    }

    .intro-list {
        font-size: 17px;
    }

    .section-spacer {
        height: 60px;
    }

    .vision-mission-container {
        min-height: 500px;
    }

    .vision-mission-content {
        padding: 45px 60px;
    }

    .vision-mission-title {
        font-size: 36px;
    }

    .vision-mission-description {
        font-size: 17px;
    }

    .our-history-container {
        min-height: 500px;
    }

    .our-history-content {
        padding: 45px 60px;
    }

    .our-history-title {
        font-size: 36px;
    }

    .our-history-description {
        font-size: 17px;
    }

    .certifications-title {
        font-size: 42px;
    }

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

    .software-copyrights-title {
        font-size: 42px;
    }

    .software-copyrights-grid {
        gap: 35px;
    }
}

@media (max-width: 968px) {
    .about-hero {
        height: 400px;
    }

    .about-hero-title {
        font-size: 42px;
    }

    .about-hero-subtitle {
        font-size: 18px;
    }

    .know-biontech-section {
        padding: 60px 0;
    }

    .core-business-section {
        padding: 60px 0;
    }
    
    .platform-services-section {
        padding: 60px 0;
    }

    .company-registration-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .intro-paragraph {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .subsection-title {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .intro-list {
        font-size: 16px;
        padding-left: 25px;
    }

    .intro-list li {
        padding-left: 20px;
        margin-bottom: 12px;
    }

    .section-spacer {
        height: 50px;
    }

    .vision-mission-container {
        min-height: auto;
    }

    .vision-mission-image {
        position: relative;
        height: 400px;
    }

    .vision-mission-content {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
        width: 100%;
        padding: 50px 40px;
    }

    .vision-mission-title {
        font-size: 32px;
    }

    .vision-mission-description {
        font-size: 16px;
    }

    .our-history-container {
        min-height: auto;
    }

    .our-history-image {
        position: relative;
        height: 400px;
    }

    .our-history-content {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
        width: 100%;
        padding: 50px 40px;
    }

    .our-history-title {
        font-size: 32px;
    }

    .our-history-description {
        font-size: 16px;
    }

    .certifications-section {
        padding: 80px 0;
    }

    .certifications-container {
        padding: 0 40px;
    }

    .certifications-title {
        font-size: 36px;
        margin-bottom: 50px;
    }

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

    .software-copyrights-section {
        padding: 80px 0;
    }

    .software-copyrights-container {
        padding: 0 40px;
    }

    .software-copyrights-title {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .software-copyrights-grid {
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .about-hero {
        height: 350px;
    }

    .about-hero-content {
        padding: 0 30px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    .about-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .know-biontech-section {
        padding: 40px 0;
    }

    .core-business-section {
        padding: 40px 0;
    }
    
    .platform-services-section {
        padding: 40px 0;
    }

    .company-registration-section {
        padding: 40px 0;
    }

    .intro-paragraph {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .subsection-title {
        font-size: 22px;
        margin-top: 35px;
        margin-bottom: 18px;
    }

    .intro-list {
        font-size: 15px;
        padding-left: 20px;
    }

    .intro-list li {
        padding-left: 18px;
        margin-bottom: 10px;
    }

    .intro-list li::before {
        font-size: 18px;
    }

    .section-spacer {
        height: 40px;
    }

    .vision-mission-image {
        position: relative;
        height: 300px;
    }

    .vision-mission-content {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
        width: 100%;
        padding: 40px 30px;
    }

    .vision-mission-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .vision-mission-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .vision-mission-link {
        font-size: 15px;
    }

    .our-history-image {
        position: relative;
        height: 300px;
    }

    .our-history-content {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
        width: 100%;
        padding: 40px 30px;
    }

    .our-history-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .our-history-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .our-history-link {
        font-size: 15px;
    }

    .certifications-section {
        padding: 60px 0;
    }

    .certifications-container {
        padding: 0 30px;
    }

    .certifications-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-modal img {
        max-width: 95%;
        max-height: 95%;
    }

    .image-modal-close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }

    .software-copyrights-section {
        padding: 60px 0;
    }

    .software-copyrights-container {
        padding: 0 30px;
    }

    .software-copyrights-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .software-copyrights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}