@font-face {
    font-family: 'a1';
    src: url('../font/RanyRegular.ttf') format('truetype');
}

@font-face {
    font-family: 'a2';
    src: url('../font/GaboDrive.ttf') format('truetype');
}

* {
    font-family: 'a1';
}

.hadbox-sec1 .f_navbox li .tit span {
    position: relative;
    font-size: 18px;
}

.bannerbox .swiper-slide .cont .f_tit {
    font-family: 'a1';
}

.bannerbox .bannerbox_pagin span {
    width: .8rem;
    height: 8px;
    background-color: #8c8d90;
    opacity: 1;
    margin: 0 5px;
    border-radius: 20px;
}

.bannerbox .bannerbox_pagin .swiper-pagination-bullet-active {
    background: #b82a26;
}

.hm-sec3 .f_zhong .f_nei .cont .container .lt .f_jut .item .shu span:nth-child(2) {
    font-size: 14px;
    display: inline-block;
    padding-top: 22px;
}

.fp_box_1 {
    padding: 80px 0;
}

.fp_box_1 h2 {
    font-family: "a2";
    text-align: center;
    font-size: 46px;
    color: #333333;
}

.fp_box_1 h2 em {
    display: inline-block;
    margin-left: 5px;
    color: #b82a26;
    font-family: "a2";
	font-style:normal;
	
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.news-swiper {
    padding: 50px 0;
}

.news-swiper .pic {
    height: 340px;
    width: 100%;
    overflow: hidden;
}

.news-swiper .pic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .5s ease-in-out;
}

.news-swiper .pic:hover img {
    transform: scale(1.1);
}

.news-swiper .text {
    background: #f3f3f3;
    padding: 30px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;

}

.news-swiper .text p {
    font-size: 20px;
    color: #000000;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
        font-family: "a1";
}

.news-swiper .text i {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 22px;
    color: #000000;
    width: 60px;
    height: 60px;
    background: #b82a26;
    text-align: left;
    padding-left: 18px;
    line-height: 42px;
    color: #fff;
    font-style: normal;
    border-radius: 60px;
    border: 1px solid #b82a26
}

.news-swiper a:hover i {
    background: #fff;
    color: #b82a26;
    border: 1px solid #b82a26
}

.news-swiper {
    padding-bottom: 80px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #b82a26
}

footer {
    padding: 80px 0 0 0;
    background: url(../images/footer.png) no-repeat center center;
    background-size: 100% 100%;
}

footer .top h3 {
    color: #fff;
    font-size: 22px;
}

footer .top form {
    margin-top: 30px;
}

footer .top form {
    display: flex;
    align-items: center;
    gap: 20px;
}

footer .top form input,
footer .top form button {
    height: 54px;
    border-radius: 10px;
}

footer .top form input {
    box-sizing: border-box;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 2px 8px rgba(0, 0, 0, 0.35);
}

footer .top form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .top form input:focus {
    outline: none;
    border-color: #b82a26;
}

footer .top form input:nth-child(1),
footer .top form input:nth-child(2),
footer .top form input:nth-child(3) {
    flex: 0 0 16%;
}

footer .top form input:nth-child(4) {
    flex: 1 1 auto;
}

footer .top form button {
    flex: 0 0 140px;
    background: #b82a26;
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(184, 42, 38, 0.5);
}

footer .top form button:hover {
    background: #a02723;
}

.f_nav {
    padding: 40px 0;
}

.f_nav .left {
    width: 80%;
    float: left;
}

.f_nav ul li {
    width: 30%;
    float: left;
    margin-right: 3.33%;
}

.f_nav h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.f_nav i {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 20px;
    position: relative;
}

.f_nav i::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #b82a26;
    position: absolute;
    top: -1px;
    left: 0;

}

.f_nav a,
.f_nav p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 25px;
    display: block;
}

.f_nav a:hover {
    color: #b82a26;
}

.f_nav .rii {
    width: 18%;
    float: right;
}

.erweima img {
    width: 120px;
    margin-bottom: 30px;
}

.npv_link a {
    display: inline-block;
    margin-right: 10px;
}

.npv_link a img {
    width: 25px;
}

.di {
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

.custom-carousel-section .swiper-slide {
    position: relative;
}

.custom-carousel-section .swiper-slide .slide-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-carousel-section .swiper-slide .slide-text h3 {
    font-family: "a2";
    font-size: 18px;
    color: #fff;
    margin-bottom: 50px;
}

.custom-carousel-section .swiper-slide .slide-text h4 {
    font-size: 36px;
    font-family: 'a2';
    color: #fff;
    margin-bottom: 30px;
}

.custom-carousel-section .swiper-slide .slide-text p {
    font-size: 16px;
    color: #fff;
    width: 50%;
    line-height: 1.8;
    margin-bottom: 30px;
}

.custom-carousel-section .swiper-pagination {
    display: none;
}

/* 自定义轮播箭头美化样式 */
.custom-carousel-section .swiper-button-prev,
.custom-carousel-section .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-image: none !important;
    /* 移除默认背景图 */
}

.custom-carousel-section .swiper-button-prev:hover,
.custom-carousel-section .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.custom-carousel-section .swiper-button-prev:hover::after,
.custom-carousel-section .swiper-button-next:hover::after {
    border-color: #007aff;
}

.custom-carousel-section .swiper-button-prev::after,
.custom-carousel-section .swiper-button-next::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    display: block;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
}

.custom-carousel-section .swiper-button-prev::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.custom-carousel-section .swiper-button-next::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.custom-carousel-section .swiper-button-prev {
    left: 30px;
}

.custom-carousel-section .swiper-button-next {
    right: 30px;
}

/* 分页器美化 */
.custom-carousel-section .swiper-pagination {
    bottom: 20px;
}

.custom-carousel-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.custom-carousel-section .swiper-pagination-bullet-active {
    background: #007aff;
    opacity: 1;
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {

    .custom-carousel-section .swiper-button-prev,
    .custom-carousel-section .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .custom-carousel-section .swiper-button-prev {
        left: 15px;
    }

    .custom-carousel-section .swiper-button-next {
        right: 15px;
    }

    .custom-carousel-section .swiper-button-prev::after,
    .custom-carousel-section .swiper-button-next::after {
        width: 10px;
        height: 10px;
        border-width: 1.5px;
        border-color: #666;
    }

    .custom-carousel-section .swiper-button-prev::after {
        transform: translate(-50%, -50%) rotate(-135deg);
    }

    .custom-carousel-section .swiper-button-next::after {
        transform: translate(-50%, -50%) rotate(45deg);
    }
}

@media (max-width: 1024px) {
    footer .top form {
        flex-wrap: wrap;
    }

    .custom-carousel-section .swiper-pagination {
        display: block;
    }
    .custom-carousel-section .swiper-button-prev{
         display: none;
    }
    .custom-carousel-section .swiper-button-next{
        display: none;
    }
    footer .top form input:nth-child(1),
    footer .top form input:nth-child(2),
    footer .top form input:nth-child(3) {
        flex: 1 1 calc(33.333% - 20px);
    }

    footer .top form input:nth-child(4) {
        flex: 1 1 calc(66.666% - 20px);
    }

    footer .top form button {
        flex: 0 0 100%;
        height: 50px;
    }

    .hm-sec2 .f_jut .f_text {
        width: 100%;
    }

    .f_but_on {
        width: 3.6rem !important;
    }

    .fp_box_1 {
        padding: 30px 0;
    }

    .news-swiper .pic {
        height: auto;
        width: 100%;
        overflow: hidden;
    }

    .news-swiper .text p {
        font-size: 16px;
        -webkit-line-clamp: 111111;
    }

    .news-swiper .text {
        padding: 20px;
        padding-bottom: 40px;
    }

    footer {
        padding: 30px 0;
    }

    .f_nav .left {
        width: 100%;
        float: left;
    }

    .f_nav ul li {
        width: 100%;
        float: left;
        margin-right: 0%;
        margin-bottom: 20px;
    }

    .f_nav i {
        width: 50%;
    }

    .f_nav i::after {
        width: 30px;
    }

    .f_nav .rii {
        width: 100%;
        float: left;
    }

    .di {
        padding: 0;
        font-size: 12px;
        color: #fff;
        text-align: center;
    }

    .custom-carousel-section .swiper-slide img {
        height: 400px;
        display: block;
        object-fit: cover;
    }

    .custom-carousel-section .swiper-slide .slide-text p {
        width: 100%;
        font-size: 12px;
        line-height: 1.6;
    }

    .custom-carousel-section .swiper-slide .slide-text h3 {
        font-family: "a2";
        font-size: 14px;
        color: #fff;
        margin-bottom: 20px;
    }

    .custom-carousel-section .swiper-slide .slide-text h4 {
        font-size: 26px;
        font-family: 'a2';
        color: #fff;
        margin-bottom: 20px;
    }
}
@media (max-width: 768px) {

.bannerbox .swiper-slide .cont {
    top: 30%;
}
}