::-webkit-scrollbar {
    height: 1rem;
    width: .5rem
}

::-webkit-scrollbar:horizontal {
    height: .5rem;
    width: 1rem
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 9999px
}


::-webkit-scrollbar-thumb {
    --tw-bg-opacity: 1;
    background-color: rgb(55 55 61 / 80%)
}

::-webkit-scrollbar-thumb:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(55 55 61 / 80%)
}
::-webkit-scrollbar-thumb {
    --tw-border-opacity: 1;
        background-color: rgb(55 55 61 / 80%);
    border-color: rgb(55 55 61 / 80%);
    border-radius: 9999px;
    border-width: 1px;
}
@media (min-width: 768px) {
    .scrollbar-trigger ::-webkit-scrollbar-thumb {
        visibility:hidden
    }

    .scrollbar-trigger:hover ::-webkit-scrollbar-thumb {
        visibility: visible
    }
}
@media (max-width: 1100px) {
    .none1100{display:none}
}



/* 让 carousel 容器的子元素宽度可动态设置 */
  #carousel > div {
    flex-shrink: 0;
  }

  .swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 18px !important;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-weight: 700;
}

/* Full Width Mega Menu Styles */
        .dropdown-menu {
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            /* Full width positioning */
            position: fixed;
            top: 80px; /* Height of header (h-20 = 80px) */
            left: 0;
            right: 0;
            width: 100%;
            background: white;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            z-index: 50;
        }
        
        .dropdown-menu.show,
        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-item:hover .dropdown-menu a:hover{
            color: #c7000b;
            text-decoration:underline
        } .dropdown-menu::before {
   content: '';
   position: absolute;
   bottom: 100%; /* 位于下拉菜单的上方 */
   left: 0;
   width: 100%;
   height:1px;
   background-color: #999999;
   /* height: 10px;
   background: linear-gradient(to bottom, #999999, white); */
   pointer-events: none;
        }
        /* Reset nav item positioning */
        .nav-item {
            position: static;
        }
        .nav-item>a{
            line-height: 80px;
        }

        /* Header scroll behavior */
        .header {
            transition: transform 0.3s ease-in-out;
            transform: translateY(0);
        }
        
        .header.header-hidden {
            transform: translateY(-100%);
        }

        /* Reset Styles When Dropdown is Open */
        .nav-item:hover > a.flex.items-center:has(+ .dropdown-menu.show) {
          color: #c7000b; /* text-gray-700 */
          font-weight: 500; /* font-medium */
          border-bottom: 2px solid #c7000b;
          position: relative;
          top: -1px;
        }
        
        .nav-item:hover > a.flex.items-center:has(+ .dropdown-menu.show):after {
          content: none; /* Remove underline */
        }


        




















        .banner-slide {
            transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
        }
        
        .banner-slide.active {
            transform: translateX(0);
            opacity: 1;
        }
        
        .banner-slide.prev {
            transform: translateX(-100%);
            opacity: 0;
        }
        
        .banner-slide.next {
            transform: translateX(100%);
            opacity: 0;
        }
        
        .banner-video {
            object-fit: cover;
        }
        
        .banner-content {
            background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
        }
        
        .slide-indicator {
            transition: all 0.3s ease;
        }
        
        .slide-indicator.active {
            background-color: #3b82f6;
            transform: scale(1.2);
        }
        
        .fade-in-up {
            animation: fadeInUp 1s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .slide-controls {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.1);
        }





        /* Line clamp utilities for text truncation */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Custom Swiper styles */
        .blog-swiper {
            overflow: hidden;
            padding: 0 20px;
        }
        
        .blog-swiper .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background: #d1d5db;
            opacity: 1;
            transition: all 0.3s ease;
        }
        
        .blog-swiper .swiper-pagination-bullet-active {
            background: #004EA2;
            transform: scale(1.2);
        }
        
        .blog-swiper .swiper-button-next,
        .blog-swiper .swiper-button-prev {
            width: 44px;
            height: 44px;
            margin-top: -22px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .blog-swiper .swiper-button-next {
            right: 0;
        }
        
        .blog-swiper .swiper-button-prev {
            left: 0;
        }
        
        .blog-swiper .swiper-button-next:hover,
        .blog-swiper .swiper-button-prev:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transform: scale(1.05);
        }
        
        .blog-swiper .swiper-button-next::after,
        .blog-swiper .swiper-button-prev::after {
            font-size: 18px;
            font-weight: bold;
            color: #004EA2;
        }
        
        /* Hide navigation buttons on mobile */
        @media (max-width: 768px) {
            .blog-swiper .swiper-button-next,
            .blog-swiper .swiper-button-prev {
                display: none;
            }
            
            .blog-swiper {
                padding: 0 10px;
            }
        }
        
        /* Card hover effects */
        .blog-card {
            transition: all 0.3s ease;
        }
        
        .blog-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        .blog-card img {
            transition: transform 0.3s ease;
        }
        
        .blog-card:hover img {
            transform: scale(1.05);
        }
        
        /* Category badge styles */
        .category-badge {
            background: linear-gradient(135deg, #004EA2, #0066CC);
            color: white;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        /* Loading animation */
        .loading-skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }
        
        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        



        
        .breadcrumb-arrow {
            color: rgba(255, 255, 255, 0.5);
            margin: 0 8px;
        }
        
        .breadcrumb-link {
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.3s ease;
        }
        
        .breadcrumb-link:hover {
            color: white;
        }
        
        .breadcrumb-current {
            color: white;
            font-weight: 500;
        }


        .contact-form {
            background: linear-gradient(135deg, #1e40af, #3b82f6);
        }
        
        .form-input {
            transition: all 0.3s ease;
        }
        
        .form-input:focus {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
        }
        
        .check-item {
            position: relative;
            padding-left: 24px;
            margin-bottom: 12px;
        }
        
        .check-item::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: #22c55e;
            font-weight: bold;
            font-size: 16px;
        }
        
        .map-container {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
        }
        
        .contact-info-card {
            background: white;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .contact-info-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .whatsapp-icon {
            background-color: #25D366;
        }
        
        .wechat-icon {
            background-color: #07C160;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        .article-content h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: #1f2937;
            margin: 2rem 0 1rem 0;
            line-height: 1.3;
        }
        
        .article-content h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2937;
            margin: 1.5rem 0 1rem 0;
        }
        
        .article-content p {
            color: #4b5563;
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        
        .article-content ul {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }
        
        .article-content li {
            color: #4b5563;
            line-height: 1.7;
            margin-bottom: 0.5rem;
            position: relative;
        }
        
        .article-content li::before {
            content: "•";
            color: #3b82f6;
            font-weight: bold;
            position: absolute;
            left: -1rem;
        }
        
        .social-share {
            transition: all 0.3s ease;
        }
        
        .social-share:hover {
            transform: translateY(-2px);
        }
        
        .feature-image {
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            position: relative;
            overflow: hidden;
        }
        
        .spec-table {
            border-collapse: collapse;
        }
        
        .spec-table th {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            padding: 12px 16px;
            text-align: left;
            font-weight: 600;
            color: #374151;
        }
        
        .spec-table td {
            border: 1px solid #e2e8f0;
            padding: 12px 16px;
            color: #6b7280;
        }
        
        .spec-table tbody tr:nth-child(even) {
            background-color: #f9fafb;
        }


        .advantage-card {
            transition: all 0.3s ease;
        }
        
        .advantage-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .advantage-number {
            width: 20px;
            height: 20px;
            background: #3b82f6;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }


        .floating-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .floating-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
            background: linear-gradient(135deg, #2563eb, #1e40af);
        }
        
        .floating-btn.active {
            transform: rotate(45deg);
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }
        
        .floating-menu {
            position: fixed;
            bottom: 90px;
            right: 20px;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .floating-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .menu-item {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            margin-bottom: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            transform: scale(0);
            animation: popIn 0.3s ease forwards;
        }
        
        .menu-item:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .menu-item:nth-child(1) { animation-delay: 0.1s; }
        .menu-item:nth-child(2) { animation-delay: 0.15s; }
        .menu-item:nth-child(3) { animation-delay: 0.2s; }
        .menu-item:nth-child(4) { animation-delay: 0.25s; }
        
        @keyframes popIn {
            to {
                transform: scale(1);
            }
        }
        
        .floating-btn .icon {
            transition: transform 0.3s ease;
        }
        
        .floating-btn.active .icon {
            transform: rotate(-45deg);
        }
        
        /* Pulse animation for attention */
        .floating-btn::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            z-index: -1;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(1.1);
                opacity: 0;
            }
        }
        
        /* Badge notification */
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background: #ef4444;
            border-radius: 50%;
            color: white;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            animation: bounce 1s infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        /* Demo content styling */
        .demo-content {
            min-height: 150vh;
            background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
        }