.custom-padding {
    padding: .625rem;
}

.custom-item {
    height: 12.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.custom-item img {
    display: block;
    margin: 0 auto;
    margin-bottom: .625rem;
    width: 60%;
    height: 11.25rem;

}

.item-title {
    width: 58%;
    margin: 0 auto;
    height: 11.25rem;
    display: flex;
    align-items: center;
}

.item-title h5 {
    min-width: 12.25rem;
    color: #333333;
    font-weight: bold;
    line-height: 1.5;
    font-size: 33px;
    
    /* color: #3752dc; */
}

.item-center {
    width: 58%;
    margin: 0 auto;
    color: #666666;
    font-weight: normal;
    line-height: 1.8;
}

.item-hander h4 {
    font-weight: 600;
    font-size: 2.125rem;
    margin-bottom: 1.875rem;
}

.item-connection {
    padding: 0rem !important;
    margin: 1.25rem 0 !important;
}

.item-connection .item-circle {
    list-style-type: none;
    border-radius: 50%;
    border: .0625rem solid #aeaeae;
    padding: .3125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .625rem;
}

.item-circle img {
    width: 20px;
    height: 20px;
}

.font-mini {
    font-size: .8125rem;

}

.firm-title {
    margin-bottom: 1.25rem;
}

.frim-center {
    font-weight: bold;
    color: #adadad;
    font-size: .8125rem;
}

.m-m {
    margin-bottom: .625rem;
}

.item-image {
    width: 100%;
}

/* 确保图片之间的间距相等 */
.certificate-img {
    width: 100%;
    padding: 5px;
    /* 调整间距 */
    box-sizing: border-box;
}

.certificate-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.col-md-3 {
    position: relative;
}

/* 基础样式 */
.why-choose-us {
    background-color: #f8f9fa;
}

.why-choose-us .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-choose-us .card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.why-choose-us .card-text {
    color: #6c757d;
}

/* 左右移入动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-3.125rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(3.125rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.left-content .item {
    animation: fadeInLeft 1s ease-in-out forwards;
}

.right-content .item {
    margin-left: 9.375rem;
    animation: fadeInRight 1s ease-in-out forwards;
}

.left-content .title,
.right-content .title {
    color: #666;
    text-align: left;
    margin-left: 1.25rem;
}

.left-content .info p {
    width: 13.375rem;
    font-size: 13px;
    text-align: left;
}

.right-content .info p {
    width: 15.875rem;
    font-size: .8125rem;
    text-align: left;
}

.services_info {
    background: #0051a3;
    border-radius: 50%;
    width: 3.75rem;
    height: 3.75rem;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    transition: .5s ease-in-out;
    animation: ripple 3s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services_info img {
    vertical-align: middle;
    border-style: none;
    margin-right: 0rem !important;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 119, 224, 0.15),
            0 0 0 1px rgba(76, 119, 224, 0.15),
            0 0 0 10px rgba(50, 100, 245, 0.15)
    }

    100% {
        box-shadow: 0 0 0 10px rgba(76, 119, 224, 0.15),
            0 0 0 5px rgba(76, 119, 224, 0.15),
            0 0 0 10px rgba(50, 100, 245, 0);
    }
}

.center-image {
    visibility: visible;
    animation-delay: .6s;
    animation-name: flipInX;
}

@media (max-width: 992px) {
    .center-image {
        display: none;
    }

}

@keyframes flipInX {
    0% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }

    0%,
    40% {
        animation-timing-function: ease-in;
    }

    40% {
        transform: perspective(400px) rotateX(-20deg);
    }

    60% {
        transform: perspective(400px) rotateX(10deg);
        opacity: 1;
    }

    80% {
        transform: perspective(400px) rotateX(-5deg);
    }

    100% {
        transform: perspective(400px);
    }
}

#flow {
    background-color: #f8f9fa;
}

#flow .fas {
    display: inline-block;
    margin-bottom: 1rem;
}

#flow p {
    font-size: 1rem;
    color: #6c757d;
}

#flow .divider {
    width: 3.125rem;
    height: .0938rem;
    background-color: #f6c344;
    position: relative;
    top: -2.5rem;
    /* margin-top: 1rem; */
}

/* 在手机端隐藏横线 */
@media (max-width: 767.98px) {
    #flow .divider {
        opacity: 0 !important;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
    }
}

.nav-item {
    width: 7.5rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: .125rem;
    /* 下划线的高度 */
    background-color: #5570f6;
    transition: width 0.3s ease-in-out;

}

.nav-item a:hover,
a.active {
    color: #5570f6 !important;
}


.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.i-m-l {
    margin-left: 12.5rem;
}

@media (max-width: 767.98px) {
    .i-m-l {
        margin-left: 5.5rem;
    }
}

/* 手机端样式 */
@media (max-width: 768px) {
    .flex-column-on-mobile {
        flex-direction: column;
    }

    .custom-item {
        width: 100%;
        /* 让每个项目占据整个宽度 */
        max-width: 100%;
    }

    .r-l {
        left: -1rem;
    }
}

.i-m-b {
    margin-bottom: 1.25rem;
}

.logo_img {
    width: 20rem;
    height: 8rem;
}

.font-mini a {
    color: inherit;
    /* 继承父元素的颜色 */
    text-decoration: none;
    /* 去掉下划线 */
    outline: none;
    /* 去掉聚焦时的默认轮廓 */
}

.font-mini a:hover {
    text-decoration: none;
    /* 悬停时也不显示下划线 */
    color: inherit;
    /* 悬停时保持颜色不变 */
}

#floating-box {
    position: fixed;
    right: 20px;
    top: 100px;
    display: none;
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#floating-box img.qr-code {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #floating-box {
        display: none !important;
    }
}
.be-icon{
    width: 1.25rem;
    height: 1.25rem;
    margin-right: .3125rem;
}