*{
    box-sizing: border-box;
}

body{
    margin:0;
    padding:0;
}

.page-wrapper{
    padding:0 20px;
}

.block-title{
    font-size:32px;
    color:#222;
    font-weight:600;
    margin:0 0 20px;
    position:relative;
    padding-bottom:12px;
    display:inline-block;
}
.block-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:4px;
    background:#222;
}

.block-container{
    max-width:1280px;
    margin:0 auto 5px; 
    position:relative;
    padding-bottom:50px;
}
.block-container .more-link{
    position:absolute;
    right:0;
    bottom:0;
    display:inline-block;
    padding:8px 16px;
    background:#2563eb;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}
.block-container .more-link:hover{
    background:#1d4ed8;
}

.about-block{
    max-width:1280px;
    margin:0 auto;
    width:100%;
}
.about-inner{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap:px;
    align-items: start;
    width:100%;
}
.about-image{
    width:100%;
    min-width:0;
}
.about-image img{
    width:100%;
    height:auto;
    display:block;
}
.about-text{
    width:100%;
    min-width:0;
    max-width:100%;
    display:block;
}
.about-sub-heading{
    font-size:22px;
    color:#4068b7;
    margin:0 0 8px;
    font-weight:500;
}
.about-main-heading{
    font-size:36px;
    color:#222;
    margin:0 0 12px;
}
.about-line{
    width:60px;
    height:3px;
    background-color:#4068b7;
    margin-bottom:24px;
}
.about-text-desc{
    line-height:1.8;
    color:#FFF;
    font-size:16px;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    text-align:left;
}

.about-block,
.about-inner,
.about-text,
.about-text-desc{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:20px;
}
.product-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.product-card:hover{
    transform: translateY(-8px);
    box-shadow:0 14px 30px rgba(0,0,0,0.13);
}
.product-image-wrap{
    width:100%;
    position:relative;
    overflow:hidden;
}

.product-card:hover .product-image{
    transform:scale(1.07);
}
.product-card-title{
    padding:18px 16px 8px;
    font-size:16px;
    color:#333;
    text-align:left;
}
.product-card-action{
    padding:0 16px 18px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}
.product-card:hover .product-card-action{
    opacity: 1;
    transform: translateY(0);
}
.product-card-action a{
    display:inline-block;
    padding:7px 16px;
    background:#2563eb;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}
.product-card-action a:hover{
    background:#1d4ed8;
}

.case-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:20px;
}
.case-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.case-card:hover{
    transform: translateY(-8px);
    box-shadow:0 14px 30px rgba(0,0,0,0.13);
}
.case-image-wrap{
    width:100%;
    position:relative;
    overflow:hidden;
}
.case-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform 0.4s ease;
}
.case-card:hover .case-image{
    transform:scale(1.07);
}
.case-card-title{
    padding:18px 16px 8px;
    font-size:16px;
    color:#333;
    text-align:left;
}
.case-card-action{
    padding:0 16px 18px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}
.case-card:hover .case-card-action{
    opacity: 1;
    transform: translateY(0);
}
.case-card-action a{
    display:inline-block;
    padding:7px 16px;
    background:#2563eb;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}
.case-card-action a:hover{
    background:#1d4ed8;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:20px;
}
.news-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.news-card:hover{
    transform: translateY(-8px);
    box-shadow:0 14px 30px rgba(0,0,0,0.13);
}
.news-image-wrap{
    width:100%;
    position:relative;
    overflow:hidden;
}
.news-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform 0.4s ease;
}
.news-card:hover .news-image{
    transform:scale(1.07);
}
.news-card-title{
    padding:18px 16px 8px;
    font-size:16px;
    color:#333;
    text-align:left;
}
.news-card-action{
    padding:0 16px 18px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
}
.news-card:hover .news-card-action{
    opacity: 1;
    transform: translateY(0);
}
.news-card-action a{
    display:inline-block;
    padding:7px 16px;
    background:#2563eb;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}
.news-card-action a:hover{
    background:#1d4ed8;
}

.friend-link-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:20px 30px;
    align-items:center;
}
.link-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    color:#222;
    text-decoration:none;
    transition:0.2s;
}
.link-item img{
    height:28px;
    width:auto;
    max-width:120px;
    object-fit:contain;
}
.link-item:hover{
    color:#2563eb;
}
.empty-tip{
    color:#999;
    padding:30px 0;
}

.cert-wrap{
  width:100%;
  overflow:hidden;
}
.cert-track{
  display:flex;
  gap:20px;
  transition: transform 0.5s ease;
}
.cert-item{
  flex:0 0 calc(20% - 16px);
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
  cursor:pointer;
}
.cert-image-wrap{
  width:100%;
  padding-top:100%;
  position:relative;
}
.cert-image{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cert-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.cert-arrows{
  display:flex;
  gap:10px;
}
.cert-arrow{
  width:42px;
  height:42px;
  border-radius:50%;
  border:2px solid #222;
  background:#fff;
  color:#222;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cert-arrow:hover{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
}

.img-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.img-popup.show{
    display:flex;
}
.popup-inner{
    position:relative;
    max-width:90%;
    max-height:90%;
}
.popup-inner img{
    max-width:100%;
    max-height:90vh;
    border:4px solid #fff;
    border-radius:4px;
}
.popup-close{
    position:absolute;
    top:-14px;
    right:-14px;
    width:42px;
    height:42px;
    background:#fff;
    color:#333;
    font-size:26px;
    text-align:center;
    line-height:42px;
    border-radius:50%;
    cursor:pointer;
    font-weight:bold;
}
.popup-close:hover{
    background:#2563eb;
    color:#fff;
}
@media(max-width:1024px) and (min-width:769px){
  .cert-item{
    flex:0 0 calc(25% - 15px);
  }
  .product-grid,.case-grid,.news-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .product-card:nth-child() { display: none; }
  .case-card:nth-child()  { display: none; } 
  .news-card:nth-child()  { display: none; } 
}
@media(max-width:768px) and (min-width:641px){
  .cert-item{
    flex:0 0 calc(33.33% - 14px);
  }
  .product-grid,.case-grid,.news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  
  .product-card:nth-child() { display: none; } 
  .case-card:nth-child()  { display: none; } 
  .news-card:nth-child()  { display: none; } 
}
@media(max-width:640px){
  .about-inner{
    grid-template-columns:1fr;
  }
  .about-main-heading{
    font-size:28px;
  }
  .product-grid,.case-grid,.news-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  .cert-item{
    flex:0 0 calc(50% - 10px);
  }
  .cert-arrow{
    width:36px;
    height:36px;
    font-size:16px;
  }

  .product-card:nth-child() { display: none; }
  .case-card:nth-child()  { display: none; } 
  .news-card:nth-child()  { display: none; }
}
