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

/* Base Styles for page-about */
.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--deep-navy); /* From shared.css, just for context */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--deep-navy);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height of the image wrapper */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Ensure minimum size */
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: 3.2em;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-description {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-about__btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button max-width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-about__btn--primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-about__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-about__btn--secondary {
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.page-about__btn--secondary:hover {
    background: rgba(29, 95, 209, 0.2);
    transform: translateY(-2px);
}

/* Introduction Section */
.page-about__introduction-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

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

.page-about__grid-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-about__content-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-about__card-title {
    font-size: 1.6em;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-about__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

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

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

.page-about__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-about__image--centered {
    display: block;
    margin: 60px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Ensure minimum size */
}

/* Commitment Section */
.page-about__commitment-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__commitment-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__commitment-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Team Section */
.page-about__team-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
}

.page-about__team-values {
    margin-top: 40px;
}

/* Contact Section */
.page-about__contact-section {
    background-color: var(--deep-navy);
    padding: 60px 0;
    text-align: center;
}

.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 600px;
}

.page-about__contact-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__contact-label {
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 5px;
}

.page-about__contact-link {
    color: var(--primary-color); /* Assuming --primary-color is defined in shared.css for brand blue */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__contact-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* General image and container responsiveness */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.8em;
    }

    .page-about__hero-description {
        font-size: 1.2em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

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

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px !important;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px !important;
    }

    .page-about__hero-image {
        min-height: 200px !important; /* Ensure minimum size */
    }

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

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

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

    /* 按钮与按钮容器 */
    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px !important; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* 其他内容模块 */
    .page-about__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }

    .page-about__sub-title {
        font-size: 1.4em !important;
    }

    .page-about__text-block,
    .page-about__card-text,
    .page-about__feature-description,
    .page-about__commitment-text {
        font-size: 0.95em !important;
        line-height: 1.5 !important;
    }

    .page-about__grid-item {
        grid-template-columns: 1fr !important; /* Stack cards vertically */
        gap: 30px !important;
    }

    .page-about__features-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr !important; /* Stack features/commitments vertically */
        gap: 30px !important;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        min-height: 200px !important; /* Ensure minimum size */
    }

    .page-about__content-card,
    .page-about__feature-card,
    .page-about__commitment-item {
        padding: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__contact-list {
        margin: 30px auto !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__contact-item {
        font-size: 1em !important;
    }
}