/* =========== Banner 主视觉区 ========== */
.banner-swiper {
    width: 100%;
    height: auto;
    background: #071c44;
    position: relative;
    margin-top: 12rem;
}

.banner-swiper .swiper-slide {
    height: auto;
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide .container {
    position: relative;
    padding: 0;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-container{
    position: relative; 
    padding: 0;
}

.banner-content {
    position: absolute;
    width: 95%;
    max-width: 160rem;
    z-index: 10;
    pointer-events: none;
}

.banner-btn {
    pointer-events: auto;
}

.banner-content .title {
    font-size: 6.8rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2.6rem;
    text-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
}

.type1 .banner-content,.type2 .banner-content,.type3 .banner-content,.type5 .banner-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.type4 .banner-content {
    top: 10rem;
    left: 50%;
    transform: translate(-50%,0);
}

.type3 .banner-content .title,.type3 .banner-content .subtitle,.type3 .banner-btn,.type4 .banner-content .title,.type4 .banner-content .subtitle,.type4 .banner-btn{
    text-align: center;
}
.type5 .banner-content .title,.type5 .banner-content .subtitle,.type5 .banner-btn{
    text-align: right;
}
.type5 .banner-content .title{
    font-size: 6rem;
}
.type5 .banner-content .subtitle{
    font-size: 2rem;
}


.banner-content .subtitle {
    font-size: 3rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 6.5rem;
}

.swiper-pagination-custom {
    position: absolute;
    bottom: 6rem;
    width: 95%;
    max-width: 1600px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 50;
}

.avatar-container {
    width: 18rem;
    height: 10rem;
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 30px;
    flex-shrink: 0;
    flex-grow: 0; 
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    z-index: -1;
    transform: rotate(10deg);
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    z-index: -2;
    transform: rotate(15deg);
}

.avatar-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.swiper-pagination-custom .avatar-wrapper .avatar {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: none;
}
.swiper-pagination-custom .avatar-wrapper .avatar:first-child {
    display: block;
}

.swiper-pagination-custom .avatar-wrapper .avatar img{
    width: 100%;
    height: 100%;
}

.swiper-pagination-custom .dots-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    height: 10rem;
    bottom: 0;
    flex: 1 1 auto;
    min-width: 20rem;
    justify-content: space-between;
}
.swiper-pagination-custom .dots-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.swiper-pagination-custom .dots-wrapper .swiper-pagination-bullet {
    flex: 1 1 0;
    min-width: 0;
    height: 5px;
    background: none;
    border-radius: 0;
}

.swiper-pagination-custom .dots-wrapper .swiper-pagination-bullet-active {
    background: #ffffff;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 8.2rem;
    height: 10rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0; 
}

.swiper-button-prev-custom {
    background: url(../images/btn_06.png) no-repeat left center;
    background-size: auto auto;
}
.swiper-button-next-custom {
    background: url(../images/btn_10.png) no-repeat right center;
    background-size: auto auto;
}

.swiper-button-prev-custom:hover {
    background: url(../images/btn_12.png) no-repeat left center;
    background-size: 6.2rem auto;
}
.swiper-button-next-custom:hover {
    background: url(../images/btn_03.png) no-repeat right center;
    background-size: 6.2rem auto;
}

/* ========= About 关于我们 =========== */
.about-section {
    padding: 10rem 0 14rem;
}

.about-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.2rem;
    padding-bottom: 2rem;
}

.about-top .title {
    font-size: 6.8rem;
    font-weight: bold;
    color: #0e387a;
}

.about-main {
    display: flex;
    gap: 8rem;
    justify-content: space-between;
}

.about-text-col {
    width: 100rem;
}

.about-text-col .green-line {
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #004693, #60ce94); 
    margin-bottom: 5rem;
}

.about-text-col p {
    font-size: 2rem;
    color: #777;
    margin-bottom: 3rem;
}

.about-text-col p.active {
    color: #157f47;
    font-size: 2.8rem;
    font-weight: bold;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 5rem;
    margin-top: 5rem;
    gap: 4rem;
    border-top: 1px solid #bbb;
}
.about-stats .stat-item {
    flex: 1;
    text-align: center; 
}

.about-stats .stat-item .num {
    font-weight: bold;
    color: #0e387a;
    position: relative;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    padding-right: 4.5rem;
}

.about-stats .stat-item .num .num-val {
    font-size: 8.2rem;
    display: inline-block;
    line-height: 1;
}

.about-stats .stat-item .num .sup {
    position: absolute;
    right: 0;
    font-size: 3.5rem;
}

.about-stats .stat-item .desc {
    font-size: 2rem;
    color: #0e387a;
    margin-top: 0.5rem;
    font-weight: 500;
}
.about-img-col {
    position: relative;
    width: 52rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.about-img-col .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-col .play-btn-wrapper {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    background: #004693;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.about-img-col .play-btn-wrapper:hover {
    transform: scale(1.05);
}

.about-img-col .play-btn-wrapper::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 1.4rem solid #fff;
    border-top: 0.9rem solid transparent;
    border-bottom: 0.9rem solid transparent;
    margin-left: 0.4rem;
}

/* ======= News & Research  ========== */
.news-section {
    background: #eaedf5;
    padding: 11rem 0;
}

.news-grid {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
}

.news-col {
    width: 104rem;
}

.news-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.news-col-header h2 {
    font-size: 6rem;
    color: #0e387a;
    font-weight: bold;
}

.news-cards-wrap {
    display: flex;
    gap: 1.6rem;
}

.news-card {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.news-card .img-wrapper {
    height: 34rem;
    overflow: hidden;
    position: relative;
}

.news-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .date-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 72, 148, 0) 0%, rgba(3, 72, 148, 0.9) 100%);
    z-index: 2;
    opacity: 0;
}

.news-card:hover .date-overlay {
    opacity: 1;
}

.news-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.6rem 1.6rem 1.8rem;
    z-index: 3;
}

.news-card .card-content h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.news-card .card-content .desc {
    font-size: 2.8rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list {
    margin-top: 2rem;
}

.news-list-item {
    padding: 1.6rem 0;
    border-bottom: 1px solid #bbb;
}

.news-list-item .date {
    font-size: 1.8rem;
    color: #999;
    white-space: nowrap;
    display: block;
}

.news-list-item .text {
    display: inline-block;
    width: 100%;
    font-size: 2.8rem;
    color: #333;
    transition: color 0.3s;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list-item .text:hover {
    color: #0e387a;
}

.news-col-btn {
    margin-top: 3rem;
}

.frontier-coll{
    width: 51rem;
}

.frontier-card {
    background: #fff url(../images/inmdex_25.jpg) no-repeat;
    background-size: 100% auto;
    padding: 2rem 2.1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.frontier-list {
    margin: 0;
}

.frontier-list li {
    font-size: 2.8rem;
    padding: 2.1rem 0;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative; 
}
.frontier-list li a{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.frontier-list li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.frontier-list li:last-child::before  {
    display: none;
}

.frontier-list li:hover {
    color: #0e387a;
    font-weight: bold;
}

.frontier-list li:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #004693, #60ce94);
}

.video-modal-overlay {
    display: none; 
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}
.video-modal-overlay.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    background: #000;
    width: 80rem; 
    height: 45rem;
    border-radius: 0.5rem;
    overflow: hidden;
}
.video-modal-content video {
    display: block;
    object-fit: contain;
}

.video-modal-content .video-modal-close {
    position: absolute;
    top: -4rem;
    right: 0;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.video-modal-content .video-modal-close:hover {
    color: #ccc;
}

@media (max-width: 767px) {

    .banner-swiper {
        margin-top: 6rem;
    }

    .banner-swiper .swiper-slide img {
        min-height: 22rem;
        object-fit: cover;
    }

    .banner-content {
        width: 90%;
        top: 45%;
    }

    .banner-content .title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .type3 .banner-content{
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .banner-content .subtitle {
        font-size: 1.4rem;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .type4 .banner-content .title{
        font-size: 2rem;
    }
    .type4 .banner-content .subtitle{
        font-size: 1.4rem;
    }

    .banner-btn .btn {
        font-size: 1.2rem;
        padding: 0.6rem 1.8rem;
        border-width: 1px;
        margin-top: 1rem;
    }

    .swiper-pagination-custom {
        bottom: 2rem;
        width: 92%;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .avatar-container {
        width: 7rem;
        height: 4rem;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .avatar-container::after {
        left: 4px;
        border-radius: 5px;
        transform: rotate(8deg);
    }

    .avatar-container::before {
        left: 8px;
        border-radius: 5px;
        transform: rotate(12deg);
    }

    .avatar-wrapper {
        border-radius: 5px;
    }

    .swiper-pagination-custom .avatar-wrapper .avatar {
        border-radius: 5px;
    }

    .swiper-pagination-custom .dots-wrapper {
        height: 4rem;
        flex: 1;
        min-width: 8rem;
    }

    .swiper-pagination-custom .dots-wrapper::before {
        height: 1px;
        background: rgba(255, 255, 255, 0.25);
    }

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        width: 3.5rem;
        height: 4rem;
        flex-shrink: 0;
    }

    .swiper-button-prev-custom {
        background-size: 2.5rem auto;
    }

    .swiper-button-next-custom {
        background-size: 2.5rem auto;
    }

    .swiper-button-prev-custom:hover {
        background-size: 2.5rem auto;
    }

    .swiper-button-next-custom:hover {
        background-size: 2.5rem auto;
    }

    .about-section {
        padding: 3.5rem 0 3rem;
    }

    .about-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .about-top .title {
        font-size: 2.8rem;
    }

    .about-top .btn {
        align-self: flex-start;
        font-size: 1.2rem;
        padding: 0.6rem 1.8rem;=
    }

    .about-main {
        flex-direction: column;
        gap: 3rem;
    }

    .about-text-col {
        width: 100%;
    }

    .about-text-col .green-line {
        height: 3px;
        margin-bottom: 2.5rem;
    }

    .about-text-col p {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        line-height: 1.8;
    }

    .about-text-col p.active {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
        flex-wrap: wrap;
    }

    .about-stats .stat-item {
        flex: 1 1 30%;
        min-width: 8rem;
    }

    .about-stats .stat-item .num {
        padding-right: 2rem;
    }

    .about-stats .stat-item .num .num-val {
        font-size: 4rem;
    }

    .about-stats .stat-item .num .sup {
        font-size: 1.8rem;
    }

    .about-stats .stat-item .desc {
        font-size: 1.2rem;
        margin-top: 0.3rem;
    }

    .about-img-col {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    .about-img-col .play-btn-wrapper {
        width: 3.5rem;
        height: 3.5rem;
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .about-img-col .play-btn-wrapper::after {
        border-left-width: 1.1rem;
        border-top-width: 0.7rem;
        border-bottom-width: 0.7rem;
        margin-left: 0.3rem;
    }

    .news-section {
        padding: 3.5rem 0;
    }

    .news-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .news-col {
        width: 100%;
    }

    .news-col-header {
        margin-bottom: 1.8rem;
    }

    .news-col-header h2 {
        font-size: 2.8rem;
    }

    .news-cards-wrap {
        flex-direction: column;
        gap: 1.2rem;
    }

    .news-card .img-wrapper {
        height: 20rem;
    }

    .news-card .card-content {
        padding: 1rem 1.2rem 1.2rem;
    }

    .news-card .card-content h4 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .news-card .card-content .desc {
        font-size: 1.6rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card .date-overlay {
        opacity: 0.6;
    }

    .news-list {
        margin-top: 1.5rem;
    }

    .news-list-item {
        padding: 1.2rem 0;
    }

    .news-list-item .date {
        font-size: 1.2rem;
    }

    .news-list-item .text {
        font-size: 1.6rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-col-btn {
        margin-top: 2rem;
    }

    .news-col-btn .btn {
        font-size: 1.2rem;
        padding: 0.6rem 1.8rem;
    }

    .frontier-coll {
        width: 100%;
    }

    .frontier-card {
        background-size: auto 100%;
        background-position: right center;
        padding: 1.5rem;
    }

    .frontier-list li {
        font-size: 1.6rem;
        padding: 1.5rem 0;
    }

    .frontier-list li:hover::before {
        height: 3px;
    }

    .video-modal-content {
        width: 92vw;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 60vh;
        border-radius: 0.4rem;
    }

    .video-modal-content .video-modal-close {
        top: -3rem;
        right: 0.5rem;
        font-size: 2.2rem;
    }

    .btn-outline-white {
        font-size: 1.2rem;
        padding: 0.5rem 1.6rem;
    }

    .btn-primary-filled {
        font-size: 1.2rem;
        padding: 0.6rem 1.8rem;
    }

    .container {
        width: 92%;
        padding: 0;
    }
}