@import (less) "./common.less?refresh";

@font-face {
    font-family: 'AlimamaFangYuanTiVF';
    src: url('../fonts/AlimamaFangYuanTiVF-Thin-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-size: var(--ft16);
    color: #000;
    .d-flex;

    .flex-column;
    min-height: 100vh;
    font-family: 'AlimamaFangYuanTiVF';

    background: linear-gradient(180deg, #F8FCFF 0%, #F1F5F9 100%);
    height: 100vh;
    @media (max-width: 768px) {}
}

section {
    padding: 10px 0 40px;
}

main {
    flex: 1;
}

.NavCom {
    white-space: nowrap;
    .d-flex;
    .al-c;
font-size: 10px;
    gap: 3px;
    margin-bottom: 20px;
    color: #666666;

    img {
        width: 1.2em;
        margin-right: 0.1em;
    }

}

:root {
    --backtop-color: var(--bgc);
}

.backtop {
    opacity: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    cursor: pointer;
    position: relative;
    border: none;
    position: fixed;
    right: -100px;
    bottom: var(--p50);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: scale(1);
    padding: 10px;
    transition: all 0.3s;
}

.backtop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.backtop:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.backtop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(var(--backtop-color-rgb), 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-sizing: border-box;
}

.backtop:hover::before {
    animation: drawCircleSmooth 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes drawCircleSmooth {
    0% {
        border-color: rgba(var(--backtop-color-rgb), 0.1);
        border-top-color: var(--backtop-color);
        border-right-color: rgba(var(--backtop-color-rgb), 0.1);
        border-bottom-color: rgba(var(--backtop-color-rgb), 0.1);
        border-left-color: rgba(var(--backtop-color-rgb), 0.1);
        transform: rotate(0deg);
    }

    25% {
        border-top-color: var(--backtop-color);
        border-right-color: var(--backtop-color);
        border-bottom-color: rgba(var(--backtop-color-rgb), 0.3);
        border-left-color: rgba(var(--backtop-color-rgb), 0.1);
        transform: rotate(90deg);
    }

    50% {
        border-top-color: var(--backtop-color);
        border-right-color: var(--backtop-color);
        border-bottom-color: var(--backtop-color);
        border-left-color: rgba(var(--backtop-color-rgb), 0.3);
        transform: rotate(180deg);
    }

    75% {
        border-top-color: var(--backtop-color);
        border-right-color: var(--backtop-color);
        border-bottom-color: var(--backtop-color);
        border-left-color: var(--backtop-color);
        transform: rotate(270deg);
    }

    100% {
        border-color: var(--backtop-color);
        transform: rotate(360deg);
    }
}

.backtop::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

.backtop:hover::after {
    opacity: 1;
    animation: rotateCircle 1.2s linear infinite;
    border-top-color: var(--backtop-color);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.backtop svg {
    width: 1.5em;

    path {
        fill: var(--backtop-color);
    }

    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;


}

.backtop:hover svg {
    transform: translateY(-2px);
}

.backtop:active {
    transform: translateY(0) scale(0.95);
    transition: transform 0.1s ease;
}

footer {
    color: #fff;
    background: #0D3760;

    .foot1 {
        padding: 20px 0 40px;

        .main {
            .d-flex;
            .al-fs;
            .jc-s;
        }
    }

    ul {
        .d-flex;
        .al-c;
        gap: vaR(--p15);

        .item {
            width: 1.5em;
        }
    }

    .foot2 {
        background: #0C3158;
        padding: vaR(--p10);
        text-align: center;
    }

    .footerLogo {
        img {
            max-height: 60px;
        }
    }
}

header {
    top: 0;
    padding: vaR(--p15) 0;
    z-index: 999;
    position: sticky;
    background: #fff;
    width: 100%;
    transition: all 0.5s;

    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.14);

    .logo {
        max-width: 50vw;

        img {
            max-height: 50px;
        }
    }

    .hnav {
        .d-flex;
        .jc-s;
        gap: var(--p10) var(--p25);
        .al-c;
        flex-wrap: wrap;
        white-space: nowrap;

        .nav-child {
            position: absolute;
            left: 50%;
            top: 100%;
            font-size: vaR(--ft14);
            text-align: center;
            width: max-content;
            display: block;
            transform: translateX(-50%);
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);

            dl {
                padding: var(--p15);
                display: block;
                width: 100%;
                white-space: nowrap;
                .d-grid;
                gap: vaR(--p10);
            }

            dd {

                padding: 0 var(--p20);
            }

            a {
                position: relative;

                &::after {
                    content: "";
                    display: block;
                    width: 0;
                    height: 1px;
                    background-color: var(--color);
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    background-color: var(--ftc);
                    transition: all 0.3s;

                }

                &.active,
                &:hover {
                    .ftc;

                    &::after {
                        width: 100%;
                    }
                }
            }
        }


        li {
            height: 2em;
            position: relative;

            .flex-center;


            &::after {
                content: "";
                display: block;
                width: 0;
                height: 1px;
                background-color: var(--color);
                position: absolute;
                bottom: 0;
                left: 0;
                transition: all 0.3s;

            }

            &:hover {
                .nav-child {
                    height: auto;
                    opacity: 1;
                }
            }

            &:hover,
            &.active {

                >.item {
                    .ftc;
                }

                &::after {
                    width: 100%;
                }
            }
        }

        .item {
            position: relative;
            overflow: hidden;

            * {
                transition: all 0.5s;
            }

            .t1 {
                position: relative;
                bottom: 0;

            }

            .t2 {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
            }

            &:hover {
                .t1 {
                    bottom: 3em;
                }

                .t2 {
                    top: 0;
                }
            }
        }
    }



    &.bgcolor {}

}

[back-btn] {
    &.down {
        .backtop {
            right: 0;
            visibility: visible;
            opacity: 1;
        }
    }
}

.CorInfo {
    background: #fff;
    border-radius: 8px;
    padding: 20px 15px;
    margin-bottom: 20px;
}

.titleLine {
    margin-bottom: vaR(--p15);

    h1 {

        padding-left: 5px;
        border-left: 2px solid var(--ftc);
        font-size: 18px;
        line-height: 1em;
    }

    .desc {
        color: #555555;
        margin-top: 8px;
        padding-left: 7px;
    }
}

.CorproateMap {
    position: relative;

    .pic {
        border: 1px solid #D9D9D9;
        ;
        border-radius: 8px;
        background: #fff;
    }

    .item {
        position: absolute;

        border: 1.5px solid #FFF;
        .bgc;
        color: #fff;
        border-radius: 50%;
        width: 2.2em;
        height: 2.2em;
        .flex-center;
        font-size: vaR(--ft10);
    }
}

.CorList {

    .d-grid;
    gap: 15px;

    .item {
        background: #fff;
        padding: 20px 15px;
        .d-grid;
        grid-template-columns: auto 1fr auto;
        border-radius: 8px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    }

    h5 {
        font-size: 16px;
        .ftc;
    }

    .sub {
        margin-top: 0.2em;
    }

    .svg {
        .flex-center;
        margin-left: var(--p20);
    }

    svg {
        .ftc;
    }
}

.CorDetails {
    padding-top: 0;

    .main {
        transform: translateY(-20px);
        padding: 20px 15px;
        border-radius: 10px;
        background: #FFFFFF;

    }

    .key {
        .ftc;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .content {
        font-size: var();
        color: #555555;
        line-height: 1.7;
        strong{
            font-weight: bold;
        }
    }

    .other {
        margin: 30px 0;
        .d-grid;
        gap: 20px;

        .item {

            background: #F3F7FB;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            .flex-column-center;
            gap: 10px;

            hr {

                border-radius: 20px;
                background: #6BB4F0;
                width: 3em;
                height: 4px;
            }

            h5 {
                font-size: 24px;
                .ftc;
            }

            .desc {
                font-size: 20px;
            }
        }
    }
}

.CorDetailsTop {

    // background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 91, 167, 0.5) 100%);
    padding-bottom: 10px;

    .img {
        width: 90%;
        margin: 0 auto;
    }
}

.titleCom {
    text-align: center;
    margin: 20px 0 30px;

    h1 {
        .ftc;
        font-size: 24px;
    }

    .desc {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.7;
    }
}

.MataList {
    .d-grid;
    gap: 30px;

    .item {

        padding: 25px;

        border-radius: 8px;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16);
    }

    .img {
        width: 4em;
        height: 4em;

        border-radius: 10px;
        background: rgba(0, 91, 167, 0.1);

        img {
            max-width: 50%;
        }
    }

    .key {
        margin-top: 10px;
        .ftc;
    }

    h5 {
        margin-top: 10px;
        font-size: 20px;
    }

    .desc {
        color: #333;
        font-size: 16px;
        margin-top: 10px;
    }

    .summary {
        margin-top: 15px;

        ul {
            .d-grid;
            gap: 8px;
            width: fit-content;

            li {

                border-radius: 50px;
                background: rgba(0, 91, 167, 0.03);

                border: 1px solid rgba(0, 91, 167, 0.13);
                .d-flex;
                .al-c;
                gap: 5px;
                padding: 4px 10px;
                .ftc;
                font-size: 12px;

                img {
                    width: 1.2em;
                }
            }
        }
    }

    .more {
        .d-flex;
        .al-c;
        gap: 5px;
        .ftc;
        margin-top: 12px;

        img {
            width: 1em;
        }
    }
}

.ChemList {
       .d-grid;
    gap: 30px;

    .item {
        border-top: 3px solid var(--ftc);
        padding: 25px 25px 15px 25px;

        border-radius: 8px;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16);
    }
    .content{
        br{
            display: none;
        }
    }
    .img {
        width: 4em;
        height: 4em;

        border-radius: 10px;
        background: rgba(0, 91, 167, 0.1);

        img {
            max-width: 50%;
        }
    }
    .top{
        .d-flex;
        .al-c;
        .jc-s;
    }
    .key {
        padding: 3px 12px;
        border-radius: 60px;
        background: rgba(207, 245, 254, 1);
    }

    h5 {
        margin-top: 10px;
        font-size: 20px;
    }

    .desc {
        color: #333;
        font-size: 16px;
        line-height: 1.6;
        margin-top: 10px;
    }
    .content{
        margin-top: 15px;
        table{
          td{
              padding: 4px 0;
          }
          tr td:nth-child(1){
              color: #333;
          }
          strong{
              color: #000;
          }
            span{
                .d-flex;
                .al-c;
                .jc-fe;
                gap: 5px;
                img{
                    width: 1.2em;
                }
            }
        }
    }

    .other {
        // margin-top: 20px;
       border-top:1px solid rgba(0, 91, 167, 0.08) ;
    //   padding-top: 15px;
    }
}
.BioList{
         .d-grid;
    gap: 40px;

    .item {
        padding: 15px 25px 15px 25px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16);
    }
    .content{
        br{
            display: none;
        }
    }
    .img {
        width: 3em;
        height: 3em;

        border-radius: 50%;
        background: rgba(0, 91, 167, 0.1);

        img {
            max-width: 50%;
        }
    }
    .top{
        .d-flex;
        .al-c;
        .jc-s;
    }
    .key {
      .ftc;
    }

    h5 {
        font-size: 20px;
    }

    .desc {
        color: #333;
        font-size: 16px;
        line-height: 1.6;
        margin-top: 10px;
    }
    .content{
        margin-top: 20px;
        ul{
            .d-grid;
            gap: 10px;
            .ftc;
            li{
                .d-flex;
                .al-c;
                gap: 5px;
                img{
                    width: 1.7em;
                    height: 1.7em;
                    flex-shrink: 0;  
                }
            }
        }
        table{
            margin-top: 20px;
              border-collapse: separate !important;
             
          border-spacing: 2px;
          font-size:12px;
          img{
              height: 3em !important;
          }
          tr{
             margin-top: 10px; 
          }
          td{
              padding: 10px 0;
              
            border-radius: 10px;
            background: rgba(243, 247, 251, 1);
          }
       
        
        }
    }

    .file{
       margin-top: 20px;
       .d-grid;
       gap: 20px;
       font-size: 16px;
       .file_item{
           .d-flex;
           .al-c;
           gap: 7px;
           border-bottom: 1px solid #66666620;
       }
       *{
           line-height: 1;
       }
       i{
           .ftc;
       }
       span{
           line-height: 1;
        //   .line-clamp1;
               color: var(--ftc);
       }
       img{
           flex-shrink: 0;
           width: 1.4em;
       }
   }
   .Btop{
       margin-top: 20px;
   }
   .BannerSwiper{
        margin-top: 20px;
        .zhenshangyin-wrap{
            
border-radius: 8px;
background: rgba(255, 255, 255, 1);
box-shadow: 0px 0px 4px  rgba(0, 0, 0, 0.18);
        }
        .item{
            height: auto !important;
        }
        .pager{
            position: unset;
            transform: unset;
            margin-top: 10px;
            .zhenshangyin-pager-bullets-bullet{
                width: 0.5em;
                height: 0.5em;
                background: rgba(156, 156, 156, 0.25);
                &.active{
                    .bgc;
                }
            }
        }
    }
}
.IndexMain{
     background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}
.IndexText{
    .d-flex;
    .al-c;
    // padding: 20px 0;
    padding: 0;
    // min-height: 260px;
    color: #fff;
    // background: rgba(0,0,0,0.4);
    h1{
        font-size: 18px;
    }
    .main{
        z-index: 2;
        position: absolute;
        left: 50%;
    transform: translateX(-50%);
    }
    position: relative;
    .IndexVideo{
        
        width: 100vw;
        // height: 100%;
        left: 0;
        top: 0;
        .bg-video{
            width: 100%;
            height: 100%;
        }
    }
}
.IndexPic{
    padding: 40px  0;
}
.IndexSwiper{
    .item{
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        height: auto !important;
      
background: rgba(217, 217, 217, 1);
        .block{
        padding: 30px 20px;
        height: 100%;
    background: linear-gradient(180deg, rgba(91, 160, 218, 0.55) 0%, rgba(69, 103, 132, 0.55) 100%);
            
        }
        h1{
            font-size: 19px;
            color: #fff;
            margin: 20px 0;
        }
        .btn{
            border-radius: 8px;
            --btn_color:#fff;
            color: #000;
            padding: 0 30px;
        }
        .img {
            img{
                height: 3em;
            }
        }
        .top{
            .d-flex;
            .al-c;
            .jc-s;
        }
        .key{
            
border-radius: 60px;
background: rgba(207, 245, 254, 1);
padding: 4px 12px;
        }
        .bg{
            z-index: -1;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
        }
    }
}

@media only screen and (max-width: 1400px) {}

@media only screen and (max-width: 990px) {

    header {
        .logo {
            max-width: 50vw;

            img {
                max-height: 30px;
            }
        }
    }

    footer {
        .footerLogo {

            img {
                max-height: 30px;
            }
        }
    }
}

@media only screen and (max-width: 768px) {}

@media only screen and (min-width: 751px) and (max-width: 1400px) {}

@media only screen and (min-width: 751px) {}