/* 自定义工具类 + 全局样式 */
.content-auto {
  content-visibility: auto;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bg-black-transparent {
  background-color: rgba(0,0,0,0.6);
}

.transition-navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

/* 轮播图样式优化 */
.banner-slide {
  transition: opacity 0.5s ease-in-out;
}

/* 产品卡片 hover 效果优化 */
.group:hover .bg-gradient-to-t {
  opacity: 1 !important;
}

/* 表单焦点样式 */
input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .testimonial-item {
    min-width: 100% !important;
  }
  
  .partner-item {
    width: 33.333% !important;
  }
}

@media (max-width: 640px) {
  .partner-item {
    width: 50% !important;
  }
  
  .certification-item {
    width: 45% !important;
  }
}
.logo{}
.logo img{width:200px;}
.products{
    background: #f5f5f5;
    padding: 5rem 0rem;
}
.hbjp{
    background: #0000007a;
}
.yishuz h2{
    font-family: 'JHA Times Now' !important;
    font-weight: 200 !important;
    font-style: italic !important;
    letter-spacing: -.025em !important;
    text-transform: capitalize !important;
}
#applications .app8{
    padding: 15rem 0rem;
    text-align: center;
    width: 100%;
}
#contact{background-image: url(/template/castel/skin/images/contact_bottom.png);overflow: hidden;background-position: bottom;background-size: cover;}
#contact .chomewz{
    float: left;
    width: 44%;
    margin-top: 8rem;
}
#contact .chomewz h2{
    font-size: 38px;
    font-weight: bold;
}
#contact .chomewz p{
    font-size: 20px;
}
.footer_logo img{width:200px;}
/* 导航栏容器 */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 999;
        }

        /* 导航内容容器 */
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        /* 品牌Logo */
        .logo a {
            font-size: 24px;
            font-weight: 700;
            color: #2d3748;
            text-decoration: none;
            padding: 16px 0;
            display: inline-block;
        }

        /* 导航菜单 */
        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            color: #fff;
            text-decoration: none;
            padding: 18px 28px;
            font-size: 18px;
            display: block;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color:#d9a935;
        }

        /* 二级下拉菜单 */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            list-style: none;
        }

        .dropdown-item {
            position: relative;
            padding: 0;
        }

        .dropdown-link {
            padding: 12px 20px;
            color: #4a5568;
            text-decoration: none;
            display: block;
            transition: background-color 0.3s ease;
        }

        .dropdown-link:hover {
            background-color: #f7fafc;
            color: #2d3748;
        }

        /* 三级下拉菜单 */
        .dropdown-sub {
            position: absolute;
            top: 0;
            left: 100%;
            background-color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            list-style: none;
        }

        /* 悬停显示下拉菜单 */
        .nav-item:hover > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item:hover > .dropdown-sub {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* 响应式菜单按钮 */
        .menu-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: #2d3748;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 70px;
                left: -100%;
                flex-direction: column;
                background-color: #ffffff;
                width: 100%;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                transition: 0.3s ease;
                padding: 20px 0;
            }

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

            .nav-item {
                width: 100%;
                padding: 0 20px;
            }

            .nav-link {
                padding: 12px 0;
            }

            .dropdown, .dropdown-sub {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
                min-width: 100%;
                box-shadow: none;
                display: none;
                padding-left: 20px;
            }

            .nav-item:hover > .dropdown,
            .dropdown-item:hover > .dropdown-sub {
                display: block;
            }
        }