/* =============================================================================
   首页与业务资源页样式
   ============================================================================= */

/************* banner部分 ******************/
.home-BannerCon {
    width: 100%;
    height: 90%;
    background: url("../images/home/home-banner.jpg") no-repeat center top;
    background-size: 100% 100%;
}

.home-BannerCon .txtpic {
    width: 74%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    padding-top: 160px;
}

.homeimage {
    align-content: end;
    align-items: flex-end;
    height: 100%;
}

.hometxt .bnpicone {
    margin-top: 80px;
    width: 84%;
}

.hometxt .bnpictwo {
    width: 60%;
    margin-top: 30px;
}

.godownpic {
    width: 10%;
    position: absolute;
    bottom: 30px;
    left: 50%;
}

.godownpic img {
    width: 50px;
    height: 50px;
}

/************* banner下 4个板块部分 ******************/

.teamwork {
    width: 62%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 180px;
}

.teamwork>div.teamwork-Main {
    width: 25%;
    height: 180px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    transition: 1s;
    -webkit-perspective: 500;
    -moz-perspective: 500;
    -ms-perspective: 500;
    perspective: 500;
    -ms-transform: perspective(500px);
    -moz-transform: perspective(500px);
    /*重要*/
    transform-style: preserve-3d;
    /*重要*/
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: 1s;
    -moz-transform-style: preserve-3d;
    -moz-transition: 1s;
    transform-style: preserve-3d;
    /*重要*/
    transition: 1s;
}

/* 触发翻转 */
.teamwork-Main:hover .flipper {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);

}

.front,
.back {
    position: absolute;
    left: 0;
    top: 0;
    backface-visibility: hidden;
    /*重要*/
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.front {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    transform: rotateY(0deg);
    z-index: 2;
}

.back {
    font-size: 36px;
    color: white;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.teamwork div img {
    width: 60px;
    margin: 6px auto;
    display: block;
    text-align: center;
}

.teamwork div p {
    margin: 6px 0;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
}

.pinkcont {
    background: #e56d71;
    perspective: 1000px;
    color: #ffcbcd !important;
}

.pinkcont p {
    color: #ffcbcd !important;
}

.redcont {
    background: #cc373c;
    perspective: 1000px;
}

/******************* 加油业务的痛点和解决方案 *********************/

/* 业务痛点 */
.busithat {
    width: 62%;
    margin: 0 auto 50px auto;
    background: url("../images/home/phone-carBg.png") no-repeat center bottom;
    background-size: 100% auto !important;
    display: -webkit-flex;
    display: flex;
    align-content: end;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.busithat>div:nth-child(1),
.busithat>div:nth-child(3) {
    padding: 30px 0 50px 0;
}

.busithat p {
    color: #424242;
    font-size: 14px;
}

.busithat .bttitle {
    font-size: 18px;
}

/* 解决方案 */
.solution {
    width: 62%;
    margin: 0 auto;
    padding: 0 4%;
    box-sizing: border-box;
}

.solution p {
    width: 70%;
    margin-left: 15%;
    margin-top: -50px;
    font-size: 14px;
    text-align: left;
}

/******************** 车主和油企的第一选择 **************/
.carpeople {
    width: 100%;
    background: url("../images/home/centerBG.jpg") no-repeat center top;
    background-size: 100% 100%;
    padding: 20px 0;
}

.caroil {
    width: 100%;
    height: auto;
    display: block;
    color: #ffffff;
    margin: 80px auto;
}

.caroil .choseeoil {
    font-size: 44px;
    text-align: center;
    padding: 20px 0;
    font-weight: normal;
    letter-spacing: 5px;
}

.caroilcont {
    width: 64%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

.caroilcont p {
    font-size: 14px;
}

.caroilcont .bor {
    border-left: 1px solid #fff;
}

.caroilcont p.caroiltitle {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 16px;
    margin-right: 130px;
    border-bottom: 2px solid #cc373c;
}

/***************** 合作伙伴 ******************/

.partner h2 {
    text-align: center;
}

/************************************************* 媒体查询 ************************************************/

@media (min-width: 992px) and (max-width: 1199px) {

    .teamwork,
    .busithat,
    .solution {
        width: 76%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .home-BannerCon .txtpic {
        width: 84%;
    }

    .hometxt .bnpicone {
        width: 100%;
    }

    .hometxt .bnpictwo {
        width: 80%;
    }

    .caroilcont {
        width: 70%;
    }

    .teamwork,
    .busithat,
    .solution {
        width: 80%;
    }

    .caroil .choseeoil {
        font-size: 38px;
    }

}

/* col-xs  手机*/
@media screen and (max-width: 500px) {

    .hometxt .bnpicone,
    .hometxt .bnpictwo {
        width: 100%;
        margin: 20px 0 2px 0;
    }

    .homeBannerImg {
        width: 180px;
        margin: 0 auto;
        display: block;
    }
}

@media screen and (min-width: 501px) and (max-width: 767px) {

    .hometxt .bnpicone,
    .hometxt .bnpictwo {
        width: 68%;
        margin: 24px 0 2px 0;
    }

}

@media screen and (max-width: 767px) {

    /*** banner部分 ****/
    .home-BannerCon {
        background-size: 100% 100%;
        height: auto;
    }

    .homeBannerImg {
        width: 260px;
        margin: 0 auto;
        display: block;
    }

    .home-BannerCon .txtpic {
        width: 94%;
        height: auto;
        padding-top: 80px;
    }

    .homeimage {
        height: auto;
    }

    .godownpic {
        display: none;
    }

    /*** banner下 4个板块部分 ***/
    .teamwork,
    .busithat,
    .solution {
        width: 94%;
    }

    .teamwork {
        height: 360px;
    }

    .teamwork>div.teamwork-Main {
        width: 50%;
    }

    .pinkcont {
        border: 1px solid #fff;
    }

    .redcont {
        border: 1px solid #fff;
    }

    /*** 加油业务的痛点和解决方案 ***/
    /* 业务痛点 */
    .busithat {
        background: url("../images/home/business.png") no-repeat center bottom;
        background-size: 100% auto;
        padding-bottom: 50px;
    }

    .marginTitleTop {
        margin-top: 20px;
    }

    .busithat>div:nth-child(1),
    .busithat>div:nth-child(3) {
        padding: 4px 0;
    }

    /* 解决方案 */
    .solution img {
        margin-top: 14px;
    }

    .solution p {
        font-size: 12px;
    }

    /*** 车主和油企的第一选择 ***/
    .caroil {
        margin: 0px auto;
    }

    .caroil .choseeoil {
        font-size: 20px;
        text-align: center;
        font-weight: normal;
    }

    .caroilcont p {
        font-size: 10px;
    }

    .caroilcont p.caroiltitle {
        font-size: 16px;
        margin-right: 94px;
    }

    .caroilcont {
        width: 100%;
    }

    /*** 合作伙伴 ***/
    .partner h2 {
        font-size: 20px;
    }
}

/* 合作伙伴Logo展示样式 */
.partner-logos {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.logo-item {
    transition: all 0.3s ease;
    max-width: 210px;
}

.logo-item:hover {
    transform: translateY(-3px);
}

.logo-item img {
    width: 100%;
    object-fit: contain;
}

/* 响应式 */
@media screen and (max-width: 991px) {
    .partner-logos {
        width: 95%;
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .partner-logos {
        margin-top: 25px;
        padding: 20px 0;
    }
}

@media screen and (max-width: 500px) {
    .partner-logos {
        width: 98%;
        margin-top: 20px;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .logo-item img {
        max-width: 150px;
        display: block;
        margin: 0 auto;
    }
}

/************* banner部分 ******************/
.business-banner {
    background: url("../images/business-resource/banner.jpg") no-repeat center top;
}

.centerpic {
    width: 40%;
    margin: 10px auto;
    display: block;
}

.resources {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 222;
}

.helptxt {
    background: #d32534;
    flex-direction: column;
}

.innovative {
    /* margin: -40px 0 !important; */
    padding: 0 !important;
    width: 100%;
}

.innovative>div {
    width: 50%;
    height: 340px;
}

.innovative img {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.helptxt p {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    color: #fff;
    line-height: 1.8;
    max-width: 450px;
}

@media screen and (min-width: 1200px) {
    .helptxt p {
        font-size: 15px;
    }
}

.industry {
    position: relative;
}

.industry::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 90px;
    height: 3px;
    background: #fff;
}

.newmore {
    background: #edeeef;
    padding: 40px 0;
    width: 100%;
    height: 760px;
    flex-direction: column;
}

.curle {
    margin: 40px auto;
    border-bottom: 1px solid #d5d6d7;
    justify-content: space-between;
}

.curle .news {
    width: 80px;
    font-weight: 800;
    font-size: 18px;
    padding-left: 5px;
    position: relative;
}

.curle .news::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d80002;
}

/* 轮播 */
.swcenter {
    margin: 30px auto;
}

.resourcesSwiper .swiper-container {
    margin: 30px 0 !important;
}

.resourcesSwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    background: #fff !important;
    padding: 0 !important;
}

.resourcesSwiper .swiper-slide>div {
    padding: 14px 10px;
    font-size: 13px;
    color: #939393;
    width: 100%;
    height: 140px;
    display: block;
}

.resourcesSwiper .swiper-button-prev {
    background-image: url(../images/jtright.png) !important;
    left: -10px !important;
}

.resourcesSwiper .swiper-button-next {
    background-image: url(../images/jtleft.png) !important;
    right: -8px !important;
}

.resourcesSwiper .swiper-button-next,
.resourcesSwiper .swiper-button-prev {
    width: 40px !important;
    height: 30px !important;
}

.datetitle {
    font-size: 16px !important;
    margin: 4px 0;
    color: #656565;
}

.swbg {
    background: #d32534 !important;
    color: #fff;
}

.botcont {
    width: 100%;
    height: auto;
    background: url("../images/business-resource/chexunbg.jpg") no-repeat center top;
    background-size: 100% 100%;
    margin: 0;
}

.carclass {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 70px;
}

.carclass p {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    padding-top: 50px;
    font-size: 18px;
    line-height: 1.6;
}

.carclass img {
    width: 120px;
    display: block;
    margin: 50px auto 0px auto;
}

/************************************************* 媒体查询 ************************************************/

@media screen and (min-width: 768px) {
    .resourcesSwiper .swiper-slide-next>div {
        background: #d32534;
        color: #ffffff;
        height: 170px;
    }

    .resourcesSwiper .swiper-slide-next>div .datetitle {
        color: #ffffff;
    }
}

@media screen and (max-width: 767px) {
    .newmore {
        padding: 20px 0;
        height: 600px;
    }

    .swcenter {
        margin: 0 auto;
    }

    .curle {
        margin: 20px auto;
    }

    .curle .news {
        font-size: 16px;
    }

    .resourcesSwiper .swiper-slide {
        padding: 0 10% !important;
        background: transparent !important;
    }

    .resourcesSwiper .swiper-slide-active>div {
        background: #d32534;
        color: #ffffff;
        height: 170px;
    }

    .resourcesSwiper .swiper-slide-active>div .datetitle {
        color: #ffffff;
    }

    .helptxt {
        width: 100%;
        padding-top: 30px;
    }

    .carclass p {
        padding-top: 30px;
        font-size: 14px;
    }

    .innovative>div {
        width: 100%;
        height: 240px;
    }

    .centerpic {
        width: 200px;
    }

    .botcont {
        background-size: cover;
    }
}

/***************** 能源合作伙伴资源******************/
.businessResourceCls {
    width: 100%;
    background: #F7F7F7;
    max-width: 1100px;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.resource-item {
    background: #F7F7F7;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.resBorTop {
    border-top: 1px solid #D8D8D8;
}

.resBorRight {
    border-right: 1px solid #D8D8D8;
}

/* .resource-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
} */

/* 第一行 4 个 - 每个占 25% 宽度减去 gap */
.resource-item:nth-child(1),
.resource-item:nth-child(2),
.resource-item:nth-child(3),
.resource-item:nth-child(4) {
    width: 25%;
}

.resource-item:nth-child(1),
.resource-item:nth-child(2),
.resource-item:nth-child(3),
.resource-item:nth-child(5),
.resource-item:nth-child(6) {
    border-right: 1px solid #D8D8D8;
}

/* 第二行 3 个 - 每个占 33.33% 宽度减去 gap，居中显示 */
.resource-item:nth-child(5),
.resource-item:nth-child(6),
.resource-item:nth-child(7) {
    width: 33.333%;
    border-top: 1px solid #D8D8D8;
}

.resTitle {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 14px;
}

.resource-item .resource-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.resource-item .resource-name {
    font-size: 20px;
    color: #333;
    margin-top: 0;
    margin-bottom: 0;
}

.resource-item .resource-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/************************************************* 媒体查询 ************************************************/

@media screen and (min-width: 768px) and (max-width: 991px) {
    /* 能源合作伙伴资源 - 平板 */

    .resource-item:nth-child(1),
    .resource-item:nth-child(2),
    .resource-item:nth-child(3),
    .resource-item:nth-child(4) {
        width: 50%;
    }


    .resource-item:nth-child(1),
    .resource-item:nth-child(3),
    .resource-item:nth-child(5),
    .resource-item:nth-child(7) {
        border-right: 1px solid #D8D8D8;
    }

    .resource-item:nth-child(1),
    .resource-item:nth-child(2),
    .resource-item:nth-child(6) {
        border-bottom: 1px solid #D8D8D8;
    }

    .resource-item:nth-child(5),
    .resource-item:nth-child(6),
    .resource-item:nth-child(7) {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    /*** 能源合作伙伴资源 - 手机 ***/

    .resource-item {
        width: 100% !important;
        padding: 20px 15px;
        border-bottom: 1px solid #D8D8D8;
        border-top: none !important;
        border-right: none !important;
    }

    .resource-item .resource-icon {
        width: 38px;
        height: 38px;
    }

    .resource-item .resource-name {
        font-size: 18px;
    }

    .resource-item .resource-desc {
        font-size: 12px;
        line-height: 1.6;
    }
}