@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,500);

/*
Author: webthemez.com
Author URL: http://webthemez.com
*/
/*************************
*******Typography******
**************************/
body {
    padding-top: 100px;
    background: #fff;
    /*font-family: 'Raleway', sans-serif;*/
    font-weight: 400;
    color: #282828;
    line-height: 26px;
    padding: 0;
}

@media (max-width: 480px) {
    html {
        font-size: 9px
    }

    h1 {
        font-size: 2.5rem
    }

    h2 {
        font-size: 22px !important;
    }

    p {
        font-size: 1.4rem;
        line-height: 22px;
    }

    .special-img {
        height: 270px !important;
    }
    .personal-img {
        margin: 10px auto !important;
        padding: 0;
        text-align: center;
        max-width: 100%;
    }

    .personal-img img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 200px;
        object-fit: contain; /* 保证缩放时不裁剪或拉伸 */
        display: inline-block;
    }


    #special .special-text {
        padding: 35px !important;
        font-size: 1.7rem !important;
        line-height: 3rem !important;
        height: 200px !important;
    }

    .reports-section .card img, .research-section .card img {
        height: 150px !important;
    }

    .reports-section .card-text, .research-section .card-text, .topic-section .card-text, .patents-section .card-text, .conferences-section .card-text {
        -webkit-line-clamp: 3 !important;
    }

    .papers-section h3 {
        font-size: 1.8rem !important;
    }

    .conferences-section .card {
        height: auto !important;
    }

    .paper-list .title {
        font-size: 15px !important;
    }

    .topic-section, .conferences-section, .research-section, .patents-section {
        padding: 0 !important;
    }
}
@media (max-width: 992px) {

    .personal-img {
        margin: 10px auto !important;
        padding: 0;
        text-align: center;
        max-width: 100%;
    }

    .personal-img img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 200px;
        object-fit: contain; /* 保证缩放时不裁剪或拉伸 */
        display: inline-block;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    /*font-family: 'Raleway', sans-serif;*/
    font-family: inherit;
}

a {
    color: #45aed6;
    -webkit-transition: color 400ms, background-color 400ms;
    -moz-transition: color 400ms, background-color 400ms;
    -o-transition: color 400ms, background-color 400ms;
    transition: color 400ms, background-color 400ms;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #D3AF02;
}

hr {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #fff;
}

.gradiant {
    background-image: -moz-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -webkit-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -ms-linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
}

.gradiant-horizontal {
    background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
}

.section-header {
    margin-bottom: 50px;
}

.section-header p {
    text-align: center;
    color: #000000;
}

.section-header .section-title {
    font-size: 44px;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 20px;


    display: block;
    text-align: center;
    color: #be9569;
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 30px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .section-header .section-title {
        font-size: 30px;
    }
}

.section-header .section-title:before {
    content: "-----< o >----";
    position: absolute;
    width: 140px;
    bottom: 4px;
    right: 0;
    width: 100px;
    color: #FFFFFF;
    margin: 0 auto;
    left: 0;
    right: 0;
    height: 8px;
    font-size: 15px;
    font-weight: bolder;
}

.btn {
    border-width: 0;
    border-radius: 0;
}

.btn.btn-primary {
    background: rgb(0, 40, 121);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: rgb(0, 40, 121);
}

.listarrow {
    padding: 0px;
}

.listarrow li {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.listarrow li i {
    padding-right: 17px;
    color: #F6CC07;
    /* font-size: 16px; */
}

.column-title {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #696969;
    margin-bottom: 15px;
    position: relative;
    color: #fff;
}

.column-title:after {
    content: " ";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40%;
}

ul.nostyle {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

ul.nostyle i {
    color: #45aed6;
}

.scaleIn {
    -webkit-animation-name: scaleIn;
    animation-name: scaleIn;
}

.navbar-toggle {
    border-radius: 0;
    margin-top: 20px;
    margin-bottom: 2px;
}

.navbar-nav > li > a {
    text-transform: uppercase;
}

@-webkit-keyframes scaleIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

/*************************
*******Header******
**************************/
#main-nav.navbar-default {
    background: #FFFFFF;
    /* padding: 10px 0; */
}

#main-nav.navbar-default .navbar-nav > li.active > a, #main-nav.navbar-default .navbar-nav > li.open > a, #main-nav.navbar-default .navbar-nav > li:hover > a {
    background: #FFFFFF;
    color: #3A3A3A;
    /* font-weight: bold; */
}

.navbar.navbar-default {
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar.navbar-default .navbar-toggle {
    /*margin-top: 66px;*/
}

.navbar.navbar-default .navbar-brand {
    height: auto;
    padding: 5px 0 0;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    /*color: rgb(215, 174, 126);*/

    background: transparent;
}

.navbar-default .navbar-nav > li > a {
    color: #FFFFFF;
    font-weight: 600;
}

#main-nav.navbar-default {
    /*    background: rgb(42, 45, 63);
        box-shadow: 0px 1px 2px rgba(40, 40, 40, 0.6);*/
}

.navbar-nav > li {
}

#main-nav.navbar-default .navbar-nav > li > a {
    padding-top: 26px;
    padding-bottom: 26px;
    padding-left: 0;
    margin: 0 20px;
    color: #0F2144;
    /*border-top: 4px solid transparent;*/
}

@media only screen and (min-width: 768px) {
    #main-nav.navbar-default {
    }

    #main-nav.navbar-default .navbar-nav > li > a {
    }

    .navbar-default .navbar-nav > li > a {
        color: #0F2144;
    }

    #main-nav.navbar-default .navbar-nav > li.active > a,
    #main-nav.navbar-default .navbar-nav > li.open > a,
    #main-nav.navbar-default .navbar-nav > li:hover > a {
        /*background: rgb(215, 174, 126);*/

        color: #3D3737;

        /*border-top: 4px solid rgb(215, 174, 126);*/
    }

    #main-nav.navbar-default .dropdown-menu {
        padding: 0 20px;
        min-width: 220px;
        background-color: rgba(26, 28, 40, 0.9);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
        background-clip: inherit;
    }

    #main-nav.navbar-default .dropdown-menu > li {
        border-left: 3px solid transparent;
        margin-left: -20px;
        padding-left: 17px;
        -webit-transition: border-color 400ms;
        transition: border-color 400ms;
    }

    #main-nav.navbar-default .dropdown-menu > li > a {
        padding: 15px 0;
        color: #A8A8A8;
    }

    #main-nav.navbar-default .dropdown-menu > li:first-child > a {
        border-top: 0;
    }

    #main-nav.navbar-default .dropdown-menu > li.active,
    #main-nav.navbar-default .dropdown-menu > li.open,
    #main-nav.navbar-default .dropdown-menu > li:hover {
        border-left-color: #45aed6;
    }

    #main-nav.navbar-default .dropdown-menu > li.active > a,
    #main-nav.navbar-default .dropdown-menu > li.open > a,
    #main-nav.navbar-default .dropdown-menu > li:hover > a {
        color: #45aed6;
        background-color: transparent;
    }
}

#cta2 {
    background: #45b1da;
    color: #fff;
    padding-top: 70px;
}

#cta2 .btn {
    margin-top: 10px;
}

#cta2 h2 {
    color: #fff;
    font-size: 44px;
    line-height: 1;
}

#cta2 h2 > span {
    color: #45aed6;
}

#features h2 {
    color: #C3C3C3;
}

#features {
    padding: 100px 0;
    background: #FFFFFF;
    color: #000;
}

#features .media.service-box:first-child {
    margin-top: 80px;
}

#services, #features {
    /*padding: 5px 0 5px;*/
    /*background: #FFFFFF;*/
    /*background: rgb(38,41,55);*/
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#services img {
    width: 100%;
    max-width: 100%; /* 图片宽度最大为容器宽度 */
    height: 100%; /* 保持图片比例 */
    display: inline-block; /* 防止图片溢出 */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); !* 图片阴影（可选） *!*/
}

.media.service-box {
    margin: 25px 0 36px;
    padding: 20px;
    padding-left: 86px;
    position: relative;
    /* background: #F2F2F2; */
    color: #000000;
}

.media.service-box .pull-left {
    margin-right: 20px;
}

.media.service-box .pull-left > i {
    font-size: 35px;
    /* height: 94px; */
    line-height: 53px;
    text-align: center;
    width: 79px;
    color: #085C98;
    /* background:#fff; */
    /* box-shadow: inset 0 0 0 1px #d7d7d7; */
    /* -webkit-box-shadow: inset 0 0 0 1px #d7d7d7; */
    transition: background-color 400ms, background-color 400ms;
    position: absolute;
    padding: 14px;
    /* height: 100%; */
    left: -13px;
    top: -1px;
    vertical-align: middle;
    /* background: #3A3A3A; */
    /* border-radius: 0% 50%; */
    /* height: 80px; */
    /* border: 6px #fff solid; */
    bottom: -1px;
}

.media-heading {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 24px;
}

.demo-2 {
    margin-top: 80px;
    /*margin-bottom: 10px;*/
}

.features .media.service-box .pull-left > i {
    color: rgba(255, 255, 255, 0.68);
    font-size: 64px;
    margin-top: 10px;
    overflow: hidden;
}

.media.service-box:hover .pull-left > i {
}

#portfolio {
    padding: 100px 0;
    background: #3A3A3A;
    background-size: cover;
}

#portfolio .portfolio-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
    display: inline-block;
}

#portfolio .portfolio-filter > li {
    float: left;
    display: block;
}

#portfolio .portfolio-filter > li a {
    display: block;
    padding: 7px 15px;
    margin: 0px 2px;
    color: #FFFFFF;
    position: relative;
    border-bottom: 2px solid transparent;
    background: rgba(145, 145, 145, 0.29);
}

#portfolio .portfolio-filter > li a:hover,
#portfolio .portfolio-filter > li a.active {
    background: rgb(215, 174, 126);
    color: #FFFFFF;
}

#portfolio .portfolio-items {
    margin: -15px;
}

#portfolio .portfolio-item {
    width: 24.9%;
    float: left;
    padding: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

#portfolio .portfolio-item .portfolio-item-inner {
    position: relative;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info {
    opacity: 0;
    transition: opacity 400ms;
    -webkit-transition: opacity 400ms;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 18px 0 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    height: 100%;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info h3 {
    font-size: 16px;
    line-height: 1;
    margin: 0;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-item-inner .portfolio-info .preview {
    width: 60px;
    height: 60px;
    line-height: 36px;
    text-align: center;
    color: #FFFFFF;
    display: block;
    text-align: center;

    margin: 45px auto;
    font-size: 26px;
    border: 0;
    /* background: rgba(239, 239, 239, 1); */
    padding: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

#portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
}

/* Start: Recommended Isotope styles */
/**** Isotope Filtering ****/
.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    line-height: 1.42857143;
    /*border: 1px solid #ddd;*/
    border-radius: 0px;
    padding: 0px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin-bottom: 15px;
}

#testimonial {
    background: #222222;
    background-size: cover;
    padding: 80px 0;
    color: #fff;
    background: url('../images/img2.jpg');
    background-size: cover;
}

#testimonial h2, #testimonial p {
    color: #fff;
}

#testimonial h4 {
    color: #fff;
    margin-bottom: 8px;
}

#testimonial small {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

#testimonial .btns {
    margin-top: 10px;
}

#carousel-testimonial a.btn.btn-primary.btn-sm {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

#about {
    padding: 100px 0;
    background: #fff;
    /* background: url('../images/img2.jpg'); */
    background-size: cover;
}

#about .column-title {
    color: #3A3A3A;
}

#about p {
    font-size: 1.3em;
    color: #3A3A3A;
}

#about h2 {
    color: #3A3A3A;
}

#about .listarrow li {
    color: #3A3A3A;
}

/*Team*/
#our-team {
    padding: 20px 0;
    background: #FFFFFF;
}

#our-team img {
    width: 100%;
    max-width: 100%; /* 图片宽度最大为容器宽度 */
    height: auto; /* 保持图片比例 */
    display: inline-block; /* 防止图片溢出 */
}

#our-team .team-member {
    padding: 0;
}

#our-team .team-member .team-img {
    margin: 0;
    border-radius: 40px;
    overflow: hidden;
    border: 5px solid rgb(215, 174, 126);
}

#our-team .team-member .team-info {
    background: #FFFFFF;
    color: #3A3A3A;
    padding: 7px 0;
    border-top: 2px solid #fff;
}

#our-team .team-member:hover .social-icons > li > a {
    color: rgb(42, 45, 63);
}

#our-team .social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-transition: height 1s; /* For Safari 3.1 to 6.0 */
    transition: height 1s;
    background: #FFFFFF;
    padding: 6px 0 6px;
}

#our-team .social-icons > li {
    display: inline-block;
}

#our-team .social-icons > li > a {
    display: block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: rgb(215, 174, 126);
    background: transparent;
    border-radius: 50%;
    border: 1px solid rgb(215, 174, 126);
    margin: 5px 10px;
}

#our-team .social-icons > li > a:hover {
    color: #fff;
    background: rgb(215, 174, 126);
    border-radius: 50%;
    border: 1px solid rgb(215, 174, 126);

}

/*Testimonial Area*/

.testimonial-area {
    padding-bottom: 60px;
}

.single-testimonial {
    margin-bottom: 30px;
}

.single-testimonial blockquote {
    padding: 15px 20px;
    margin-bottom: 22px;
    position: relative;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
    font-size: 14px;
    background: rgba(66, 66, 66, 0.39);

    color: #D8D8D8;
    line-height: 22px;

    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.39);
}

.single-testimonial blockquote:after {
    /* position:absolute; */
    /* bottom:-19px; */
    /* left:45px; */
    content: "";
    /* border-top: 19px solid rgba(255, 255, 255, 0.29); */

    /* border-right: 22px solid transparent; */
}

.single-testimonial img {
    border-radius: 50%;
    opacity: 0.6;
}

.single-testimonial h5 {
    padding: 8px 0 0px;
    font-size: 16px;
    color: #F6CC07;
}

.progress {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #eeeeee;
}

.progress .progress-bar.progress-bar-primary {
    background-image: -moz-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -webkit-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
    background-image: -ms-linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.nav.main-tab {
    background: #eee;
    border-bottom: 3px solid #222534;
    border-radius: 3px 3px 0 0;
}

.nav.main-tab > li > a {
    color: #272727;
}

.nav.main-tab > li.active > a {
    background: #222534;
    color: #0F2144;
}

.nav.main-tab > li:first-child > a {
    border-radius: 3px 0 0 0;
}

.nav.main-tab > li:last-child > a {
    border-radius: 0 3px 0 0;
}

.navbar-nav {
    margin: 0;
    font-family: Source Han Sans;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    color: #0F2144;
}

/* 圆圈效果的伪元素 */
.navbar-nav li a::after {
    content: '';
    position: absolute;
    top: 50%; /* 圆圈垂直居中 */
    right: 5px; /* 圆圈靠右 */
    width: 0;
    height: 0;
    border: 0.3rem solid rgba(228, 103, 19, 0.3); /* 圆圈颜色 */
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0;
}

/* 鼠标悬停时显示圆圈 */
.navbar-nav li a:hover::after {
    width: 18px; /* 圆圈直径 */
    height: 18px; /* 圆圈直径 */
    opacity: 1;
}

.navbar-nav li.active a::after {
    width: 18px; /* 圆圈直径 */
    height: 18px; /* 圆圈直径 */
    opacity: 1;
}

.navbar-nav li a:focus::after {
    width: 18px; /* 圆圈直径 */
    height: 18px; /* 圆圈直径 */
    opacity: 1;
}

/* 点击时的圆圈效果 */
.navbar-nav li a:active::after {
    width: 14px; /* 点击时圆圈变大 */
    height: 14px;
    transition: all 0.1s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    margin: auto 0;
}

.nav-link {
    font-size: 1.2rem;
}

.sub-navbar {
    position: fixed;
    box-sizing: border-box;
    top: 70px; /* Adjust based on the height of your main navbar */
    width: 100%;
    height: 55px;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px #0F2144 solid
}

.sub-navbar .nav {
    display: flex;
    padding: 5px 0;
}

/* 默认的导航链接样式 */
.sub-navbar .nav-link {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 15px;
    color: #0F2144;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

/* 鼠标悬停时的下划线 */
.sub-navbar .nav-link:hover, .sub-navbar .nav-link:focus {
    border-bottom: 2px #E46713 solid;
    background-color: transparent;
}

/* 当前 section 对应的导航项的黄色下划线 */
.sub-navbar .nav-link.active {
    border-bottom: 2px #E46713 solid; /* 黄色下划线 */
    background-color: transparent;
}

.custom-nav {
    display: flex;
    align-items: center;
}

.custom-logo {
    height: 65px;
    width: 65px;
    border-radius: 50%;
}

.custom-title {
    font-family: Alkalami;
    color: #8FA7B4;
    font-size: 2.2rem;
    font-weight: 500;
    /*margin-left: 10px;*/
}

#personal, #research {
    background: #0F2144;
    color: #F4F7FA;
}

#research {
    padding: 40px;
}

.personal-img {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    max-width: max-content;
    object-fit: cover;
}

.personal-img img {
    width: 100%;
}

.personal-section, .consultation-section, .education-section, .reports-section, .research-section, .award-section, .papers-section, .conferencesList-section {
    padding: 10px;
}

#professional, #topic, #conferences, #patents {
    padding: 60px 40px;
    margin: 0;
    background-color: rgb(196, 209, 215);
}

.professional-section, #patents {
    background-color: #ffffff;
}

.topic-section, .conferences-section, .research-section, .patents-section {
    background-color: #F3F6F7;
    border-radius: 10px;
    padding: 20px;
}

#educational h2, #professional h2, #reports h2, #award h2, #topic h2, #conferences h2, #research h2, #special h2, #patents h2, #papers h2, #conferencesList h2, #consultation h2 {
    position: relative;
    /*padding-left: 2em;*/
    font-size: 2.5rem;
    font-weight: bold;
    color: #0F2144;
    text-align: center;
    margin-bottom: 2.5rem;
}

#research h2, #papers h2 {
    text-align: left;
    padding-left: 0;
}

#special h2 {
    background-color: #0F2144; /* 深蓝色背景 */
    color: white; /* 白色文字 */
    padding: 30px 50px;
    margin: 0;
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%); /* 创建斜边效果 */
}

#special .special-text {
    padding: 80px;
    font-family: Alkalami;
    font-size: 2rem;
    line-height: 4rem;
    color: #3A3A3A;
    text-align: left;
    height: 300px; /* 与图片高度一致 */
    display: flex; /* 使用 Flexbox */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.special-img {
    height: 300px; /* 固定高度 */
}

.special-img img {
    width: auto;
    height: 100%; /* 图片填充满高度 */
    margin: 0 auto; /* 图片水平居中 */
    display: block;
    object-fit: cover; /* 图片裁剪填充 */
}

#educational h2::before, #professional h2::before, #reports h2::before, #award h2::before, #topic h2::before, #conferences h2::before, #patents h2::before, #conferencesList h2::before, #consultation h2::before {
    content: "";
    position: absolute;
    left: calc(50% - 5rem);
    transform: translateX(-150%) translateY(-50%);
    top: 50%;
    width: 0.8em;
    height: 0.8em;
    border: 3px solid #E46713;
    border-radius: 50%;
}

#award h2::before {
    left: calc(50% - 7.5rem);
}

/*#patents h2::before {*/
/*    left: calc(50% - 11rem);*/
/*}*/

#research h2::after, #special h2::after, #papers h2::after {
    content: "";
    position: absolute;
    left: calc(12rem);
    transform: translateX(-150%) translateY(-50%);
    top: 50%;
    width: 0.3em;
    height: 0.3em;
    background-color: #E46713;
}

#special h2::after {
    left: calc(17rem);
}

.reports-section .card,
.research-section .card,
.consultation-section .clinic-card,
.topic-section .card,
.education-section .card,
.conferences-section .card,
.patents-section .card {
    background-color: #FFFFFF;
    /*border: 1px solid #ddd;*/
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.reports-section .card,
.research-section .card,
.education-section .card {
    cursor: pointer;
}

.topic-section .card,
.patents-section .card {
    height: 180px;
}

.conferences-section .card {
    height: 200px;
}

.topic-section .card, .patents-section .card, .conferences-section .card {
    padding: 10px 10px;
}

/* 鼠标滑过时的效果 */
.reports-section .card:hover,
.consultation-section .clinic-card:hover,
.research-section .card:hover,
.topic-section .card:hover,
.education-section .card:hover,
.conferences-section .card:hover,
.patents-section .card:hover {
    /*background-color: #f9f9f9; !* 背景色改变 *!*/
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* 阴影增大 */
    transform: translateY(-2px); /* 向上移动 */
}

.consultation-section .clinic-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background-image: url('../images/consultation/1.png'); /* 设置背景图 */
    background-size: cover; /* 背景图保持比例填充容器 */
    background-position: center; /* 背景图居中 */
    filter: brightness(90%); /* 调整背景亮度 */
}

.consultation-section .online-image {
    background-image: url('../images/consultation/医疗健康体检banner(1).png'); /* 设置背景图 */
    filter: brightness(90%); /* 调整背景亮度 */
}

.consultation-section .content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    padding: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* 背景遮罩效果 */
}

/* 鼠标滑过时文字的效果 */
.reports-section .card:hover .card-body h5,
.research-section .card:hover .card-body h5,
.topic-section .card:hover .card-body h5,
.education-section .card:hover .card-body h5,
.conferences-section .card:hover .card-body h5,
.patents-section .card:hover .card-body h5 {
    color: #E46713; /* 更改标题颜色 */
}


.reports-section .card img, .research-section .card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.reports-section .card-body, .research-section .card-body {
    padding: 15px;
    flex-grow: 1;
}

.reports-section .card-title, .research-section .card-title, .topic-section .card-title, .patents-section .card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0F2144;
}

.topic-section .card-title, .patents-section .card-title, .conferences-section .card-title {
    -webkit-line-clamp: 3;
    line-height: 2.8rem;
}

.reports-section .card-text, .research-section .card-text, .topic-section .card-text, .patents-section .card-text, .conferences-section .card-text {
    color: #555;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topic-section .card-text, .patents-section .card-text {
    -webkit-line-clamp: 3;
}

.consultation-section .guideline-button {
    width: fit-content;
    margin-top: 5px;
    padding: 10px 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.26);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.consultation-section .guideline-button:hover {
    background-color: rgba(169, 172, 177, 0.78);
}

.papers-section h3 {
    font-size: 2.1rem;
    color: #0F2144;
    font-weight: 600;
    padding-top: 20px;
}

.papers-section p {
    margin: 20px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
}

.paper-list {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.paper-list:last-child {
    border-bottom: none;
}

.paper-list .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.papers-section .paper-list .title {
    cursor: pointer;
}

.paper-list:hover .title {
    color: #E46713; /* 更改标题颜色 */
}

.paper-list .author {
    color: #666;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-more {
    margin-top: 20px;
    margin-bottom: 20px;
}

.view-more-btn {
    background-color: #f5f5f5; /* 浅灰背景 */
    color: #333; /* 文字颜色 */
    border: none; /* 去掉边框 */
    border-radius: 8px; /* 圆角 */
    padding: 8px 15px; /* 内边距 */
    font-size: 14px; /* 字体大小 */
    font-weight: normal; /* 字体粗细 */
    display: inline-flex; /* 让箭头和文字水平排列 */
    align-items: center; /* 垂直居中 */
    cursor: pointer; /* 鼠标指针 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.view-more-btn span {
    margin-left: 8px; /* 文字与箭头间距 */
    font-size: 16px; /* 箭头大小 */
    transition: transform 0.3s ease; /* 箭头过渡效果 */
}

.view-more-btn:hover {
    background-color: #eaeaea; /* 悬停背景色 */
    color: #E46713;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* 悬停时加深阴影 */
}

.view-more-btn:hover span {
    transform: translateX(5px); /* 悬停时箭头右移 */
}

.toBack:hover span {
    transform: translateX(-5px) !important; /* 悬停时箭头右移 */
}

/* 默认隐藏子菜单 */
#sub-navbar {
    display: none; /* 初始隐藏子菜单 */
}

/* 显示子菜单时 */
#sub-navbar.visible {
    display: block; /* 显示子菜单 */
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #0F2144;
    color: white;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%); /* 初始隐藏（从右侧滑入） */
    transition: transform 0.3s ease;
    z-index: 9999;
}

.offcanvas-menu .offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.offcanvas-menu .offcanvas-header .close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.offcanvas-menu .offcanvas-nav {
    list-style: none;
    padding: 0;
}

.offcanvas-menu .offcanvas-nav li {
    margin-bottom: 10px;
}

.offcanvas-menu .offcanvas-nav li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
}

.offcanvas-menu .offcanvas-nav li a:hover {
    color: #E46713;
}

/* 侧边栏显示状态 */
.offcanvas-menu.open {
    transform: translateX(0); /* 显示状态 */
}

/* 侧边栏样式 */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #0F2144;
    color: white;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.offcanvas-header .close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.offcanvas-nav {
    list-style: none;
    padding: 0;
}

.menu-item {
    margin-bottom: 15px;
}

.menu-title {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.menu-title:hover {
    color: #E46713;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    display: none; /* 初始状态隐藏子菜单 */
}

.submenu.open {
    display: block; /* 展开状态 */
}

.submenu li {
    margin-bottom: 10px;
}

.submenu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.submenu li a:hover {
    color: #E46713;
}

/* 弹窗样式 */
.guide-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    justify-content: center;
    align-items: center;
}

/* 弹窗内容 */
.guide-modal .modal-content {
    position: relative;
    background-color: #fff;
    margin: 30px auto;
    top: 70px;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh; /* 限制最大高度为80%的视口高度 */
    overflow-y: auto; /* 超出部分显示滚动条 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* 关闭按钮 */
.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

/* 步骤容器 */
.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 自动调整列数，最小200px */
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* 每个步骤的样式 */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 步骤编号 */
.step-number {
    font-size: 16px;
    font-weight: bold;
    color: #0F2144;
}

/* 图片样式 */
.step-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-image:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* 描述文字 */
.step-description {
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.6;
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* 模态框内容 */
.image-modal .modal-content {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
}

/* 图片样式 */
.modal-image {
    max-width: 100%;
    max-height: 80vh;
    cursor: grab;
    transition: transform 0.25s ease;
}

/* 关闭按钮 */
.image-modal .close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
