/*===================================== 针对 iPad 横屏 =====================================*/
@media screen and (min-width: 768px) and (max-width: 1199px) {
    body {
        transform: scale(0.8);
        transform-origin: top left;
        width: calc(100% / 0.8);
        height: calc(100% / 0.8);
    }
}

/*=====================================针对 iPad 竖屏 =====================================*/
@media screen and (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
    body {
        transform: scale(0.7);
        transform-origin: top left;
        width: calc(100% / 0.7);
        height: calc(100% / 0.7);
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) and (orientation: portrait) {
    body {
        transform: scale(0.8);
        transform-origin: top left;
        width: calc(100% / 0.8);
        height: calc(100% / 0.8);
    }
}

@media screen and (min-width: 768px) and (max-width: 819px) and (orientation: portrait) {
    body {
        transform: scale(0.65);
        transform-origin: top left;
        width: calc(100% / 0.65);
        height: calc(100% / 0.65);
    }
}

/*=====================================首页移动端 =====================================*/
@media screen and (max-width: 767px) {
    .body {
        transform: scale(0.5);
        transform-origin: top left;
        width: calc(100% / 0.5);
    }

    .contact-us-section,
    .detail-section {
        min-height: calc((100vh - 45px - 74px) / 0.5);
    }
}

@media screen and (min-width: 414px) and (max-width: 429px) {
    .body {
        transform: scale(0.55);
        transform-origin: top left;
        width: calc(100% / 0.55);
    }

    .contact-us-section,
    .detail-section {
        min-height: calc((100vh - 50px - 81px) / 0.55);
    }
}

@media screen and (min-width: 430px) and (max-width: 767px) {
    .body {
        transform: scale(0.58);
        transform-origin: top left;
        width: calc(100% / 0.58);
    }

    .contact-us-section,
    .detail-section {
        min-height: calc((100vh - 52px - 86px) / 0.58);
    }
}

@media screen and (max-width: 767px) {
    .home-banner {
        min-height: 300px;
        margin-top: -10px;
        height: auto;
        padding: 20px 0;
    }

    .home-banner-content {
        flex: 1.8;
    }

    .home-banner-content .title {
        font-size: 30px;
        line-height: 36px;
    }

    .home-banner-content .desc {
        font-size: 20px;
        line-height: 36px;
        font-weight: 300;
    }

    .home-content {
        padding: 40px 0 80px;
    }

    .home-content-display {
        flex-direction: column;
    }

    .home-content-left {
        margin: 0 20px;
    }

    .home-content-left .title {
        font-weight: bold;
        font-size: 36px;
        color: #ffffff;
        text-align: center;
    }

    .home-content-left .box {
        margin-top: 30px;
        padding: 70px 60px;
        gap: 35px;
    }

    .home-content-left .item .circle {
        flex: 0 0 48px;
        height: 48px;
        border-radius: 24px;
        font-size: 36px;
        color: #1387e8;
    }

    .home-content-left .item .text {
        font-weight: 500;
        font-size: 24px;
        color: #ffffff;
        line-height: 38px;
    }

    .home-content-right .title {
        font-weight: bold;
        font-size: 36px;
        color: #ffffff;
        text-align: center;
        margin-top: 40px;
    }

    .home-content-right .item {
        align-items: center;
    }

    .home-content-right .box {
        margin-top: 30px;
    }

    .home-content-right .item .img {
        top: 0;
    }

    .home-content-right .item .desc .title {
        margin-top: 0;
        font-weight: bold;
        font-size: 30px;
        color: #ffffff;
    }

    .home-content-right .item .desc {
        margin-top: 0;
        padding: 30px 0;
    }

    .home-content-right .item .desc .text {
        font-size: 24px;
        line-height: 38px;
        font-weight: 300;
    }

    .home-content-swiper .swiper {
        height: 220px;
    }

    .home-content-swiper .img-partner {
        top: 100px;
    }

    .home-content-swiper .title {
        font-weight: bold;
        font-size: 36px;
        color: #ffffff;
        text-align: center;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .home-content-now .title {
        font-weight: bold;
        font-size: 36px;
        color: #ffffff;
        text-align: center;
        display: flex;
        margin: 40px auto 30px;
        max-width: 530px;
    }

    .home-content-now .now {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 40px 280px 40px 30px;
    }

    .home-content-now .now .desc {
        font-weight: 300;
        font-size: 24px;
        color: #ffffff;
        line-height: 38px;
    }

    .home-content-now .now .btn {
        width: 200px;
        height: 50px;
        background: #1387e8;
        border-radius: 10px;
        font-weight: 500;
        font-size: 24px;
        color: #ffffff;
    }

    .footer .copyright {
        font-weight: 500;
        font-size: 24px;
        color: #ffffff;
    }

    .footer .content {
        font-weight: 500;
        font-size: 24px;
        color: #ffffff;
    }

    .navbar {
        padding: 15px 30px;
    }

    .navbar .navbar-brand {
        width: 240px;
        height: 60px;
    }

    /* .navbar .navbar-brand .pc {
        display: none;
    }

    .navbar .navbar-brand .mobile {
        display: inline-block;
    }
 */
    .navbar .nav-mobile-search {
        position: relative;
        display: inline-flex;
        flex: 1;
    }

    .navbar .nav-mobile-search .img {
        position: absolute;
        right: 24px;
        top: 14px;
        width: 30px;
        height: 30px;
        z-index: 1;
        cursor: pointer;
    }

    .navbar .container {
        gap: 22px;
    }

    .navbar .nav-mobile-search .form-control {
        padding: 0 60px 0 30px;
        height: 60px;
        font-weight: 400;
        font-size: 24px;
        border-radius: 30px;
    }

    .navbar .navbar-toggler {
        padding: 0;
        margin: 0;
    }

    .navbar .navbar-toggler .img {
        width: 50px;
        height: 50px;
    }

    #navbarNav .d-flex {
        display: none;
    }
}
