/* Cookie 同意橫幅樣式 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.accept-btn {
    background-color: #0056b3;
    color: white;
}

.accept-btn:hover {
    background-color: #003d7a;
}

.decline-btn {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: #ccc;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: white;
}

/* Cookie 橫幅響應式設計 */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 企業介紹內容區域樣式 - 更新為在vision section內部 */
#vision .company-intro-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

#vision .company-intro-content {
    flex: 1;
    padding-right: 20px;
}

#vision .company-intro-image {
    flex: 0 0 35%;
    max-width: 35%;
}

#vision .company-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 文案樣式 */
#vision .company-subtitle {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

#vision .company-name {
    font-size: 2.2rem;
    color: #0426A1;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

#vision .company-divider {
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    margin-bottom: 30px;
}

#vision .company-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

#vision .company-description p {
    margin-bottom: 25px;
}

#vision .description-part1 {
    font-weight: 400;
}

#vision .description-part2 {
    font-weight: 400;
}

/* 響應式設計 */
@media (max-width: 768px) {
    #vision .company-intro-container {
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
        align-items: flex-start;
    }
    
    #vision .company-intro-content {
        padding-right: 0;
    }
    
    #vision .company-intro-image {
        flex: none;
        max-width: 100%;
    }
    
    #vision .company-name {
        font-size: 1.8rem;
    }
    
    #vision .company-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #vision .company-intro-container {
        margin-top: 20px;
        padding: 0 15px;
    }
    
    #vision .company-name {
        font-size: 1.5rem;
    }
    
    #vision .company-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* 产品卡片样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.4rem;
    color: #0056b3;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #003d82;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
}

html, body {
    overflow-x: hidden;
}

/* 全局盒模型：避免寬度+padding在小螢幕造成橫向溢出 */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 移動端縮小容器內邊距，進一步降低溢出風險 */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    outline: none;
    box-shadow: none;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #0056b3;
    color: #fff;
}

.primary-btn:hover {
    background-color: #003d7a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 16px;
    position: relative;
    max-width: 1800px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

/* Logo樣式 */
.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-link:hover {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* 調整導航菜單容器 */
.nav-menu-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 添加垂直居中 */
    position: relative;
    z-index: 2;
    height: 100%; /* 确保容器高度充满hero-section */
}

.logo {
    background: transparent;
    border: none;
    outline: none;
}

.logo img {
    height: 50px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
}

.main-menu, .nav-menu {
    display: flex;
}

.main-menu li, .nav-menu li {
    margin-left: 20px;
}

.main-menu a, .nav-menu a {
    font-weight: 500;
    position: relative;
    font-size: 16px;
    white-space: nowrap;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 英文語言下的緊湊樣式，避免導航溢出 */
[lang="en"] .nav-menu a {
    font-size: 15px;
}
[lang="en"] .nav-menu li {
    margin-left: 14px;
}
[lang="en"] .nav-menu-container {
    gap: 12px;
}
[lang="en"] .logo-link {
    font-size: 16px;
}

.main-menu a:hover, .main-menu a.active, .nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.main-menu a:after, .nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #fff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-menu a:hover:after, .main-menu a.active:after, .nav-menu a:hover:after, .nav-menu a.active:after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #0056b3;
}

.dropdown-menu a:after {
    display: none;
}



@media (max-width: 992px) {
    .nav-menu-container {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (min-width: 993px) {
    .nav-menu-container {
        display: flex !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-btn {
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
    z-index: 1100;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: #fff; /* 汉堡菜单颜色 */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 移动端菜单覆盖层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* 半透明黑色背景 */
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%); /* 默认隐藏在右侧 */
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    transform: translateX(0); /* 激活时滑入 */
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #000; /* 头部背景色 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .nav-logo .logo-link {
    color: #fff !important;
    font-size: 20px;
}

.close-mobile-menu {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
}

.close-mobile-menu:hover {
    color: #ccc;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex-grow: 1;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.mobile-nav-menu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.mobile-nav-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #0056b3;
}

/* 移动端语言切换器 */
.mobile-language-switcher {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto; /* Push to the bottom */
}

.mobile-language-switcher button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-language-switcher button.active,
.mobile-language-switcher button:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* 汉堡菜单动画 */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 英雄区域样式 */
.hero-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度 */
    background-image: url('../images/banner图(无文字).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 移动端图片优化 */
@media (max-width: 768px) {
    .hero-section {
        /* 确保图片中间部分始终可见 */
        background-position: 50% 50%;
        /* 优化图片显示质量 */
        background-size: cover;
        /* 固定高度并裁剪超出部分 */
        min-height: 40vh;
        /* 添加图片抗锯齿优化 */
        image-rendering: crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        /* 紧贴导航栏 */
        margin-top: 0;
        padding-top: 70px; /* 导航栏高度 */
    }
    
    /* 移动端hero-content间距优化 */
    .hero-content {
        padding: 20px 15px 30px 15px !important;
        min-height: 40vh !important;
        justify-content: flex-start !important;
    }
    
    .hero-title {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }
    
    .hero-text-image {
        margin-top: 0 !important;
        max-width: 80%;
    }
    
    /* 确保hero-section紧贴导航栏底部 */
    .hero-section .container {
        padding-top: 0;
    }
    
    /* food-section移动端优化 */
    .food-section {
        background-size: cover;
        background-position: center 30%;
        min-height: 40vh !important;
        margin-top: 0;
        padding-top: 30px;
    }
    
    .food-section .hero-content {
        padding: 100px 8px 15px 8px !important;
        min-height: 20vh !important;
        justify-content: flex-start !important;
    }
    
    .food-title {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }
    
    .food-section .food-text-image {
        margin-top: 0 !important;
        max-width: 80%;
    }
    
    .food-section .container {
        padding-top: 0;
    }

     /* industrial-section移动端优化 */
    .industrial-section {
        background-size: cover;
        background-position: center 30%;
        min-height: 40vh !important;
        margin-top: 0;
        padding-top: 30px;
    }
    
    .industrial-section .hero-content {
        padding: 100px 8px 15px 8px !important;
        min-height: 20vh !important;
        justify-content: flex-start !important;
    }
    
    .industrial-title {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }

    /* energy-products移动端优化 */
    .energy-products {
        background-size: cover;
        background-position: center 30%;
        min-height: 40vh !important;
        margin-top: 0;
        padding-top: 30px;
    }
    
    .energy-products .hero-content {
        padding: 100px 8px 15px 8px !important;
        min-height: 20vh !important;
        justify-content: flex-start !important;
    }
    
    .energy-products-title {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }


    /* industrial-section-banner4移动端优化 */
    .industrial-section-banner4 {
        background-size: cover;
        background-position: center 30%;
        min-height: 40vh !important;
        margin-top: 0;
        padding-top: 30px;
    }
    
    .industrial-section-banner4 .hero-content {
        padding: 100px 8px 15px 8px !important;
        min-height: 20vh !important;
        justify-content: flex-start !important;
    }
    
    .industrial-title-banner4 {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }


    /* industrial-section-banner5移动端优化 */
    .industrial-section-banner5 {
        background-size: cover;
        background-position: center 30%;
        min-height: 40vh !important;
        margin-top: 0;
        padding-top: 30px;
    }
    
    .industrial-section-banner5 .hero-content {
        padding: 100px 8px 15px 8px !important;
        min-height: 20vh !important;
        justify-content: flex-start !important;
    }
    
    .industrial-title-banner5 {
        margin-top: 0 !important;
        margin-bottom: 15px;
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}

.hero-section .containernav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}    
.hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.hero-text-image {
    max-width: 50%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin-top: -160px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}

.hero-title .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem); /* 与.food-title一致尺寸 */
    background: linear-gradient(to bottom, #ffffff 0%, #4A82AB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-image {
    display: none; /* 隐藏原来的img标签，使用CSS背景图片 */
}

.hero-bg {
    display: none; /* 隐藏原来的img标签 */
}

/* 食品舆農產品模块样式 */
.food-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度，与hero-section一致 */
    background-image: url('../images/banner2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.food-section .container {
    position: relative;
    z-index: 10;
}

.food-section .hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.food-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}

.food-title .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    background: linear-gradient(to bottom, #ffffff 0%, #fff8cc 50%, #ffcc33 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.food-section .food-text-image {
    width: 24vw;
    max-width: none;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin-top: -160px;
}

.food-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}
.energy-products{
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度，与hero-section一致 */
    background-image: url('../images/能源背景圖.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.energy-products .container {
    position: relative;
    z-index: 10;
}
.energy-products .hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}
.energy-products-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}
.energy-products-title .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    background: linear-gradient(to bottom, #ffffff 0%, #4D84AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 工業製品舆原材料模块样式 */
.industrial-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度，与hero-section一致 */
    background-image: url('../images/banner3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industrial-section .container {
    position: relative;
    z-index: 10;
}

.industrial-section .hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.industrial-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}

.industrial-title .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    background: linear-gradient(to bottom, #ffffff 0%, #4D84AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.industrial-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .industrial-section {
        min-height: 100vh; /* 移动端也保持全屏高度 */
    }
    .industrial-title {
        margin-top: -120px;
    }
    .industrial-title .line {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
}

/* 新的banner4样式 - 使用banner4.png背景和新的文字颜色渐变 */
.industrial-section-banner4 {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度，与hero-section一致 */
    background-image: url('../images/banner4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industrial-section-banner4 .container {
    position: relative;
    z-index: 10;
}

.industrial-section-banner4 .hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.industrial-title-banner4 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}

.industrial-title-banner4 .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    background: linear-gradient(to bottom, #ffffff 0%, #CDE063 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.industrial-section-banner4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .industrial-section-banner4 {
        min-height: 100vh; /* 移动端也保持全屏高度 */
    }
    .industrial-title-banner4 {
        margin-top: -120px;
    }
    .industrial-title-banner4 .line {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
}

/* 新的banner5样式 - 使用banner5.png背景和白色到#65A3DC的文字颜色渐变 */
.industrial-section-banner5 {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* 使用全屏高度，与hero-section一致 */
    background-image: url('../images/banner5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industrial-section-banner5 .container {
    position: relative;
    z-index: 10;
}

.industrial-section-banner5 .hero-content {
    position: relative;
    z-index: 10;
    padding: 150px 50px 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.industrial-title-banner5 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -160px;
}

.industrial-title-banner5 .line {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    background: linear-gradient(to bottom, #ffffff 0%, #65A3DC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.industrial-section-banner5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .industrial-section-banner5 {
        min-height: 100vh; /* 移动端也保持全屏高度 */
    }
    .industrial-title-banner5 {
        margin-top: -120px;
    }
    .industrial-title-banner5 .line {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
}

/* 部分样式 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#contact .section-header h2 {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #0056b3;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-image {
    flex: 0 0 40%;
}

.about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 0 0 55%;
}

.about-text p {
    margin-bottom: 20px;
}

/* 竞争优势模块样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.advantage-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 500px; /* 增加高度，使其高大于宽 */
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 左侧卡片 - 金融与贸易的结合 */
.advantage-left .advantage-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.advantage-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    color: white;
    padding: 30px;
    width: 100%;
}

.advantage-overlay h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.advantage-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 食品詳情卡片（风格参照“金融與貿易的結合”） */
.food-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
}

.food-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 360px;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.food-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.food-card-overlay {
    background: none;
    color: white;
    padding: 24px;
    width: 100%;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.food-card-overlay h3 {
    font-size: 1.28rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.food-card-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .food-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .food-card {
        height: 280px;
    }
}

/* 右侧卡片 - 全球布局 */
.advantage-blue-box {
    background-color: #0426A1;
    height: 100%;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-blue-box .advantage-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
}

.global-icon {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1); /* 将SVG图标变为白色 */
}

.advantage-blue-box .advantage-content {
    margin-top: 40px;
}

.advantage-blue-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.advantage-blue-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        height: 450px; /* 移动端也保持较高的高度 */
    }
    
    .advantage-overlay {
        padding: 25px;
    }
    
    .advantage-overlay h3 {
        font-size: 1.5rem;
    }
    
    .advantage-blue-box {
        padding: 30px 25px;
    }
    
    .advantage-blue-box h3 {
        font-size: 1.5rem;
    }
}

.pyramid-container {
    margin-top: 40px;
    max-width: 1000px; /* 增加容器最大寬度，提供更多空間 */
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.pyramid-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.vision-container {
    width: 100%;
}

.pyramid-flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    gap: 0;
}

.pyramid-image {
    width: 50%;
    max-width: 500px;
    text-align: center;
    overflow: hidden;
}

.full-pyramid-img {
    width: 100%;
    height: auto;
    display: block;
}

.pyramid-content-right {
    width: 70%; /* 增加寬度以填滿更多空間 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* margin-left: 10%; */
}

.pyramid-level {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    flex-grow: 1; /* 允許元素填滿可用空間 */
}

.level-top {
    justify-content: flex-start;
    margin-left: 0;
}

.level-middle {
    justify-content: flex-start;
    margin-left: 10%;
}

.level-bottom {
    justify-content: flex-start;
    margin-left: 20%;
}

.pyramid-level {
    text-align: left;
}

.pyramid-content {
    width: 100%;
    max-width: none; /* 移除最大寬度限制 */
    text-align: left;
    padding: 0;
    background-color: transparent;
}

.pyramid-content h3 {
    font-size: 1.2rem; /* 進一步縮小字體大小 */
    margin-bottom: 8px;
    color: #333; /* 黑色字體 */
    width: auto; /* 自適應寬度 */
}

.pyramid-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    padding-bottom: 10px;
    position: relative;
}

/* 為每個段落添加一個偽元素作為下劃線 */
.pyramid-content p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; /* 从文字开始 */
    right: 0; /* 只延伸到容器边缘 */
    height: 2px;
    background-color: #C7D3DD;
}

.vision-description {
    margin-top: 40px;
    text-align: justify;
    padding: 0 20px;
}

.vision-description p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

/* 我們的目標模塊專用樣式 */
.vision-goals-section {
    background-color: #0426A1;
    color: white;
    padding: 80px 0;
}

.vision-goals-section .section-header h2 {
    color: white;
    margin-bottom: 60px;
}

.vision-goals-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vision-goal-item {
    flex: 1;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.goal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.goal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.goal-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.goal-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.vision-goal-item:hover .goal-icon img {
    transform: scale(1.1);
}

.vision-goals-section .vision-description {
    margin-top: 60px;
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.vision-goals-section .vision-description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

/* 我們的目標模塊響應式設計 */
@media (max-width: 768px) {
    .vision-goals-section {
        padding: 60px 0;
    }
    
    .vision-goals-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .vision-goal-item {
         padding: 30px 20px;
     }
    
    .goal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .goal-content p {
         font-size: 1rem;
     }
     
     .goal-icon {
         margin-bottom: 20px;
     }
     
     .goal-icon img {
         width: 50px;
         height: 50px;
     }
     
     .vision-goals-section .vision-description {
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .vision-goals-section .vision-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* 专业优势卡片样式 */
.expertise-white-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: end;
}

.expertise-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 400px;
    position: relative;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.expertise-bg-card {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    display: block;
    padding: 30px;
}

.expertise-text-content {
    position: absolute;
    left: 40px;
    top: 120px;
    width: calc(100% - 60px);
    box-sizing: border-box;
    text-align: left;
    color: #333;
    max-width: 360px;
    padding: 0;
}

.expertise-text-content h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #333;
    font-weight: 600;
}

/* 统一起始位置：去除第一个卡片的特殊偏移，确保与其余卡一致 */

.expertise-text-content p {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
    line-height: 1.5;
}

/* 產業鏈出海服務卡片響應式設計 */
@media (max-width: 768px) {
    .expertise-white-card {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .expertise-card {
        height: auto;
        min-height: 280px;
    }
    
    .expertise-bg-card {
        padding: 20px;
    }
    
    .expertise-text-content {
        position: static;
        width: 100%;
        max-width: none;
        left: auto;
        top: auto;
        padding: 15px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        margin-top: 20px;
    }
    
    .expertise-text-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .expertise-text-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

.expertise-text-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    width: 100%;
    padding: 20px;
    color: white;
}

.expertise-text-overlay h3 {
    font-size: 1.4rem;
    margin: 0;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.expertise-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin: 15px;
    color: #333;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
    padding: 0 15px 15px;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.image-content {
    flex: 1;
}

/* 响应式金字塔样式 */
@media (max-width: 992px) {
    .pyramid-image {
        max-width: 500px;
    }
    
    .pyramid-levels {
        padding: 8% 0;
    }
    
    .pyramid-content {
        max-width: 250px;
    }
    
    .pyramid-content h3 {
        font-size: 1.4rem;
        color: #333;
    }
    
    .pyramid-content p {
        font-size: 1rem;
    }
    
    .level-top, .level-middle, .level-bottom {
        padding-right: 3%;
    }
}

@media (max-width: 768px) {
    .pyramid-image {
        max-width: 400px;
    }
    
    .pyramid-levels {
        padding: 5% 0;
    }
    
    .pyramid-level {
        margin-bottom: 5px;
    }
    
    .pyramid-content {
        max-width: 200px;
    }
    
    .level-top, .level-middle, .level-bottom {
        padding-right: 2%;
    }
    
    .pyramid-content {
        max-width: 100%;
        text-align: center;
    }
    
    .pyramid-content h3 {
        font-size: 1.3rem;
        color: #333;
        text-align: center;
    }
    
    .vision-description {
        padding: 0;
    }
    
    .level-top, .level-middle, .level-bottom {
        justify-content: center;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .pyramid-container {
        max-width: 100%;
    }
    
    .pyramid-image {
        max-width: 300px;
    }
    
    .pyramid-levels {
        position: relative;
        padding: 10px 0;
    }
    
    .pyramid-level {
        margin-bottom: 15px;
    }
    
    .pyramid-content {
        max-width: 90%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .pyramid-content h3 {
        font-size: 1.2rem;
        color: #333;
    }
    
    .pyramid-content p {
        font-size: 1rem;
    }
    
    .vision-description p {
        font-size: 0.95rem;
    }
    
    .pyramid-level {
        margin-bottom: 2px; /* 縮短圖片間距 */
    }
}

/* Vision Cards Section */
.vision-cards-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 50px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
}

.vision-card {
    flex: 1;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* 設定最小高度，確保高大於寬 */
    aspect-ratio: 3/4; /* 設定寬高比為3:4，確保高大於寬 */
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 卡片圖標樣式 */
.card-icon {
    text-align: center;
    margin-bottom: 25px;
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 第一個卡片：淡灰色背景，居中文案 */
.card-gray {
    background-color: #F3F3F3;
    border: 1px solid #e9ecef;
}

.card-gray .card-content {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-gray h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-gray p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 第二個卡片：藍色背景，居中文案 */
.card-blue {
    background-color: #0426A1;
    color: white;
}

.card-blue .card-content {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-blue .card-icon img {
    filter: brightness(0) invert(1); /* 將圖標變為白色 */
}

.card-blue h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-blue p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

/* 第三個卡片：包含兩個小卡片，文案居左 */
.card-double {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 0; /* 移除內邊距，讓子卡片填滿 */
}

.sub-card {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #F3F3F3;
    padding: 30px; /* 為子卡片添加內邊距 */
    margin: 0; /* 確保沒有外邊距 */
}

.sub-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.sub-card-icon {
    flex-shrink: 0;
}

.sub-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sub-card-text {
    flex: 1;
    text-align: left;
}

.sub-card h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sub-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.vision-circle-description {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.vision-circle-description p {
    color: #555;
    line-height: 1.8;
    position: relative;
    padding-bottom: 20px;
}

.vision-circle-description p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #C7D3DD;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .vision-cards-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .vision-card {
        padding: 30px 20px;
        min-height: 300px;
        aspect-ratio: auto; /* 在移動設備上取消固定寬高比 */
    }
    
    .card-icon img {
        width: 50px;
        height: 50px;
    }
    
    .sub-card-icon img {
        width: 35px;
        height: 35px;
    }
    
    .card-double {
        gap: 20px;
    }
    
    .card-gray h3, .card-blue h3 {
        font-size: 18px;
    }
    
    .sub-card h3 {
        font-size: 16px;
    }
    
    .card-gray p, .card-blue p, .sub-card p {
        font-size: 14px;
    }
    
    .sub-card-content {
        gap: 12px;
    }
}

/* 联系我们样式 */
#contact {
    position: relative;
    background-color: transparent;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/image082.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: -1;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

#contact .content-wrapper p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: none;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #0056b3;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-image {
    display: none; /* 隐藏原来的图片，因为现在作为背景使用 */
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-info {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-social a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

.footer-social a:hover {
    color: #0056b3;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links-column {
    flex: 0 0 30%;
    margin-bottom: 20px;
}

.footer-links-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 8px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #fff;
    text-decoration: none;
}

/* 联系表单状态样式 */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    text-align: center;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* 模态弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.close-modal {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

.modal-body h3 {
    margin-top: 0;
    color: #333;
}

.modal-body h4 {
    margin-top: 20px;
    color: #444;
}

.modal-body p, .modal-body ul {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.modal-body ul {
    padding-left: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section .container,
    .content-wrapper {
        flex-direction: column;
    }

    .hero-content,
    .text-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .advantages-grid, .expertise-grid, .vision-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-wrapper {
        gap: 30px;
    }
    
    /* 工業制品與原材料模块响应式 */
    .industrial-product-row {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .industrial-product-image {
        flex: 0 0 40%;
    }
    
    .industrial-product-content {
        flex: 0 0 55%;
        padding-left: 20px;
    }
    
    /* 工業原材料詳情模块响应式 */
    .industrial-materials-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    
    .industrial-materials-table {
        flex: 0 0 100%;
    }
    
    .industrial-materials-image {
        flex: 0 0 35%;
    }
    
    .pyramid-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .pyramid-image {
        width: 90%;
        max-width: 450px;
        margin: 0 auto;
        overflow: visible;
    }
    
    .full-pyramid-img {
        width: 100%;
        margin-left: 0;
    }
    
    .pyramid-content-right {
        width: 100%;
        align-items: center;
        margin-left: 0;
    }
    
    .pyramid-level {
        width: 90%;
        max-width: 450px;
    }
    
    .level-top, .level-middle, .level-bottom {
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu-container {
        display: none; /* 隐藏桌面版导航 */
    }

    .mobile-menu-btn {
        display: flex; /* 显示移动菜单按钮 */
    }

    header .container {
        padding: 15px 16px; /* 调整头部内边距 */
    }

    .logo-link {
        font-size: 18px; /* 调整移动端logo字体大小 */
    }

    .pyramid-image {
        width: 90%;
        max-width: 0px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo,
    .footer-info {
        margin-bottom: 20px;
    }

    .footer-social a {
        margin: 0 10px;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .footer-links-column:last-child {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    header .container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .advantages-grid, .expertise-grid, .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-img {
        height: 180px;
    }
    
    .contact-wrapper {
        gap: 20px;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .icon-img {
        width: 60px;
        height: 60px;
    }
    
    .advantage-card, .vision-card, .expertise-card {
        padding: 20px;
    }
    
    .advantage-card h3, .vision-card h3, .expertise-card h3 {
        font-size: 1.3rem;
    }
    
    .pyramid-image {
        width: 100%;
        max-width: 300px;
    }
    
    .pyramid-content-right {
        gap: 10px;
    }
    
    .pyramid-level {
        margin-bottom: 8px;
    }
    
    .pyramid-content {
        padding: 8px;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .pyramid-content h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .pyramid-content p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}