/* style/about.css */

/* --- General Styles --- */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background, #08160F); /* Overall page background */
}

.page-about__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Ensure no horizontal overflow */
}

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

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

.page-about__sub-title {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-about__text-block {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-about__list-item {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-about__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow, #57E38D);
}

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

.page-about__cta-button--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
}

.page-about__cta-button--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-about__cta-button--secondary {
    background: transparent;
    color: var(--text-main, #F2FFF6);
    border: 2px solid var(--border, #2E7A4E);
}

.page-about__cta-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-about__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero */
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 10px;
}

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

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 */
    font-weight: 700;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Introduction Section --- */
.page-about__introduction-section {
    background-color: var(--background, #08160F);
}

.page-about__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    display: block;
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us-section {
    background-color: var(--card-bg, #11271B); /* Darker background for contrast */
}

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

.page-about__feature-card {
    background-color: var(--deep-green, #0A4B2C);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
    width: 100%; /* Ensure images take full width */
    height: 200px; /* Fixed height for feature icons */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-about__feature-description {
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
}

/* --- Commitment Section --- */
.page-about__commitment-section {
    background-color: var(--background, #08160F);
}

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

.page-about__commitment-item {
    background-color: var(--deep-green, #0A4B2C);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__commitment-description {
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8);
}

/* --- FAQ Section --- */
.page-about__faq-section {
    background-color: var(--card-bg, #11271B);
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: var(--deep-green, #0A4B2C);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main, #F2FFF6); /* Ensure text color is light */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    list-style: none; /* Hide default marker for <summary> */
    user-select: none;
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

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

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

.page-about__faq-link {
    color: var(--glow, #57E38D);
    text-decoration: underline;
    font-weight: bold;
}

.page-about__faq-link:hover {
    color: var(--gold, #F2C14E);
}

/* --- Bottom CTA Section --- */
.page-about__cta-bottom-section {
    background-color: var(--background, #08160F);
    text-align: center;
    padding-bottom: 80px;
}

.page-about__cta-bottom-content {
    max-width: 900px;
}

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

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-about__hero-image-wrapper {
        height: 500px;
    }

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

    .page-about__sub-title {
        font-size: 1.8em;
    }

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

    .page-about__feature-icon {
        height: 180px;
    }
}

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

    .page-about__hero-image-wrapper {
        height: 300px !important; /* Smaller height for mobile hero */
        margin-bottom: 30px !important;
    }

    .page-about__main-title {
        font-size: clamp(2em, 8vw, 2.5em) !important; /* Adjust H1 size for mobile */
        margin-bottom: 15px !important;
    }

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

    /* 其他内容模块 */
    .page-about__section {
        padding: 40px 0 !important;
    }

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

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

    .page-about__sub-title {
        font-size: 1.5em !important;
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }

    .page-about__text-block,
    .page-about__list-item,
    .page-about__feature-description,
    .page-about__commitment-description,
    .page-about__faq-answer p {
        font-size: 1em !important;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__content-image,
    .page-about__feature-icon {
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        min-height: 200px !important; /* Enforce min height for content images */
        object-fit: cover !important;
    }

    .page-about__introduction-section,
    .page-about__why-choose-us-section,
    .page-about__commitment-section,
    .page-about__faq-section,
    .page-about__cta-bottom-section,
    .page-about__feature-card,
    .page-about__commitment-item,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-about__cta-button,
    .page-about__faq-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1.1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-about__faq-answer {
        padding: 0 20px 15px !important;
    }

    .page-about__features-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 20px !important;
    }

    .page-about__feature-card,
    .page-about__commitment-item {
        padding: 20px !important;
    }
}