/*
Theme Name: Micalloy
Theme URI: https://www.ti-metals.com
Author: Zhuohangxin
Author URI: https://www.ti-metals.com
Description: Micalloy - Premium WordPress theme for refractory metals industry
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: micalloy
Tags: business, metals, titanium, industrial

Micalloy WordPress Theme - Based on index.html design
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1600px;
    width: 96%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    overflow: visible;
}

.nav {
    display: flex;
    align-items: stretch;
    padding: 0;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    width: 280px;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-top {
    background-color: #fff;
    padding: 8px 20px 8px 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #666;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a img {
    width: 28px;
    height: 28px;
}

.language-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
}

.lang-icon {
    width: 28px;
    height: 28px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.lang-arrow {
    font-size: 10px;
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    min-width: 100px;
}

.language-switch:hover .lang-options {
    display: block;
}

.lang-options a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.lang-options a:hover,
.lang-options a.active {
    background-color: #f5f5f5;
}

.nav-bottom {
    background-color: #081226;
    background-image: url('assets/img/dhz.jpg');
    background-position: left center;
    background-repeat: no-repeat;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-height: 64px;
    overflow: visible;
}

.nav-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    background-color: #081226;
    z-index: -1;
}

.nav-menu {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    padding-left: 80px;
}

.nav-menu li a {
    display: block;
    padding: 22px 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffc107;
}

/* ???? */
.nav-menu li.has-submenu {
    position: relative;
}

.nav-menu li.has-submenu > a::after {
    content: '?';
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #081226;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li a {
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.submenu li:last-child a {
    border-bottom: none;
}

.nav-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #081226;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Search Button */
.search-icon {
    width: 16px;
    height: 16px;
    position: relative;
}

.search-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    bottom: 1px;
    right: 0;
    transform: rotate(45deg);
    transform-origin: bottom right;
}

/* Search Wrapper */
.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    border: 2px solid #fff;
    background-color: #081226;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 44px;
    width: 44px;
    border-radius: 22px;
}

.search-form {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    position: relative;
}

.search-input {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.4s ease;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.search-box.active {
    background-color: #fff;
    width: 180px;
}

.search-box.active .search-input {
    width: 100px;
    color: #333;
    padding: 0 12px;
}

.search-box.active .search-icon::before {
    border-color: #333;
}

.search-box.active .search-icon::after {
    background-color: #333;
}

.search-box.active .search-input {
    width: 140px;
    padding: 8px 12px;
    color: #333;
}

.search-box.active .search-icon::before {
    border-color: #333;
}

.search-box.active .search-icon::after {
    background-color: #333;
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: rgba(8, 18, 38, 0.95);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffc107;
}

.mobile-nav-menu li.has-submenu {
    position: relative;
}

.mobile-nav-menu li.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-menu li.has-submenu .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-nav-menu li.has-submenu.active .arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

.mobile-nav-menu li.has-submenu.active .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    padding: 12px 20px !important;
    font-size: 14px !important;
}

/* Banner Slider */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: #ffc107;
}

/* Application Section */
.application-section {
    width: 100%;
    height: auto;
    min-height: 800px;
    position: relative;
    background-image: url('assets/img/yyly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 50px 2%;
}

.application-container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    width: 96%;
}

.application-container .section-title {
    margin-bottom: 30px;
}

.application-container .products-left {
    padding-top: 40px;
}

.application-container .products-left .products-title {
    color: #fff !important;
}

.application-container .products-left .products-subtitle {
    color: #f39910 !important;
}

.application-container .section-title__cn {
    color: #fff !important;
}

.application-container .section-title__cn::after {
    background: #fff !important;
}

.application-container .section-title__en {
    color: rgba(255,255,255,0.8) !important;
}

.application-container .section-title__desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 800px;
}

.application-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
}

.application-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 800px;
}

.application-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(62, 71, 89, 0), rgba(62, 71, 89, 0.5));
    z-index: 1;
    transition: opacity 0.3s ease;
}

.application-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.application-col:nth-child(1)::after { background-image: url('assets/img/yy1.jpg'); }
.application-col:nth-child(2)::after { background-image: url('assets/img/yy2.jpg'); }
.application-col:nth-child(3)::after { background-image: url('assets/img/yy3.jpg'); }
.application-col:nth-child(4)::after { background-image: url('assets/img/yy4.jpg'); }
.application-col:nth-child(5)::after { background-image: url('assets/img/yy5.jpg'); }

.application-col:hover::before { opacity: 0; }
.application-col:hover::after { opacity: 1; }

.application-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-bottom: 50px;
}

.application-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.application-col:hover .application-icon { opacity: 0; }

.application-text {
    background: rgba(255, 255, 255, 0);
    padding: 30px 40px;
    border-radius: 0;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.application-text-cn {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.application-text-en {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

.application-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin: 0;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.application-col:hover .application-text {
    background: rgba(255, 255, 255, 0.5);
}

.application-col:hover .application-text-en {
    color: #333;
}

.application-col:hover .application-text p {
    max-height: 200px;
    opacity: 1;
    color: #333;
}

/* News Section */
.news-section {
    background-color: #eaeaea;
    padding: 80px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-title {
    font-size: 40px;
    font-weight: 700;
    color: #3e4759;
    margin-bottom: 8px;
    line-height: 1.2;
}

.news-subtitle {
    font-size: 16px;
    color: #f39910;
    font-weight: normal;
    line-height: 1.3;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__date {
    font-size: 14px;
    color: #999;
    padding: 20px 20px 10px;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #3e4759;
    padding: 0 20px 10px;
    line-height: 1.4;
}

.news-card__desc {
    font-size: 14px;
    color: #666;
    padding: 0 20px;
    line-height: 1.6;
    flex: 1;
}

.news-card__more {
    font-size: 14px;
    color: #f39910;
    padding: 20px;
    font-weight: 600;
}

/* Footer Section */
.footer-section {
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: url('../img/fbj.jpg') center center no-repeat;
    background-size: cover;
    background-color: #1a1a2e;
    z-index: 0;
}

.footer-section > .container {
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.footer-content {
    display: flex;
    gap: 60px;
}

.footer-left {
    flex: 6;
}

.footer-logo {
    width: 200px;
    margin-bottom: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand .footer-logo {
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a img {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.footer-contact p {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
}

.footer-desc {
    color: #7fdcff;
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    line-height: 1.6;
}

.footer-right {
    flex: 4;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    border-radius: 8px;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #999;
}

.inquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 40px;
    background: linear-gradient(to bottom, #fcb02c, #fc9529, #fcb02c);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(to bottom, #e8a028, #e88628, #e8a028);
}

.footer-copyright {
    background: #3e4759;
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    color: #fff;
    font-size: 14px;
}

.footer-copyright a {
    color: #fff;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* Products Section */
.products-section {
    background-color: #eaeaea;
    padding: 80px 0;
}

.products-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.products-left {
    flex: 1;
    min-width: 300px;
}

.products-title {
    font-size: 40px;
    font-weight: 700;
    color: #3e4759;
    margin-bottom: 8px;
    line-height: 1.2;
}

.products-subtitle {
    font-size: 16px;
    color: #f39910;
    font-weight: normal;
    line-height: 1.3;
}

.products-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.element-item {
    width: 45px;
    height: 45px;
    border: 1px solid #3e4759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #3e4759;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.element-item:hover {
    width: auto;
    min-width: 45px;
    padding: 0 15px;
    border-radius: 25px;
    background-color: #3e4759;
    color: #fff;
}

/* Product Cards Grid */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: block;
}

.card-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.card-text {
    flex: 1;
}

.card-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: #3e4759;
    margin-bottom: 12px;
}

.card-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    min-height: 7.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.card-text .more-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 28px;
    background-color: #174b89;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.card-text .more-btn:hover {
    background-color: #f39910;
}

.card-image {
    width: 140px;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-card:hover {
    background-color: #3e4759;
}

.product-card:hover .card-text h3,
.product-card:hover .card-text p {
    color: #fff;
}

.product-card:hover .more-btn {
    background-color: #f39910;
    color: #fff;
    box-shadow: 0 4px 12px rgba(243, 153, 16, 0.4);
}

@media (max-width: 991px) {
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-cards-grid .product-card:last-child {
        grid-column: span 2;
    }

    .application-overlay {
        flex-direction: row;
    }

    .application-col {
        flex: 0 0 calc(33.333% - 1px);
        height: 500px;
    }

    .application-col:nth-child(4),
    .application-col:nth-child(5) {
        flex: 0 0 calc(50% - 1px);
        height: 300px;
    }

    .application-text {
        padding: 20px 15px;
        min-height: auto;
    }

    .application-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .application-text-cn {
        font-size: 16px;
    }

    .application-text-en {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .product-cards-grid {
        grid-template-columns: 1fr;
    }
    .product-cards-grid .product-card:last-child {
        grid-column: span 1;
    }
}

/* About Section */
.about-section {
    background: url('../img/about.jpg') center bottom no-repeat;
    animation: bgFloat 8s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% {
        background-position: center bottom;
    }
    50% {
        background-position: center calc(bottom + 20px);
    }
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.about-left {
    flex: 45;
}

.about-title {
    font-size: 40px;
    font-weight: 700;
    color: #3e4759;
    margin-bottom: 12px;
    line-height: 1.2;
}

.about-title .uppercase {
    text-transform: uppercase;
}

.about-subtitle {
    font-size: 16px;
    color: #f39910;
    line-height: 1.5;
    margin-bottom: 25px;
}

.about-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #f39910;
    color: #fff;
    border-radius: 25px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #e08a0a;
    box-shadow: 0 4px 15px rgba(243, 153, 16, 0.4);
}

.about-right {
    flex: 55;
    margin-top: 50px;
}

.about-right video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    .news-section {
        padding: 60px 0;
    }
    .about-content {
        flex-direction: column;
        padding: 60px 0;
    }
    .about-left,
    .about-right {
        flex: none;
        width: 100%;
    }
    .about-right {
        margin-top: 20px;
    }
    .about-right video {
        width: 100%;
    }
    .application-container .products-left {
        padding-top: 20px;
    }
}

/* Equipment Section */
.equipment-section {
    background-color: #eaeaea;
    padding: 80px 0;
}

.equipment-header {
    text-align: center;
    margin-bottom: 40px;
}

.equipment-header .section-title {
    color: #3e4759;
    font-size: 40px;
    font-weight: 700;
}

.equipment-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.equipment-tab {
    flex: 1;
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
    background: transparent;
    border: 1px solid #3e4759;
    border-radius: 25px;
    padding: 12px 40px;
    text-align: center;
    color: #3e4759;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 22px;
    font-weight: bold;
}

.equipment-tab:hover {
    background: transparent;
    border-color: #3e4759;
}

.equipment-tab.active {
    background: #f49910;
    border-color: #f49910;
    color: #fff;
}

.equipment-content {
    display: none;
    max-width: 1600px;
    margin: 0 auto;
}

.equipment-content.active {
    display: block;
}

.equipment-scroll {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 10px 0;
}

.equipment-scroll .scroll-wrapper {
    display: flex;
    gap: 40px;
    animation: scroll 50s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.equipment-scroll .scroll-wrapper:hover {
    animation-play-state: paused;
}

.equipment-scroll .scroll-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    width: auto;
    height: auto;
}

.equipment-scroll .scroll-card img {
    height: 300px;
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    border-radius: 4px;
}

.equipment-scroll .card-title {
    display: block;
    font-size: 14px;
    color: #333;
    padding: 8px 0;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

@media (max-width: 768px) {
    .equipment-section {
        padding: 60px 0;
    }
    .equipment-header .section-title {
        font-size: 40px;
    }
    .equipment-tab {
        padding: 15px 0px;
        font-size: 16px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Main Content - Empty placeholder for future content */
.main {
    min-height: 100vh;
}

/* Responsive Design */

/* Large Desktop - 1400px and above */
@media (min-width: 1400px) {
    .container {
        width: 94%;
    }
}

/* Desktop - 1200px to 1399px */
@media (max-width: 1399px) {
    .container {
        width: 94%;
    }

    .banner-slide img {
        height: 350px;
    }

    .product-grid {
        gap: 25px;
    }

    .product-item {
        padding: 25px;
    }
}

/* Tablet Landscape - 992px to 1199px */
@media (max-width: 1199px) {
    .container {
        width: 94%;
    }

    .search-wrapper {
        display: none;
    }

    .nav-menu li a {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-info {
        gap: 20px;
    }

    .banner-slide img {
        height: 300px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-item {
        padding: 20px;
    }

    .product-icon {
        width: 100px;
        height: 100px;
    }

    .about-content {
        gap: 40px;
    }

    .info-grid {
        gap: 20px;
    }

    .footer-content {
        gap: 30px;
    }
}

/* Tablet Portrait - 768px to 991px */
@media (max-width: 991px) {
    .container {
        width: 95%;
    }

    .nav-left {
        width: 220px;
    }

    .nav-bottom {
        background-color: transparent;
        background-image: none;
    }

    .nav-bottom::before {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .nav-top {
        display: none;
    }

    .contact-info,
    .header-social,
    .language-switch {
        display: none;
    }

    .search-wrapper {
        display: none;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-item {
        font-size: 13px;
    }

    .banner-slide img {
        transform: scale(1.2);
        transform-origin: center center;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-section {
        flex: 1 1 45%;
        min-width: 200px;
    }
}

/* Mobile - 576px to 767px */
@media (max-width: 767px) {
    .container {
        width: 96%;
    }

    .nav-left {
        padding: 8px 15px;
        width: 200px;
    }

    .logo img {
        height: 50px;
    }

    .nav-top {
        display: none;
    }

    .contact-info {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .banner {
        padding: 15px 0;
    }

    .banner-slide img {
        height: 220px;
    }

    .banner-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-item {
        padding: 15px;
    }

    .product-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .product-item h3 {
        font-size: 16px;
    }

    .product-item p {
        font-size: 13px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card img {
        height: 180px;
    }

    .info-content {
        padding: 15px;
    }

    .info-content h3 {
        font-size: 16px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-section {
        flex: 1 1 100%;
    }

    .footer-section h3 {
        font-size: 16px;
    }
}

/* Small Mobile - Below 576px */
@media (max-width: 575px) {
    .container {
        width: 96%;
        padding: 0 10px;
    }

    .nav-left {
        padding: 8px 10px;
        width: 160px;
    }

    .logo img {
        height: 45px;
    }

    .mobile-menu {
        width: 280px;
    }

    .banner-slide img {
        height: 180px;
    }

    .banner-controls {
        padding: 0 10px;
    }

    .banner-controls button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-item {
        padding: 12px;
    }

    .product-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .product-item h3 {
        font-size: 14px;
    }

    .product-item p {
        font-size: 12px;
    }

    .about-text p {
        font-size: 14px;
    }

    .info-card img {
        height: 150px;
    }

    .info-content h3 {
        font-size: 15px;
    }

    .info-content p {
        font-size: 13px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        display: none;
    }

    .footer-logo {
        margin: 0 auto;
    }
}

/* Page Banner */
.page-banner {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 48px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0056b3;
}

.breadcrumb span {
    color: #333;
}

/* Content Section */
.content-section {
    padding: 40px 0;
    min-height: 500px;
}

.content-wrapper {
    display: flex;
    gap: 40px;
}

.content-left {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #0056b3;
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background-color: #f0f7ff;
    color: #0056b3;
    border-left-color: #0056b3;
}

.content-right {
    flex: 1;
}

.content-heading {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-body {
    line-height: 1.8;
    color: #666;
}

.content-body p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .content-left {
        width: 100%;
    }
    
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sidebar-menu li a {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px;
    }
    
    .sidebar-menu li a:hover,
    .sidebar-menu li.active a {
        border-left: none;
        border-bottom-color: #0056b3;
    }
}

/* 微信/TikTok二维码样式已移除，改用模态框 */

/* ???TikTok?????? */
.header-social a img,
.footer-social a img {
    transition: transform 0.3s ease;
}

.header-social a:hover img,
.footer-social a:hover img {
    transform: scale(1.1);
}

/* ???????????????? */
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #999;
    font-size: 14px;
}
