/* style/about.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base styles for the about page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
    padding-top: 0; /* Handled by shared.css or hero section */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-about__hero-image {
    width: 1200px; /* Display width */
    height: 675px; /* Display height */
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, no color change */
}

.page-about__hero-content {
    max-width: 900px;
    z-index: 1;
    color: #ffffff;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
.page-about__section {
    padding: 60px 20px;
    background-color: var(--dark-bg-2, #1a1a1a); /* A slightly lighter dark background */
    color: #ffffff;
}

.page-about__section:nth-of-type(even) {
    background-color: var(--dark-bg-3, #262626); /* Another dark shade for alternating sections */
}

.page-about__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-about__dark-section .page-about__section-title::after {
    background-color: #ffffff;
}

.page-about__subsection-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-about__dark-section .page-about__subsection-title {
    color: #ffffff;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Feature Grid */
.page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-about__feature-image,
.page-about__video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    width: 600px; /* Display width for feature card images/videos */
    height: 400px; /* Display height for feature card images/videos */
    object-fit: cover;
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.page-about__feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-about__image-full {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    width: 800px; /* Display width */
    height: 600px; /* Display height */
    object-fit: cover;
}

/* Lists */
.page-about__responsibility-list,
.page-about__support-list,
.page-about__promo-list,
.page-about__process-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__responsibility-item,
.page-about__support-item,
.page-about__promo-item,
.page-about__process-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Contact Info */
.page-about__contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    color: #ffffff;
}

.page-about__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-about__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-about__hero-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding: 80px 15px;
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }

    .page-about__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-about__section {
        padding: 40px 0; /* Adjust padding for mobile */
    }

    .page-about__container {
        padding: 0 15px; /* Ensure content is within padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-about__text-block {
        font-size: 1em;
    }

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

    .page-about__feature-card {
        padding: 20px;
    }

    /* Images and Videos responsive */
    .page-about img,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-about__image-full {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Video container specific for mobile */
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Ensure all content sections have proper mobile padding */
    .page-about__mission-vision,
    .page-about__platform-features,
    .page-about__commitment,
    .page-about__why-choose,
    .page-about__contact {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__subsection-title {
        font-size: 1.2em;
    }
}

/* Color contrast fixes (if needed, though primary design aims for good contrast) */
.page-about__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-about__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}