/* --- 1. 公司简介 --- */
.about-hero {
    position: relative;
    width: 100%;
    padding: 220px 0 80px;
    height: 900px;
    background: url(../images/about/about_m1_bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    /* background: linear-gradient(180deg, rgba(230, 240, 255, 0) 30%, rgb(255 255 255) 100%); */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.about-page-title {
    margin-bottom: 80px;
    padding-left: 20px;
}

.about-page-title h2 {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 5px;
}

.about-page-title h1 {
    font-size: 3.5rem;
    color: #000;
    font-weight: 700;
}

.intro-card-wrapper {
    display: flex;
    align-items: stretch;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

}

.intro-text-content {
    flex: 1;
    padding: 50px 40px;
    z-index: 2;
}

.intro-text-content h3 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 600;
}

.intro-text-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-image-box {
    flex: 0 0 45%;
    position: relative;
    background-color: #eee;
    border-bottom-left-radius: 80px;
    border-top-right-radius: 20px;

    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.1);
}

.intro-image-box img {
    width: 100%;
    height: 100%;
    border-radius: 75px 0 70px 0;
    margin: -60px 0 0 0;
}

/* --- 2. 核心资质与实力 --- */
.qualifications-section {
    width: 100%;
    height: 700px;
    position: relative;
    background-color: #fff;
    margin: 350px 0 100px 0;
}

.qual-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
}

.qual-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 199, 177, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 199, 177, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
    overflow: hidden;
}

.qual-slide::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 0;
    width: 60%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.slide-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.slide-text {
    flex: 0 0 400px;
    padding-right: 40px;
}

.slide-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #222;
    line-height: 1.3;
    font-weight: 700;
}

.slide-text-list li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    list-style: none;
}

.slide-text-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

.slide-images {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-img {
    max-height: 380px;
    max-width: 260px;
    object-fit: contain;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    background: #fff;
    padding: 15px;
    position: relative;
}

.cert-img::before,
.cert-img::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cert-img::before {
    top: 10px;
    left: 10px;
}

.cert-img::after {
    top: 10px;
    right: 10px;
}

.qual-nav-controls {
    position: absolute;
    bottom: 5px;
    left: 15%;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.btn-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.btn-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 199, 177, 0.2);
}

.btn-arrow i {
    font-size: 1.1rem;
}

/* --- 卡片通用样式 --- */
.card {
    width: 200px;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* 平滑过渡动画 */
    cursor: pointer;
}

.card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
}

/* --- 左边卡片：鼠标移入效果 (默认状态是透明的，移入后变白) --- */
.card-hover-effect {
    /* 默认状态 (对应图中右边卡片的样子) */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* 毛玻璃效果 */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 20px 0 0;
}

.card-hover-effect h3,
.card-hover-effect p {
    color: white;
}

/* 鼠标移入时的状态 (对应图中左边卡片的样子) */
.card-hover-effect:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    color: #333;
    transform: translateY(-5px);
    /* 轻微上浮效果 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-hover-effect:hover h3,
.card-hover-effect:hover p {
    color: #333;
}


/* --- 右边卡片：初始效果 (始终保持透明样式) --- */
.card-initial-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 20px 0 0;
}

.card-initial-effect h3,
.card-initial-effect p {
    color: white;
}

/* 为了演示，给右边卡片也加一个轻微的悬停效果，但不是变成白色 */
.card-initial-effect:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: transparent;
    color: #333;
    transform: translateY(-5px);
    /* 轻微上浮效果 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-initial-effect:hover p,
.card-initial-effect:hover h3 {
    color: #333;
}

/* --- 3. 现代化生产基地 --- */
.production-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.prod-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.prod-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.prod-item:hover img {
    transform: scale(1.05);
}

.prod-item.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.prod-item.medium {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.prod-item.text-block {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.prod-item.text-block h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.prod-item.text-block p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.prod-item.small {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.prod-item.image-block {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.prod-item.small,
.prod-item.small1 {
    box-shadow: 0 6px 0px #0fddc3;
}

/* --- 4. 经典案例 --- */
.cases-section {
    padding: 80px 0;
    background-color: #fff;
}

.cases-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.cases-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.cases-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.case-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.case-card {
    background: var(--light-bg);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}

.case-image {
    height: 400px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    padding: 40px;
}

.case-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #222;
}

.case-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.case-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.case-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.case-dot:hover {
    background-color: #b0b0b0;
}

.case-dot.active {
    width: 50px;
    height: 10px;
    border-radius: 5px;
    background-color: #d0d0d0;
}

.case-dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 0.1s linear;
}

/* --- 5. 市场活动 (⭐ 优化版：无缝循环轮播) --- */
.events-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.events-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* 左侧控制区 */
.events-sidebar {
    flex: 0 0 300px;
    position: relative;
    padding-top: 10px;
}

.events-sidebar h3 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 40px;
    font-weight: 700;
}

.events-menu {
    margin-bottom: 40px;
}

.events-menu li {
    padding: 15px 0;
    color: #999;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
}

.events-menu li:last-child {
    border-bottom: none;
}

.events-menu li:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

.events-menu li.active {
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 25px;
}

.events-menu li.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 分页控制区 */
.events-pagination-control {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.events-pagination-control .btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    background: #fff;
    font-size: 12px;
}

.events-pagination-control .btn-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-numbers {
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.page-numbers span.current {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.page-numbers span.total {
    color: #ccc;
    font-size: 1rem;
}

/* 右侧卡片轮播区 */
.events-carousel-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.events-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.event-slide {
    flex: 0 0 calc(33.333% - 20px);
    margin-right: 30px;
    box-sizing: border-box;
}

.event-slide:last-child {
    margin-right: 0;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}

.event-card.active {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 199, 177, 0.15);
}

.event-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
    min-height: 50px;
    font-weight: 600;
}

.event-card.active h4 {
    color: var(--primary-color);
}

.event-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    min-height: 80px;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}



@media (max-width: 1024px) {
    .events-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .events-sidebar {
        width: 100%;
        flex: auto;
    }

    .events-menu {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .events-menu li {
        white-space: nowrap;
        border-bottom: none;
        padding: 10px 15px;
        background: #f5f5f5;
        border-radius: 20px;
    }

    .events-menu li.active::before {
        display: none;
    }

    .events-carousel-container {
        width: 100%;
    }

    .event-slide {
        min-width: 100%;
        margin-right: 0;
    }
}


/* =========================================
   模块一：公司简介 (移动端适配)
   ========================================= */

@media (max-width: 768px) {

    /* 1. 整体容器调整 */
    .about-hero {
        padding: 40px 0;
        /* 减小上下内边距 */
    }

    .about-hero-content {
        padding: 0 15px;
        /* 减小左右内边距 */
    }

    /* 2. 标题区域调整 */
    .about-page-title {
        margin-bottom: 20px;
        /* 减小底部间距 */
        text-align: left;
        /* 手机端通常左对齐更易读，如需居中可改为 center */
    }

    .about-page-title h2 {
        font-size: 14px;
        /* 缩小英文标题 */
        margin-bottom: 5px;
    }

    .about-page-title h1 {
        font-size: 28px;
        /* 缩小中文主标题 */
        line-height: 1.3;
    }

    /* 3. 内容卡片 wrapper 调整 */
    .intro-card-wrapper {
        flex-direction: column;
        /* 核心：改为垂直排列 */
        gap: 25px;
        /* 减小图片和文字之间的间距 */
    }

    /* 4. 文字内容区域调整 */
    .intro-text-content {
        width: 100%;
        /* 占满全宽 */
        order: 2;
        /* 如果希望文字在图片下方，设为 2；若希望文字在上，设为 1 (需配合图片 order) */
    }

    .intro-text-content h3 {
        font-size: 18px;
        /* 缩小小标题 */
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .intro-text-content p {
        font-size: 14px;
        /* 缩小正文字号 */
        line-height: 1.8;
        /* 适当增加行高提升可读性 */
        margin-bottom: 12px;
        color: #555;
        /* 确保对比度 */
        text-align: justify;
        /* 两端对齐更整洁 */
    }

    /* 5. 图片区域调整 */
    .intro-image-box {
        width: 100%;
        /* 占满全宽 */
        order: 1;
        /* 图片排在文字前面 (上) */
        height: auto;
        overflow: hidden;
        border-radius: 8px;
        /* 保持圆角 */
    }

    .intro-image-box img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
}

/* 超小屏幕进一步优化 (可选) */
@media (max-width: 375px) {
    .about-page-title h1 {
        font-size: 24px;
    }

    .intro-text-content h3 {
        font-size: 16px;
    }

    .intro-text-content p {
        font-size: 13px;
    }
}

/* =========================================
   模块三：现代化生产基地 (移动端适配)
   ========================================= */

@media (max-width: 768px) {
    .production-section {
        padding: 40px 0;
        /* 减小模块上下间距 */
    }

    .production-section .section-title {
        font-size: 24px;
        /* 缩小标题 */
        margin-bottom: 25px;
        text-align: left;
        /* 手机端左对齐更自然，也可居中 */
        padding: 0 15px;
    }

    /* 核心：将网格改为单列布局 */
    .production-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* 卡片之间的间距 */
        padding: 0 15px;
        /* 左右留白 */
    }

    /* 重置所有网格项的样式，使其占满全宽 */
    .prod-item {
        width: 100% !important;
        /* 强制占满一行 */
        height: auto !important;
        /* 高度自适应 */
        min-height: auto;
        grid-column: auto !important;
        /* 重置跨列 */
        grid-row: auto !important;
        /* 重置跨行 */
        border-radius: 8px;
        overflow: hidden;
    }

    /* 图片项适配 */
    .prod-item img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        /* 可选：给图片一个固定最小高度，防止过矮 */
        min-height: 200px;
    }

    /* 特殊处理：原本的大图 (large) 在手机上可以稍微高一点 */
    .prod-item.large img {
        min-height: 240px;
    }

    /* 文本块适配 */
    .prod-item.text-block {
        background: #f9f9f9;
        /* 给文本块加个浅色背景，区分于图片 */
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        box-sizing: border-box;
    }

    .prod-item.text-block p {
        font-size: 14px;
        /* 调整字号 */
        line-height: 1.8;
        /* 增加行高 */
        color: #555;
        margin: 0;
        text-align: justify;
        /* 两端对齐 */
    }

    /* 隐藏或调整原本用于桌面端布局的空占位或特殊样式 */
    .prod-item.small1,
    .prod-item.small,
    .prod-item.medium,
    .prod-item.image-block {
        /* 所有项现在都统一为全宽卡片，无需特殊尺寸 */
    }
}

/* 超小屏幕微调 */
@media (max-width: 375px) {
    .production-section .section-title {
        font-size: 20px;
    }

    .prod-item.text-block p {
        font-size: 13px;
    }

    .prod-item img {
        min-height: 180px;
    }
}