/* About Us Page Styles */

/* Hero Section */
.hero-about-us {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.hero-about-us h1 {
    color: #1e40af;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-about-us .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Mission and Vision */
.mission-vision {
    padding: 60px 0;
    background-color: #fff;
}

.mission-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission, .vision {
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mission h2, .vision h2 {
    color: #1e40af;
    margin-bottom: 15px;
}

/* Our Story */
.our-story {
    padding: 60px 0;
    background-color: #f8fafc;
}

.our-story h2 {
    color: #1e40af;
    margin-bottom: 25px;
    text-align: center;
}

.our-story p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Expert Team */
.expert-team {
    padding: 60px 0;
    background-color: #fff;
}

.expert-team h2 {
    color: #1e40af;
    margin-bottom: 40px;
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.team-member {
    display: flex;
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.team-member img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    background-color: #f0f5ff;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: #1e40af;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.member-info .role {
    color: #6EC1E4;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.member-info .bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* Testing Methodology */
.testing-methodology {
    padding: 60px 0;
    background-color: #f8fafc;
}

.testing-methodology h2 {
    color: #1e40af;
    margin-bottom: 25px;
    text-align: center;
}

.testing-methodology > .container > p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.methodology-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.methodology-item h4 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.methodology-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* Core Values */
.core-values {
    padding: 60px 0;
    background-color: #fff;
}

.core-values h2 {
    color: #1e40af;
    margin-bottom: 40px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: #f8fafc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: #1e40af;
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    padding: 60px 0;
    background-color: #f8fafc;
}

.contact-cta h2 {
    color: #1e40af;
    margin-bottom: 25px;
}

.contact-cta h3 {
    color: #1e40af;
    margin: 30px 0 15px;
}

.contact-cta p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-cta a {
    color: #6EC1E4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-cta a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.contact-cta ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.contact-cta li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Header Logo */
.header-logo {
    height: 50px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 900px) {
    .mission-vision .container,
    .team-members,
    .methodology-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-about-us h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-about-us {
        padding: 100px 0 40px;
    }

    .mission, .vision, .team-member, .methodology-item, .value-item {
        padding: 20px;
    }

    .team-member img {
        height: auto;
    }

    .methodology-item {
        text-align: center;
    }
}

/* 确保 contact-cta 和 footer 之间没有空白 */
.contact-cta + .footer {
    margin-top: 0;
}

/* 消除页面底部多余空白 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

/* 修复不同部分之间的间距 */
section:last-of-type:not(.footer) {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- Expert Background Section --- */
.expert-team {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

#expert-background .section-intro,
.expert-team .section-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
}

.expert-profiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.expert-profile-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.expert-photo-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 5px solid #6ec1e4;
    flex-shrink: 0;
}

.expert-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.expert-info h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #1e40af;
}

.expert-title {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.expert-credential {
    display: inline-block;
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.expert-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.expert-social {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: auto;
}

.expert-social a {
    color: #9ca3af;
    transition: color 0.3s ease, transform 0.3s ease;
}

.expert-social a:hover {
    color: #1e40af;
    transform: scale(1.1);
}

.expert-social svg {
    width: 28px;
    height: 28px;
}




