/* 统一所有页面的header颜色与medical-device.html一致 */
.page-header {
    background-color: #f0f8ff !important; /* 与medical-device-custom.css中的颜色一致 */
    padding: 100px 0 20px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-height: 150px;
}

.page-header h1 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.page-header h4 {
    color: #37B5FE;
    font-weight: 500;
}

/* 美化about.html页面，使其与medical-device.html风格一致 */

/* 调整Our Mission和Our Vision为横向两排布局 */
.mission-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.mission, .vision {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.mission:hover, .vision:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(55, 181, 254, 0.2);
}

.mission h2, .vision h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.mission p, .vision p {
    position: relative;
    padding-left: 25px;
}

.mission p:before, .vision p:before {
    content: '\f058'; /* FontAwesome的check-circle图标 */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #37B5FE;
}

.mission h2:after, .vision h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #37B5FE;
}

/* 调整Our Core Values为四列布局，使用蓝色图标 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(55, 181, 254, 0.2);
}

.value-item i {
    color: #37B5FE;
    font-size: 40px;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-item p {
    display: none; /* 移除文字长叙述 */
}

/* 调整Our Health Mission.jpg的长度 */
.about-image img {
    max-height: 280px; /* 原来400px的五分之三 */
    object-fit: cover;
    object-position: top; /* 确保显示图片的上部分 */
    width: 100%;
    border-radius: 15px;
}

/* 优化medical-device.html中的图片和文字布局 */

/* 缩小图片尺寸并添加圆角 */
.main-services .service-card img {
    width: 80%;
    max-width: 250px;
    height: auto;
    border-radius: 15px; /* 添加圆角 */
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

/* 缩小文字叙述间隔并美化 */
.main-services .service-card p {
    margin-bottom: 8px; /* 缩小间隔 */
    position: relative;
    padding-left: 25px; /* 为图标留出空间 */
    text-align: left;
    color: #555;
    line-height: 1.7;
}

/* 使用蓝色图标替换小点 */
.main-services .service-card p:before {
    content: '\f058'; /* FontAwesome的check-circle图标 */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #37B5FE;
}

/* 优化主服务区域 */
.main-services {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.main-services h2 {
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.main-services h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #37B5FE;
}

/* 为什么选择我们区域 - 从medical-device-custom.css和women-health-custom.css整合 */
.why-choose-us {
    padding: 70px 0 90px;
    background-color: #f5f9fc;
}

.why-choose-us h2 {
    margin-bottom: 50px;
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.why-choose-us h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #37B5FE;
}

.reason-item {
    background-color: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(55, 181, 254, 0.15);
}

.reason-item i {
    color: #37B5FE;
    font-size: 40px;
    margin-bottom: 20px;
}

.reason-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.reason-item p {
    color: #666;
    line-height: 1.6;
    display: none;
}

/* 联系我们区域 - 从medical-device-custom.css和women-health-custom.css整合 */
.cta-section {
    padding: 80px 0;
    background-color: #37B5FE;
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap; /* 确保文本在一行显示，不换行 */
}

.cta-section .btn {
    background-color: white;
    color: #37B5FE;
    font-weight: 600;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #2c3e50;
    color: white;
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-vision .container {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card img {
        width: 100px;
        height: 100px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 130px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}