/* ========================================
   ChemTrade - Chemical Trading Website
   Main Stylesheet
======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #00359b;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Layout */
.layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
======================================== */
.web-head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    /* background-color: transparent !important; */
}

.web-head:not(.scrolled) {
    background-color: transparent !important;
}

.web-head.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Default state - white text for transparent background */
.head-nav > li > a {
    color: #fff;
}

.web-head.scrolled .head-nav > li > a {
    color: #333;
}

.web-head.scrolled .head-nav > li > a:hover {
    color: #00359b;
    border-bottom: 2px solid #00359b;
}

.web-head.scrolled .head-nav > li.nav-current > a {
    color: #00359b;
    border-bottom: 2px solid #00359b;
}

.web-head.scrolled .head-nav > li.nav-current > a {
    color: #00359b;
}

/* Default state - current item white text for transparent background */
.head-nav > li.nav-current > a {
    color: #fff;
}

.head-layer {
    padding: 15px 0;
}

.head-layer .layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo a {
    display: block;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.nav-wrap {
    flex: 1;
    text-align: center;
}

.head-nav {
    display: inline-flex;
    align-items: center;
}

.head-nav > li {
    position: relative;
    margin: 0 5px;
}

.head-nav > li > a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.head-nav > li > a i {
    font-size: 10px;
    margin-left: 5px;
}

/* 透明背景时hover保持白色，加下划线效果 */
.head-nav > li:hover > a {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.head-nav > li.nav-current > a {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.web-head.scrolled .head-nav > li.nav-current > a {
    color: #00359b;
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.head-nav > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    position: relative;
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.sub-menu li a i {
    float: right;
    font-size: 10px;
    margin-top: 5px;
}

.sub-menu li:last-child > a {
    border-bottom: none;
}

.sub-menu li:hover > a {
    color: #00359b;
    background-color: #f8f9fa;
    padding-left: 25px;
}

/* Third Level Menu */
.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-radius: 0 8px 8px 0;
}

.menu-left .sub-menu {
    left: auto;
    right: 0;
}

.menu-left .sub-menu .sub-menu {
    left: auto;
    right: 100%;
}

/* Header Right */
.head-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-search {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.web-head.scrolled .btn-search {
    color: #333;
}

.btn-search:hover {
    color: #00359b;
}

.change-language {
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.web-head.scrolled .mobile-menu-toggle {
    color: #333;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 60px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-nav ul li {
    border-bottom: 1px solid #eee;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: #00359b;
    padding-left: 10px;
}

/* Mobile Sub Menu */
.mobile-has-sub > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-has-sub > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-has-sub.active > a i {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    display: none;
    padding-left: 15px;
    background-color: #f8f9fa;
}

.mobile-has-sub.active > .mobile-sub-menu {
    display: block;
}

.mobile-sub-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-sub-menu li:last-child {
    border-bottom: none;
}

.mobile-sub-menu li a {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.mobile-sub-menu li a:hover {
    color: #00359b;
    padding-left: 5px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.language-title {
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.web-head.scrolled .language-title {
    color: #333;
}

.language-title i {
    margin-right: 5px;
}

/* ========================================
   Banner Slider
======================================== */
.banner-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    width: 100%;
}

/* 确保banner从顶部开始，不被header遮挡 */
.banner-slider {
    margin-top: 0;
    padding-top: 0;
}

.swiper-wrapper {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
}

.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.swiper-slide.active {
    opacity: 1;
    visibility: visible;
}

.swiper-slide img {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
    display: block;
}

.swiper-slide.active img {
    transform: scale(1);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.banner-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #00359b;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.banner-btn:hover {
    background-color: #fff;
    color: #00359b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Banner Overlay */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.swiper-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-bullet.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Swiper Buttons */
.swiper-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #00359b;
}

/* ========================================
   Section Common Styles
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00359b;
}

.section-title.light {
    color: #fff;
}

.section-title.light::after {
    background-color: #fff;
}

/* System Button */
.sys-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sys-btn:hover {
    background-color: #00359b;
    color: #fff;
    border-color: #00359b;
}

.sys-btn.light {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.sys-btn.light:hover {
    background-color: #fff;
    color: #00359b;
}

.sys-btn.outline {
    background-color: transparent;
    color: #333;
    border-color: #333;
}

.sys-btn.outline:hover {
    background-color: #00359b;
    color: #fff;
    border-color: #00359b;
}

.hot-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   Hot Products
======================================== */
.hot-products {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-brand {
    padding: 15px 15px 10px;
    text-align: center;
}

.product-brand img {
    max-height: 30px;
    width: auto;
    margin: 0 auto;
}

.product-brand-text {
    font-size: 14px;
    color: #00359b;
    font-weight: 600;
}

.product-img-wrap {
    display: block;
    height: 200px;
    overflow: hidden;
    padding: 0 15px;
    background-color: #f8f9fa;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-name a {
    color: #333;
}

.product-name a:hover {
    color: #00359b;
}

.hot-more {
    text-align: center;
    margin-top: 50px;
}

/* Old slider styles - keep for compatibility */
.products-slider {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 25px;
    animation: scroll 30s linear infinite;
}

.products-track:hover {
    animation-play-state: paused;
}



.product-item {
    flex: 0 0 calc(25% - 19px);
    min-width: 250px;
}

.product-item figure {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-item figure:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.item-img {
    display: block;
    height: 200px;
    overflow: hidden;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-item figure:hover .item-img img {
    transform: scale(1.1);
}

.product-item figcaption {
    padding: 20px;
    text-align: center;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
}

.item-title a {
    color: #333;
}

.item-title a:hover {
    color: #00359b;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   About Us
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-title {
    font-size: 24px;
    font-weight: 600;
    color: #00359b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-text {
    color: #666;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-btn {
    display: inline-block;
    color: #00359b;
    font-weight: 600;
    font-size: 16px;
}

.about-btn:hover {
    color: #002a7a;
}

/* ========================================
   News Section
======================================== */
.news-section {
    background-color: #fff;
}

.news-tabs {
    margin-bottom: 40px;
}

.tab-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.tab-item a {
    display: block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-item.active a,
.tab-item a:hover {
    color: #00359b;
    border-bottom-color: #00359b;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-item .item-img {
    height: 250px;
}

.news-item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-meta {
    padding: 15px 20px;
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}

.item-meta i {
    margin-right: 5px;
}

.news-item figcaption {
    padding: 20px;
}

.news-item .item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.item-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.item-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #999;
    font-size: 13px;
}

.news-tag {
    color: #00359b;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 0;
}

.cta-bg {
    background: linear-gradient(rgba(0,53,155,0.8), rgba(0,53,155,0.8)), url('../images/Professional_chemical_industry_2026-05-04T11-49-36.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.cta-subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background-color: #fff;
    color: #00359b;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #00359b;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* ========================================
   Footer
======================================== */
.web-footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-item-header {
    margin-bottom: 25px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 13px;
    color: #999;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
}

.info-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: #fff;
    font-size: 14px;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #00359b;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Contact List */
.contact-list {
    margin-bottom: 25px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #999;
    font-size: 14px;
}

.contact-list li i {
    color: #00359b;
    font-size: 16px;
    margin-top: 3px;
}

.contact-list li strong {
    color: #fff;
    margin-right: 5px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links li a:hover {
    background-color: #00359b;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list li a {
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link-list li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Footer Bar */
.footer-bar {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
}

.footer-bar p {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-links-bar {
    color: #666;
    font-size: 13px;
}

.footer-links-bar a {
    color: #999;
}

.footer-links-bar a:hover {
    color: #fff;
}

/* ========================================
   Search Overlay
======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 20px;
    background: none;
    border: none;
    color: #333;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: #00359b;
    transform: rotate(90deg);
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 0;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    color: #333;
    font-size: 24px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-bottom-color: #00359b;
}

.search-input::placeholder {
    color: rgba(0,0,0,0.35);
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    color: #00359b;
}

.search-hint {
    display: block;
    margin-top: 20px;
    color: rgba(0,0,0,0.4);
    font-size: 14px;
}

/* ========================================
   Back to Top
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #00359b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #002a7a;
    transform: translateY(-5px);
}

/* ========================================
   WhatsApp Button
======================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 99;
}

.whatsapp-btn a {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn a:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .layout {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .head-nav {
        display: none;
    }
    
    /* Mobile Header */
    .head-layer .layout {
        padding: 10px 15px;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tablet Products - 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-img-wrap {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .banner-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* Mobile Products - 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-img-wrap {
        height: 150px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-brand {
        padding: 10px 10px 5px;
    }
    
    .product-brand-text {
        font-size: 12px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-item figcaption {
        padding: 15px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tab-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    /* Mobile Header */
    .head-right {
        gap: 15px;
      
    }
    
    .btn-search {
        font-size: 16px;
    }
    
    .language-title {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 45vh;
        min-height: 300px;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .banner-content p {
        font-size: 13px;
    }
    
    /* Mobile Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-img-wrap {
        height: 130px;
        padding: 0 10px;
    }
    
    .product-name {
        font-size: 13px;
    }
    
    .product-brand {
        padding: 8px 8px 3px;
    }
    
    .product-brand-text {
        font-size: 11px;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-desc {
        font-size: 13px;
    }
    
    .whatsapp-btn {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-btn a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Mobile Footer */
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    /* Mobile CTA */
    .cta-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
    
    /* Mobile News */
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        flex: none;
        max-width: 100%;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
}

/* ========================================
   Inner Page Styles (Added by ThinkPHP Integration)
======================================== */

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0,53,155,0.85), rgba(0,53,155,0.85)), url('/static/images/Professional_chemical_industry_2026-05-04T11-49-36.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: #fff;
}

/* Product Layout */
.product-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.product-sidebar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #00359b;
    margin-bottom: 15px;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 10px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    color: #00359b;
    padding-left: 15px;
}

/* Product Detail */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-detail-image {
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    padding: 40px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.product-ename {
    font-size: 16px;
    color: #999;
    margin-bottom: 20px;
}

.product-brand-detail {
    color: #666;
    margin-bottom: 20px;
}

.product-detail-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-section {
    margin-bottom: 40px;
}

.product-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00359b;
}

.product-section-content {
    color: #666;
    line-height: 1.8;
}

/* Article Detail */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.article-body {
    color: #333;
    line-height: 1.8;
    font-size: 15px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #999;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00359b;
}

.contact-info .contact-list li {
    color: #666;
}

.contact-info .contact-list li strong {
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00359b;
    box-shadow: 0 0 0 3px rgba(0,53,155,0.1);
}

.sys-btn.primary {
    background-color: #00359b;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-start;
}

.sys-btn.primary:hover {
    background-color: #002a7a;
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    background-color: #00359b;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: #fff;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #00359b;
    color: #00359b;
}

.pagination .current {
    background-color: #00359b;
    color: #fff;
    border-color: #00359b;
}

/* Search Page */
.search-page h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
}

.search-page h2 em {
    color: #00359b;
    font-style: normal;
}

.search-page h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.no-results {
    text-align: center;
    color: #999;
    padding: 60px 0;
    font-size: 16px;
}

.no-results em {
    color: #00359b;
    font-style: normal;
}

/* Responsive for inner pages */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 50px 0;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-meta {
        flex-wrap: wrap;
    }
}

/* Product Grid fix for subpages */
.product-page .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .product-page .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Inquiry Modal
======================================== */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.inquiry-modal.active {
    opacity: 1;
    visibility: visible;
}

.inquiry-modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00359b;
}

.inquiry-modal-header h3 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.inquiry-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquiry-modal-close:hover {
    color: #00359b;
}

.inquiry-form .form-group input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* ========================================
   About Page - Team Section
======================================== */
.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #00359b;
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.member-position {
    font-size: 14px;
    color: #00359b;
    margin-bottom: 15px;
}

.member-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   About Page - Culture Section
======================================== */
.culture-section {
    background: #f8f9fa;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.culture-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00359b, #0055cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.culture-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.culture-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   About Page - Partners Section
======================================== */
.partners-section {
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #00359b;
}

.partner-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.partner-item p {
    font-size: 13px;
    color: #666;
}

/* ========================================
   About Page - Cooperation Section
======================================== */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cooperation-item {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.cooperation-number {
    font-size: 48px;
    font-weight: 700;
    color: #00359b;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
}

.cooperation-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cooperation-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   About Page - Region Section
======================================== */
.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.region-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.region-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00359b, #0055cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.region-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.region-item p {
    font-size: 13px;
    color: #666;
}

/* ========================================
   Responsive - About Pages
======================================== */
@media (max-width: 992px) {
    .team-grid,
    .partners-grid,
    .cooperation-grid,
    .region-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid,
    .partners-grid,
    .cooperation-grid,
    .region-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-modal-content {
        padding: 20px;
        margin: 20px;
    }
}

/* ========================================
   Product Detail Page - New Layout
======================================== */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.product-sidebar {
    position: sticky;
    top: 100px;
}

.category-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.category-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #00359b;
    padding: 12px 15px;
    margin: -20px -20px 15px;
    border-radius: 8px 8px 0 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: block;
    padding: 12px 0;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.category-list li a:hover {
    color: #00359b;
    padding-left: 10px;
}

.category-list li a::after {
    content: '+';
    float: right;
    color: #ccc;
    font-size: 12px;
}

.featured-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.featured-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00359b;
}

.featured-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.featured-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-item h4 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.featured-item h4 a {
    color: #333;
}

.featured-item h4 a:hover {
    color: #00359b;
}

.product-main {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00359b;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.product-image-wrap {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.product-image-wrap img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.product-image-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.thumb-btn {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumb-btn.active,
.thumb-btn:hover {
    border-color: #00359b;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-label {
    font-weight: 600;
    color: #333;
    min-width: 90px;
}

.info-value {
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.sys-btn.secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.sys-btn.secondary:hover {
    background-color: #5a6268;
}

.product-detail-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    line-height: 1.8;
}

.detail-content.show {
    display: block;
}

.specification-section,
.application-section,
.related-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.specification-section:last-child,
.application-section:last-child,
.related-section:last-child {
    border-bottom: none;
}

.specification-section h3,
.application-section h3,
.related-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00359b;
}

.specification-content,
.application-content {
    color: #666;
    line-height: 1.8;
}

.related-section .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive for new product detail layout */
@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .related-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-main {
        padding: 20px;
    }

    .product-title h1 {
        font-size: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 5px;
    }

    .related-section .products-grid {
        grid-template-columns: 1fr;
    }

    .featured-item {
        flex-direction: column;
        text-align: center;
    }

    .featured-item h4 {
        text-align: center;
    }
}

/* ========================================
   Global Mobile Responsive Enhancements
======================================== */
@media (max-width: 992px) {
    .about-page-section {
        padding: 40px 0;
    }

    .news-page-section {
        padding: 40px 0;
    }

    .contact-page {
        padding: 40px 0;
    }

    .search-page {
        padding: 40px 0;
    }

    .article-detail {
        padding: 40px 0;
    }

    .product-detail {
        padding: 40px 0;
    }

    .news-tabs .tab-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-tabs .tab-item {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .about-page-section {
        padding: 30px 0;
    }

    .news-page-section {
        padding: 30px 0;
    }

    .contact-page {
        padding: 30px 0;
    }

    .search-page {
        padding: 30px 0;
    }

    .article-detail {
        padding: 30px 0;
    }

    .product-detail {
        padding: 30px 0;
    }

    .page-banner {
        padding: 40px 0;
    }

    .page-title {
        font-size: 22px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .about-content {
        gap: 20px;
    }

    .about-info {
        padding: 0;
    }

    .about-title {
        font-size: 18px;
    }

    .stats-section {
        padding: 40px 0;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    .article-content {
        padding: 20px 15px;
    }

    .article-body {
        font-size: 14px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-tags {
        flex-wrap: wrap;
    }

    .contact-info h2,
    .contact-form-wrap h2 {
        font-size: 20px;
    }

    .contact-form {
        gap: 15px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 16px;
    }

    .sys-btn.primary {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .search-page h2 {
        font-size: 18px;
    }

    .search-page h3 {
        font-size: 16px;
    }

    .product-sidebar {
        display: none;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-main {
        padding: 15px;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-title h1 {
        font-size: 18px;
    }

    .info-row {
        padding: 10px 12px;
    }

    .info-label {
        min-width: 70px;
        font-size: 13px;
    }

    .info-value {
        font-size: 13px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .sys-btn {
        width: 100%;
        text-align: center;
    }

    .related-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-detail-section h3,
    .specification-section h3,
    .application-section h3,
    .related-section h3 {
        font-size: 16px;
    }

    .detail-content {
        padding: 15px;
        font-size: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item figure {
        flex-direction: column;
    }

    .news-item .item-img {
        width: 100%;
    }

    .news-item .item-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .news-item figcaption {
        padding: 15px 0 0;
    }

    .item-title {
        font-size: 16px;
    }

    .item-desc {
        font-size: 13px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
    }

    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-bar .layout {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links-bar {
        justify-content: center;
    }

    .inquiry-modal-content {
        padding: 20px 15px;
        margin: 15px;
        max-height: 85vh;
    }

    .inquiry-modal-header h3 {
        font-size: 18px;
    }

    .search-input {
        font-size: 18px;
        padding: 15px 50px 15px 0;
    }

    .search-close {
        top: -50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        padding: 30px 0;
    }

    .page-title {
        font-size: 20px;
    }

    .about-title {
        font-size: 16px;
    }

    .about-text {
        font-size: 13px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stats-grid {
        gap: 15px;
    }

    .product-title h1 {
        font-size: 16px;
    }

    .related-section .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-info h2,
    .contact-form-wrap h2 {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-input {
        font-size: 16px;
    }

    .search-hint {
        font-size: 12px;
    }

    .news-item .item-img img {
        height: 160px;
    }

    .item-title {
        font-size: 15px;
    }

    .item-meta {
        font-size: 12px;
    }

    .article-content {
        padding: 15px 10px;
    }

    .article-body {
        font-size: 13px;
    }

    /* Product Detail Mobile Enhancements */
    .product-detail-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .product-sidebar {
        display: none !important;
    }

    .product-main {
        padding: 15px !important;
        margin: 0 !important;
    }

    .product-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .product-image-wrap {
        padding: 15px !important;
    }

    .product-image-wrap img {
        max-height: 250px !important;
    }

    .product-image-thumbs {
        gap: 8px !important;
    }

    .thumb-btn {
        width: 50px !important;
        height: 50px !important;
    }

    .product-title h1 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .info-row {
        flex-direction: column !important;
        gap: 5px !important;
        padding: 10px 12px !important;
    }

    .info-label {
        min-width: auto !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .info-value {
        font-size: 13px !important;
    }

    .action-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .action-buttons .sys-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
    }

    .product-detail-section,
    .specification-section,
    .application-section,
    .related-section {
        margin-top: 20px !important;
    }

    .product-detail-section h3,
    .specification-section h3,
    .application-section h3,
    .related-section h3 {
        font-size: 16px !important;
        padding-bottom: 10px !important;
    }

    .detail-content,
    .specification-content,
    .application-content {
        padding: 15px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .related-section .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .product-card {
        margin-bottom: 15px !important;
    }

    .product-img-wrap {
        height: 150px !important;
    }

    .product-info h4 {
        font-size: 14px !important;
    }

    /* Inquiry Modal Mobile */
    .inquiry-modal-content {
        margin: 10px !important;
        padding: 20px !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
    }

    .inquiry-modal-header h3 {
        font-size: 18px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .form-group label {
        font-size: 13px !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px !important;
        font-size: 14px !important;
    }

    .inquiry-form button[type="submit"] {
        width: 100% !important;
        padding: 14px !important;
    }
}
