/* 重置和基本樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Han Sans", "Noto Sans CJK SC", "思源黑体", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
 
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5.2%;
}
 
/* 主要邀請區塊樣式 */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #e6f3ff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-booth {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.expo-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.expo-date {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.expo-text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.expo-year {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
}

.expo-location {
    font-size: 1rem;
    opacity: 0.8;
}

.expo-dates {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 區塊標題樣式 */
.section-title {
    font-size: 2.5rem;
    text-align: center; line-height:1.5;
    color: #000;
    position: relative;font-weight:300;
	/*margin-bottom:8px*/
}

 

.section-description {
    text-align: center;
    font-size: 20px;;
    color: #000;
    margin-bottom: 3rem;
    max-width: 955px;
    margin-left: auto;
    margin-right: auto;font-weight:300;
	line-height:1.4
}

/* 產品區塊樣式 */
.products-section {
    padding: 2.5rem 0;
    background: #f8f9fa;
}

.products-grid {
    display: flex;

    flex-wrap: wrap;
    justify-content: space-between;
}
.products-grid::after {
    content: "";
    flex: auto; /* 自动填充剩余空间 */
    max-width: calc(31% - 0px); /* 假设每行 3 个，宽度为 33.33% 减去 gap */
}
.product-card {
	width:31%;
    background: none; 
    overflow: hidden;
     margin-bottom: 3rem;
    cursor: pointer;
 transition: all 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
   
}

.product-card img {
    width: 100%;
      border-radius: 25px;
    object-fit: cover;
}

.product-card h3 {
 line-height:1.8;
    font-size: 22px;
    text-align: center;
    color: #000;
	font-weight:500;
	padding:5px 0px
}

/* 按鈕樣式 */
.view-more-btn {
    display: block;
    margin: 0 auto;
 width:220px;height:50px;
    background: #4681fd;
    color: white;
    border: none;
    border-radius:8px;
    font-size:15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
	margin-top:25px;
}

.view-more-btn:hover {
    transform: translateY(-2px);
 
}

/* 解決方案區塊樣式 */
.solutions-section {
    padding:3rem 0;
    background: url(../images/bbg.jpg);
    color: white;
	background-size:cover;
}

.solutions-section .section-title {
    color: white;
}

.solutions-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center; 
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-info h3 {
      font-size: 45px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 400;
}

.solution-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9; 
	color:#fff
}

.learn-more {
    color: #4681fd;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
	font-size:25px;
}

.learn-more:hover {
    color: white;
}

/* 客戶評價區塊樣式 */
.testimonials-section {
    padding: 3.5rem 0;
    background: #f8f9fa;
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.testimonial-info {text-align:center}
.testimonial-info img{margin-top:50px;margin-bottom:20px;max-width:185px;}
.testimonial-info h3 {
    font-size: 45px;
    margin-bottom: 0.5rem;
    color: #fff;
}

.testimonial-info h4 {
    font-size: 28px;
    margin-bottom: 1.2rem;
    color: #fff;
	font-weight:500;
}

.testimonial-info p {
  font-size: 24px;
    line-height: 1.4;
    color: #fff;
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
}

/* 新聞區塊樣式 */
.news-section {
    padding:4rem 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
	padding-top:40px
}

.news-card {
    background: none;
    border-radius: 15px;
    overflow: hidden;
     
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.news-card span{color:#777474;font-size:14px;}
.news-card:hover {
    transform: translateY(-5px);
 
}

.news-card img {
    width: 100%; 
}

.news-content {
    padding: 1.2rem;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #000;
	font-weight:400
}
   .news-content:hover h3, .news-content:hover p {color: #4681fd;} 
.news-content p {
color: #000;
    font-size: 1rem;font-weight:300
}

/* 聯繫表單區塊樣式 */
.contact-section {
    padding: 3.5rem 0;
    background: #4681fd;
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    max-width: 780px;
    margin: 0 auto;
}

.form-row {
    display: grid;
 
    gap: 1rem;
    margin-bottom: 1.5rem;
}

 .form-rowa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
	width:100%;
	border:1px solid #fff
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
   border:1px solid #fff;
   background:none;
    color: #fff; 
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
	width:200px;margin:0 auto;
    margin-top: 1.3rem;    display: block;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* 頁腳樣式 */
.foot400{max-width:380px;font-size:14px;line-height:2}
.foot400 p:nth-child(4){margin-top:20px}
.footer {
    background: #04215e;
    color: white;
    padding: 3rem 0;
	font-weight:300;    overflow: hidden;
}

.footer-content {
      display: flex;
 justify-content: space-between;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
 gap: 3.2%;
    flex-wrap: wrap;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #dadada;
    text-decoration: none;
    transition: color 0.3s ease;	font-weight:300;font-size:14px;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-logo img {
    height: 40px;
    margin-bottom:0.1rem;
}

.newsletter {
    display: flex;
    margin-bottom: 1rem;background:#fff;  border-radius: 50px;
}

.newsletter input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 50px 0 0 50px;height:50px;
}

.newsletter button {
    padding: 0.5rem 1.3rem;
    background: #007bff;
    color: white;
    border: none;
 border-radius: 50px;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 1rem;
	    justify-content: space-between;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffd700;
}
.footerd{background:#011643;font-size:15px;color:#fff;height:50px;line-height:50px;}
/* 響應式設計 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .expo-info {
        flex-direction: column;
        gap: 1rem;
    }

    .solutions-content,
    .testimonial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #4a90e2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #357abd);
}




.maina{max-width:1400px;margin:0 auto}





 

/* Main Content */
.main-contentcp {
    max-width: 1400px;
    margin: 0 auto; 
	padding-top:50px;
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	 margin-top:30px;
    margin-bottom: 10px;
   justify-content: space-evenly;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    max-width: 190px;
}

.filter-btn:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.filter-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Products Grid 
.products-grid { display: grid; gap: 60px;}
*/
.product-section {  
    transition: all 0.3s ease;
 
}

.product-section:hover {
    transform: translateY(-8px);
 
}

/* Product Images */
.product-images {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-image {
    position: relative;  
    background: #fff;
max-width:580px;
    transition: all 0.3s ease;
	 
}

.product-image:hover {
    transform: scale(1.02);
 
 
}

.product-image img {
    width: 100%; 
    transition: transform 0.3s ease;
	    border: 1px solid #e9ecef;
}

.product-image:hover img {
    transform: scale(1.02);
}

/* Product Info */
.product-info {
    text-align: left;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
	margin-top:10px;
}

.product-description {
    font-size: 1.1rem;
    color: #6c757d; 
    line-height: 1.6;
	margin:0px
}
.product-image  p:nth-child(3){margin-bottom:20px}
.product-specs {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.product-specs p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #495057;
}

.product-specs strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
	margin-top:25px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #4681fd;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);border-radius:50px;
	font-size:16px;font-weight:400

}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: #4681fd;
    color: #fff;
    border: 2px solid #4681fd;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);border-radius:50px;font-size:16px;font-weight:400
}

.btn-secondary:hover {
    background: #4681fd;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
 	.block-text{font-size:23px;}
    .main-contentcp {
        padding: 30px 15px;
    }
    
    .product-section {
        padding: 30px;
    }
    
    .products-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .category-filter {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .product-section {
        padding: 25px;
    }
    
    .product-images {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .product-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .product-description {
        font-size: 1rem; 
    }
    
    .product-specs {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-contentcp {
        padding: 20px 10px;
    }
    
    .category-filter {
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .product-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .product-images {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .product-image {
        border-radius: 12px;
    }
    
    .product-title {
        font-size: 1.4rem;
    }
    
    .product-description {
        font-size: 0.95rem;
    }
    
    .product-specs {
        padding: 12px;
    }
    
    .product-specs p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-section {
    animation: fadeInUp 0.6s ease-out;
}

.product-section:nth-child(1) { animation-delay: 0.1s; }
.product-section:nth-child(2) { animation-delay: 0.2s; }
.product-section:nth-child(3) { animation-delay: 0.3s; }
.product-section:nth-child(4) { animation-delay: 0.4s; }

/* Focus styles for accessibility */
.filter-btn:focus,
.btn:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .product-section {
        border: 2px solid #000;
    }
    
    .filter-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .product-section,
    .product-image,
    .btn,
    .filter-btn {
        transition: none;
        animation: none;
    }
    
    .product-section:hover,
    .product-image:hover {
        transform: none;
    }
}

 .custom-tab-container { 
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
        }
        
        .custom-tab-header {
            display: flex;
    margin-bottom: 20px;
    position: relative;
    align-items: center;
    justify-content: center;
        }
        
        .custom-tab-button {
            padding: 12px 24px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            color: #ababab;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .custom-tab-button.active {
            color: #fff;
            font-weight: bold;
        }
        
        .custom-tab-indicator {
            position: absolute;
            bottom: -1px;
            left: 0;
            height: 2px;
            background-color: #1890ff;
            transition: all 0.3s ease;
        }
        
        .custom-tab-content {
               background: #041946;border-radius:15px;
			   padding:5px 20px;
        }
        
        .custom-tab-panel {
            padding: 15px;
            display: none;
        }
        
        .custom-tab-panel.active {
            display: block;
            animation: fadeIn 0.5s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* 移动端样式 */
        @media (max-width: 768px) {
            .custom-tab-container{padding:0px !important}
            .solution-info h3 {
    font-size: 35px;
    margin-bottom: 0.5rem;}
    .testimonial-info h3 {
    font-size: 35px;
    margin-bottom: 0rem;
    color: #fff;
}
.testimonial-info p {
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
}
.testimonial-info img {
    margin-top: 30px;
    margin-bottom: 10px;
    max-width: 165px;
}
.foot400 { 
    text-align: left;
}

            .custom-tab-header {
           
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 5px;
            }
            
            .custom-tab-button {
                padding: 10px 16px;
                font-size: 14px;
            }
            
            .custom-tab-content {
                min-height: 150px;
            }
            .custom-tab-header {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
        }
@media screen and (min-width:320px) and (max-width:750px){
 .nav-actions{display:none !important}   
 .swiper-button-prev{display:none !important}  
 .swiper-button-next{display:none !important}  
  .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 12px !important;}  
    .swiper-pagination {
    position: absolute;
    bottom: 15px !important;}
    .logoimga {
    height: 40px !important;
    padding-right: 90px;
    margin-top: 12px !important;
}
.product-card {
    width: 100% !important;
    background: none;
    overflow: hidden;
    margin-bottom: 0px !important;
    cursor: pointer;
    transition: all 0.5s ease;
}
}
