/* style/about.css */

/* General styles for the about page */
.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main, #F3F8FF); /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css var(--deep-navy) */
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: 3.2em;
    color: var(--text-main, #F3F8FF);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--glow, #4FA8FF), var(--gold, #F2C14E));
    border-radius: 2px;
}

.page-about__sub-section-title {
    font-size: 2.2em;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-about__card-title {
    font-size: 1.6em;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-text,
.page-about p,
.page-about li {
    color: var(--text-secondary, #AFC4E8); /* Secondary light text */
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Button Styles */
.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--text-main, #F3F8FF);
    box-shadow: 0 5px 15px rgba(17, 59, 122, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 59, 122, 0.6);
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--glow, #4FA8FF);
    border: 2px solid var(--glow, #4FA8FF);
    box-shadow: 0 5px 15px rgba(79, 168, 255, 0.2);
}

.page-about__btn-secondary:hover {
    background: var(--glow, #4FA8FF);
    color: var(--deep-navy, #08162B);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 168, 255, 0.4);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Specific padding-top for hero section */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: var(--deep-navy, #08162B);
}

.page-about__hero-image-container {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

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

.page-about__main-title {
    font-size: 3.8em;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-about__subtitle {
    font-size: 1.4em;
    color: var(--text-secondary, #AFC4E8);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    padding: 80px 0;
    background-color: var(--deep-navy, #08162B);
}

.page-about__mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* History Section */
.page-about__history-section {
    padding: 80px 0;
    background-color: var(--card-bg, #10233F);
}

.page-about__history-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__history-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

.page-about__history-text {
    flex: 1;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 80px 0;
    background-color: var(--deep-navy, #08162B);
}

.page-about__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__card {
    background-color: var(--card-bg, #10233F);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border, #244D84);
}

.page-about__card:hover {
    transform: translateY(-5px);
}

.page-about__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary, #AFC4E8);
}

.page-about__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow, #4FA8FF);
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 80px 0;
    background-color: var(--deep-navy, #08162B);
}

.page-about__commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Join Us Section */
.page-about__join-us-section {
    padding: 80px 0;
    background-color: var(--card-bg, #10233F);
}

.page-about__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-about__step-card {
    background-color: var(--deep-navy, #08162B);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border, #244D84);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__step-card:hover {
    transform: translateY(-5px);
}

.page-about__step-title {
    font-size: 1.8em;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: bold;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy, #08162B);
}

.page-about__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: var(--card-bg, #10233F);
    border: 1px solid var(--border, #1B3357);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F3F8FF);
    cursor: pointer;
    list-style: none; /* For details/summary */
    position: relative;
}

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

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

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold, #F2C14E);
    margin-left: 15px;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: var(--text-secondary, #AFC4E8);
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer a {
    color: var(--glow, #4FA8FF);
    text-decoration: none;
    font-weight: bold;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Contact Section */
.page-about__contact-section {
    padding: 80px 0;
    background-color: var(--card-bg, #10233F);
    text-align: center;
}

.page-about__contact-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: var(--text-secondary, #AFC4E8);
}

.page-about__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Image responsiveness */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 3em;
    }
    .page-about__section-title {
        font-size: 2.8em;
    }
    .page-about__sub-section-title {
        font-size: 2em;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__hero-section {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important; /* Specific padding-top for hero section */
        padding-bottom: 60px;
        min-height: auto;
    }
    .page-about__hero-image-container {
        max-height: 300px;
    }
    .page-about__main-title {
        font-size: clamp(2.2em, 8vw, 2.8em) !important;
        margin-bottom: 15px;
    }
    .page-about__subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    /* 按钮与按钮容器 */
    .page-about__cta-button,
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        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__contact-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;
    }

    /* 其他内容模块 - 通用 */
    .page-about__container {
        padding: 0 15px !important;
    }
    .page-about__section-title {
        font-size: 2.2em !important;
        margin-bottom: 40px;
    }
    .page-about__sub-section-title {
        font-size: 1.8em !important;
    }
    .page-about__card-title {
        font-size: 1.3em !important;
    }
    .page-about p,
    .page-about li,
    .page-about__card-text {
        font-size: 1em !important;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__history-image {
        max-width: 100% !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__history-content,
    .page-about__mission-vision-grid,
    .page-about__advantages-grid,
    .page-about__commitment-grid,
    .page-about__steps-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 布局调整 */
    .page-about__mission-vision-grid,
    .page-about__history-content,
    .page-about__commitment-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }
    .page-about__history-image {
        margin-bottom: 20px;
    }
    .page-about__history-text {
        text-align: left;
    }
    .page-about__steps-grid {
        grid-template-columns: 1fr !important;
    }
}