/* 边框合围 1 */
.btn-animate__surround {
    position: relative;
}

.btn-animate__surround:hover {
    border-radius: 0px !important;
}

.btn-animate__surround::before,
.btn-animate__surround::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    background: var(--data-bg1, #fff);
    transition: all 0.3s ease;
}

.btn-animate__surround::before {
    height: 0%;
    width: 2px;
}

.btn-animate__surround::after {
    width: 0%;
    height: 2px;
}

.btn-animate__surround:hover {
    background: transparent !important;
}

.btn-animate__surround:hover::before {
    height: 100%;
}

.btn-animate__surround:hover::after {
    width: 100%;
}

.btn-animate__surround>a {
    display: block;
}

.btn-animate__surround>a:hover {
    color: var(--data-color1, #fff) !important;
}

.btn-animate__surround>a:hover::before {
    height: 100%;
}

.btn-animate__surround>a:hover::after {
    width: 100%;
}

.btn-animate__surround>a::before,
.btn-animate__surround>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--data-bg1, #fff);
    transition: all 0.3s ease;
}

.btn-animate__surround>a:before {
    width: 2px;
    height: 0%;
}

.btn-animate__surround>a:after {
    width: 0%;
    height: 2px;
}

/* 边框合围 2 */
.btn-animate__surround_white:hover {
    border-radius: 0px !important;
}

.btn-animate__surround_white::before,
.btn-animate__surround_white::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-animate__surround_white::before {
    height: 0%;
    width: 2px;
}

.btn-animate__surround_white::after {
    width: 0%;
    height: 2px;
}

.btn-animate__surround_white:hover {
    background: transparent;
}

.btn-animate__surround_white:hover::before {
    height: 100%;
}

.btn-animate__surround_white:hover::after {
    width: 100%;
}

.btn-animate__surround_white>a {
    display: block;
}

.btn-animate__surround_white>a:hover {
    color: #fff !important;
}

.btn-animate__surround_white>a:hover::before {
    height: 100%;
}

.btn-animate__surround_white>a:hover::after {
    width: 100%;
}

.btn-animate__surround_white>a::before,
.btn-animate__surround_white>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-animate__surround_white>a:before {
    width: 2px;
    height: 0%;
}

.btn-animate__surround_white>a:after {
    width: 0%;
    height: 2px;
}

/* 卡片 */
.animate-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animate-card-82 .animate-card__layer {
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.animate-card-82 .animate-card__layer>img {
    width: 100%;
    height: 100%;
}

.animate-card-82 .animate-card__sublayer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 6% 6%;
    margin: auto;
    transform: rotate(-90deg);
    transform-origin: 100% 0%;
    background-color: rgba(102, 186, 200, .9);
    transition: all 0.35s ease;
}

.animate-card-82:hover .animate-card__sublayer {
    width: 95%;
    height: 95%;
    transform: rotate(0deg);
    transform-origin: 0% 100%;
}

/* 按钮箭头向右 */
.animate-button-1 {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;

    outline: none;
    overflow: hidden;
}

.animate-button-1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.icon {
    transition: all 0.3s ease-in-out;
}

.animate-button-1:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.animate-button-1:hover .icon {
    transform: translate(4px);
}

.animate-button-1:hover::before {
    /* animation: shine 1.5s ease-out infinite; */
}

.animate-button-1::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

/* 视频播放按钮 */
.play-button {
    display: inline-block;
    position: absolute;
}

.play-button a {
    display: flex;
    justify-content: center;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background: #f6bf26;
    transition: all 0.3s ease-in-out 0s;
    box-shadow: rgba(246, 191, 38, 0.7) 0px 0px 20px 0px;
    /* animation: 1.2s cubic-bezier(0.8, 0, 0, 1) 0s infinite normal none running pulse; */
    align-items: center;
    border: 5px solid #fff;
}

.play-button a:is(:hover, :focus) {
    transform: scale(1.2);
}

@keyframes pulse {
    100% {
        box-shadow: 0 0 0 45px rgba(193, 244, 246, 0);
    }
}


/* 产品的按钮 */
.product-button {
    background: #004178;
    max-width: 700px;
    transition: 0.5s;
}

.product-button a {
    width: 100%;
    padding: 0 10px 0 10px;
    color: #fff;
    font-size: 18px;
    line-height: 40px;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
    transition: 0.5s;
}

.product-button:hover {
    background: linear-gradient(to left, #24b66f, #88ca4e);
    background-size: cover;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.product-button.active{
    background: linear-gradient(to left, #24b66f, #88ca4e);
    background-size: cover;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.product-button.active a{
    text-decoration: underline;
    transition: 0.5s;
}
.product-button:hover a {
    /* text-decoration: underline; */
    transition: 0.5s;
}

@media (max-width: 767px) {
    .product-button a{line-height:24px;}
}