:root { --primary: #0046ad; --secondary: #0066cc; --accent: #ff6b35; --dark: #1a1a1a; --gray: #666; --light: #f5f5f5; --p-side: 100px; }



/* About Section */
.about-image { 
  text-align: center; /* 将内部行内元素居中 */
}
.about-image img { 
  width: 80%; 
  aspect-ratio: 1260 / 430;
  border-radius: 10px; 
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

/* Services Section */

/* ######################################### 核心优势 Section ######################################### */
.core-advance-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; width: 80%; margin: 0 auto; }
.core-advance-card-wrap { background: #fff; padding: 15px 20px 10px 20px; border-radius: 10px; text-align: center; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); width: calc(31% - 20px); min-width: 300px; min-height: 130px; }
.core-advance-card-wrap:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.core-advance-card {
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: flex-start; /* 左对齐 */
  border-radius: 12px;
  width: 100%;
  /* height: 100%; */
  aspect-ratio: 2.26;
  gap: 10px;
}
/* 左侧图标外圈 */
.core-advance-card .icon-container {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* 图标图片 */
.core-advance-card .icon-container image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 文本布局 */
.core-advance-card .text-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 置顶对齐 */
  align-items: flex-start; /* 左对齐,跟图标水平对齐 */
  flex-grow: 1;
  min-width: 0;
  text-align: left;
  height: 100%;
}

.core-advance-card .text-content .title {
  margin: 0;
  color: #333;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.core-advance-card .text-content .description {
  margin: 8px 0 0 0;
  color: #888;
  letter-spacing: 0.5px;
  line-height:1.6;
  word-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
  margin-top:20px;
}



/* ######################################### 核心业务 Section ######################################### */
.core-business-wrap { display: flex; flex-wrap: wrap; justify-content: center; width: 80%; margin: 0 auto;}
.core-business-contain {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.core-business-row {
    display: flex;
    gap: 30px;
    padding:0 40px;
}

/* 核心布局逻辑 */
/* 第一行：01宽，02窄 */
.core-business-row-1 .core-business-card-01 { flex: 1.4; max-height: 337px; width: calc(60% - 40px);}
.core-business-row-1 .core-business-card-02 { flex: 1; max-height: 337px; width: calc(40% - 40px);}

/* 第二行：03窄，04宽 (04与01等宽) */
.core-business-row-2 .core-business-card-03 { flex: 1;max-height: 337px; width: calc(40% - 40px); }
.core-business-row-2 .core-business-card-04 { flex: 1.4; max-height: 337px; width: calc(60% - 40px);}
.core-business-card {
    background-color: #f0f7ff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.core-business-card:hover {
    transform: translateY(-5px);
}
/* 数字背景样式 */
.core-business-card-top {
    display: flex;              /* 启用弹性布局 */
    justify-content: space-between; /* 核心：子元素向两端对齐，中间留空 */
     /* 可选：让数字和图标在垂直方向居中对齐 */
    align-items: center;    
    /* 置顶对齐 */   
    /* align-items: start; */
    width: 100%;                /* 确保容器占满父级宽度 */
    max-height: 150px;
    padding: 30px 30px;
}
.core-business-number {
    line-height: 1;
    display: block;
    height: 100%; 
    max-height:152px;    
    width: auto;

}
/* 图标占位 (模拟图中深蓝色图标) */
.core-business-icon {
    height: 100%;
    max-height:120px;
}
/* 文字内容样式 */
.core-business-content {
    margin: 30px;
}
.core-business-content .title {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.core-business-content .cases {
    color: #888;
}
/* 简单的SVG模拟图标 */
.core-business-icon-svg { fill: #002651; opacity: 0.9; }






/* service-case Section */
.service-wrap { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin: 0 auto;}
.service-grids { display: grid;grid-template-columns: repeat(4, 1fr); align-items: center;width: 100%; aspect-ratio: 1920 / 801;}
.service-grid {
  display: flex;
  flex-direction: column;    /* 垂直排列子元素 */
  padding: 20px;
  width: 100%; 
  /* aspect-ratio: 801 / 480; */
  height:100%;
  overflow: hidden;
  min-width: 150px;
  min-height: 300px;
  background-repeat: no-repeat;
  /* 等比拉伸铺满 */
  background-size: cover; 
}

/* 图标和标题样式 */
.service-grid .top{
    margin-left: 15%;
    margin-top: 30%;
}

.service-grid .top .title {
    line-height: 1.5;
    word-break: break-all;      /* 防止长英文撑破布局 */
    margin-top: 20px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 关键步骤：将跳转按钮挤到底部 */
.service-grid .bottom {
    margin-top: auto;          /* 核心：自动填满上方空间，将自己推向底部 */
    padding-top: 20px;         /* 确保与文字至少有一定距离 */
    margin-bottom:29%;
    margin-left: 15%;
}

.service-grid .bottom img {
    display: block;            /* 消除图片底部的微小空隙 */
}
.partner-logo { background: #06fa47; border-radius: 10px; text-align: center; font-weight: bold; color: var(--gray); transition: all 0.3s; }
.partner-logo:hover { background: var(--primary); color: #fff; }


/* Responsive Design */
@media (max-width: 1440px) {
    :root { --p-side: 80px; }
    .footer { padding: 60px 80px 30px; }
}

@media (max-width: 1200px) {
    :root { --p-side: 60px; }
}

@media (max-width: 1024px) {
    :root { --p-side: 40px; }
}

@media (max-width: 768px) {
    :root { --p-side: 20px; }
}

@media (max-width: 480px) {
    :root { --p-side: 15px; }
}