body {
    background-color: #f0f2f5;
    /* font-family: "SourceHanSansSC-Bold"; */
    font-size: 1vw;
}

.Page1 {
    height: 40vh;
    position: relative;
}

.Page1Content {
    width: 40%;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Page1Content>img {
    width: 10%;
    margin-bottom: 3%;
}

.Page1Content>h1 {
    margin-bottom: 3%;
}

.Page1Content>p {
    letter-spacing: 1px;
}

.page2 {
    width: 100%;
    /* height: 50vh; */
    position: relative;
    display: flex;
    justify-content: center;
}

.page2>div:nth-child(1) {
    width: 80%;
    height: 90%;
    background-color: #fff;
    transform: translateY(-20%);
    border-radius: 20px;
    padding: 2%;
    overflow: hidden;
    animation: UpMove 1s linear forwards;
}

@keyframes UpMove {
    0% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-20%);
    }
}

.NewSwiper {
    width: 100%;
    height: 100%;
}

.NewSlide {
    width: 100%;
    height: 100%;
    display: flex;
}

.NewSlide>div {
    width: 50%;
    height: 100%;
}

.NewSlide>div:nth-child(1)>img {
    object-fit: contain;
}

.NewSlide>div:nth-child(2) {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4%;
}

.NewSlide>div:nth-child(2)>h2 {
    font-size: 1.7vw;
    color: #333333;
    margin-bottom: 3%;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;

}

.NewSlide>div:nth-child(2)>p:nth-child(2) {
    color: #888888;
    margin-bottom: 3%;
}

.NewSlide>div:nth-child(2)>p:nth-child(3) {
    color: #333333;
    margin-bottom: 3%;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.NewSlide>div:nth-child(2)>a>button {
    width: 50%;
    height: 2.65vw;
    color: #fff;
    background-color: #0398DA;
    border: 1px solid #0398DA;
    transition: all .3s ease;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

.NewSlide>div:nth-child(2)>a:hover>button {
    background-color: transparent;
    color: #0398DA;
}

.news {
    display: flex;
    flex-wrap: wrap;
}

.New {
    width: 80%;
}

.certSwiper,
.certSlide {
    width: 100%;
    height: 100%;
}

.certSlide {
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.certSlide>div:nth-child(1) {
    width: 45%;
    height: 100%;
    margin-right: 5%;
}

.certSlide>div:nth-child(1)>img {
    object-fit: contain;
}

.certSlide>div:nth-child(2)>h1 {
    color: #333333;
    margin-bottom: 3%;
}

.certSlide>div:nth-child(2)>p:nth-child(2) {
    color: #888888;
    margin-bottom: 3%;
}

.certSlide>div:nth-child(2)>p:nth-child(3) {
    color: #333333;
    margin-bottom: 3%;
}

.certSlide>div:nth-child(2)>a>button {
    width: 30%;
    height: 50px;
    color: #fff;
    background-color: #0398DA;
    border: 0;
    cursor: pointer;
}


.pagination {
    text-align: right;
}

.pagination>span {
    width: 20px;
    border-radius: 0;
    height: 2px;
}

.page3 {
    width: 100%;
    /* min-height: 800px; */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5%;
}

.page3>ul {
    width: 80%;
    display: flex;
    position: relative;
    margin-bottom: 5%;
}

.page3>ul>li {
    flex: 1;
    height: 60px;
    box-sizing: border-box;
    padding: 0 5%;
}

.page3>ul>li:nth-child(1) {
    text-align: right;
}

.page3>ul>li>a {
    font-size: 1.5vw;
    cursor: pointer;
    position: relative;
    transition: all .3s ease;
    text-align: center;
}

.page3>ul>li>a::before {
    content: '';
    width: 0;
    height: 4px;
    position: absolute;
    left: 0;
    top: 120%;
    background-color: #ED1A23;
    transition: all .3s ease;
}

.page3Active {
    color: #0398DA;
}

.page3Active::before {
    width: 100% !important;
}

.page3SlideA {

    width: calc(100%/3.1);
    min-height: 30vw;
    margin-right: 1%;
    margin-bottom: 3%;
}

.page3Slide {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
    transition: all .3s ease;
}

.page3Slide:hover {
    box-shadow: 4px 4px 15px 0px rgba(0, 0, 0, 0.5);
}

.page3Slide>div:nth-child(1) {
    width: 100%;
    height: 50%;
    margin-bottom: 5%;
}

.page3Slide>div:nth-child(2) {
    width: 90%;
    margin: 0 5%;
}

.page3Slide>div:nth-child(2)>h3 {
    color: #333333;
    margin-bottom: 5%;
}

.page3Slide:hover>div:nth-child(2)>h3 {
    color: #0398DA;
    text-decoration: underline;
}

.page3Slide>div:nth-child(2)>p {
    color: #8A8A8A;
    text-indent: 2vw;
    margin-bottom: 5%;
}

.page3Slide>div:nth-child(3) {
    width: 100%;
    height: 15%;
    display: flex;
    align-items: center;
    margin-top: auto;
    transition: all .3s linear;
}

.page3Slide>div:nth-child(3)>p:nth-child(1) {
    margin-left: 5%;
    color: #888888;
}

.page3Slide>div:nth-child(3)>p:nth-child(2) {
    color: #333333;
    transition: all .3s linear;
    margin-left: auto;
    margin-right: 5%;
    font-weight: bold;
}

.cert {
    width: 80%;
}

.certs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* .cert>div:nth-child(2) {
    display: none;
} */
.certsPagination {
    width: 100%;
    display: none;
    margin-bottom: 5%;
    justify-content: center;
}

.certsPagination>.pagination {
    text-align: left;
    display: flex;
    width: 25%;
    justify-content: space-evenly;
}

.certsPagination>.pagination>li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #0398DA;
    color: #0398DA;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .3s ease;
}

.certsPagination>.pagination>li>a {
    color: #0398DA;
}

.certsPagination>.pagination>li:hover>a {
    color: #fff;
}

.certsPagination>.pagination>li:hover {
    background-color: #0398DA;
    color: #fff;
}

.NewsPagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.NewsPagination>.pagination {
    width: 30%;
    display: flex;
    justify-content: space-evenly;
}

.NewsPagination>.pagination>li {
    width: 2vw;
    height: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #8a8a8a;
    cursor: pointer;
}

.NewsPagination>.pagination>li>a {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.disabled {
    border-color: #8A8A8A !important;
    color: #8A8A8A !important;
}

.active {
    background: #0398DA;
    color: #fff !important;
}

@media (max-width: 1200px) {
    .page3SlideA {
        width: calc(100%/2.1);
    }

    .certsPagination>.pagination {
        width: 40%;
    }

    .news {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 2vw;
    }

    .page3>ul>li>label {
        font-size: 3vw;
    }

    .page3SlideA {
        width: calc(100%/1.1);
        /* height: 50vw; */
    }

    .certSwiper,
    .certSlide {
        height: 90%;
    }

    .page2>div:nth-child(1) {
        padding-bottom: 0;
    }

    .certSlide>div:nth-child(1)>img {
        object-fit: cover;
    }

    .certSlide>div:nth-child(1) {
        display: none;
    }

    .certsPagination>.pagination {
        width: 60%;
    }

    .NewSlide>div:nth-child(2)>a>button {
        height: 4vw;
    }

    .NewSlide>div:nth-child(2)>h2 {
        font-size: 2.6vw;
    }

    .page3>ul>li>a {
        font-size: 2.6vw;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 2.5vw;
    }

    .certsPagination>.pagination {
        width: 80%;
    }
    .NewSlide{
        padding: 8% 0;
    }
    .NewSlide>div:nth-child(2)>a>button {
        width: 100%;
        font-size: 2vw;
    }

    .page3>ul>li>a {
        font-size: 4vw;
    }

    .Page1 {
        height: 20vh;
    }
}