/* 
 * 版权所有 © 2025 合肥风起云动科技有限公司 保留所有权利
 * 未经书面许可，任何单位或个人不得将本网站复制、转载、盗用或用于任何商业用途
 * 盗用必究，违者将承担法律责任
 * 
 * 如果您希望使用本网站模板，请联系QQ：403036875
*/

* {
    padding:0;
    margin:0;
}
ul,ul li{
    list-style:none;
}
ul{
    padding: 0 !important;
}
a {
    text-decoration:none;
    color:#333;
}
.u{
    text-decoration: underline;
}
*, *::before, *::after {
    box-sizing: border-box !important;
}
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animate-on-scroll.animate__animated {
    opacity: 1;
}
/* 导航栏基础样式 */
.navbar{
    transition: background-color 0.3s ease, padding 0.3s ease;
    box-shadow: none;
}
.navbar,.navbar a,.navbar .navbar-text{
    color: #fff !important;
}
.navbar.scrolled,.navbar.force-white,.navbar.force-white a,.navbar.scrolled a,.navbar.scrolled .navbar-text,.navbar.force-white .navbar-text{
    color: #333 !important;
}
.navbar.scrolled {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.navbar .logo{
    max-height: 56px;
    display: flex;
    align-items: center;
}
.navbar .logo img{
    height: 36px;
}
.navbar .logo .logo-white{
    display: block;	
}
.navbar .logo .logo-black{
    display: none;
}
.navbar.scrolled .logo .logo-white{
    display: none;
}
.navbar.scrolled .logo .logo-black{
    display: block;
}
.navbar.force-white .logo .logo-white{
    display: none;
}
.navbar.force-white .logo .logo-black{
    display: block;
}

.dropdown-mega .dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform: scaleY(0);
    transform-origin: center top;
    opacity: 0;
    display: block !important; /* 必须显示才能有动画 */
    pointer-events: none;
}

/* 大屏幕下的样式 */
@media (min-width: 992px) {
    .dropdown-mega:hover .dropdown-menu,
    .dropdown-mega .dropdown-toggle:focus + .dropdown-menu {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
        display: block !important;
    }
    
    .dropdown-mega .dropdown-menu {
        position: absolute;
        left: 0;
        right: 0;
        width: 100vw;
    }
    .dropdown-mega .dropdown-menu>div{
        margin-top: .5rem;
        padding: 1rem 0;
        border-top: 1px solid #dee2e6;
    }
    
}


.navbar.force-white {
    background-color: white !important;
    transition: background-color 0.2s ease;
}

.m-form{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* 小屏幕下的样式保持不变 */
@media (max-width: 991.98px) {
    .dropdown-mega .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        transition: all 0.3s ease;
        pointer-events: none;
        display: none !important;
        border-radius: .3rem;
    }
    
    .dropdown-mega.show .dropdown-menu {
        opacity: 1 !important;
        height: auto !important;
        pointer-events: auto;
        display: block !important;
        margin: .5rem 0 1rem 0;
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    }
    .dropdown-mega.show .dropdown-menu>div{
        padding: .5rem;
    }
    
    .navbar-nav {
        flex-wrap: wrap;
    }
    
    .dropdown-mega {
        width: 100%;
    }
    
    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }
    
    .dropdown-mega.show .dropdown-toggle::after {
        transform: rotate(-180deg);
    }

    .m-top{
        background-color: #fff !important;
    }
    .m-top,.m-top a,.m-top .navbar-text{
        color: #333!important; 
    }
    .m-banner{
        margin-top: 56px;
    }
    .navbar.m-top .logo .logo-white{
        display: none;	
    }
    .navbar.m-top .logo .logo-black{
        display: block;	
    }
}


.product-item {
    display: block;
    text-align: center;
    padding: 10px;
}

.product-item img {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: .3rem;
    margin-bottom: 10px;
}

.product-item h6 {
    font-size: 14px;
    margin-bottom: 0;
}

.product{
    background: url(../images/bg-3.png) no-repeat;
    background-size: cover;
}
.index-title {
    position:relative;
    text-align:center;
    margin-bottom:20px;
    font-size:2.5rem;
    font-weight:bold;
}/*
.index-title::before,.index-title::after {
    content:"";
    position:absolute;
    top:50%;
    width:150px;
    height:3px;
    background:linear-gradient(to right,transparent,#333,transparent);
    transform:translateY(-50%);
}
.index-title::before {
    left:calc(50% - 15rem);
}
.index-title::after {
    right:calc(50% - 15rem);
}*/
.index-subtitle {
    text-align:center;
    font-size:1.2rem;
    color:#777;
    margin-bottom:30px;
}
.btn-group a.btn{
    margin-bottom: .5rem;
}
.product-nav {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}
.product-nav a {
    display:inline-block;
    transition:color 0.3s ease;
    color: #fff;
    margin: 0 .5rem;
}
.product-nav a:hover {
    color:#eeeeee;
}
.product-card {
    display:block;
    width:100%;
    height:100%;
    border-radius:1rem;
    overflow:hidden;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
    transition:transform 0.3s ease,box-shadow 0.3s ease;
}
.product-card:hover {
    transform:translateY(-5px);
    box-shadow:rgba(0,0,0,0.24) 0px 3px 8px;
}
.product-card img {
    width:100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display:block;
}
.product-card p {
    text-align:center;
    font-size:1rem;
    padding:.5rem;
    margin:0;
    background-color: #fff;
}
.swiper-container {
    width:100%;
    height:100%;
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    padding:10px;
    position:relative;
    padding-bottom:40px;
}
.swiper-container .swiper-wrapper{
    cursor: e-resize;
}
.swiper-container .swiper-wrapper .swiper-slide {
    text-align:center;
    font-size:18px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.swiper-container .swiper-wrapper .swiper-pagination {
    bottom:10px !important;
    position:absolute;
    width:100%;
    text-align:center;
}
img[loading="lazy"] {
    opacity:0;
    transition:opacity 0.3s ease;
}
img[loading="lazy"].loaded {
    opacity:1;
}

.about{
    background: url(../images/bg-1.png) no-repeat;
    background-size: cover;
}
.about .about-img{
    position: relative;
}
.about .about-img img{
    width: calc(100% - 1.5rem);
    border-radius: .5rem;
    position: relative;
    z-index: 1;
}
.about .about-img::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    width: 90%;
    height: 90%;
    background-color: #d4dbe485;
    border-radius: .5rem;
}
.about .about-list{
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.about .about-list li{
    width: 25%;
    flex-wrap: wrap;
    border-right: 1px solid #d4dbe4;
    padding: 0 .5rem;
}
.about .about-list li:last-child{
    border-right: none;
}
.about .about-list li,.about .about-list li a{
    display: flex;
    align-items: center;
    align-items: center;
    margin-bottom: 1rem;
    flex-direction: column;
}
.about .about-list li span{
    color: #0d6efd;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}
.about .about-list li span::after{
    content: "+";
    position: absolute;
    top: 0;
    font-weight: 200;
    font-size: 2rem;
}
.about .about-list li i{
    font-size: 4rem;
    color: #4165a5;
}
@media screen and (max-width: 576px){
    .about .about-list li{
        width: 50%;
        border-right: 0;
    }
    .about .about-list li:nth-child(odd){
        border-right: 1px solid #d4dbe4;
    }
}
.advantage .advantage-list{
    overflow: hidden;
}
.advantage .advantage-list .advantage-item{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.advantage .advantage-list .advantage-item:nth-of-type(2){
    z-index: 1;
}
.advantage .advantage-list .advantage-item img{
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
@media screen and (max-width: 992px){
    .advantage .advantage-list .advantage-item img{
        width: 100%;
        height: auto;
        position: static;
        transform: translateX(0);
    }
}
.case{
    background: url(../images/bg-2.png) no-repeat;
    background-size: cover;
}
.case .case-list{
    overflow: hidden;
}
.case .case-list .case-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case .case-list .case-item img{
    width: 100%;
    aspect-ratio: 16/9;
}
.case .case-list .case-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.case .case-list .case-item p{
    background-color: #fff;
        margin: 0 !important;
        padding: .5rem 0;
}
@media screen and (max-width: 992px){
    .case .case-list .case-item p{
        font-size: 1rem !important;
    }
    .case-list-top{
        padding-bottom: 0 !important; 
    }
    .case-list-bottom>div:nth-of-type(1),.case-list-bottom>div:nth-of-type(2){
        margin-bottom: 1rem; 
    }
}

.news .news-list .news-item{
    display: block;
    background-color: #ffffff88; 
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news .news-list .news-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.news .news-list .news-left .news-item img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.news .news-list .news-right .news-item{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    height: calc((100% - 2rem) / 3);
}
.news .news-list .news-right .news-item .text{
    margin: 0 1rem;
}
.news .news-list .news-right .news-item img{
    width: 33.33%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
@media screen and (max-width: 992px){
    .news .news-list .news-right{
        margin-top: 1rem;
    }   
}
.partner .partner-list .partner-item{
    border-radius: .5rem;
    transition: all .3s ease;
}
.partner .partner-list .partner-item img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.partner .partner-list .partner-item:hover{
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transform: translateY(-.1rem);
}
.footer{
    background: url(../images/bg-footer.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    padding-top: 5rem;
}
.footer .fast-nav{
    padding-left: 7rem;
}
.footer .footer-nav ul li{
    list-style: disc;
}
.footer a{
    color: #fff;
    line-height: 2.2rem;
}
@media screen and (max-width: 1200px){
    .footer .fast-nav{
        padding-left: 5rem;
    }
}
@media screen and (max-width: 992px){
    .footer .fast-nav{
        padding-left: 0;
        margin-bottom: 1rem;
    }
    .footer-bottom{
        flex-direction: column;
    }
    .footer .footer-layout{
        padding-left: 3rem;
    }
}
@media screen and (max-width: 576px){
    .footer .footer-layout{
        padding-left: 3rem;
    }
}

/* page */
.breadcrumb{
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    padding: 1rem 1rem;
    border-radius: .5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.breadcrumb a{
    color: #333;
}
.breadcrumb a::after{
    content: ">";
    margin: 0 .5rem;
    color: #333;
}
.breadcrumb a:last-child::after{
    content: "";
    margin: 0; 
}

.page-left-nav ul li{
    margin-bottom: .5rem;
    border-radius:.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.page-left-nav ul li a{
    display: block;
    color: #333;
    padding: .7rem 1rem;
    border-radius:.5rem; 
}
.page-left-nav ul li a.active{
    background-color: #0d6efd;
    color: #fff;
}
.page-left-nav ul li a:hover{
    background-color: #d0d0d0;
    color: #000;
}
@media screen and (min-width: 992px){
    .page-left-nav{
        position: sticky;
        top: 80px;
        align-self: flex-start;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }
}
@media screen and (max-width: 992px){
    .page-left-nav ul li a{
        padding: .5rem 1rem;
    }
}

/* 分页样式 */
.pagination {
	justify-content:center;
	margin:1.5rem 0;
	flex-wrap: wrap;
}
.page-item a{
	color:#007bff;
	border:none;
	border-radius:8px;
	margin:0 5px;
	transition:background-color 0.3s ease,color 0.3s ease;
}
.page-item.active a{
	background-color:#007bff;
	color:#fff;
}
.page-item:hover a{
	background-color:#e9ecef;
	color:#0056b3;
}
/* about */
.about-page .about-item img{
    width: 100%;
    border-radius: .5rem;
}
.about-page .about-item p{
    text-indent: 2rem;
    line-height: 2rem;
}

/* product */
.product-list{
    
}
.product-list .product-article{
    display: block;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all.3s ease;
}
.product-list .product-article img{
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.product-list .product-article p{
    padding: .6rem;
    margin: 0;
    text-align: center;
}
.product-list .product-article:hover{
    transform: translateY(-.3rem);
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.article-content{
    
}
.article-content img{
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: .5rem;
}
.article-content .article-text img{
    width: calc(100% - 2rem);
    object-fit: contain;
}
.article-content .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.article-content .swiper-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}
.article-content .swiper-button-prev,
.article-content .swiper-button-next {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.article-content .swiper-button-prev::after,
.article-content .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}
.article-content .article-text{
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.article-content .article-text h3{
    border-left: 10px solid #ccc;
    padding-left: .7rem;
    margin: 2.5rem 0 1.5rem 0;
}
.article-content .article-text h3:first-child{
    margin-top: 0;
}
.article-content .article-text p{
    /*text-indent: 2rem;*/
    line-height: 2rem;
}
#baidumap{
    width: 100%;
    min-height: 400px;
    max-height: 500px;
}

#floating-window {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 999999999;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* overflow: hidden; */
    cursor: move;
    user-select: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#floating-window:active {
    cursor: grabbing;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#floating-window #header {
    background-color: #007BFF;
    color: white;
    padding: 6px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    position: relative;
    border-radius: 12px 12px 0 0;
}

#floating-window form {
    padding: 20px;
}

#floating-window label {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

#floating-window input {
    width: 100%;
    height: 34px;
    padding: 0 1rem;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Firefox 19+ */
#floating-window input:-moz-placeholder { font-size: 14px; }
/* Firefox 18- */
#floating-window input::-moz-placeholder { font-size: 14px; }
/* Chrome/Opera/Safari */
#floating-window input::-webkit-input-placeholder { font-size: 14px; }
/* Internet Explorer 10+ */
#floating-window input:-ms-input-placeholder { font-size: 14px; }
/* Standard syntax */
#floating-window input::placeholder { font-size: 14px; }

#floating-window input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

#floating-window #btnsubmit {
    width: 80%;
    padding: .5rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    margin: .4rem auto 0;
    display: block;
}

#floating-window #btnsubmit:hover {
    background-color: #0056b3;
}

#minimize-btn {
    position: absolute;
    right: .5rem;
    top: calc(50% - 1rem);
    background: none;
    border: none;
    border-radius: .2rem;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    transition: all .5s;
}

#minimize-btn:hover {
    transform: rotate(360deg);
}

/* Tooltip 样式 */
.input-container {
    position: relative;
    width: 100%;
}

.tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px); /* 将 Tooltip 放在输入框右侧 */
    transform: translateY(-50%);
    visibility: hidden;
    opacity: 0;
    background-color: #555;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #555 transparent transparent;
}

.input-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.m-footer{
    display: none;
}
@media (max-width: 991.98px){
    #floating-window{
        display: none;
    }
    .m-footer{
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999999999;
        background-color: #fff;
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    }
    .m-footer>div{
        border-right: 1px solid #ccc;
        padding: 0;
    }
    .m-footer a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: .9rem;
        padding: .7rem 0 .5rem 0;
        height: 100%;
        width: 100%;
    }
    .m-footer>div:last-child{
        border-right: none;	
    }
    .m-footer a p{
        margin: .3rem 0 0 0;
    }
}