/* Products Page Styles */
@font-face {
  font-family: "NimbusSansChineseSimplifiedRegular";
  font-style: normal;
  src: url('fonts/NimbusSansChineseSimplifiedRegular/webFonts/NimbusSansChineseSimplifiedRegular/NimbusSansChineseSimplifiedRegular_normal.woff2') format('woff2'), url('fonts/NimbusSansChineseSimplifiedRegular/webFonts/NimbusSansChineseSimplifiedRegular/NimbusSansChineseSimplifiedRegular_normal.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: "NimbusSansChineseSimplifiedBold";
  font-style: normal;
  src: url('fonts/NimbusSansChineseSimplifiedBold/webFonts/NimbusSansChineseSimplifiedBold/NimbusSansChineseSimplifiedBold_normal.woff2') format('woff2'), url('fonts/NimbusSansChineseSimplifiedBold/webFonts/NimbusSansChineseSimplifiedBold/NimbusSansChineseSimplifiedBold_normal.woff') format('woff');
  font-display: swap;
}
* {
    box-sizing: border-box;
}
body, p {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "NimbusSansChineseSimplifiedRegular", Arial, sans-serif;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "NimbusSansChineseSimplifiedBold", Arial, sans-serif;
}

body {
    padding-top: 114px; /*36px + 78px = 114px 为固定头部留出空间*/
}

/* Hero Section 样式 */
.hero-section {
    padding: 0;
    background-color: #fff;
    /* margin-top: 114px; 为固定导航栏留出空间 */
}

.hero-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: stretch;
    height: 550px;
}

.hero-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-item:first-child {
    flex: 2;
    /* 左侧图片占2/3宽度 */
}

.hero-item:last-child {
    flex: 1;
    /* 右侧图片占1/3宽度 */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px;
}

.hero-content h2 {
    font-size: 54px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 移动端响应式设计 (768px及以下) */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        height: auto;
    }

    .hero-item {
        height: 400px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h2 {
        font-size: 22px;
    }
}

/* 小屏手机适配 (480px及以下) */
@media (max-width: 480px) {
    .hero-item {
        height: 350px;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .hero-content h2 {
        font-size: 18px;
    }
}

/* 女性健康产品页面样式 */
.womens-health-section {
    color: white;
    min-height: 555px;
    display: flex;
}

.womens-health-container {
    width: 100%;
    display: flex;
    align-items: stretch;
}

.womens-health-content {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 500px;
}

.womens-health-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 80px;
    padding-left: calc((100vw - 1270px) / 2);
    background: linear-gradient(90deg, rgb(41, 43, 99) 0%, rgb(115, 40, 123) 100%);
}
.womens-health-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.womens-health-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.womens-health-image {
    /* flex: 1; */
    width: 50%;
    display: flex;
    align-items: stretch;
}

.womens-health-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* 移动端适配 (768px及以下) */
@media (max-width: 768px) {
    .womens-health-section {
        padding: 0;
        min-height: auto;
    }

    .womens-health-container {
        padding: 0;
        flex-direction: column;
    }

    .womens-health-content {
        flex-direction: column;
        min-height: auto;
    }

    .womens-health-text {
        width: 100%;
        padding: 60px 30px;
        padding-left: 30px;
        text-align: left;
        order: 1; /* 确保文本在上方 */
        background-image: linear-gradient(180deg, rgb(41, 43, 99) 30%, rgb(115, 40, 123) 100%);
    }

    .womens-health-image {
        width: 100%;
        min-height: 300px;
        order: 2; /* 确保图片在下方 */
    }

    .womens-health-text h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .womens-health-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* 小屏手机适配 (480px及以下) */
@media (max-width: 480px) {
    .womens-health-text {
        padding: 40px 20px;
    }

    .womens-health-image {
        min-height: 250px;
    }

    .womens-health-text h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .womens-health-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 业务板块样式 */
.business-sections {
    padding: 32px 0;
    background-color: rgba(241, 243, 245, 1);
}

.business-sections .container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 992px) {
    .business-sections .container {
        max-width: 952px;
    }
    .womens-health-text {
        padding-left: calc((100vw - 952px) / 2);
    }
    .womens-health-section {
       min-height: 420px;
    }
    .womens-health-content{
        min-height: 420px;
    }
}
@media (min-width: 1170px) {
    .business-sections .container {
        max-width: 1110px;
    }
    .womens-health-text {
        padding-left: calc((100vw - 1110px) / 2);
    }
    .womens-health-section {
       min-height: 420px;
    }
    .womens-health-content{
         min-height: 420px;
    }
   
}
@media (min-width: 1330px) {
    .business-sections .container {
        max-width: 1270px;
    }
    .womens-health-text {
        padding-left: calc((100vw - 1270px) / 2);
    }
    .womens-health-section {
        min-height: 550px;
    }
    .womens-health-content{
         min-height: 500px;
    }
}
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.business-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    height: 260px;
}

.business-card:hover{
    cursor: pointer;
}

.business-card:hover .business-content {
    background-image: linear-gradient(90deg, rgb(41, 43, 99) 1%, rgb(51, 124, 153) 100%);
    color: white;
}

.business-card:hover .business-title {
    color: white;
}

.business-card:hover .business-description {
    color: white;
}

.business-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* 确保微创手术图片与其他图片大小一致 */
.business-card .business-image img[alt="微创手术"] {
    object-fit: cover;
    object-position: center;
}

.business-card:hover .business-image img {
    transform: scale(1.05);
}

.business-content {
    flex: 0 0 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.business-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(41, 43, 99);
    margin: 0 0 15px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.business-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.business-arrow {
    font-size: 1.5rem;
    color: rgb(49, 119, 147);
    font-weight: bold;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.business-card:hover .business-arrow {
    transform: translateX(5px);
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .business-grid {
        gap: 30px;
    }

    .business-content {
        padding: 25px;
    }
}

/* 平板电脑和小型笔记本电脑适配 (992px及以下) */
@media (max-width: 992px) {
    .hero-container {
        height: 450px;
    }

    .hero-content {
        padding: 35px;
    }

    .hero-content h2 {
        font-size: 48px;
    }

    .womens-health-text {
        padding: 70px 50px 70px 70px;
        padding-left: calc((100vw - 90%) / 2);
    }

    .business-sections {
        padding: 35px 0;
    }

    .business-grid {
        gap: 35px;
    }

    .business-content {
        padding: 28px;
    }

    .business-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .business-description {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

/* 移动端和小平板适配 (768px及以下) */
@media (max-width: 768px) {
    .business-sections {
        padding: 40px 0;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .business-card {
        flex-direction: row; /* 保持左右布局 */
        min-height: auto;
        max-height: none;
        height: 150px;
    }

    .business-image {
        flex: 0 0 40%; /* 图片占40%宽度 */
        min-height: 180px;
    }

    .business-content {
        flex: 0 0 60%; /* 文字内容占60%宽度 */
        padding: 20px 15px;
    }

    .business-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .business-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .womens-health-text {
        padding-left: 30px;
    }
}

/* 小屏手机适配 (480px及以下) */
@media (max-width: 480px) {
    .business-sections {
        padding: 30px 0;
    }

    .business-sections .container {
        padding: 0 15px;
    }

    .business-grid {
        gap: 20px;
    }

    .business-card {
        flex-direction: row; /* 小屏幕也保持左右布局 */
    }

    .business-image {
        flex: 0 0 35%; /* 小屏幕图片占35%宽度 */
    }

    .business-content {
        flex: 0 0 65%; /* 小屏幕文字内容占65%宽度 */
        padding: 15px 12px;
    }

    .business-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .business-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .business-arrow {
        font-size: 1.2rem;
    }

    .womens-health-text {
        padding: 10px 20px 20px 20px;
    }
}