/* Reset and Base Styles */
/*
Theme Name: 众友重工
Theme URI: https://www.chinazhongyou.cn
Description: 众友独立站
Author: 老丁
Author URI: https://www.dingxianren.com
Version: 1.0
Tags: 标签1,标签2
*/

/* Global Styles */
:root {
    --bg-color: #f5f5f5;
    --link-color: #1A3C6E;
    --text-color: #333;
    --container-width: 80%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.fc_03c {
    color: #F00;
}

/* 微信和WhatsApp图标样式 */
.social-icons {
    display: flex;
    gap: 15px;
}

/* 新增Header样式 */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 100%;
    background: #fff; 
    z-index: 9999;  
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
}

.main-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.logo img {
    height: 50px;
}

.slogan {
    gap: 20px;
    font-size: 18px;
    color: #333;
	text-align:left;
    flex-wrap: wrap;
    
}

.slogan span {
    position: relative;
    padding: 0 10px;
}

.slogan span:not(:last-child):after {
    content: "|";
    position: absolute;
    right: -10px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
}

.header-contact i {
    color: red;
	font-size: 24px;	
}



/* 二级菜单样式 */
.has-submenu {
    position: relative;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu {
    position: absolute;
	width:200%;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10001;
    padding: 0;
    list-style: none;
    margin-left: 0;
}

.submenu li {
    padding: 0;
	
}

.submenu a {
    color: var(--text-color);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.submenu a:hover {
    color: #1A3C6E !important;
  
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .slogan {
        gap: 8px;
    }
    
    .slogan span {
        padding: 0 8px;
    }
    
    .slogan span:not(:last-child):after {
        display: inline;
    }
}
.wechat-icon, .whatsapp-icon {
    position: relative;
    display: flex;
    align-items: center;
    color:#FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wechat-icon i, .whatsapp-icon i {
    margin-right: 5px;
    font-size: 16px;
}

.wechat-icon:hover, .whatsapp-icon:hover {
    background: rgba(255,255,255,0.2);
}


/* 二维码下拉框样式 */
.qr-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
    z-index: 10001;
}

.qr-dropdown .qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
	z-index: 10001;
}


/* Top Bar Styles */
.top-bar {
    background-color: #1A3C6E;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    animation: fadeInDown 1s;
    color: #FFF;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .left-section span {
    margin-right: 20px;
    color: #FFF;
}

.top-bar .left-section i {
    margin-right: 5px;
    color: #FFF;
}

.top-bar .right-section {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: #FFF;
    margin-left: 15px;
    font-size: 16px;
}

.language-selector select {
    padding: 5px 10px;
    margin-left: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

/* Main Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    animation: fadeIn 1s;
}

.logo img {
    max-height: 60px;
}

.main-nav {
    background: #f5f5f5;
    position: static;
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    height: 50px;
    width: 100%;
}

.main-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

body.has-fixed-nav {
    padding-top: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
}

.main-nav li {
    position: relative;
    
	
}

.main-nav  a {
   color: var(--text-color);
    text-decoration: none;
   
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.main-nav a:hover,.main-nav .current-menu-item {
   color: #1A3C6E !important;
  
}


.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 16px;
    align-items: center;
    gap: 8px;
}

.mobile-menu-toggle .menu-icon {
    font-size: 24px;
}

.mobile-menu-toggle .menu-text {
    font-weight: 500;
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 1s both;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 500px;
    max-height: 1000px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .slide img {
        height: auto;
    }
    .slide-content {
        display: none;
    }
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0,0,0,0.6);
    padding: 30px;
    border-radius: 5px;
    max-width: 80%;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--link-color);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0f2a5a;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 15px;
}

.slider-controls button {
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: rgba(0,0,0,0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .slider-controls button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .slider-dots {
        bottom: 10px;
    }
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: white;
}

/* Product Categories */
.product-categories {
    padding:20px 0;
    background: #f9f9f9;
    position: relative;
    animation: fadeInUp 1s both;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.category-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.category-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.category-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px;
}

.category-image {
    height: auto;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-title {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    color: #222;
}

.learn-more {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 0 20px 20px;
    background: #1A3C6E;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.learn-more:hover {
    background: #0055aa;
}

.learn-more i {
    margin-left: 5px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.8);
}


/* About Us Section Styles */
.about-section {
    padding: 60px 0;
    background: #FFFFFF;
    animation: fadeInLeft 1s both;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 1s both 1s;
}
.about-content h2 {
    font-size: 2rem;
    color: #1A3C6E;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 2;
}
.about-content p  span{
   color: #E60029;
}

.video-container {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    animation: fadeInRight 1s both 1.5s;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A3C6E;
    font-size: 20px;
}

.play-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Stats Section Styles */
.stats-section {
    padding: 60px 0;
    background: transparent;
    color: #1A3C6E;
    animation: fadeInRight 1s both;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A3C6E;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 40px 0;
    background: #FFFFFF;
    animation: fadeInUp 1s both;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s both;
}

.blog-card:nth-child(1) { animation-delay: 1s; }
.blog-card:nth-child(2) { animation-delay: 1.5s; }
.blog-card:nth-child(3) { animation-delay: 2s; }
.blog-card:nth-child(4) { animation-delay: 2.5s; }

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #1A3C6E;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #0f2a5a;
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-cta {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-image {
        height: 200px;
    }
}

/* Contact Form Styles */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-form {
    width: 100%;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
    display: inline-block;
    width: calc(66.66% - 15px);
    margin-right: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

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

.contact-form label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1A3C6E;
    outline: none;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #1A3C6E;
}

.submit-btn {
    display: inline-block;
    width: 200px;
    padding: 15px;
    background: #1A3C6E;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    vertical-align: top;
    margin-top: 25px;
}

.submit-btn:hover {
    background: #0f2a5a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}

/* Friendly Links Styles */
.friendly-links {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
	animation: fadeInDown 2s;
}

.friendly-links .container {
     margin: 0 auto;
}

.friendly-links h3 {
    text-align: center;
    color: #1A3C6E;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.links-container a {
    color: #1A3C6E;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #1A3C6E;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.links-container a:hover {
    background-color: #1A3C6E;
    color: white;
}

/* Footer Styles */
.main-footer {
    background-color: #1A3C6E;
    color: white;
    padding: 50px 0 0;
    animation: fadeIn 1s both;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-col.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f5f5f5;
}

.footer-col:nth-child(1) { transition-delay: 0.1s; }
.footer-col:nth-child(2) { transition-delay: 0.3s; }
.footer-col:nth-child(3) { transition-delay: 0.5s; }
.footer-col:nth-child(4) { transition-delay: 0.7s; }

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-col i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: rgba(255,255,255,0.2);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.5s;
}

.footer-bottom a{text-decoration: none; color:#FFF;}

.footer-bottom.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.top-bar { animation-delay: 0.1s; }
.main-header { animation-delay: 0.2s; }
.banner-slider { animation-delay: 0.3s; }
.product-categories { animation-delay: 0.4s; }
.about-section { animation-delay: 0.5s; }
.stats-section { animation-delay: 0.7s; }
.blog-section { animation-delay: 0.8s; }
.friendly-links { animation-delay: 1.5s; }
.main-footer { animation-delay: 2.1s; } /* 调整页脚延迟，等待所有卡片动画完成 */

/* Responsive Styles */
@media (max-width: 1200px) {
    .category-item {
        flex: 0 0 calc(100% - 30px);
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
    }
    
    .contact-btn {
        display: none;
    }
    
  
}

@media (max-width: 768px) {
    .slider-container {
        height: 40vh;
        min-height: 200px;
        max-height: 400px;
    }
    
    .slide img {
        height: auto;
    }
    
    .slide-content {
        display: none;
    }
    
    .slider-controls {
        top: 50%;
        padding: 0 10px;
    }
    
    .slider-controls button {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .slider-dots {
        bottom: 5px;
        padding: 3px 8px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 200px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .company-stats {
        flex-direction: column;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .visual-element.factory {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .visual-element.team {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .visual-element.product {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}


/* 移动端导航样式 */
.mobile-nav-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.mobile-logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #1A3C6E;
    cursor: pointer;
}

.mobile-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.mobile-dropdown.active {
    right: 0;
}

.close-dropdown {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.mobile-nav-menu li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
}

.mobile-nav-menu .current-menu-item {
    color: #1A3C6E;
    font-weight: 500;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li {
    border-bottom: none;
}

.mobile-submenu a {
    padding: 8px 0;
    font-size: 14px;
}

.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-submenu > a i {
    transition: transform 0.3s ease;
}

.has-submenu.active > a i {
    transform: rotate(180deg);
}

/* 响应式设置 */
@media (max-width: 992px) {
    .mobile-nav-header {
        display: flex;
    }
    
    .header-top,
    .main-nav {
        display: none;
    }
    
    /* Hide elements on mobile */
    .hide-on-mobile,
    .social-icons,
    .slide-content {
        display: none !important;
    }

    /* Adjust category track for mobile */
    .category-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-item:nth-child(3) {
        display: none;
    }
}

/*鍐呴〉banner*/
.nei-banner {
    color: #fff;
    padding: 80px 0;
    text-align: center;
    animation: fadeIn 1s both;
}

.nei-banner h1 {
    font-size: 40px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.nei-banner p {
    font-size: 18px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s both;
}

/* 内页banner */
@media (max-width: 768px) {
    .nei-banner {
        padding: 60px 20px;
    }
    
    .nei-banner h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .nei-banner p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nei-banner {
        padding: 40px 15px;
    }
    
    .nei-banner h1 {
        font-size: 24px;
    }
    
    .nei-banner p {
        font-size: 14px;
    }
}

/* 浮动留言按钮样式 */
.floating-message-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #006ABB;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
}

.floating-message-btn:hover {
    background: #004d99;
    transform: translateY(-3px);
}

.floating-message-btn i {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* 留言表单样式 */
.message-form-container {
    position: fixed;
    bottom: -100%;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
}

.message-form-container.active {
    bottom: 100px;
}

.message-form-header {
    background: #006ABB;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-form-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.message-form {
    padding: 20px;
}

.message-form .form-group {
    margin-bottom: 15px;
}

.message-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.message-form textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-container input {
    flex: 1;
}

.captcha-img {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.refresh-captcha {
    background: none;
    border: none;
    color: #006ABB;
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #006ABB;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #004d99;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-message-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .message-form-container {
        right: 10px;
        width: calc(100% - 20px);
        max-width: 400px;
    }
    
    .message-form-container.active {
        bottom: 80px;
    }
}
