/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft yahei', Arial, "Times New Roman", Times, serif, NeeaSimsun-Regular;;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: #243553;
    color: #fff;
    padding: 5px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text-img {
    height: 70px; /* 调整大小以匹配新的图标高度 */
    width: auto;
    margin-left: 10px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    font-size: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: #fff;
}

/* Main Content */
main {
    padding: 20px 0 50px;
}

/* Banner Section */
.banner-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.banner-item {
    flex: 1;
    overflow: hidden;
}

/* 让第一张 banner 略宽于第二张 */
.banner-section .banner-item:first-child {
    flex: 3;
}

.banner-section .banner-item:last-child {
    flex: 2;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Grid */
.feature-grid {
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    gap: 10px;
}

/* 左右两列布局 */
.col-left {
    flex: 3; /* 占 60% */
    display: flex;
    flex-direction: column;
   
    gap: 10px;
}

.col-right {
    flex: 2; /* 占 40% */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    display: block;
    width: 100%;
    
}

/* 移除之前的 flex-basis 设置，因为现在由父容器 col-left/right 控制宽度 */
/* .card-finance, .card-office, .card-talent, .card-compliance { ... }  已不需要 */

.card-bg {
    position: relative; /* 改为 relative，参与文档流撑开高度 */
    width: 100%;
    height: auto; /* 高度自适应 */
    z-index: 1;
}

.card-bg img {
    width: 100%;
    height: auto; /* 图片按比例自适应 */
    display: block;
    object-fit: contain; /* 保持原图比例 */
}

/* Overlays */
.card-finance .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(10, 30, 60, 0.85); Deep Blue */
}

.card-talent .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(60, 40, 20, 0.8); Brownish */
}

.card-office .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(80, 30, 50, 0.8); Red/Purple */
}

.card-compliance .card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(20, 60, 20, 0.85); Green */
}

.card-content {
    position: absolute; /* 绝对定位，覆盖在图片上 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 40px; /* 补回内边距 */
}

.card-title-zh {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #33c5f3; /* Light blue accent for first word? Or general? */
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-title-zh:hover {
    transform: scale(1.05);
}

/* Specific colors for titles based on image */
.card-finance .card-title-zh { color: #5dade2; }
.card-talent .card-title-zh { color: #f5b041; }
.card-office .card-title-zh { color: #ec7063; }
.card-compliance .card-title-zh { color: #58d68d; }

.card-title-en {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ddd;
    transition: transform 0.3s ease;
    display: inline-block;
}

.card-title-en:hover {
    transform: scale(1.05);
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.3);
    width: 100px;
    margin-bottom: 20px;
}

.feature-list li {
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 0;
}

.feature-list li a {
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-list li a:hover {
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Footer */
.site-footer {
    background-color: #243553;
    color: #aab7c4;
    padding: 50px 0 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.contact-info p {
    margin-bottom: 10px;
}

.qr-group {
    display: flex;
    gap: 20px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 12px;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #7a8ba0;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 16px;
  }
}

@media (max-width: 992px) {
  .logo-text h1 { font-size: 18px; }
  .logo-text h2 { font-size: 14px; }
  .header-content { flex-wrap: wrap; gap: 12px; }
  .main-nav ul { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .main-nav a { font-size: 15px; }

  .banner-section { flex-direction: column; }
  .banner-section .banner-item:first-child,
  .banner-section .banner-item:last-child { flex: initial; width: 100%; }

  .feature-grid { gap: 16px; }
  .col-left, .col-right { flex: 1 1 100%; }

  .card-content { padding: 28px; }
  .card-title-zh { font-size: 22px; }
  .card-title-en { font-size: 16px; }
  .feature-list li { font-size: 14px; }

  .footer-content { flex-direction: column; gap: 24px; }
  .qr-group { gap: 12px; }
  .qr-item img { width: 80px; height: 80px; }
}

@media (max-width: 600px) {
  .container { padding: 0 12px; }
  .logo-img { height: 40px; }
  .main-nav a { font-size: 14px; }
  .card-content { padding: 22px; }
  .card-title-zh { font-size: 20px; }
  .card-title-en { font-size: 15px; }
  .feature-list li { font-size: 13px; }
  .qr-item img { width: 64px; height: 64px; }
}
