/* ================= 轮播图区域 (仅首页) ================= */
.hero-wrapper {
    margin-top: 80px;
    width: 100%;
    background-color: #e9ecef; 
    display: flex;
    justify-content: center;
}

.hero {
    width: 100%;
    max-width: 1920px; 
    height: calc(100vh - 80px);
    max-height: 700px;  
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #0077b6; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-left {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%; 
    color: #ffffff;
}

.slide:nth-child(1) .hero-right { background-color: #0077b6; }
.slide:nth-child(2) .hero-right { background-color: #2a3d4e; }

.hero-right h1 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 30px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    width: fit-content;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #ffffff;
    color: #0077b6;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 16px solid rgba(255, 255, 255, 0.6);
    transition: border-left-color 0.3s;
}

.slider-arrow:hover::after { border-left-color: #ffffff; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

@media (min-width: 993px) {
    .slider-dots { left: 25%; }
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active { background-color: #ffffff; }


/* ================= Who We Are 模块 (仅首页) ================= */
.about-section {
    width: 100%;
    background-color: #fcfcfc; 
    padding: 100px 8%; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8%; 
}

.about-image {
    flex: 1;
    width: 100%;
    max-width: 650px; 
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.about-content {
    flex: 1;
    max-width: 650px;
}

.about-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400; 
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8; 
    color: #555555;
    margin-bottom: 50px;
}

.about-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #0077b6;
    color: #0077b6;
    font-size: 18px;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #0077b6;
    color: #ffffff;
}


/* ================= Product Exhibition 模块 (仅首页) ================= */
.products-section {
    width: 100%;
    background-color: #f4f4f4; 
    padding: 80px 8% 100px;
    text-align: center;
}

.products-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: #000000;
    margin-bottom: 15px;
}

.products-header p {
    font-size: 16px;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.product-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-img-wrapper {
    background-color: #ffffff;
    width: 100%;
    aspect-ratio: 1 / 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; 
    border-radius: 8px; 
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-img-wrapper:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.product-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.products-more {
    display: block;
    width: 100%;
    text-align: center;
}

.products-more .btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #0077b6;
    color: #0077b6;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.products-more .btn-outline:hover {
    background-color: #0077b6;
    color: #ffffff;
}

/* ================= 首页响应式专属补充 ================= */
@media screen and (max-width: 992px) {
    .hero-wrapper { background-color: transparent; }
    .hero { height: auto; max-height: none; min-height: auto; }
    .slide { flex-direction: column; height: auto; position: relative; display: none; }
    .slide.active { display: flex; }
    .hero-left { width: 100%; height: 300px; }
    .hero-right { width: 100%; height: auto; padding: 50px 5%; text-align: center; }
    .hero-right h1 { font-size: 28px; }
    .view-more-btn { margin: 0 auto; }
    .slider-arrow { right: 10px; top: 150px; transform: none; }

    .about-section { flex-direction: column; padding: 60px 5%; gap: 40px; text-align: center; }
    .about-content { max-width: 100%; }
    .about-content h2 { margin-bottom: 20px; }
    .about-content p { font-size: 16px; margin-bottom: 30px; text-align: left; }
    .about-btn { margin: 0 auto; }

    .products-section { padding: 60px 5% 80px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .product-img-wrapper { padding: 20px; }
}

@media screen and (max-width: 576px) {
    .products-grid { grid-template-columns: 1fr; gap: 30px; }
}