/* Banner */
.zs-banner { position: relative; width: 100%; overflow: hidden; display: block; line-height: 0; font-size: 0; }
.zs-banner-slider { display: flex; transition: transform 0.5s ease-in-out; }
.zs-banner-slide { min-width: 100%; }
.zs-banner-slide img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1920/800; display: block; }
.zs-banner-mobile-img { display: none; }
.zs-banner-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 10; }
.zs-banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.zs-banner-dot.active { background: var(--color-main); }

/* Products Section */
.zs-products { padding-top: 60px; background: url('../img/img_grid_bg.webp') repeat center fixed; background-size: auto; }
.zs-pro-full-wrap { width: 100%; margin: 0 auto; position: relative;}
.zs-pro-wrap { position: relative; margin-top: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 0; overflow: hidden; background: #fff; display: flex; flex-wrap: nowrap; }
.zs-pro-left { width: 61.45%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; min-height: 600px; }
.zs-pro-left-slider { width: 100%; height: 100%; position: relative; }
.zs-pro-left-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
.zs-pro-left-item.active { opacity: 1; z-index: 2; }
.zs-pro-left-item img { width: 100%; height: 100%; object-fit: cover; }
.zs-pro-right { width: 38.55%; background: url('../img/img_pro_bg.webp') no-repeat center; background-size: cover; padding: 50px 40px; color: var(--color-white); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.zs-pro-right-slider { width: 100%; height: 100%; position: relative; display: flex; align-items: center; }
.zs-pro-right-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; opacity: 0; pointer-events: none; z-index: 1; padding: 50px 40px; }
.zs-pro-right-item.active { opacity: 1; pointer-events: auto; z-index: 2; }

/* Animations for active item */
.zs-pro-info-anim { transform: translateY(50px); opacity: 0; transition: transform 0.8s ease-out, opacity 0.8s ease-out; }
.zs-pro-right-item.active .zs-pro-info-anim { transform: translateY(0); opacity: 1; }

.zs-pro-gallery-anim { transform: translateX(100px); opacity: 0; transition: transform 0.8s ease-out 0.3s, opacity 0.8s ease-out 0.3s; }
.zs-pro-right-item.active .zs-pro-gallery-anim { transform: translateX(0); opacity: 1; }

.zs-pro-title { font-size: 24px; margin-bottom: 20px; color: var(--color-white); }
.zs-pro-list { margin-bottom: 30px; }
.zs-pro-list li { display: flex; align-items: flex-start; margin-bottom: 10px; font-size: 15px; }
.zs-pro-list li img { width: 16px; margin-right: 10px; margin-top: 4px; }
.zs-pro-info-anim .zs-btn { align-self: flex-start; }
.zs-pro-gallery { display: flex; gap: 20px; margin-top: 40px; }
.zs-pro-gallery img { width: 120px; height: 120px; object-fit: cover; border-radius: 4px; }
.zs-gallery-title { text-align: center; margin-top: 20px; position: relative; font-size: 12px; color: #ccc; opacity: 0; transition: opacity 0.5s ease-out 0.8s; }
.zs-pro-right-item.active .zs-gallery-title { opacity: 1; }
.zs-gallery-title::before, .zs-gallery-title::after { content: ""; position: absolute; top: 50%; width: 30%; height: 2px; background: linear-gradient(to right, transparent, #c0c1c2); }
.zs-gallery-title::before { left: 0; }
.zs-gallery-title::after { right: 0; background: linear-gradient(to left, transparent, #c0c1c2); }

.zs-pro-nav { position: absolute; bottom: 0; right: 0; display: flex; gap: 1px; z-index: 10; }
.zs-pro-nav-btn { width: 40px; height: 40px; background: #0c234a; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background 0.3s; }
.zs-pro-nav-btn:hover { background: var(--color-main); }

/* Why Us Section */
.zs-why { padding: 60px 0 0; background: url('../img/img_grid_bg.webp') repeat center fixed; background-size: auto; width: 100%; }
.zs-why-desc { margin: 20px 0 40px; color: var(--color-text); font-size: 16px; line-height: 1.8; text-align: center; }
.zs-why-grid { display: flex; padding: 0 13%; margin: 0 auto; background: var(--color-bg-gray); }
.zs-why-grid-inner { display: flex; width: 100%; border-left: 1px solid #ccc; border-right: 1px solid #ccc; }
.zs-why-item { flex: 1; position: relative; padding: 80px 40px 40px; border-right: 1px solid #ccc; display: flex; flex-direction: column; min-height: 350px; overflow: hidden; background-color: transparent; }
.zs-why-item:last-child { border-right: none; }
.zs-why-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.3s; z-index: 1; object-fit: cover; }
.zs-why-item:hover .zs-why-bg { opacity: 1; }
.zs-why-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; transition: color 0.3s; }
.zs-why-item:hover .zs-why-content { color: var(--color-white); }
.zs-why-item::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(32,44,57,0.7); opacity: 0; transition: opacity 0.3s; z-index: 1; }
.zs-why-item:hover::after { opacity: 1; }
.zs-why-text { font-size: 14px; margin-bottom: auto; position: relative; z-index: 2; }
.zs-why-stats { margin-top: 10px; position: relative; z-index: 2; }
.zs-why-stats-title { font-size: 14px; font-weight: bold; width: 120px; margin-bottom: 10px; }
.zs-why-stats-num { font-size: 36px; font-weight: bold; color: var(--color-main); }
.zs-why-item:hover .zs-why-stats-num { color: var(--color-white); }

/* About Us Section */
.zs-about { padding: 80px 0 0 0; background: url('../img/img_about_us2.webp') no-repeat center; background-size: cover; color: var(--color-white); }
.zs-about-top { display: flex; justify-content: space-between; align-items: center; }
.zs-about-title-area { display: flex; position: relative; padding: 16px 0; min-width: 300px; }
.zs-about-line { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--color-main); }
.zs-about-title-content { margin-left: 24px; }
.zs-about-title-content .zs-title-desc, .zs-about-title-content .zs-title-main { color: var(--color-white); }
.zs-about-desc { flex: 1; margin-left: 40px; font-size: 16px; line-height: 1.8; }
.zs-about-features { display: flex; justify-content: space-between; margin-top: 50px; padding: 25px 40px; background: rgba(255,255,255,0.3); backdrop-filter: blur(10px); border-radius: 8px; }
.zs-feature-item { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.zs-feature-item img { width: 24px; }
.zs-about-video { margin-top: 50px; position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 14/4.2; }
.zs-about-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.zs-about-video:hover img { transform: scale(1.05); }

/* Certification Section */
.zs-cert { padding: 100px 0; text-align: center; }
.zs-cert-title { font-size: 30px; color: var(--color-title); margin-bottom: 40px; font-weight: bold; }
.zs-cert-line { width: 120px; height: 4px; background: linear-gradient(to right, #F08200, #ffb347); margin: 0 auto 40px; }
.zs-cert-desc { margin: 0 0 60px; color: var(--color-text); font-size: 16px; line-height: 1.8; }
.zs-cert-btns { display: flex; justify-content: center; gap: 20px; }

/* International Section */
.zs-intl { padding: 100px 0 120px; background: url('../img/img_CAT.jpg') no-repeat center; background-size: cover; color: var(--color-white); }
.zs-intl-content { width: 44%; }
.zs-intl-content .zs-title-desc { color: var(--color-main); font-weight: bold; }
.zs-intl-content .zs-title-main { color: var(--color-white); }
.zs-intl-desc { margin: 40px 0; font-size: 16px; line-height: 1.8; }

/* Contact Info Section */
.zs-contact { background: var(--color-bg-gray); border-top: 1px solid #eee; padding-bottom: 60px; }
.zs-contact-box { background: var(--color-white); padding: 50px; margin-top: -60px; position: relative; z-index: 10; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; }
.zs-contact-left { flex: 1; display: flex; flex-wrap: wrap; gap: 40px; }
.zs-contact-item { display: flex; width: calc(50% - 20px); }
.zs-contact-icon { width: 24px; margin-right: 20px; flex-shrink: 0; }
.zs-contact-text h4 { font-size: 18px; margin-bottom: 10px; }
.zs-contact-text p { color: var(--color-text); font-size: 16px; }
.zs-contact-text a { color: var(--color-text); font-size: 16px; }
.zs-contact-map-link { display: inline-block; margin-top: 10px; color: #F08200 !important; }
.zs-contact-map-link:hover { color: var(--color-main) !important; }
.zs-map-arrow { width: 12px; display: inline; margin-left: 5px; }
.zs-contact-line { width: 1px; background: #eee; margin: 0 60px; }
.zs-contact-right { width: 300px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.zs-contact-right h3 { font-size: 20px; margin-bottom: 24px; }
.zs-contact-right .zs-btn { background: var(--color-title); }

/* Reviews Section */
.zs-reviews { background: var(--color-bg-gray) url(../img/img_review_bg1.webp) no-repeat center bottom; position: relative; }
.zs-review-wrap { margin: 0 5%; display: flex; align-items: flex-start; padding-bottom: 100px; background: url('../img/img_review_bg.webp') no-repeat bottom center; background-size: contain; position: relative; }
.zs-review-quote { width: 40px; margin-top: 80px; flex-shrink: 0; }
.zs-review-content { flex: 1; margin: 0 60px; text-align: center; overflow: hidden; }
.zs-review-slider { display: flex; transition: transform 0.5s ease; align-items: stretch; }
.zs-review-slide { min-width: 100%; display: flex; flex-direction: column; }
.zs-review-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid white; }
.zs-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.zs-review-name { font-size: 16px; font-style: italic; color: var(--color-text); margin-bottom: 24px; }
.zs-review-name span { color: var(--color-main); margin-left: 10px; font-style: normal; }
.zs-review-text { font-size: 18px; color: var(--color-title); line-height: 1.8; }
.zs-review-thumbs { display: flex; justify-content: center; gap: 15px; margin-top: 50px; }
.zs-review-thumb { width: 60px; height: 60px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; overflow: hidden; transition: border-color 0.3s; }
.zs-review-thumb.active { border-color: var(--color-main); }
.zs-review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zs-review-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; background: linear-gradient(135deg, #FFD54F, #FF9800); box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3); z-index: 10; border-radius: 4px; }
.zs-review-nav-btn:hover { background: linear-gradient(135deg, #FFCA28, #F57C00); box-shadow: 0 6px 15px rgba(255, 152, 0, 0.4); }
.zs-review-nav-btn svg path { stroke: #fff; }
.zs-review-prev { left: -50px; }
.zs-review-next { right: -50px; }

/* Blog Section */
.zs-blog { padding: 100px 0; }
.zs-blog-grid { display: flex; gap: 30px; margin-top: 60px; }
.zs-blog-card { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s; background: var(--color-white); display: flex; flex-direction: column; min-width: 0; }
.zs-blog-card:hover { transform: translateY(-5px); }
.zs-blog-img { width: 100%; aspect-ratio: 44/24.8; overflow: hidden; }
.zs-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.zs-blog-card:hover .zs-blog-img img { transform: scale(1.05); }
.zs-blog-info { padding: 24px 30px; flex: 1; display: flex; flex-direction: column; }
.zs-blog-title { font-size: 22px; color: var(--color-title); margin-bottom: 16px; height: 62px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color 0.3s; }
.zs-blog-card:hover .zs-blog-title { color: var(--color-main); }
.zs-blog-desc { font-size: 14px; color: var(--color-text); margin-bottom: 24px; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex: 1; }
.zs-blog-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #eee; margin-top: auto; }
.zs-blog-readmore { font-size: 14px; font-weight: bold; color: var(--color-title); display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.zs-blog-arrow { width: 24px; height: 24px; border-radius: 50%; background-color: var(--color-title); color: var(--color-white); display: flex; justify-content: center; align-items: center; transition: transform 0.3s; }
.zs-blog-card:hover .zs-blog-readmore { color: var(--color-main); }
.zs-blog-card:hover .zs-blog-arrow { transform: translateX(5px); }
.zs-blog-date { font-size: 14px; color: var(--color-text); }


/* Index Responsive Adjustments */
@media (max-width: 992px) {
  .zs-pro-wrap { flex-direction: column; }
  .zs-pro-left { width: 100%; aspect-ratio: 4/3; min-height: auto; }
  .zs-pro-right { width: 100%; padding: 30px 15px;height: 510px;}
  
  .zs-pro-gallery { justify-content: space-between; }
  .zs-pro-gallery img { width: 30%; height: auto; aspect-ratio: 1/1; }
  
  .zs-why-grid { flex-direction: column; border: none; padding: 0; background: transparent; }
  .zs-why-grid-inner { overflow-x: auto; scroll-snap-type: x mandatory; display: flex; scrollbar-width: none; border: none; }
  .zs-why-grid-inner::-webkit-scrollbar { display: none; }
  .zs-why-item { flex: 0 0 100%; scroll-snap-align: start; margin-bottom: 0; border: none !important; }
  
  .zs-why-dots { display: flex !important; justify-content: center; gap: 10px; margin-top: 20px; }
  .zs-why-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; }
  .zs-why-dot.active { background: var(--color-main); }
  
  .zs-why-bg { opacity: 1; }
  .zs-why-content { color: var(--color-white); }
  .zs-why-item::after { opacity: 1; background: rgba(32,44,57,0.7); }
  .zs-why-stats-num { color: var(--color-white); }
  
  .zs-about-top { flex-direction: column; align-items: flex-start; }
  .zs-about-title-area { padding-bottom: 0; }
  .zs-about-desc { margin-left: 0; margin-top: 20px; width: 100%; }
  .zs-about-features { flex-direction: column; gap: 20px; }
  .zs-about-video { aspect-ratio: 16/9; }
  
  .zs-contact-box { flex-direction: column; margin-top: -30px; padding: 30px 15px; }
  .zs-contact-left { width: 100%; flex-direction: column; gap: 20px; }
  .zs-contact-item { width: 100%; }
  .zs-contact-line { width: 100%; height: 1px; margin: 30px 0; }
  .zs-contact-right { width: 100%; }
  
  .zs-review-wrap { flex-direction: column; align-items: center; padding: 0 15px 50px; background-size: cover; }
  .zs-review-quote { margin-top: 30px; margin-bottom: 20px; }
  .zs-review-content { margin: 0; width: 100%; overflow: hidden; }
  .zs-review-prev { left: -10px; }
  .zs-review-next { right: -10px; }
  
  .zs-blog-grid { flex-direction: column; }
  
  .zs-intl{background-position: left;}
  .zs-intl-content { width: 100%; }
}

@media (max-width: 768px) {
  .zs-why-grid { padding: 0; }
  .zs-cert-title { font-size: 24px; }
  .zs-cert-btns { flex-direction: column; }
  
  .zs-why-item { padding: 40px 20px 20px; min-height: 300px; }
  .zs-about { padding: 50px 0; }
  .zs-cert { padding: 50px 0; }
  .zs-intl { padding: 50px 0 60px; }
  .zs-blog { padding: 50px 0; }
}
