/* style/about.css */

:root {
    --color-primary: #113B7A;
    --color-secondary: #1D5FD1;
    --color-text-main: #F3F8FF;
    --color-text-secondary: #AFC4E8;
    --color-card-bg: #10233F;
    --color-border: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-about {
    color: var(--color-text-main); /* Ensure light text on dark body background */
    background-color: var(--color-deep-navy); /* Assumed body background from shared.css */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

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

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-about__dark-section {
    background-color: var(--color-deep-navy);
    padding: 60px 0;
}

.page-about__light-bg {
    background-color: var(--color-primary);
    padding: 60px 0;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has --header-offset */
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-about__hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--color-text-main);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-about__hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-glow);
}

/* Intro Section */
.page-about__intro-section {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-divider);
}

.page-about__intro-section .page-about__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
}

/* Mission Vision Section */
.page-about__mission-vision-section {
    padding: 80px 0;
}

.page-about__grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-about__grid-two-columns:last-of-type {
    margin-bottom: 0;
}

.page-about__content-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-about__card-title {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-about__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
    padding: 80px 0;
    text-align: center;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
}

.page-about__feature-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__feature-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-about__cta-wrapper {
    margin-top: 60px;
}

.page-about__primary-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--color-text-main);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-about__primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-glow);
}

/* Team Section */
.page-about__team-section {
    padding: 80px 0;
}

.page-about__team-section .page-about__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
}

.page-about__secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--color-gold);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-top: 20px;
}

.page-about__secondary-button:hover {
    background: var(--color-gold);
    color: var(--color-deep-navy);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Social Responsibility Section */
.page-about__social-responsibility {
    padding: 80px 0;
    text-align: center;
}

.page-about__responsibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__responsibility-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-about__responsibility-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__responsibility-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-about__responsibility-image-wrapper {
    margin-top: 40px;
}

/* Achievements Section */
.page-about__achievements-section {
    padding: 80px 0;
}

.page-about__achievements-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__achievements-item {
    background-color: var(--color-card-bg);
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-about__achievements-item strong {
    color: var(--color-gold);
    font-weight: 700;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: var(--color-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2rem;
    color: var(--color-text-main);
    font-weight: 600;
    cursor: pointer;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-gold);
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom: 1px solid var(--color-border);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 20px 30px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* CTA Bottom Section */
.page-about__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-bottom .page-about__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

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

/* --- General Image and Button Responsive Styles --- */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-about__primary-button,
.page-about__secondary-button,
.page-about__hero-cta-button {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 30px;
    }

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

    .page-about__grid-two-columns {
        grid-template-columns: 1fr;
    }

    .page-about__grid-reverse-mobile {
        flex-direction: column-reverse;
    }
    .page-about__grid-reverse-mobile .page-about__image-wrapper {
        margin-bottom: 30px;
    }
    .page-about__grid-reverse-mobile .page-about__content-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding, assuming body has --header-offset */
        min-height: auto;
        padding-bottom: 30px;
    }

    .page-about__hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: clamp(1rem, 3.5vw, 1.2rem) !important;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .page-about__hero-cta-button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    /* 深色导语区 */
    .page-about__intro-section,
    .page-about__mission-vision-section,
    .page-about__why-choose-us,
    .page-about__team-section,
    .page-about__social-responsibility,
    .page-about__achievements-section,
    .page-about__faq-section,
    .page-about__cta-bottom {
        padding: 40px 0 !important;
    }

    .page-about__container {
        padding: 0 15px !important;
    }

    .page-about__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    /* 博客网格 (Not applicable for this page, but general rule for image grids) */
    .page-about__features-grid,
    .page-about__responsibility-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__image-wrapper,
    .page-about__hero-image-wrapper,
    .page-about__responsibility-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-about__primary-button,
    .page-about__secondary-button,
    .page-about__hero-cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* FAQ */
    .page-about__faq-question {
        padding: 15px 20px !important;
        font-size: 1.1rem !important;
    }

    .page-about__faq-answer {
        padding: 15px 20px !important;
        font-size: 0.95rem !important;
    }

    .page-about__faq-toggle {
        font-size: 1.5rem !important;
    }

    .page-about__grid-two-columns {
        gap: 30px !important;
        margin-bottom: 40px !important;
    }
    .page-about__grid-reverse-mobile {
        flex-direction: column-reverse !important;
    }
    .page-about__grid-reverse-mobile .page-about__image-wrapper {
        margin-bottom: 20px !important;
    }
    .page-about__grid-reverse-mobile .page-about__content-card {
        margin-bottom: 0 !important;
    }

    .page-about__card-title {
        font-size: 1.6rem !important;
    }

    .page-about__feature-title,
    .page-about__responsibility-title {
        font-size: 1.4rem !important;
    }

    .page-about__achievements-item {
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }
}