:root {
    --primary-color: #d74127;
    --secondary-color: #222;
    --p-size: clamp(0.875rem, 0.648rem + 1.14vw, 1.5rem);/* 14-24 */
    --h2-size: clamp(1.125rem, 0.625rem + 2.5vw, 2.5rem)/* 18-40 */
}

@media (min-width: 1600px) {
    .container {
        max-width: 80%;
    }
}


body {
    font-family: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
    color: #666;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-style {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: white;
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
}

.btn-style:hover,
.btn-style:focus {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

p {
    font-weight: 200;
    font-size: var(--p-size);
}

.border-radius {
    border-radius: clamp(0.625rem, 0.398rem + 1.14vw, 1.25rem);
    overflow: hidden;
}

.navbar {
    padding: 0;
    border-bottom: 1px solid #e7e9ed;
}

.logo {
    padding: 10px 0;
    margin: 0;
}

.logo img {
    width: 160px;
}

.nav-item {
    margin: 0 20px;
}

.nav-link {
    position: relative;
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    padding: 27px 2px;
    line-height: 2em;
}

.nav-link:hover {
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0%;
    background: var(--primary-color);
    height: 3px;
    bottom: 20px;
    border: 0;
    margin: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link.active::before,
.nav-link:hover::before {
    width: 100%;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown .dropdown-menu {
    min-width: auto;
    position: absolute;
    border: 0;
    background-color: var(--secondary-color);
    border-radius: 0;
    opacity: 0;
    top: 110%;
    border-top: 1px solid #e7e9ed;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    top: 100%;
}

.dropdown .dropdown-menu .dropdown-item {
    background-color: transparent;
    line-height: 2em;
    color: #fff;
    padding: 10px 30px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    color: #ccc;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    outline: 0;
    box-shadow: none;
}




@media (max-width: 768px) {
    .logo img {
        width: 120px;
    }

    .nav-link {
        padding: 10px 2px;
    }

    .nav-link::before {
        bottom: 0;
    }

    .dropdown-menu {
        width: 100%;
    }
}

.navbar-collapse.show {
    background-color: #fff;
}

/* carousel */
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
}

/* section-title */
.section-title {
    position: relative;
    margin-bottom: clamp(1.25rem, 0.341rem + 4.55vw, 3.75rem);
}

.section-title span {
    font-size: clamp(1.5rem, 0.682rem + 4.09vw, 3.75rem);
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(to right, #d5171e, #f16b76);
    background: -webkit-linear-gradient(to right, #d5171e, #f16b76);
    /* Safari 5.1-6.0 */
    background: -o-linear-gradient(to right, #d5171e, #f16b76);
    /* Opera 11.1-12.0 */
    background: -moz-linear-gradient(to right, #d5171e, #f16b76);
    /* Firefox 3.6-15 */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: transparent;
}

.section-title h2 {
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
    margin-bottom: 0;
}


.hover-transition {
    transition: transform 0.3s ease;
}

.hover-transition:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.subbaner {
    position: relative;
    padding: clamp(2.5rem, -1.136rem + 18.18vw, 12.5rem) 0;
    overflow: hidden;
}

.section-subtitle {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 10;
}

.section-subtitle h1 {
    font-size: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
    font-weight: 600;
    margin-bottom: .5em;
}

.section-subtitle h2 {
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
    font-weight: 200;
}


.process-img {
    height: clamp(15rem, 9.545rem + 27.27vw, 30rem);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;


}

.process-wrap {
    position: relative;
    display: flex;
    padding: 1rem;
    background-color: #fff;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: calc(-1 * clamp(3.125rem, 0.852rem + 11.36vw, 9.375rem));
    z-index: 8;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.process-steps span {
    font-weight: 600;
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
}

.process-steps img{
    width: clamp(1rem, 0.636rem + 1.82vw, 2rem);
}

.process-steps:nth-child(2) img{
    opacity: .9;
}
.process-steps:nth-child(3) img{
    opacity: .8;
}
.process-steps:nth-child(4) img{
    opacity: .7;
}
.process-steps:nth-child(5) img{
    opacity: .6;
}
.process-steps:nth-child(6) img{
    opacity: .5;
}
.process-steps:nth-child(7) img{
    opacity: .4;
}
.process-steps:nth-child(8) img{
    opacity: .3;
}
@media (max-width:768px) {
    .process-wrap{
        flex-wrap: wrap;
    }    
   .process-steps{
    width: 20%;
   }
}


/* newslist */
.newslist .news-card {
    height: 100%;
    border-radius: 40px 0 40px 0;
    overflow: hidden;
}

.newslist .news-card img {
    border-radius: 0;
}

.newslist .news-card .card-title {
    font-weight: 400;
    line-height: 1.6em;
}

.newslist .news-card .card-title a {
    color: var(--secondary-color);
}

.i-about-top-img {
    width: 100%;
    height: clamp(18.75rem, 11.932rem + 34.09vw, 37.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.i-about-top-img img {
    width: 100%;
}

.i-about-top ul {
    position: relative;
    margin-top: -60px;
    list-style: none;
    background-color: white;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.i-about-top ul span {
    font-size: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
}

@media (max-width:767px) {
    .i-about-top ul li {
        flex: 0 0 50%;
    }
}

.i-about-bottom .section-title {
    color: var(--primary-color);
}
/* i-service */
.i-service{
    overflow: hidden;
}
.i-service-wrapper{
    --width:clamp(12.5rem, 7.955rem + 22.73vw, 25rem);
    display: flex;
    justify-content: center;
    padding: calc(0.8 * var(--width)) 0;
}
.i-service-title {
    position: relative;
    width: var(--width);
    height: var(--width);
    background: radial-gradient(circle, #db343a 0%, #d82229 60%, #f0acad 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(0.625rem, 0.398rem + 1.14vw, 1.25rem);
}
.i-service-title>span{
    color: #fff;
    font-weight: 600;
    margin-bottom: -.8em;
    opacity: .4;
    font-size: clamp(1.25rem, 0.341rem + 4.55vw, 3.75rem);
}
.i-service-title>h2 {
    font-size: clamp(1.125rem, 0.625rem + 2.5vw, 2.5rem);
    font-weight: 600;
    color: #fff;
}
.i-service-title>p {
    color: #fff;
}

.i-service-title::before{
    position: absolute;
    content: "";
    width: 150%;
    height: 150%;
    background: transparent;
    border: #F0ABAE 4px solid;
    border-radius: 50%;
    z-index: -1;
}
.i-service-title::after{
    position: absolute;
    content: "";
    width: 250%;
    height: 250%;
    background: transparent;
    border: #FDF8F8 130px solid;
    border-radius: 50%;
    z-index: -2;
}

/* 描述文字样式 */
.i-service-ico{
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
}
.small-circle {
    width: clamp(5rem, 4.091rem + 4.55vw, 7.5rem);
    height: clamp(5rem, 4.091rem + 4.55vw, 7.5rem);
    font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem);
    background: radial-gradient(circle, #db343a 0%, #d92a30 60%, #f0acad 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    /* padding: 20px; */
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: clamp(0.625rem, 0.398rem + 1.14vw, 1.25rem);
}

.small-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

.i-service-ico .desc {
    font-size: clamp(0.875rem, 0.511rem + 1.82vw, 1.875rem);
    text-align: center;
    padding: 0 10px;
    
}
.i-service-ico .desc span{
    color: var(--primary-color);
    display: block;
}

.bilibili {
    flex-direction: row-reverse;
    justify-content: end;
    left: calc(-1 * var(--width));
    margin-left: -10%;
    margin-top: -20%;
    animation: float 6s infinite ease-in-out;
}

.zhihu {
    left: var(--width);
    margin-left: 10%;
    margin-top: 20%;
    animation: float 6s infinite ease-in-out 2s;
}

.xiaohongshu {
    top: var(--width);
    margin-top: 10%;
    flex-direction: column;
    animation: float 6s infinite ease-in-out 4s;
}

/* 动画效果 */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .bilibili{
        width: 60%;
        flex-direction: column;
        left: calc(-0.6 * var(--width));
        margin-left: 0;
    }
    .zhihu{
        width: 60%;
         flex-direction: column;
         margin-left: 0;
    }

}

/* i-partner */
.i-partner-wrapper{
    padding: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.i-partner-bottom{
    display: flex;
    justify-content: space-between;
    align-items: end;

}

.i-partner-bottom img{
    width: clamp(5rem, 3.182rem + 9.09vw, 10rem);
}

.i-partner-bottom .section-title{
    margin-top: 1rem;
    margin-bottom: 0;
}

.i-partner-bottom .section-title h2{
    margin-bottom: 1em;
}

.i-partner-bottom .section-title span{
    line-height: 1em;
    margin-top: .2em;
}

.i-partner-title{
    display: flex;
    flex-direction: column;
}

.i-partner-title span{
        font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
}
.i-partner-title i{
    font-style: normal;
}
.i-partner-title h2{
    font-size: clamp(1.875rem, 0.284rem + 7.95vw, 6.25rem);
    margin-top: .2em;
}

@media (max-width:768px) {
    
.i-partner-bottom{
    flex-direction: column;
    gap: 1rem;
    align-items: start;
}
}



.i-brand {
    background-image: url(../images/bg-brand.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom center;

}

.i-brand ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.i-brand ul span {
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
}

/* footer */
footer {
    font-size: 14px;
    background-color: var(--secondary-color);
    color: white;
}

footer h5 {
    font-weight: 600;
}

footer p {
    font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}

footer a {
    color: white;
    text-decoration: none;
}

footer img {
    margin-bottom: .5em;
}

/* xhs */
.xhs1-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 20px;
    gap: 3%;
    padding: 2%;
}

.xhs1-item {
    width: 17.4%;
}
@media (max-width:998px) {
    .xhs1-item {
        width: 31%;
    }
}
@media (max-width:767px) {
    .xhs1-item {
        width: 48%;
    }
}

.xhs1-item img {
    border-radius: 20px;
    width: 100%;
    margin-bottom: 2rem;
}

.xhs1-item h3 {
    font-weight: 600;
    color: var(--secondary-color);
}

.sub-bg {
    position: relative;
    padding: clamp(2.5rem, 0.682rem + 9.09vw, 7.5rem) 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.sub-bg-title {
    position: relative;
    z-index: 9;
}

.sub-bg-title h2 {
    font-size: clamp(1.125rem, 0.17rem + 4.77vw, 3.75rem);
    line-height: 1.6em;
    font-weight: 600;
    margin-bottom: 0.5em;
}


.zh1-item {
    padding: clamp(1rem, 0.636rem + 1.82vw, 2rem);
    border: 1px solid #e7e9ed;
    background-color: #fff;
    
}
.zh1-item-title{
    margin-bottom: clamp(1rem, 0.636rem + 1.82vw, 2rem);
    display: flex;
    justify-content: space-between;
}
.zh1-item-title h2{
    font-weight: 600;
}

.zh1-item-title img{
    height: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
}


.guarantee-item {
    display: flex;
    gap: clamp(1rem, 0.636rem + 1.82vw, 2rem);
    height: 100%;
    padding: clamp(1rem, 0.636rem + 1.82vw, 2rem);
}
.guarantee-item img{
    height: clamp(1.875rem, 1.193rem + 3.41vw, 3.75rem);
}

.service-slider {
    display: flex;
}

.service-slider .service-slider-section {
    position: relative;
    overflow: hidden;
}

.service-slider .slider {
    position: relative;
    height: 100%;
    margin: 10% 0 0 5%;
    min-height: clamp(18.75rem, 11.932rem + 34.09vw, 37.5rem);
}

.service-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.service-slider .slide.active {
    opacity: 1;
}

.slide-text{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
    border-radius: 20px;
    padding: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: -10% 10% 0 40%;
}
.slide-text h3{ 
}
.slide-text span{
    text-align: right;
    font-size: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); 
}
.service-slider-wrapper .service-slider-dots {
    margin-top: 3rem;
    display: flex;
    gap: clamp(0rem, -2.273rem + 11.36vw, 6.25rem);
}

.service-slider-wrapper .ssd-item {
    font-size: var(--p-size);
    border-radius: 20px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-slider-wrapper .ssd-item.active {
    color: #fff;
    background: var(--primary-color);
    position: relative;
}

@media (max-width: 768px) {
   .service-slider .slider {
        margin: 10% 0 0 0;
    }
 
}

/* about */
.about ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding-left: 0;
    flex-wrap: wrap;
}

.about ul span {
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
}

.about-content p {
    text-indent: 2em;
    font-weight: 200;
    line-height: 1.6em;
}

@media (max-width:767px) {
    .about ul li {
        flex: 0 0 50%;
        width: 50% !important;
    }
    .service-slider-wrapper .service-slider-dots {
        gap: 0;
    }
}



/* honorlist */
.honorlist-card {
    position: relative;
    text-align: center;
    font-size: clamp(0.875rem, 0.648rem + 1.14vw, 1.5rem);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #eaeaea;
    background: linear-gradient(150deg, #fff, #efefef);
    z-index: 1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.honorlist-card span {
    z-index: 8;
}

.honorlist-card p {
    font-weight: 600;
    margin: 0;
    z-index: 8;
}

.honorlist-card::before {
    position: absolute;
    content: '';
    width: 50%;
    height: 80%;
    top: 10%;
    left: 1rem;
    background-image: url(../images/honorlist-left.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    z-index: 2;
}

.honorlist-card::after {
    position: absolute;
    content: '';
    width: 50%;
    height: 80%;
    top: 10%;
    right: 1rem;
    background-image: url(../images/honorlist-right.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    z-index: 2;
}

.values .card {
    border: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem clamp(0rem, -0.727rem + 3.64vw, 2rem);
}

.values .card span {
    font-size: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
    font-weight: 600;
}

.values .card p {
    font-weight: 200;
}


.news .news-title {
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    text-align: center;
    font-weight: 600;

}

.news .news-date {
    text-align: center;
    font-weight: 200;
    margin-bottom: clamp(1.5rem, 0.682rem + 4.09vw, 3.75rem);
    padding: .5rem 0;
}



.joblist {
    display: flex;
    flex-direction: column;
    gap: .5em;
    text-align: center;
    margin: 2em 0;
}

.joblist span {
    font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
    font-weight: 600;

}

.contact .contact-item {
    display: flex;
    flex-direction: column;
    gap: .5em;
    text-align: center;
    margin: 2em 0;
}

.contact .contact-item i {
    font-size: clamp(1.5rem, 1.136rem + 1.82vw, 2.5rem);
    font-weight: 600;
}


.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
    border: 0;
    outline: none;
    background: #f8f8f8;
    padding: 1rem 1.25rem;
}

.form-textarea {
    resize: none;
    height: 10em;
}

.form-contact .form-textarea {
    resize: none;
    height: 8em;
}

#map-container {
    width: 100%;
    height: 400px;
}

.pagination{
    display: flex;
    gap:1rem;
    margin-top: 2rem;
}
.page-num{
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    border: var(--secondary-color) 1px solid;
    background-color: white;
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    padding: 1rem;

}
.page-num.page-num-current, .page-num:hover{
    background-color: var(--primary-color);
    color: #fff;
}