/*全局*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style:none;
    text-decoration:none;
}

body {
    min-height: 100vh;
    background: linear-gradient(#ffffff,#c7edff);
    font-family: system-ui, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}




/*顶部区域*/

.sticky_header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  width:100%;
  left:0;
  box-shadow:var(--shadow-sm);
  background:linear-gradient(rgba(0, 183, 255, 0.5),rgb(150, 225, 255,0.5));
  height:80px;
  display:flex;
  align-items:center;
  font-size: 17px;
}

.inner_banner{
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 24px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    height:100%;
}

.brand_bar{
    display:flex;
    align-items: center;
    justify-content:space-between;
    border-bottom:none;
    padding:16px 0;
    width: 500px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: contain; 
}

.logo_text {
    font-size: 30px;       
    font-weight: 700;       
    color: #3f82ff;   
    white-space: nowrap;     
}

.nav{
    height:80px;
    position:relative;
    left:20px;
    display:flex;
    align-items:center;
}


.navlist li{
    float:right;
    height:40px;
    width:100px;
    line-height:40px;
    text-align:center;
}

.navlist a{
    color:#000;
    display:block;
}

.navlist{
    width:800px;
    margin:auto
}

.navlist a:hover{
    background:#fa8
}

.navlist li.contact {
    background-color: #facc15;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
    transition: all 0.2s ease;
}

.navlist li.contact a {
    color: #1e293b !important;
    font-weight: 700;
}

.navlist li.contact:hover {
    background-color: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(250, 204, 21, 0.5);
}

/* 确保其他菜单项不受影响 */
.navlist li:not(.contact) a:hover {
    background: #fa8;
}





/*图片轮播*/

.carousel{
    width:900px;
    height:525px;
    position:relative;
    overflow:hidden;
    border-radius:15px;
    box-shadow:20px 30px 40px rgba(0,0,0,0.25);
    margin: 0 auto;
}

.imgs{
    width:300%;
    height:100%;
    display:flex;
    position:absolute;
    left:0;
    transition:.2s;
}

.img{
    width:100%;
    background-size: contain;     
    background-repeat: no-repeat; 
    background-position: center;  
    position: relative;
}

.img:nth-child(1){
    background-image:url('../images/service-card1.jpg');
}

.img:nth-child(2){
    background-image:url('../images/service-card2.jpg');
}

.img:nth-child(3){
    background-image:url('../images/service-card3.jpg');
}

.img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.img-text {
    bottom: 85px;       
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    position: absolute;
    z-index:3;
}

.img-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.img-desc {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #fff;
}

.min{
    display:flex;
    justify-content:space-evenly;
    position:absolute;
    bottom:30px;
    width:30%;
    z-index:999;
    left:50%;
    transform:translateX(-50%);
}

.m{
    width:20px;
    height:20px;
    cursor:pointer;
    border-radius:50px;
    border:solid rgba(255,255,255,0.5) 5px;
    background-color:#fff;
}

.button{
    width:100%;
    height:100%;
    position:absolute;
    display:flex;
    justify-content:space-between;
    user-select: none;
}

.btn-lft,
.btn-rgt{
    font-size:50px;
    background-color: rgba(160,193,255,0.2);
    padding:0 20px;
    cursor:pointer;
    color:#fff;
    align-items: center;    
    justify-content: center;
    display: flex; 
    z-index: 3;
}

.btn-lft:hover,
.btn-rgt:hover{
  color: #facc15; 
  background-color: rgba(0,0,0,0.4); 
}

.m.active{
    background-color: #2563eb;
    border-color: rgba(37, 99, 235, 0.5);
}





/*服务卡片展示*/


.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}

.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.intro-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.intro-numbers {
  display: flex;
  gap: 32px;
}

.num-item {
  text-align: center;
}

.num-item .num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.num-item .label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.showcase {
  margin-bottom: 80px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 40px;
  column-gap: 24px;
}

.card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(250,204,21,0.3);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-text {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  background: #fff;
}





/*页脚*/

.footer {
  background: #1e293b;        
  color: #cbd5e1;             
  padding: 40px 24px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-info p {
  font-size: 14px;
  line-height: 2;
  margin: 0;
}

.footer-copy {
  font-size: 13px;
  color: #94a3b8;
  align-self: flex-end;
}

