*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.67;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.container:after {
  content: "";
  display: block;
  clear: both;
}

/* ========== HEADER ========== */
.header {
  background: #fffe;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 3px 5px #0003;
  backdrop-filter: blur(2px);
}

.header-top {
  display: flex;
  justify-content: space-between;
  height: 80px;
  padding: 20px;
  margin-right: 5.5em;
}

.header-logo img {
  height: 40px;
}

.header-nav {
  flex: 1;
  text-align: right;
}

.header-nav a {
  color: #434343;
  font-size: 16px;
  padding: .5em .75em;
  transition: color 0.3s;
  position: relative;
}

.header-nav a:hover,
.header-nav .active>a {
  color: #f40000;
}

.header-right {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.language {
  margin-top: 5px;
  padding: 2px 5px;
  border-radius: 0.5em;
}

.header-search {
  display: flex;
  align-items: center;
  border-radius: 1em;
  overflow: hidden;
  border: 1px solid #f40000;
}

.header-search input {
  width: 160px;
  height: 28px;
  border: none;
  padding: 0 10px;
  font-size: 12px;
  outline: none;
}

.header-search button {
  height: 28px;
  padding: 0 14px;
  background: #f40000;
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

/* Sub Navigation */
.sub-nav {
  background-color: #eee;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  padding-top: 1.2em;
}

.header-nav li {
  line-height: 2.5;
  display: inline-block;
  vertical-align: middle;
}

.header-nav li:hover .sub-nav,
.header-nav li.active .sub-nav {
  display: block;
}

.header-nav li:hover>a:before,
.header-nav li.active>a:before {
  content: "";
  position: absolute;
  border-bottom: 4px solid #f40000;
  width: 50%;
  top: 2.2em;
  z-index: 1;
  left: 25%;
}

.sub-nav .container {
  display: flex;
  justify-content: center;
  line-height: 2;
}

.sub-nav a {
  font-size: .875em;
}

/* ========== HERO BANNER ========== */
.focus .bd li a {
  padding: 18% 0 !important;
  animation: productBreath 5s infinite;
}

@keyframes productBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.main-banner {
  padding: 16% 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: #fff;
  background-color: #0003;
}

.banner-title {
  text-transform: capitalize;
  font-size: 2em;
  font-family: 'Times New Roman', Times, serif;
}

.banner-desc {
  font-size: 1.25em;
  width: 65%;
  margin: 2em auto 3em;
}

.banner-btn a {
  display: inline-block;
  background-color: #F40000;
  border-radius: 2em;
  padding: 0.5em 1.5em;
  text-transform: capitalize;
}

/* ========== ANIMATION ========== */
.animation {
  opacity: 0;
  transition: all 2s ease;
}

.animaTop {
  transform: translateY(-50%);
}

.animaBottom {
  transform: translateY(30%);
}

.animaLeft {
  transform: translateX(-40%);
}

.animaRight {
  transform: translateX(40%);
}

.animaFlip {
  transform: scaleX(-1);
}

@media (max-width: 540px) {
  .animaTop {
    transform: translateY(-20%);
  }

  .animaBottom {
    transform: translateY(10%);
  }

  .animaLeft {
    transform: translateX(-10%);
  }

  .animaRight {
    transform: translateX(10%);
  }
}

.animaend {
  opacity: 1;
  transform: translate(0, 0) scaleX(1);
}

/* ========== GROUP PROFILE ========== */
.section {
  padding: 60px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid #e1e1e1;
}

.section-title {
  text-transform: uppercase;
  text-align: center;
  font-size: 48px;
  color: #777;
  font-weight: normal;
  font-family: 'Times New Roman', Times, serif;
}

.doubleline {
  margin-bottom: 3em;
  text-align: center;
}

.doubleline:after {
  content: "";
  display: inline-block;
  width: 4em;
  border-bottom: 9px double #f40000;
}

.profile-title {
  font-size: 24px;
  text-transform: capitalize;
}

.profile-text p {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.profile-video {
  cursor: pointer;
  background: url("video-bg.jpg") repeat-y center/contain;
  padding: 3% 0;
  margin: 3% auto;
}

.profile-video video {
  height: 100%;
  object-fit: cover;
  border-radius: .5em;
    width: 80%;
    display: block;
    margin: 1em auto;
    max-width: 720px;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  padding: 30px 0;
  margin-bottom: 50px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.stat-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #ddd;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.1;
}

.stat-number span {
  font-size: 16px;
  font-weight: normal;
}

.stat-label {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

.mainBtn {
  display: inline-block;
  padding: .5em 1.5em;
  color: #f40000;
  background-color: #fff;
  border: 2px solid;
  margin: 0 auto 2em;
}

.mainBtn:hover {
  background-color: #f40000;
  border-color: #f40000;
  color: #fff;
}

/* Subsidiaries */
.subsidiaries-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
  font-weight: normal;
}

.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.subsidiary-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #222;
}

.subsidiary-card img {
  width: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.subsidiary-card:hover img {
  opacity: 1;
}

.subsidiary-card .label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(72, 162, 63, 0.9);
  color: #fff;
  font-size: 11px;
  padding: 8px 10px;
  line-height: 1.3;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  margin-bottom: 36px;
}

.product-grid li {
  text-align: center;
  cursor: pointer;
  background-color: #f7f7f7;
  transition: background 0.5s;
  position: relative;
  border: 1px solid #ddd;
}

.product-grid a {
  display: block;
  height: 100%;
}

.product-grid img {
  opacity: 0.8;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.product-grid span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  color: #fff;
  opacity: 0;
  transition: all 0.5s;
}

.product-grid li:hover {
  background-color: #f40000;
}

.product-grid li:hover img {
  transform: scale(0.9);
  opacity: 0.1;
}

.product-grid li:hover span {
  opacity: 1;
  transform: translateY(-1em);
}

/* ========== THEY TRUST CHUNLAM ========== */
.trust-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}
.trust-logos li{
  border-radius: 20px;
  border: 2px solid #4a7ab5;
  overflow: hidden;
  background-color: #def;
}
.trust-logos img {
    opacity: 1;
  transition: all 0.5s;
}
.trust-logos img:hover{
    transform: scale(1.2) rotate(-5deg);
    opacity: 0.5;
}
/* ========== WHY TRUST CHUNLAM ========== */
.trust-map {
  background: linear-gradient(180deg, #1a3050 0%, #0d1f35 100%);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 36px;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

/* Cert Icons */
.cert-icons {
  text-align: center;
  margin-bottom: 30px;
}

.cert-icons img {
  width: 50%;
  min-width: 24em;
  margin: 0 auto;
}

/* Certificate Carousel */
.cert-carousel {
  position: relative;
  margin-bottom: 36px;
}

.cert-carousel div {
  margin: 0 auto;
}

.cert-carousel li {
  float: left;
  width: 12em;
  margin-right: .5em;
  transition: transform 0.3s;
  border: 1px solid #ddd;
}

.cert-carousel li:hover {
  transform: scale(1.1);
}

.cert-carousel img {
  object-fit: cover;
  border-radius: 4px;
}

.cert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  text-align: center;
  line-height: 50px;
  background: #0001;
  color: #999;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.cert-arrow:hover {
  background: #0003;
}

.cert-arrow.prev {
  left: 0;
}

.cert-arrow.next {
  right: 0;
}

/* ========== DESIGN CENTER ========== */
.section-design {
  background: #000 no-repeat right fixed url("pj2_nzza.jpg")
}

.section-design .subtitle {
  font-size: 15px;
  margin-bottom: 36px;
}

.design-intro {
  margin-bottom: 36px;
}

.design-intro .design-text {
  margin-right: 50%;
}

.design-intro .design-text p {
  font-size: 13px;
  color: #999;
  margin-bottom: 14px;
  line-height: 1.8;
}

.design-features {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin-top: 20px;
}

.design-feature {
  text-align: right;
}

.design-feature h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.design-feature span {
  font-size: 11px;
  color: #999;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-bottom: 36px;
}

.design-grid .item {
  border-radius: .5em;
  overflow: hidden;
  background: #eee;
}

.design-grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.design-grid .item:hover img {
  transform: scale(1.06);
}

/* ========== COMPANY INFO ========== */
.company-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.company-info {
  flex: 1;
}

.company-info h2 {
  font-size: 22px;
  color: #c0392b;
  margin-bottom: 20px;
  font-weight: bold;
}

.company-info p {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.8;
}

.company-info .contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.company-info .contact-item strong {
  color: #333;
  min-width: 60px;
}

.company-logo-area {
  width: 360px;
  text-align: center;
}

.btn-more {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 36px;
  background: #8b6914;
  color: #fff;
  font-size: 13px;
  border-radius: 3px;
  transition: background 0.3s;
}

.btn-more:hover {
  background: #6d5310;
}
/* =========== NEWS ===========*/
.section-news{
    background: #333 no-repeat center/cover url('news-bg.jpg') fixed;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-bottom: 36px;
}
.news-grid a{display: block; color: #fff;}
.news-img {
  transition: background 0.3s;
  border-radius: 3px;
  background: center /102% no-repeat;
  padding: 30%;
  margin-bottom: 1em;
}

.news-img:hover {
  background-size: 110%;
}

.news-grid h2 {
  font-size: 1.1em;
  line-height: 1.35;
  font-weight: normal;
}
.news-grid h2:hover{
    color: #f40000;
} 
.news-time {
  padding-top: 1em;
  color: #ccc;
  font-size: 12px;
}

.news-memo {
  color: #ddd;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== CONTACT FORM ========== */
.form-group {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
}

.form-left {
  flex: 1;
}

.form-right {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.form-control:focus {
  border-color: #8b6914;
  outline: none;
}

.form-control:hover {
  border-color: #6d5310;
}

.form-group textarea {
  height: 8.8em;
  resize: none;
}

.text-center {
  text-align: center;
}

/* ========== BANNER ========== */
.banner {
  background: no-repeat center fixed url(banner.jpg);
  background-size: cover;
  font-size: 1.5em;
  padding: 5em 0;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-top: 3em;
}

/* ========== LIST PAGE ========== */
.breadcrumb {
  padding: 1em 0;
  border-bottom: 1px solid #ddd;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid;
  vertical-align: middle;
  margin: 0 0.5em;
  transform: rotate(45deg);
}

.subcat {
  padding: 1em 0;
  text-align: center;
  white-space: nowrap;
  overflow: auto;
}

.subcat a {
  color: #333;
  margin: 0;
  padding: 0.2em 1em;
  border: none;
  border-right: 1px solid #ddd;
  border-radius: 0.25em;
  transition: background-color 0.3s;
}

.subcat a:last-child {
  border-right: none;
}

.subcat a:hover,
.subcat a.cur {
  background-color: #f40000;
  border-right-color: #f40000;
}

.list {
  margin: 1em auto;
  border: 1px solid #ddd;
  padding: 2em;
}

.list a {
  display: block;
  overflow: hidden;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.list-img {
  object-fit: cover;
  transition: transform 0.3s;
  border-radius: 5px;
  background: #ddd center /cover no-repeat;
  float: left;
  padding: 7% 14%;
}

.list-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.list div {
  overflow: hidden;
  padding: 2em 0 2em 2em;
  font-size: 14px;
}

.list h2 {
  font-size: 18px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-time {
  padding-top: 1em;
  color: #666;
}

.list-memo {
  line-height: 2;
  padding-top: 1em;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== LIST PAGE ========== */
.pager {
  text-align: center;
  margin-bottom: 2em;
  white-space: nowrap;
  padding-top: 1em;
  overflow: hidden;
}

.pager a {
  display: inline-block;
  margin: 0 0.25em;
  background: #fff;
  border: 1px solid #ddd;
  transition: background 0.3s;
  width: 2em;
  text-align: center;
  border-radius: 5px;
}

.pager a:not(.disable):hover,
.pager a.active {
  background-color: #f40000;
  border-color: #f40000;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pager a.disable {
  opacity: 0.5;
  background-color: #ddd;
  cursor: no-drop;
}

/* ========== CONTENT ========== */
.article-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 2em 0 1em;
  text-align: center;
}

.article-time {
  color: #777;
  margin-bottom: 2em;
  text-align: right;
}

.article-content {
  padding: 0 1em;
  text-align: justify;
  word-break: break-all;
  color: #555;
  border: 1em solid #f1f1f1;
}

.article-content img {
  display: block;
  margin: 1em auto;
}

.article-content p {
  margin-bottom: 1em;
}

/* ========== FOOTER ========== */
.footer {
  background: #222;
  color: #aaa;
  padding: 40px 0 0;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  overflow: hidden;
}

.footer-flex>img {
  width: 12%;
  filter: brightness(0) invert(.75);
}

.footer-flex>ul {
  flex: 1;
  margin-right: -6%;
}

.footer-col {
  width: 20%;
  float: left;
  margin-right: 5%;
}

.footer-col h4 {
  border-bottom: 2px solid #555;
  color: #fff;
  margin-bottom: 1em;
  font-weight: normal;
  line-height: 2.4;
  white-space: nowrap;
}

.footer-col h4 a {
  display: inline-block;
  padding: 0 0.5em;
  border-bottom: 2px solid #f40000;
  margin-bottom: -2px;
}

.footer-col p a {
  display: block;
  font-size: .875em;
  color: #aaa;
  line-height: 1.8;
  transition: color 0.3s;
}

.footer-col p a:hover {
  color: #fff;
}

.footer-bottom {
  clear: both;
  background-color: #000;
  text-align: center;
  font-size: .875em;
  padding: 1em 0;
  color: #777;
  margin-top: 1em;
  border-top: 1px solid #555;
}

.footer-bottom a {
  color: #aaa;
  margin: 0 .5em;
}

.footer-bottom a:hover {
  color: #f40000;
}

@media (max-width: 540px) {
  body {
    font-size: 13px;
  }

  .container {
    padding: 0 1em;
  }

  .header-top {
    padding: 5px;
    height: 50px;
    margin-right: 7em;
  }

  .header-search button {
    padding: 0 5px;
  }

  .header-search input {
    width: 80px;
  }

  .header-nav {
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    display: none;
  }

  .header-nav li {
    display: block;
  }

  .header-nav li>a {
    display: block;
    text-align: center;
    background-color: #eee;
  }

  .header-nav li:hover>a::before,
  .header-nav li.active>a::before {
    top: 3.2em;
  }

  .sub-nav {
    padding-top: 0;
    box-shadow: 0 0 0.5em #f009;
    margin: 0 0.5em;
    border-radius: 5px;
    z-index: 1;
  }

  .sub-nav .container {
    display: block;
    text-align: center;
    padding: 0.5em;
  }

  .sub-nav a:before {
    display: none;
  }

  .ds {
    display: block !important;
  }
  .focus .bd li a{padding: 30% !important;}
  #menu_btn {
    display: inline-block;
    position: fixed;
    right: 1em;
    top: 0.75em;
    border: 1px solid;
    cursor: pointer;
    color: #f40000;
    width: 2em;
    height: 2em;
    line-height: 2;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    padding: 1em;
    z-index: 2;
  }

  #menu_btn::before,
  #menu_btn::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1.2em;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transition: top 0.3s, transform 0.3s, box-shadow 0.3s;
    transform: translateX(-50%);
  }

  #menu_btn::before {
    top: 0.5em;
    box-shadow: 0 0.45em 0 currentColor;
  }

  #menu_btn::after {
    top: 1.4em;
  }

  #menu_btn.times::before {
    content: "";
    top: 50%;
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  #menu_btn.times::after {
    content: "";
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .section {
    padding: 2em 0;
  }

  .doubleline {
    margin-bottom: 1em;
  }

  .section-title {
    font-size: 24px;
  }

  .main-banner {
    padding: 10% 0;
    top: 50px;
  }

  .banner-title {
    font-size: 18px;
  }

  .banner-desc {
    font-size: 14px;
    width: 100%;
    margin: 1em auto 2em;
  }

  .banner-btn a {
    padding: 0.25em 0.5em;
    font-size: 12px;
  }

  .stats-bar {
    padding: 1em;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 50%;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 14px;
  }

  .subsidiaries-grid,
  .product-grid,
  .news-grid,
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    gap: 0.25em;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 0.5em;
  }

  .trust-logos li {
    flex: 0 0 48%;
  }

  .cert-carousel li {
    width: 23%;
  }

  .section-design {
    background-position: left top;
  }

  .design-intro .design-text {
    margin-right: 25%;
  }

  .company-content {
    display: block;
  }

  .company-logo-area {
    width: 60%;
    margin: auto;
  }

  .footer-col {
    width: 28%;
  }

  .footer-flex {
    flex-direction: column;
  }

  .footer-flex>img {
    width: 20%;
  }

  .footer-flex>ul {
    margin-right: -5%;
  }

  .banner {
    font-size: 8px;
  }

  .list a {
    padding-bottom: 1em;
    margin-bottom: 1em;
  }

  .list-img {
    float: none;
    display: block;
    margin: auto;
    padding: 24% 48%;
  }

  .list div {
    padding: .5em;
  }

  .list-memo {
    display: none;
  }
}