/* =========================================
   Genu - Paint Protection Film Website
   Bootstrap 5 + Swiper
   ========================================= */

:root {
  --color-dark: #275aa9;
  --color-dark-deep: #1f488a;
  --color-lime: #c9db53;
  --color-lime-dark: #b5c84a;
  --color-accent: #26c6da;
  --color-white: #ffffff;
  --color-text-muted: rgba(255,255,255,0.75);
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: 0.35s ease;
}

/* Swiper silky transition */
.hero-swiper,
.products-swiper,
.blog-swiper {
  /* linear motion = continuous marquee-style silky scroll */
  --swiper-wrapper-transition-timing-function: linear;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Header / Navbar */
.header-main {
  background: rgba(39, 90, 169, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  padding: 0;
}

.header-main.scrolled {
  background: rgba(31, 72, 138, 0.98);
  padding: 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff !important;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.brand-g {
  color: var(--color-lime);
  background: var(--color-lime);
  color: var(--color-dark);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-right: 2px;
}

.brand-rest {
  color: var(--color-white);
}

.navbar-dark .nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.65rem 1.2rem !important;
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

/* ä¸€çº§èœå•åŽ»æŽ‰ä¸‹åˆ’çº¿ */
.navbar-dark .nav-link::after {
  content: none;
}

/* æ‚¬åœ / å½“å‰é¡µï¼šä¸ŽäºŒçº§èœå•é¡¹ä¸€è‡´çš„èƒŒæ™¯è‰²é«˜äº®ï¼ˆlime åº• + æ·±è“å­—ï¼‰ */
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus,
.navbar-dark .nav-link.active {
  background: var(--color-lime);
  color: var(--color-dark) !important;
}

/* ä¸‹æ‹‰å±•å¼€æ—¶ï¼Œä¿æŒä¸€çº§èœå•é«˜äº®ï¼Œè§†è§‰æ›´è¿žè´¯ */
.navbar .nav-item.dropdown:hover > .nav-link,
.navbar .nav-item.dropdown:focus-within > .nav-link {
  background: var(--color-lime);
  color: var(--color-dark) !important;
}

/* ä¸€çº§èœå•é¡¹ä¹‹é—´ç•™ä¸€ç‚¹é—´éš™ï¼ŒèƒŒæ™¯å—ä¸ç›¸äº’è´´åˆ */
.navbar-dark .navbar-nav > .nav-item {
  margin: 0 0.15rem;
}

.lang-switch .dropdown-toggle {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 0.35rem 0.85rem !important;
  margin-left: 0.5rem;
}

.lang-switch .dropdown-toggle::after {
  vertical-align: middle;
}

/* SVG icon base class */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
}

/* Navbar dropdown menus */
.navbar .dropdown-menu {
  background: rgba(31, 72, 138, 0.98);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.navbar .dropdown-item {
  color: #fff;
  font-size: 0.95rem;
  padding: 0.55rem 1.4rem;
  transition: var(--transition);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--color-lime);
  color: var(--color-dark);
}

/* CSS-only hover dropdowns Ã¢â‚¬â€ no Bootstrap JS needed.
   Ã¨ÂÅ“Ã¥Ââ€¢Ã§Â´Â§Ã¨Â´Â´ li Ã¥Âºâ€¢Ã©Æ’Â¨Ã¯Â¼Ë†Ã¦â€”Â  margin Ã©â€”Â´Ã©Å¡â„¢Ã¯Â¼â€°Ã¯Â¼Å’Ã©Â¼Â Ã¦Â â€¡Ã¤Â»Å½Ã¤Â¸Â»Ã¨ÂÅ“Ã¥Ââ€¢Ã§Â§Â»Ã¥Ë†Â°Ã¤Â¸â€¹Ã¦â€¹â€°Ã¨ÂÅ“Ã¥Ââ€¢Ã¤Â¸ÂÃ¤Â¼Å¡Ã¥â€ºÂ Ã§Â»ÂÃ¨Â¿â€¡Ã©â€”Â´Ã©Å¡â„¢Ã¨â‚¬Å’Ã¦Â¶Ë†Ã¥Â¤Â± */
.navbar .nav-item.dropdown { position: relative; }
.navbar .nav-item.dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
  z-index: 1050;
}
.navbar .nav-item.dropdown:hover > .dropdown-menu,
.navbar .nav-item.dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Ã¤Â¸â€¹Ã¦â€¹â€°Ã¨ÂÅ“Ã¥Ââ€¢Ã¤Â¸Â»Ã©Â¡Â¹Ã¦â€”ÂÃ§Å¡â€žÃ§Â®Â­Ã¥Â¤Â´Ã¯Â¼Ë†chevron-downÃ¯Â¼â€° */
.navbar-dark .nav-link.has-caret {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
/* Ã¤Â¸â€¹Ã¦â€¹â€°Ã©Â¡Â¹Ã¯Â¼Å¡Ã§â€Â¨Ã§Â®Â­Ã¥Â¤Â´Ã¦â€ºÂ¿Ã¤Â»Â£Ã¥Å½Å¸Ã¨ÂÅ“Ã¥Ââ€¢Ã¥ÂÂÃ¤Â¸â€¹Ã§Å¡â€žÃ¥Â°ÂÃ¦Â¨ÂªÃ§ÂºÂ¿ */
.navbar-dark .nav-item.dropdown > .nav-link::after { content: none; }

.nav-caret {
  width: 0.75em;
  height: 0.75em;
  transition: transform .25s ease;
}
.navbar .nav-item.dropdown:hover > .has-caret .nav-caret,
.navbar .nav-item.dropdown:focus-within > .has-caret .nav-caret {
  transform: rotate(180deg);
}

/* Lang switch keeps rounded pill */
.lang-switch .nav-link {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 0.35rem 0.85rem !important;
  margin-left: 0.5rem;
}
.lang-switch .nav-link.has-caret { gap: 0.3rem; }
.lang-switch > .dropdown-menu { right: 0; left: auto; }
.lang-switch .nav-link:hover,
.lang-switch .nav-link:focus {
  border-color: var(--color-lime);
}

/* Hero */
.hero-section {
  padding-top: 70px;
}

.hero-swiper,
.hero-swiper .swiper-slide {
  width: 100%;
}

.hero-slide {
  position: relative;
  /* min-height: 600px; */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide-alt {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e536b 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39,90,169,0.85) 0%, rgba(39,90,169,0.35) 100%);
}

.hero-overlay-light {
  background: linear-gradient(0deg, rgba(39,90,169,0.35) 0%, transparent 50%);
}

.hero-slide-bg {
  animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { background-size: 100% auto; background-position: center; }
  100% { background-size: 108% auto; background-position: 52% center; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-subtitle {
  color: var(--color-lime);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  color: var(--color-white);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 1.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
  font-size: 0.75rem;
  text-align: center;
  width: 64px;
}

.feature-icon i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  transition: var(--transition);
}

.feature-icon:hover i {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-dark);
}

.hero-car-wrap {
  position: relative;
  min-height: 280px;
}

.hero-car {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
  animation: floatCar 4s ease-in-out infinite;
}

.hero-car-fallback {
  display: none;
}

@keyframes floatCar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.btn-hero {
  background: var(--color-lime);
  color: var(--color-dark);
  font-weight: 700;
  padding: 0.7rem 2rem;
  border-radius: 30px;
  border: 2px solid var(--color-lime);
  transition: var(--transition);
}

.btn-hero:hover {
  background: transparent;
  color: var(--color-lime);
}

.btn-outline-hero {
  border: 1px solid var(--color-lime);
  color: var(--color-lime);
  border-radius: 30px;
  padding: 0.6rem 1.8rem;
  transition: var(--transition);
}

.btn-outline-hero:hover {
  background: var(--color-lime);
  color: var(--color-dark);
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--color-lime);
  width: 28px;
  border-radius: 5px;
}

.hero-next,
.hero-prev {
  color: var(--color-white) !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.hero-next:hover,
.hero-prev:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-dark) !important;
}

.hero-next::after,
.hero-prev::after {
  font-size: 1.1rem;
}

/* ---------- SVG icon sizing per context ---------- */
.products-next .icon,
.products-prev .icon,
.blog-next .icon,
.blog-prev .icon {
  width: 28px;
  height: 28px;
}

.hot-link .icon {
  width: 30px;
  height: 30px;
}

.factory-play .icon {
  width: 28px;
  height: 28px;
  margin-left: 4px; /* Ã¨Â§â€ Ã¨Â§â€°Ã¥Â±â€¦Ã¤Â¸Â­Ã¯Â¼Ë†Ã¦â€™Â­Ã¦â€Â¾Ã¦Å’â€°Ã©â€™Â®Ã¥ÂÂÃ¥ÂÂ³Ã¯Â¼â€° */
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  margin-top: 4px;
}

.social-links .icon {
  width: 16px;
  height: 16px;
}

.blog-arrow {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.blog-link:hover .blog-arrow { transform: translateX(4px); }

/* Sections */
.section {
  padding: 3rem 0;
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-lime {
  background: var(--color-lime);
  color: var(--color-dark);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--color-white);
}

.section-title-dark {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-dark);
  text-align: left;
}

/* Products */
.products-section {
  background: var(--color-dark);
}

.products-swiper {
  padding-bottom: 3rem;
}

.product-card {
  /* background: rgba(255,255,255,0.05); */
  /* border-radius: 12px; */
  overflow: hidden;
  /* text-align: center; */
  /* padding: 1rem; */
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.product-img {
  border-radius: 10px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 132 / 125;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card h4 {
  font-size: 1rem;
  color: var(--color-white);
  margin: 0;
}

.products-next,
.products-prev,
.blog-next,
.blog-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(31 72 138);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.products-next:hover,
.products-prev:hover,
.blog-next:hover,
.blog-prev:hover {
  background: var(--color-lime);
  color: var(--color-dark);
}

/* Ã§Â®Â­Ã¥Â¤Â´Ã¦â€¢Â´Ã¤Â½â€œÃ¦â€Â¾Ã¥Å“Â¨Ã¨Â½Â®Ã¦â€™Â­Ã¥Å’ÂºÃ¥Å¸Å¸Ã¥â€ â€¦Ã¯Â¼Å’Ã¥Â®Å’Ã¦â€¢Â´Ã¦ËœÂ¾Ã§Â¤ÂºÃ¯Â¼Å’Ã¤Â¸ÂÃ¥â€ ÂÃ¨Â¢Â«Ã¨Â£ÂÃ¦Å½â€°Ã¤Â¸â‚¬Ã¥ÂÅ  */
.products-next,
.blog-next {
  right: 0.75rem;
}

.products-prev,
.blog-prev {
  left: 0.75rem;
}

.products-next::after,
.products-prev::after,
.blog-next::after,
.blog-prev::after {
  display: none;
}

.products-pagination .swiper-pagination-bullet,
.blog-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
}

.products-pagination .swiper-pagination-bullet-active,
.blog-pagination .swiper-pagination-bullet-active {
  background: var(--color-lime);
}

/* Hot Categories */
.hot-section {
	background-image: url(../images/bg.png);
	background-repeat: repeat;
}

.hot-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  /* min-height: 360px; */
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.hot-bg {
  display: block;
  width: 100%;
  height: auto; /* Ã©Â«ËœÃ¥ÂºÂ¦Ã¨â€¡ÂªÃ©â‚¬â€šÃ¥Âºâ€Ã¥â€ºÂ¾Ã§â€°â€¡Ã¦Å“Â¬Ã¨ÂºÂ«Ã¦Â¯â€Ã¤Â¾â€¹ */
  transition: transform 0.6s ease;
}

.hot-card:hover .hot-bg {
  transform: scale(1.1);
}

.hot-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(0deg, rgba(39,90,169,0.95) 0%, rgba(39,90,169,0.2) 60%, transparent 100%); */
  transition: var(--transition);
}

.hot-card:hover .hot-overlay {
  background: linear-gradient(0deg, rgba(39,90,169,0.98) 0%, rgba(39,90,169,0.55) 80%, rgba(39,90,169,0.3) 100%);
}

.hot-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  color: var(--color-white);
  width: 100%;
}

.hot-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hot-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.hot-card:hover .hot-content p {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 1rem;
}

.hot-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  transition: var(--transition);
}

.hot-link:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-dark);
}

/* Factory */
.factory-banner {
  /* height: 320px; */
  overflow: hidden;
}

.factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39,90,169,0.55);
}

.factory-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.factory-play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  transition: var(--transition);
  cursor: pointer;
}

.factory-play:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-dark);
  transform: scale(1.1);
}

.factory-label {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.factory-info {
  background: var(--color-dark);
}

.factory-subtitle {
  color: var(--color-lime);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.factory-title {
  color: var(--color-white);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.factory-text {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.7;
}

.stats-row {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.stat-item {
  padding: 1rem 0rem;
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-lime);
  display: inline;
}

.stat-unit {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-lime);
  display: inline;
}

.stat-item p {
  color: rgb(201 219 83);
  font-size: 1.2rem;
  margin-top: 0.25rem;
  line-height: normal;
  font-weight: 500;
}

.gallery-img {
  border-radius: 10px;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  /* height: 150px; */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img:hover img {
  transform: scale(1.1);
}

/* Partners */
.partners-section {
 background-image: url(../images/bg.png);
}

.partner-item {
  padding: 1rem;
  border-radius: 10px;
  transition: var(--transition);
}

.partner-item:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-4px);
}

.partner-item img {
  max-width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: var(--transition);
}

.partner-item:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
}

.brand-section-img img {
  max-width: 100%;
  height: auto;
}

/* Blog */
.blog-section {
  background: var(--color-dark);
}

.blog-swiper {
  padding: 0 1rem 1rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.blog-img {
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  /* height: auto; */
  /* aspect-ratio: 176 / 90; */
  object-fit: contain;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

.blog-body {
  padding: 1.25rem;
}

.blog-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}

.blog-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--color-lime-dark);
}

.blog-link i {
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* Footer */
.footer-main {
  background: var(--color-lime);
  color: var(--color-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand .brand-g {
  background: var(--color-dark);
  color: var(--color-lime);
}

.footer-brand .brand-rest {
  color: var(--color-dark);
}

.footer-desc {
  color: rgba(39,90,169,0.8);
  /* font-size: 0.9rem; */
  max-width: 90%;
}

/* é¡µè„šç•™è¨€æ¡†ï¼ˆå§“å + é‚®ç®± + æäº¤ï¼‰ */
.newsletter-form {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 450px;
}

.newsletter-form .form-control {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(39,90,169,0.18);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  color: var(--color-dark);
  box-shadow: none;
  transition: var(--transition);
}

.newsletter-form .form-control::placeholder {
  color: rgba(39,90,169,0.5);
}

.newsletter-form .form-control:focus {
  background: #fff;
  border-color: var(--color-dark);
  box-shadow: 0 0 0 0.2rem rgba(39,90,169,0.15);
}

.btn-newsletter {
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  color: var(--color-lime);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  transition: var(--transition);
}

.btn-newsletter:hover,
.btn-newsletter:focus {
  background: var(--color-dark-deep);
  border-color: var(--color-dark-deep);
  color: var(--color-lime);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(39,90,169,0.3);
}

.footer-main h5 {
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.footer-links a {
  color: #275aa9;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-dark);
  padding-left: 4px;
}

.footer-contact li {
  color: rgba(39,90,169,0.85);
}

.footer-contact i {
  margin-right: 0.5rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(39,90,169,0.15);
  color: rgba(39,90,169,0.7);
}

/* Modal */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
}

/* Scroll-reveal animations live further down (see "[data-anim]") */
.partner-col {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 30px;
}

.partner-img img {
    /* display: block; */
    max-width: 100%;
    /* margin-bottom: 30px; */
    /* height: auto; */
}
.partner-img{text-align:center;height: 100%;display: flex;align-content: center;flex-wrap: wrap;align-items: center;justify-content: center;}




/* =========================================
   About Us page Ã¢â‚¬â€ middle sections
   (About Us / Factory Overview / Why Choose Us / Certifications)
   ========================================= */

/* Page headings (left aligned + centered variant) */
.page-title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  text-align: left;
  margin: 0 0 2.6rem;
}

.page-title-center {
  text-align: center;
  margin: 0 0 3.1rem;
}

/* Section rhythm tuned to the design comp */
.about-section {
  padding: 5rem 0 2.5rem;
}

.overview-section {
  padding: 2.5rem 0 5rem;
}

.why-section {
  padding: 5rem 0;
}

.cert-section {
  padding: 1rem 0 5rem;
}

/* ---------- About Us ---------- */
.about-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4.4rem;
}

.about-col-text {
  flex: 1 1 30rem;
  min-width: 0;
}

.about-col-media {
  flex: 0 0 34.4%;
  max-width: 34.4%;
}

.about-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-media img + img {
  margin-top: 1.2rem;
}

/* ---------- About stats ---------- */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.6rem 2rem;
  margin-top: 3.4rem;
}

.about-stat {
  flex: 0 0 auto;
}

.about-stat-value {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-lime);
  white-space: nowrap;
}

.about-stat-value sup {
  font-size: 0.4em;
  top: -1.1em;
  margin-left: 0.05em;
}

.about-stat p {
  color: var(--color-lime);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0.4rem 0 0;
  white-space: nowrap;
}

/* ---------- Factory Overview ---------- */
.overview-section {
  position: relative;
  isolation: isolate;
}

/* faint factory backdrop reproduced from the design */
.overview-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/about-bg.jpg) center / cover no-repeat;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.overview-grid {
  --bs-gutter-x: 1.2rem;
  --bs-gutter-y: 1.5rem;
}

.overview-img {
  overflow: hidden;
}

.overview-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.overview-img:hover img {
  transform: scale(1.06);
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  --bs-gutter-x: 3.4rem;
  --bs-gutter-y: 4rem;
}

.why-card {
  background: var(--color-lime);
  border-radius: 12px;
  padding: 1.6rem 1.9rem 2rem;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.why-icon {
  display: block;
  width: 4.3rem;
  height: 4.3rem;
  margin: 0 auto 1.35rem;
}

.why-card h4 {
  color: var(--color-dark);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0.7rem;
}

.why-card p {
  color: var(--color-dark);
  font-size: 0.85rem;
  line-height: 1.42;
  margin: 0;
}

/* ---------- Certifications ---------- */
.cert-carousel {
  position: relative;
}

.cert-swiper {
  padding: 0 0.25rem;
}

.cert-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.cert-next,
.cert-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.cert-next::after,
.cert-prev::after {
  display: none;
}

.cert-next .icon,
.cert-prev .icon {
  width: 20px;
  height: 20px;
}

.cert-next:hover,
.cert-prev:hover {
  background: var(--color-lime);
  border-color: var(--color-lime);
  color: var(--color-dark);
}

/* =========================================
   Hero banner Ã¢â‚¬â€ click anywhere to play the video
   ========================================= */
.hero-banner {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-banner:hover .hero-banner-img,
.hero-banner:focus-visible .hero-banner-img {
  transform: scale(1.035);
}

/* subtle darkening so the play badge baked into banner_about.jpg reads better */
.hero-banner-shade {
  position: absolute;
  inset: 0;
  background: rgba(39, 90, 169, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.hero-banner:hover .hero-banner-shade,
.hero-banner:focus-visible .hero-banner-shade {
  background: rgba(39, 90, 169, 0.22);
}

/* breathing ring aligned with the play badge inside banner_about.jpg
   (badge centre ~49.8% / 49.1%, diameter ~4.74% of the banner width) */
.hero-play-pulse {
  position: absolute;
  left: 49.8%;
  top: 49.1%;
  width: 4.74%;
  aspect-ratio: 1 / 1;
  margin-left: -2.37%;
  margin-top: -2.37%;
  pointer-events: none;
}

.hero-play-pulse::before,
.hero-play-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: heroPulse 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.hero-play-pulse::after {
  animation-delay: 1.3s;
}

@keyframes heroPulse {
  0%   { transform: scale(0.92); opacity: 0.85; }
  70%  { transform: scale(2);    opacity: 0; }
  100% { transform: scale(2);    opacity: 0; }
}

/* =========================================
   Scroll reveal (WOW.js-style)

   Usage:  <div data-anim="up" data-delay="120">
   values: up | down | left | right | zoom | fade
   JS removes [data-anim] once the entrance has played, so :hover
   transforms on the same element keep working afterwards.
   ========================================= */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-anim="up"]    { transform: translate3d(0, 48px, 0); }
[data-anim="down"]  { transform: translate3d(0, -40px, 0); }
[data-anim="left"]  { transform: translate3d(-56px, 0, 0); }
[data-anim="right"] { transform: translate3d(56px, 0, 0); }
[data-anim="zoom"]  { transform: scale(0.9); }
[data-anim="fade"]  { transform: none; }

[data-anim].in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* About stats: keep the counter typography of .about-stat-value
   (the shared .stat-num rule from the home page is 3rem / 800) */
.about-stat-value .stat-num {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  display: inline;
}

/* =========================================
   Contact Us
   ========================================= */
.contact-section {
  background: var(--color-dark);
  padding: 4.1rem 0;
}

.contact-card {
  position: relative;
  background: #fff url(../images/contact-card-bg.jpg) center / 100% 100% no-repeat;
  padding: 3.1rem 3.3% 2.75rem 5.1%;
}

.contact-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 36.1%;
  max-width: 36.1%;
}

.contact-form-col {
  flex: 0 0 38.5%;
  max-width: 38.5%;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-box {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.375rem 3rem;
  margin-bottom: 2.1rem;
}

.contact-info-box:last-child {
  margin-bottom: 0;
}

.contact-info-label {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.contact-info-value {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}

/* contact form */
.contact-form {
  margin: 0;
}

.cf-field {
  margin-bottom: 1.375rem;
}

.cf-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  color: #cf0b0b;
  margin-bottom: 0.5rem;
}

.cf-input {
  display: block;
  width: 100%;
  height: 34px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-dark);
  background: transparent;
  border: 1px solid var(--color-dark);
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.cf-input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(39, 90, 169, 0.16);
}

.cf-textarea {
  height: 88px;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.cf-send {
  display: block;
  width: 131px;
  height: 36px;
  margin-top: 0.375rem;
  border: 0;
  border-radius: 0;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cf-send:hover,
.cf-send:focus-visible {
  background: var(--color-dark-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(39, 90, 169, 0.28);
}

.cf-note {
  margin: 0.75rem 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--color-dark);
}

/* =========================================
   Contact Us â€” lime form band
   Rebuilt 1:1 from the supplied mock: lime background,
   centered blue heading, four white form rows
   (Name* / Email* â€” Phone Number/Whatsapp â€” Comment â€” Send)
   ========================================= */
.contact-lime {
  background: var(--color-lime);
  padding: 2.4rem 0 3.25rem;
}

.cl-title {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark);
  text-align: center;
  margin: 0 0 1.6rem;
}

/* form column: 1070px wide, centered (matches the mock at 1920) */
.cl-form {
  max-width: 1070px;
  margin: 0 auto;
}

.cl-row {
  display: flex;
  gap: 21px;
  margin-bottom: 24px;
}

.cl-row:last-of-type {
  margin-bottom: 0;
}

.cl-field {
  flex: 1 1 0;
  min-width: 0;
}

.cl-wrap {
  position: relative;
}

.cl-input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 1.6rem;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-dark);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transition: box-shadow 0.25s ease;
}

.cl-input:focus {
  box-shadow: 0 0 0 2px rgba(39, 90, 169, 0.45);
}

.cl-input.is-invalid {
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.55);
}

.cl-comment {
  height: 36px;
  padding: 6px 1.6rem;
  line-height: 24px;
  resize: none;
  overflow: hidden;
}

/* overlaid placeholder-label: "Name" + red asterisk, fades once the field has content */
.cl-label {
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-dark);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.cl-req {
  color: #ff0000;
}

.cl-input:focus + .cl-label,
.cl-input:not(:placeholder-shown) + .cl-label {
  opacity: 0;
}

.cl-send {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 1.6rem;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 42px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: var(--color-dark);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.cl-send:hover,
.cl-send:focus-visible {
  background: var(--color-dark-deep);
  color: var(--color-white);
  transform: translateY(-1px);
}
.cl-send:active {
  transform: translateY(0);
}

.cl-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
}

.cl-note:empty {
  display: none;
}

@media (max-width: 1199.98px) {
  .cl-title {
    font-size: 2.35rem;
  }
  .cl-input,
  .cl-label,
  .cl-send {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .contact-lime {
    padding: 2.25rem 0;
  }
  .cl-title {
    font-size: 1.9rem;
    margin-bottom: 1.25rem;
  }
  .cl-row {
    gap: 14px;
    margin-bottom: 14px;
  }
  .cl-row-2 {
    flex-wrap: wrap;
  }
  .cl-row-2 .cl-field {
    flex: 1 1 100%;
  }
  .cl-input,
  .cl-label,
  .cl-send {
    font-size: 1rem;
  }
  .cl-input {
    height: 34px;
    padding: 0 1rem;
  }
  .cl-comment {
    height: 34px;
    padding: 5px 1rem;
  }
  .cl-label {
    left: 1rem;
  }
  .cl-send {
    height: 34px;
    padding: 0 1rem;
    line-height: 34px;
  }
}

/* =========================================
   Factory photo band (bottom of the Contact design)
   ========================================= */
.contact-strip-section {
  position: relative;
  background: var(--color-dark);
}

.strip-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.strip-next,
.strip-prev {
  position: absolute;
  top: 50%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.strip-prev { left: 17.8%; }
.strip-next { left: 82.7%; }

.strip-next .icon,
.strip-prev .icon {
  width: 22px;
  height: 22px;
}

.strip-next:hover,
.strip-next:focus-visible,
.strip-prev:hover,
.strip-prev:focus-visible {
  background: var(--color-lime);
  color: var(--color-dark);
  transform: translate(-50%, -50%) scale(1.08);
}

/* Responsive */
@media (max-width: 1519.98px) {
  .cert-next {
    right: 0.25rem;
  }
  .cert-prev {
    left: 0.25rem;
  }
}

@media (min-width: 1520px) {
  .cert-next {
    right: -6rem;
  }
  .cert-prev {
    left: -6rem;
  }
}

@media (max-width: 1399.98px) {
  .about-stat-value {
    font-size: 2.8rem;
  }
}

@media (max-width: 1199.98px) {
  .page-title {
    font-size: 2.2rem;
  }
  .about-stat-value {
    font-size: 2.4rem;
  }
  .about-stat p {
    font-size: 1rem;
  }
  .why-grid {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: 2.1rem;
  }
  .about-row {
    gap: 2.5rem;
  }
  .about-col-media {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .about-stats {
    gap: 1.75rem 2rem;
  }
  .about-stat {
    flex: 0 0 calc(33.333% - 1.4rem);
  }
  .about-stat-value {
    font-size: 2.2rem;
  }
  .about-stat p {
    white-space: normal;
  }
  .overview-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
  .why-card {
    padding: 1.4rem 1.4rem 1.7rem;
  }
}

@media (max-width: 575.98px) {
  .page-title {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }
  .about-text {
    font-size: 1rem;
  }
  .about-stats {
    gap: 1.5rem;
  }
  .about-stat {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .about-stat-value {
    font-size: 1.85rem;
  }
  .about-stat p {
    font-size: 0.9rem;
  }
  .why-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 1rem;
  }
  .why-card h4 {
    font-size: 1.05rem;
  }
  .why-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    /* min-height: 520px; */
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-car-wrap {
    min-height: 220px;
    margin-bottom: 2rem;
  }
  .products-next,
  .products-prev,
  .blog-next,
  .blog-prev {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 2.5rem 0;
  }
  .hero-slide {
    /* min-height: 560px; */
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .feature-icon {
    width: 58px;
  }
  .feature-icon i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .factory-title {
    font-size: 1.35rem;
  }
  .stat-num {
    font-size: 1.7rem;
  }
  .partner-item i {
    font-size: 1.7rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.35rem;
  }
  .hero-features {
    gap: 0.7rem;
  }
  .feature-icon {
    width: 52px;
    font-size: 0.65rem;
  }
  .feature-icon i {
    width: 36px;
    height: 36px;
  }
  .factory-banner {
    height: 260px;
  }
  .factory-label {
    font-size: 1rem;
  }
}

/* ---------- Contact Us responsive ---------- */
@media (max-width: 1399.98px) {
  .contact-card {
    padding: 2.6rem 4.6% 2.4rem 5%;
  }
  .contact-title {
    font-size: 2.6rem;
  }
  .contact-info-box {
    padding: 1.25rem 2.2rem;
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 1199.98px) {
  .contact-title {
    font-size: 2.35rem;
  }
  .contact-info-box {
    padding: 1.15rem 1.7rem;
    margin-bottom: 1.25rem;
  }
  .contact-info-label {
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .contact-section {
    padding: 3rem 0;
  }
  .contact-card {
    background-image: none;
    padding: 2.25rem 6% 2.25rem;
  }
  .contact-cols {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-info,
  .contact-form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .contact-title {
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
  }
  .strip-next,
  .strip-prev {
    width: 46px;
    height: 46px;
  }
  .strip-prev { left: 9%; }
  .strip-next { left: 91%; }
  .strip-next .icon,
  .strip-prev .icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 575.98px) {
  .contact-title {
    font-size: 1.75rem;
  }
  .contact-info-box {
    padding: 1rem 1.35rem;
    margin-bottom: 1rem;
  }
  .cf-send {
    width: 100%;
  }
  .strip-next,
  .strip-prev {
    width: 38px;
    height: 38px;
  }
}

/* =========================================
   Support page
   OEM SERVICES / ODM SERVICES / TOOLS /
   CUTTING SOFTWARE / SUCCESS STORIES / FAQ
   (rebuilt from support.jpg)
   ========================================= */

/* ---------- page background + shared section heading ---------- */
.sup-oem,
.sup-odm,
.sup-tools,
.sup-software,
.sup-stories,
.sup-faq {
  background: var(--color-dark);
}

.sup-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 3.1rem;
}

.sup-title-blue {
  color: var(--color-dark);
}

/* ---------- Hero banner ---------- */
.sup-hero-inner {
  position: relative;
  overflow: hidden;
}

.sup-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.sup-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 38, 0.42);
  pointer-events: none;
}

.sup-hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ---------- OEM SERVICES (lime block) ---------- */
.sup-oem {
  padding: 0;
}

.sup-oem-block {
  background: var(--color-lime);
  padding: 4.5rem 3.15rem 2.8rem;
}

.sup-oem-block .sup-title {
  margin-bottom: 3.8rem;
}

.sup-oem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.1rem;
  row-gap: 2.6rem;
}

.sup-card-media {
  overflow: hidden;
  background: var(--color-white);
}

.sup-card-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sup-card:hover .sup-card-media img {
  transform: scale(1.045);
}

.sup-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  margin: 0.6rem 0 0.35rem;
}

.sup-card-desc {
  font-size: 0.85rem;
  line-height: 1.22;
  color: var(--color-dark);
  margin: 0;
}

/* ---------- ODM SERVICES ---------- */
.sup-odm {
  padding: 4.4rem 0 5.9rem;
}

.sup-odm-grid {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.sup-odm-main {
  flex: 0 0 49.1%;
  max-width: 49.1%;
}

.sup-odm-side {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.2rem;
  row-gap: 2.4rem;
}

.sup-odm-media {
  overflow: hidden;
  background: var(--color-white);
}

.sup-odm-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sup-odm-main:hover .sup-odm-media img,
.sup-odm-item:hover .sup-odm-media img {
  transform: scale(1.045);
}

.sup-card-title-light {
  color: var(--color-white);
}

.sup-card-desc-light {
  color: rgba(255, 255, 255, 0.9);
}

.sup-odm-main .sup-card-title {
  margin-top: 1.2rem;
}

/* ---------- TOOLS ---------- */
.sup-tools {
  padding: 0;
}

.sup-tools-panel {
  position: relative;
  background: #416eb2;
  padding: 3.5rem 0 3.55rem;
  overflow: hidden;
}

.sup-tools-panel .sup-title {
  margin-bottom: 3.1rem;
}

/* Inset clipping window: the mock leaves one inter-tile gap of light blue
   between the panel edge and the first / last (partly clipped) tile. */
.tools-swiper {
  margin: 0 1.2rem;
}

/* Circular prev / next arrows sitting over the clipped edge tiles */
.tools-swiper .swiper-button-prev,
.tools-swiper .swiper-button-next {
  width: 1.8rem;
  height: 1.8rem;
  margin-top: -0.9rem;
  background: var(--color-dark);
  border-radius: 50%;
  --swiper-navigation-size: 0.62rem;
  --swiper-navigation-color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.tools-swiper .swiper-button-prev { left: 0.9rem; }
.tools-swiper .swiper-button-next { right: 0.9rem; }

.tools-swiper .swiper-button-prev:hover,
.tools-swiper .swiper-button-next:hover {
  background: var(--color-lime);
  --swiper-navigation-color: var(--color-dark);
}

.tools-swiper .swiper-button-prev::after,
.tools-swiper .swiper-button-next::after {
  font-weight: 700;
}

.tools-swiper .swiper-slide {
  width: 13.125rem;
  height: auto;
}

.tools-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.tools-swiper .swiper-slide:hover img {
  transform: translateY(-6px);
}

.sup-tools-note {
  font-size: 1.03rem;
  line-height: 1.45;
  color: var(--color-white);
  text-align: center;
  margin: 2.25rem 0 0;
}

/* ---------- CUTTING SOFTWARE ---------- */
.sup-software {
  padding: 4.7rem 0 5.25rem;
}

.sup-software .sup-title {
  margin-bottom: 3rem;
}

.sup-sw-row {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
}

.sup-sw-media {
  flex: 0 0 57.1%;
  max-width: 57.1%;
}

.sup-sw-media img {
  display: block;
  width: 100%;
  height: auto;
}

.sup-sw-body {
  flex: 1 1 auto;
  padding-top: 0.55rem;
  padding-left:1rem;
}

.sup-sw-lists {
  display: flex;
  align-items: flex-start;
}

.sup-sw-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sup-sw-list:first-child {
  flex: 0 0 66.2%;
}

.sup-sw-list:last-child {
  flex: 0 0 33.8%;
}

.sup-sw-list li {
  position: relative;
  padding-left: 2.15rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--color-white);
  margin-bottom: 0.47rem;
}

.sup-sw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -0.75rem;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: var(--color-lime);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23275aa9' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.8l4.3 4.3L19 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.85rem 0.85rem;
}

.sup-download {
  display: inline-block;
  margin: 2.5rem 0 0 2.15rem;
  padding: 0.62rem 1.12rem;
  border-radius: 3rem;
  background: var(--color-lime);
  color: var(--color-dark);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sup-download:hover,
.sup-download:focus-visible {
  background: var(--color-lime-dark);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ---------- CUSTOMER SUCCESS STORIES ---------- */
.sup-stories {
  padding: 0 0 4.6rem;
}

.sup-stories .sup-title {
  margin-bottom: 4.2rem;
}

.sup-stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.4rem;
  row-gap: 2.9rem;
}

.sup-story {
  margin: 0;
  overflow: hidden;
}

.sup-story img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sup-story:hover img {
  transform: scale(1.035);
}

/* ---------- FAQ ---------- */
.sup-faq {
  padding: 0 0 6.3rem;
}

.sup-faq .sup-title {
  margin-bottom: 3.8rem;
}

.sup-faq-item {
  margin-bottom: 2.3rem;
}

.sup-faq-item:last-child {
  margin-bottom: 0;
}

.sup-faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  margin: 0;
}

.sup-faq-a {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
}

/* ---------- Support page responsiveness ---------- */
@media (max-width: 1399.98px) {
  .sup-card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 1199.98px) {
  .sup-title,
  .sup-hero-title {
    font-size: 2.15rem;
  }
  .sup-oem-block {
    padding: 3.4rem 2rem 2.1rem;
  }
  .sup-oem-block .sup-title {
    margin-bottom: 2.8rem;
  }
  .sup-odm {
    padding: 3.3rem 0 4.4rem;
  }
  .sup-software {
    padding: 3.5rem 0 4rem;
  }
  .sup-tools-panel {
    padding: 2.8rem 0;
  }
  .tools-swiper .swiper-slide {
    width: 11.5rem;
  }
  .sup-sw-list li {
    font-size: 1rem;
  }
  .sup-stories-grid {
    column-gap: 1.8rem;
    row-gap: 1.8rem;
  }
  .sup-faq {
    padding-bottom: 4.6rem;
  }
}

@media (max-width: 991.98px) {
  .sup-title,
  .sup-hero-title {
    font-size: 1.8rem;
  }
  .sup-title {
    margin-bottom: 2.4rem;
  }
  .sup-oem-block {
    padding: 2.6rem 1.6rem 1.8rem;
  }
  .sup-oem-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .sup-odm-grid {
    display: block;
  }
  .sup-odm-main {
    max-width: 100%;
    margin-bottom: 2.2rem;
  }
  .sup-odm-side {
    row-gap: 1.8rem;
  }
  .sup-sw-row {
    display: block;
  }
  .sup-sw-media {
    max-width: 100%;
    margin-bottom: 2.2rem;
  }
  .sup-sw-list li {
    font-size: 0.95rem;
  }
  .sup-download {
    margin-left: 0;
  }
  .sup-stories {
    padding-bottom: 3.2rem;
  }
  .sup-stories .sup-title {
    margin-bottom: 2.4rem;
  }
  .sup-stories-grid {
    column-gap: 1.25rem;
    row-gap: 1.25rem;
  }
  .sup-faq {
    padding-bottom: 3.4rem;
  }
  .sup-faq .sup-title {
    margin-bottom: 2.2rem;
  }
  .sup-faq-item {
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .sup-card-title {
    font-size: 1.15rem;
  }
  .sup-card-desc {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .sup-faq-q,
  .sup-faq-a {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .sup-tools-note {
    font-size: 0.92rem;
  }
}

@media (max-width: 575.98px) {
  .sup-title,
  .sup-hero-title {
    font-size: 1.4rem;
  }
  .sup-hero-title {
    letter-spacing: 0.01em;
  }
  .sup-oem-block {
    padding: 2.1rem 1.1rem 1.5rem;
  }
  .sup-oem-block .sup-title {
    margin-bottom: 1.8rem;
  }
  .sup-oem-grid {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }
  .sup-card-title {
    font-size: 1.1rem;
  }
  .sup-stories-grid {
    grid-template-columns: 1fr;
    row-gap: 1.1rem;
  }
  .sup-stories {
    padding-bottom: 2.6rem;
  }
  .sup-tools-panel {
    padding: 2rem 0;
  }
  .sup-tools-panel .sup-title {
    margin-bottom: 1.6rem;
  }
  .sup-tools-note {
    margin-top: 1.5rem;
  }
  .sup-software {
    padding: 2.4rem 0 2.8rem;
  }
  .sup-faq {
    padding-bottom: 2.8rem;
  }
}

/* =========================================================
   Article / News list pagination — matches the new theme
   (rounded pills, lime active state, chevron icons).
   ========================================================= */
.article-pagination {
  margin-top: 3rem;
}
.article-pagination ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.article-pagination li > a,
.article-pagination li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.article-pagination li > a:hover {
  background: var(--color-lime);
  color: var(--color-dark);
}
.article-pagination li > span.current {
  background: var(--color-lime);
  color: var(--color-dark);
}
.article-pagination li > .icon {
  width: 1em;
  height: 1em;
}

/* Article grid — single responsive gutter control */
.article-grid .blog-card {
  height: 100%;
}
.article-grid .blog-img img {
  aspect-ratio: 16 / 16;
}

/* =========================================================
   Single article / news detail — header, body, related strip
   ========================================================= */
.single-detail-header {
  background: var(--color-dark);
  padding: 4.5rem 0;
}

/* Left column — the product shot sits on a white card so cut-out product
   photos (normally shot on white) read cleanly against the blue band. */
.single-detail-header .featured-img {
  margin: 0;
  padding: 1rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.single-detail-header .featured-img img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Right column — title with a lime accent rule underneath */
.single-detail-header h1 {
  color: var(--color-white);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 1.15rem;
  padding-bottom: 1.1rem;
  position: relative;
}
.single-detail-header h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-lime);
}

.single-detail-header .meta-row {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.single-detail-header .meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.single-detail-header .meta-row .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--color-lime);
  fill: currentColor;
}

.single-detail-body {
  background: var(--color-dark);
  padding: 3rem 0 4rem;
}
.single-detail-body .entry-content {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
}
.single-detail-body .entry-content h2,
.single-detail-body .entry-content h3,
.single-detail-body .entry-content h4 {
  color: var(--color-white);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.single-detail-body .entry-content p { margin: 0 0 1.2rem; }
.single-detail-body .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1.5rem auto;
}

.single-detail-related {
  background: var(--color-dark);
  padding: 1rem 0 4rem;
}
.single-detail-related h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 2rem;
}
.single-detail-related .related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .single-detail-related .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .single-detail-related .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.single-detail-related .related-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.single-detail-related .related-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}
.single-detail-related .related-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.single-detail-related .related-card-body {
  padding: 0.9rem 1rem 1.1rem;
}
.single-detail-related .related-card-body h5 {
  font-size: 0.95rem;
  color: var(--color-white);
  margin: 0 0 0.4rem;
  font-weight: 600;
  line-height: 1.35;
}
.single-detail-related .related-card-body .related-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

/* Single news — centered layout variant */
.single-news-detail .entry-content {
  text-align: left;
}
.single-news-detail .single-detail-header {
  padding-bottom: 1rem;
}

/* The news hero is a wide editorial photo rather than a cut-out product
   shot, so it keeps a plain rounded frame instead of the white product card. */
.single-news-detail .single-detail-header .featured-img {
  margin-top: 2.2rem;
  padding: 0;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.single-news-detail .single-detail-header .featured-img img {
  border-radius: 0;
}

/* Blog-card meta line (date + Read More on same row) */
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}
.blog-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #888;
  font-size: 0.78rem;
}
.blog-meta-date .icon {
  width: 0.95em;
  height: 0.95em;
  color: var(--color-lime-dark);
}
.blog-body .blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Single article — summary line and CTA on the detail header */
.single-summary {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(201, 219, 83, 0.55);
}
.single-cta {
  margin-top: 1.8rem;
}
.single-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.55rem;
  background: var(--color-lime);
  color: var(--color-dark);
  border-radius: 999px;
  font-size: 0.95rem;      /* overrides .blog-link's 0.85rem */
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: var(--transition);
}
.single-cta-link:hover,
.single-cta-link:focus-visible {
  background: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-1px);
}
.single-cta-link .blog-arrow {
  color: inherit;
}

/* contact-lime subtitle line */
.cl-subtitle {
  color: var(--color-dark);
  opacity: 0.75;
  margin: -1.4rem auto 2.2rem;
  max-width: 640px;
  font-size: 0.95rem;
}

/* ============================================================
   Breadcrumb bar (sits just below the fixed nav)
   ============================================================ */
.breadcrumb-bar {
  /* The nav is `fixed-top` and measures 70px (measured: logo 35px + 8px
     navbar padding x2 + 5px brand margin + line spacing). The bar's own
     background deliberately runs up behind the nav so no white seam can
     ever show through underneath it. */
  background: var(--color-lime);
  color: var(--color-dark);
  font-size: 0.875rem;
  padding: calc(70px + 0.6rem) 0 0.7rem;
  border-bottom: 1px solid rgba(39, 90, 169, 0.18);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: rgba(39, 90, 169, 0.8);
}

.breadcrumb-list li a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
  color: var(--color-dark-deep);
  text-decoration: underline;
}

/* current page: bold + darkest blue (a lime tint here would vanish on the
   lime band) */
.breadcrumb-list li:last-child {
  color: var(--color-dark);
  font-weight: 700;
}

.breadcrumb-list li:last-child a {
  color: var(--color-dark);
}

.breadcrumb-list .sep {
  color: rgba(39, 90, 169, 0.45);
  display: inline-flex;
}

.breadcrumb-list .sep .icon {
  width: 0.7rem;
  height: 0.7rem;
}

/* ============================================================
   Inner-page banner (section.page-title)
   The legacy banner took its background from images/slider/2.jpg, which no
   longer ships with the theme — the white H1 therefore landed on the white
   page background and became invisible. This gives the banner a proper
   site-colour band. Element-qualified (`section.page-title`) so the
   `h2.page-title` heading used *inside* sections keeps its own styling.
   ============================================================ */
section.page-title {
  background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
  /* fixed-top nav is ~70px tall — push the H1 down so it never hides behind it */
  padding: calc(70px + 2.6rem) 0 2.4rem;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* lime accent rule above the H1 */
section.page-title .title::before {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-lime);
  margin-bottom: 0.9rem;
}

section.page-title .title h1 {
  color: var(--color-white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ============================================================
   Category page sidebar (left tree + Send Inquiry card)
   ============================================================ */
.cat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 96px;
}

.cat-sidebar-box {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.cat-sidebar-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  padding-bottom: 0.85rem;
  margin: 0 0 0.85rem;
  border-bottom: 2px solid var(--color-lime);
  letter-spacing: 0.02em;
}

.cat-sidebar-title .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--color-dark);
  fill: currentColor;
}

/* Hierarchical category list */
.cat-sidebar-list,
.cat-sidebar-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-sidebar-list ul {
  margin: 0.25rem 0 0.4rem 0.75rem;
  border-left: 1px dashed rgba(39, 90, 169, 0.22);
}

.cat-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.cat-sidebar-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lime);
  flex: 0 0 auto;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cat-sidebar-link:hover {
  background: rgba(201, 219, 83, 0.18);
  color: var(--color-dark);
  padding-left: 0.95rem;
}

.cat-sidebar-link.is-current {
  background: var(--color-lime);
  color: var(--color-dark);
  font-weight: 700;
}

.cat-sidebar-link.is-current::before {
  background: var(--color-dark);
  transform: scale(1.25);
}

/* Send Inquiry card — lime accent strip on top + thicker border to set
   it apart from the white page bg, otherwise the form fields vanish. */
.cat-sidebar-inquiry {
  position: relative;
  padding-top: 2.4rem;
  border: 1px solid rgba(39, 90, 169, 0.16);
}

.cat-sidebar-inquiry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 4px;
  background: var(--color-lime);
  border-radius: 0 0 4px 4px;
}

.cat-sidebar-desc {
  font-size: 0.85rem;
  color: #5a6379;
  margin: 0 0 1rem;
  line-height: 1.45;
}

/* Compact inquiry form for sidebar. The base .cl-input / .cl-send are
   borderless by design (they're meant to sit on the full-width lime
   contact-lime section). On the white sidebar card they vanish, so we
   restore borders + contrast here. */
.cl-form-compact .cl-row {
  margin-bottom: 0.85rem;
}

.cl-form-compact .cl-wrap {
  display: block;
}

.cl-form-compact .cl-input {
  height: 40px;
  padding: 0 1rem;
  background: #fff;
  color: var(--color-dark);
  font-size: 0.95rem;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cl-form-compact .cl-input:focus {
  outline: 0;
  border-color: var(--color-dark);
  box-shadow: 0 0 0 3px rgba(39, 90, 169, 0.12);
}

.cl-form-compact .cl-input.is-invalid {
  border-color: #d93025;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12);
}

.cl-form-compact .cl-comment {
  min-height: 78px;
  height: auto;
  padding: 0.6rem 1rem;
  line-height: 1.4;
}

.cl-form-compact .cl-label {
  left: 1rem;
  font-size: 0.85rem;
  color: #5a6379;
}

.cl-form-compact .cl-input:focus + .cl-label,
.cl-form-compact .cl-input:not(:placeholder-shown) + .cl-label {
  opacity: 0;
}

.cl-form-compact .cl-send {
  height: 42px;
  margin-top: 0.25rem;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.cl-form-compact .cl-send:hover,
.cl-form-compact .cl-send:focus-visible {
  background: var(--color-lime);
  color: var(--color-dark);
  transform: translateY(-1px);
}

.cl-form-compact .cl-send:active {
  transform: translateY(0);
}

/* Right-side article grid header */
.article-grid-header {
  margin-bottom: 1.75rem;
}

.article-grid-header .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: 1.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* Responsive: stack sidebar above grid on tablets / phones */
@media (max-width: 991.98px) {
  .cat-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .cat-sidebar-box {
    padding: 1.25rem 1rem 1.5rem;
  }

  .article-grid-header .section-title {
    font-size: 1.35rem;
  }
}


/* =========================================================
   Product gallery inside .single-detail-header
   (jqzoom preview + thumbnail strip, base.js viewNum = 5)
   ========================================================= */
/* The legacy rule `.prut_content .left-img` is 50% wide and floated;
   inside the hero the gallery simply fills its own column instead. */
.single-detail-header .left-img {
  width: 100%;
  float: none;
  display: flow-root;            /* contain the floated preview + strip */
}

/* Big preview floats right, thumbnail strip floats left */
.single-detail-header .left-img .spec-preview {
  width: calc(100% - 106px);
  border: 1px solid rgba(39, 90, 169, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-white);
  float: right;
}

.single-detail-header .left-img .spec-scroll {
  width: 94px;
  float: left;
}

.single-detail-header .left-img .spec-scroll .items {
  padding: 8px;
  background: #f2f6fc;
  border: 1px solid rgba(39, 90, 169, 0.12);
  border-radius: 10px;
}

.single-detail-header .left-img .spec-scroll .items ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-detail-header .left-img .spec-scroll .items ul li {
  cursor: pointer;
}

.single-detail-header .left-img .spec-scroll .items ul li img {
  width: 100%;
  display: block;
  padding: 2px;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  background: var(--color-white);
  transition: border-color 0.2s ease, padding 0.2s ease;
}

.single-detail-header .left-img .spec-scroll .items ul li.this img,
.single-detail-header .left-img .spec-scroll .items ul li img:hover {
  border: 2px solid var(--color-lime);
  padding: 1px;
}

/* Zoom window stays hidden — same behaviour as the original template */
.zoomdiv {
  display: none !important;
}
.navbar-brand img{ width:100px;}
.footer-brand img{ width:100px;}

@media (max-width: 991.98px) {
  .single-detail-header .left-img .spec-preview {
    width: calc(100% - 90px);
  }

  .single-detail-header .left-img .spec-scroll {
    width: 78px;
  }
}

@media (max-width: 575.98px) {
  .single-detail-header .left-img .spec-preview {
    width: calc(100% - 80px);
  }

  .single-detail-header .left-img .spec-scroll {
    width: 68px;
  }
}

/* ============================================================
   Mobile / Tablet responsive pass (2026-09-29)
   1) collapsed navbar + touch dropdowns
   2) tablet spacing & swiper density
   3) legacy template grids (equipment-list / news-list / inline search)
   4) 404 & search results pages
   ============================================================ */

/* ---------- 404 page (has no layout of its own) ---------- */
.error-404.not-found {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(70px + 3rem) 1.25rem 4rem;
  text-align: center;
}
.error-404 .page-header .page-title {
  height: auto;
  padding: 0;
  background: none;
  margin: 0 0 1rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-dark);
}
.error-404 .page-content p {
  color: #5a6379;
  margin-bottom: 1.5rem;
}
.error-404 .search-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.error-404 .search-field {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 320px;
  border: 1px solid rgba(39, 90, 169, 0.35);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
}
.error-404 .search-submit {
  background: var(--color-dark);
  color: var(--color-white);
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
}

/* ---------- Wide tables inside article bodies ---------- */
.single-detail-body .entry-content table {

  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Navbar: compact on iPad landscape (992–1199) ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-dark .nav-link {
    font-size: 0.95rem;
    padding: 0.55rem 0.8rem !important;
  }
  .navbar-brand img { width: 88px; }
}

/* ---------- Navbar: collapsed mobile / tablet-portrait menu ---------- */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    padding: 0.45rem 0.7rem;
  }
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 219, 83, 0.35);
  }

  /* the expanded panel needs a solid card look — the header itself is
     translucent, so without this the links sit right on the page content */
  .header-main .navbar-collapse {
    background: rgba(31, 72, 138, 0.98);
    margin-top: 0.6rem;
    padding: 0.85rem 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-dark .navbar-nav > .nav-item { margin: 0; }
  .navbar-dark .nav-link {
    display: block;
    font-size: 1rem;
    padding: 0.75rem 0.9rem !important;
  }

  /* dropdowns are CSS-hover-only on desktop; on touch they become
     plain always-visible indented sub-lists inside the panel */
  .navbar .nav-item.dropdown { position: static; }
  .navbar .nav-item.dropdown > .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0.15rem 0 0.35rem;
    margin: 0;
  }
  .navbar .nav-item.dropdown > .dropdown-menu .dropdown-item {
    padding: 0.5rem 0.9rem 0.5rem 2rem;
    border-radius: 8px;
    font-size: 0.92rem;
  }
  .lang-switch .nav-link { margin-left: 0; }
  .lang-switch > .dropdown-menu { right: auto; left: auto; }

  /* hot-category cards: no hover on touch — show the description */
  .hot-card .hot-content p {
    max-height: 140px;
    opacity: 1;
    margin-bottom: 0.8rem;
  }
  .hot-card .hot-overlay {
    background: linear-gradient(0deg, rgba(39, 90, 169, 0.85) 0%, rgba(39, 90, 169, 0.25) 70%, transparent 100%);
  }
}
@media (hover: none) {
  .hot-card .hot-content p {
    max-height: 140px;
    opacity: 1;
    margin-bottom: 0.8rem;
  }
  .hot-card .hot-overlay {
    background: linear-gradient(0deg, rgba(39, 90, 169, 0.85) 0%, rgba(39, 90, 169, 0.25) 70%, transparent 100%);
  }
}

/* ---------- Legacy category templates: equipment grid ---------- */
@media (max-width: 1199.98px) {
  .equipment-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 2%;
  }
  .equipment-list dl {
    width: auto;
    margin: 0;
  }
}
@media (max-width: 767.98px) {
  .equipment-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 3%;
  }
}
@media (max-width: 575.98px) {
  .equipment-list dl a dt img { height: auto; }
  .equipment-list dl a dd { font-size: 13px; }
}

/* ---------- Legacy inline search bar (category-9 / category-13) ---------- */
@media (max-width: 575.98px) {
  .form .searchtxt {
    width: calc(100% - 76px);
    max-width: 100%;
    height: 44px;
    font-size: 14px;
    line-height: 42px;
  }
  .form .searchbtn {
    width: 70px;
    height: 44px;
  }
}

/* ---------- Legacy news list (category-13 news-bigbox) ---------- */
.news-list li.news-bigbox {
  background: #f8f8f8;
  margin-top: 3%;
}
.news-list li.news-bigbox > a { padding: 0; }
.news-bigbox .bigboxtime {
  padding: 16px 22px 0;
  color: #213786;
}
.news-bigbox .bigboxtime b { font-size: 22px; }
.news-bigbox .bigboxtime span { font-size: 14px; }
.news-bigbox .bigboxtxt { padding: 6px 22px 20px; }
.news-bigbox .bigboxtxt h4 {
  font-size: 1.05rem;
  color: #333;
  margin: 0 0 0.4rem;
}
.news-bigbox .bigboxtxt p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 575.98px) {
  .news-bigbox .bigboxtime { padding: 12px 15px 0; }
  .news-bigbox .bigboxtime b { font-size: 18px; }
  .news-bigbox .bigboxtxt { padding: 4px 15px 14px; }
  .news-bigbox .bigboxtxt h4 { font-size: 0.95rem; }
  .news-bigbox .bigboxtxt p { font-size: 0.8rem; }
}

/* ---------- search.php results grid ---------- */
@media (max-width: 991.98px) {
  .search-results .search-result-item { width: 47%; }
}
@media (max-width: 575.98px) {
  .search-results .search-result-item { width: 100%; }
  .search-result-item { padding: 15px; }
  .search-title a { font-size: 17px; }
  .search-excerpt { font-size: 14px; }
}

/* ---------- Mobile (≤767.98): typography, spacing, sections ---------- */
@media (max-width: 767.98px) {
  .hero-section { padding-top: 58px; }
  .section { padding: 1.25rem 0; }
  .products-section{ padding: 1.25rem 0px 0px; }
  .section-title,
  .section-title-dark {
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
  }
  .factory-subtitle {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
  /* bootstrap .mt-5/.pt-5 utilities are !important — counter them here */
  .factory-title {
    margin-top: 1rem !important;
    padding-top: 0.5rem !important;
    font-size: 1.3rem;
  }
  .factory-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .stat-num { font-size: 1.6rem; }
  .stat-unit { font-size: 1rem; }
  .stat-item p { font-size: 1rem; }
  .about-stats {
    margin-top: 0rem;
    gap: 1.25rem;
  }
  .hot-content h4 { font-size: 1.2rem; }
  .hot-content p { font-size: 0.9rem; }

  .footer-main { padding: 2.5rem 0 1.25rem; }
  .footer-main h5 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
  }
  .footer-desc { font-size: 0.9rem; }
  .footer-contact li { font-size: 0.92rem; }

  .single-detail-header { padding: 2.5rem 0; }
  .single-detail-header .featured-img { padding: 0.6rem; }
  .single-detail-body { padding: 2rem 0 2.5rem; }
  .single-detail-related { padding: 0.5rem 0 2.5rem; }
  .article-pagination { margin-top: 2rem; }
  .breadcrumb-bar { font-size: 0.78rem; }
  .cl-subtitle { margin: -0.8rem auto 1.4rem; }
}

/* ---------- Small phones (≤575.98) ---------- */
@media (max-width: 575.98px) {
  .section-title,
  .section-title-dark { font-size: 1.3rem; }
  .hero-title { font-size: 1.55rem; }
  .about-stat-value { font-size: 1.6rem; }
  .newsletter-form { max-width: 100%; }

  /* the long Phone/WhatsApp label is nowrap — shrink it so it fits */
  .cl-label { font-size: 0.75rem; }
  .cl-form-compact .cl-label { font-size: 0.8rem; }
  .single-summary { font-size: 0.95rem; }
  .article-grid-header .section-title { font-size: 1.2rem; }
  .social-links a {
    width: 32px;
    height: 32px;
  }

  /* right-side floating widgets: shrink so they never cover content.
     `body` prefix raises specificity above the inline <style> block in
     header.php, which is linked after this file. */
  body .suspension {
    width: 46px;
    bottom: 70px;
  }
  body .suspension .a {
    width: 42px;
    height: 42px;
  }
  body .suspension .iconfont {
    font-size: 20px !important;
    padding: 8px !important;
  }
}

/* ---------- Hero banner: taller on mobile / tablet ---------- */
/* The banner is a plain <img width="100%"> carousel, so on narrow screens
   its height collapses with the image ratio (1920x796 -> ~160px on phones).
   Set a minimum height on the img itself and crop-fill with object-fit. */
@media (max-width: 575.98px) {
  .hero-swiper .hero-slide img {
    min-height: 420px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-swiper .hero-slide img {
    min-height: 480px;
  }
}
@media (max-width: 767.98px) {
  .hero-swiper .hero-slide img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* =========================================
   Landing Page 1 (luodiye1) — blue factory landing
   Rebuilt from 1.jpg: top Swiper + Contact Us +
   Factory Overview grid + Success Stories +
   Ask for Quote, all on one blue band.
   Reuses .cl-* form styles with a blue variant.
   ========================================= */
.ld1-band {
  background: var(--color-dark);
  overflow: hidden;
}

/* section titles are white on the blue band */
.ld1-band .cl-title {
  color: var(--color-white);
}

/* ---------- top Swiper ---------- */
.ld1-hero {
  padding: 1.6rem 0 0;
}

.ld1-swiper {
  position: relative;
  padding-bottom: 44px; /* room for dots */
}

.ld1-swiper .swiper-slide {

}

.ld1-swiper .swiper-slide img {
  width: 100%;
  display: block;
}

.ld1-swiper .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
}

.ld1-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 5px !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: var(--transition);
}

.ld1-swiper .swiper-pagination-bullet-active {
  background: var(--color-white);
}

.ld1-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.ld1-nav:hover {
  background: var(--color-lime);
}

.ld1-nav .iconfont {
  font-size: 22px;
  line-height: 1;
  transform: rotate(-90deg);
}

.ld1-prev { left: 18px; }
.ld1-next { right: 18px; }
.ld1-next .iconfont { transform: rotate(90deg); }

/* ---------- forms: blue variant of .cl-* ---------- */
.ld1-form-section {
  padding: 2.4rem 0 5.2rem;
}

.ld1-band .cl-form {
  max-width: 900px;
}

.ld1-band .cl-input {
  border: 1px solid var(--color-dark-deep);
}

.ld1-band .cl-send {
  background: var(--color-white);
  color: var(--color-dark);
}

.ld1-band .cl-send:hover,
.ld1-band .cl-send:focus-visible {
  background: var(--color-lime);
  color: var(--color-dark);
}

/* ---------- Factory Overview grid ---------- */
.ld1-overview {
  padding: 0.6rem 0 2.6rem;
}

.ld1-grid {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ld1-grid img {
  width: 100%;
  aspect-ratio: 550 / 366;
  object-fit: cover;
  display: block;
}

/* ---------- Customer Success Stories (Swiper) ---------- */
.ld1-stories-section {
  padding-bottom: 2.6rem;
  padding-top: 2.6rem;
}

.ld1-stories {
  width: 100%;
}

.ld1-stories .swiper-slide img {
  width: 100%;
  display: block;
  padding:0px 5px;
}
.ld1-stories-pagination {
    text-align: center;
    margin-top: 15px;
}

.ld1-stories-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 1;
    margin: 0 5px;
    transition: all .3s ease;
}

.ld1-stories-pagination .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 10px;
    background: #fff;
}



/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ld1-swiper .swiper-slide {
    height: 230px;
  }
  .ld1-grid {
    padding: 0 24px;
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .ld1-hero {
    padding-top: 1rem;
  }
  .ld1-swiper .swiper-slide {
    height: 170px;
  }
  .ld1-nav {
    width: 34px;
    height: 34px;
  }
  .ld1-nav .iconfont {
    font-size: 18px;
  }
  .ld1-prev { left: 10px; }
  .ld1-next { right: 10px; }
  .ld1-form-section {
    padding: 1.8rem 0 1.6rem;
  }
  .ld1-grid {
    padding: 0 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* =========================================
   Landing Page 2 (luodiye2) — ODM / Cutting
   Software / FAQ sections on the blue band.
   Images cropped from 2.jpg design mock.
   ========================================= */
.ld2-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- ODM Services ---------- */
.ld2-odm {
  padding: 0.6rem 0 2rem;
}

.ld2-odm-flex {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.ld2-odm-main {
  flex: 1 1 0;
  min-width: 0;
}

.ld2-odm-grid {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 22px;
}

.ld2-odm-main img {
  width: 100%;
  aspect-ratio: 654 / 587;
  object-fit: cover;
  display: block;
}

.ld2-odm-item img {
  width: 100%;
  aspect-ratio: 322 / 232;
  object-fit: cover;
  display: block;
}

.ld2-odm h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.9rem 0 0.35rem;
}

.ld2-odm p {
  color: var(--color-white);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.95;
}

/* ---------- Cutting Software ---------- */
.ld2-sw {
  padding: 1.6rem 0 2rem;
}

.ld2-sw-flex {
  display: flex;
  gap: 44px;
  align-items: center;
}

.ld2-sw-img {
  flex: 0 0 55%;
  min-width: 0;
}

.ld2-sw-img img {
  width: 100%;
  display: block;
}

.ld2-sw-list {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.ld2-sw-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld2-sw-list li {
  position: relative;
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding-left: 26px;
}

.ld2-sw-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.ld2-download {
  display: inline-block;
  margin-top: 10px;
  padding: 0.45rem 1.8rem;
  background: var(--color-lime);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  width: 130px;
}

.ld2-download:hover,
.ld2-download:focus-visible {
  background: var(--color-lime-dark);
  color: var(--color-white);
  text-decoration: none;
}

/* ---------- FAQ ---------- */
.ld2-faq {
  padding: 1.6rem 0 2rem;
}

.ld2-faq p {
  color: var(--color-white);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.2rem;
}

.ld2-faq .ld2-q {
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.1rem;
}

.ld2-faq .ld2-a {
  font-weight: 400;
  font-size: 0.88rem;
  opacity: 0.95;
}
.ld1-hero .cl-title{ margin-top:100px;}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .ld2-wrap {
    padding: 0 24px;
  }
  .ld2-odm-flex {
    flex-direction: column;
  }
  .ld2-odm-main {
    max-width: 560px;
  }
  .ld2-sw-flex {
    flex-direction: column;
    gap: 28px;
  }
  .ld2-sw-img {
    flex: 0 0 auto;
  }
}

@media (max-width: 575.98px) {
  .ld2-wrap {
    padding: 0 16px;
  }
  .ld2-odm-grid {
    grid-template-columns: 1fr;
  }
  .ld2-sw-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Landing Page 3 (luodiye3) — OEM Services
   lime band + Success Stories 2x2 + FAQ.
   Images cropped from 3.jpg design mock.
   ========================================= */

/* ---------- OEM Services ---------- */
.ld3-oem {
  padding: 0.6rem 0 2.4rem;
}

.ld3-oem-band {
  max-width: 1360px;
  margin: 0 auto;
  padding: 3.2rem 64px 2.6rem;
  background: var(--color-lime);
}

.ld3-oem-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 22px;
}

.ld3-card img {
  width: 100%;
  aspect-ratio: 399 / 398;
  object-fit: cover;
  display: block;
}

.ld3-card h3 {
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 700;
  margin: 0.85rem 0 0.3rem;
}

.ld3-card p {
  color: var(--color-dark);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Customer Success Stories (2x2) ---------- */
.ld3-stories-section {
  padding-bottom: 2.4rem;
}

.ld3-stories {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
}

.ld3-stories img {
  width: 100%;
  aspect-ratio: 646 / 405;
  object-fit: cover;
  display: block;
}

/* ---------- FAQ ---------- */
.ld3-faq {
  padding: 0.6rem 0 2.4rem;
}

.ld3-faq .ld3-q {
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 1.4rem 0 0.15rem;
}

.ld3-faq .ld3-a {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  opacity: 0.96;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ld3-oem-band {
    margin: 0 24px;
    padding: 2.4rem 32px 2rem;
  }
  .ld3-stories {
    gap: 28px 24px;
  }
}

@media (max-width: 991.98px) {
  .ld3-oem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .ld3-oem-band {
    margin: 0 16px;
    padding: 1.8rem 18px 1.6rem;
  }
  .ld3-oem-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .ld3-stories {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================================
   Landing Page 4 (luodiye4) — top collage +
   Factory Overview grid + OEM/ODM cards.
   Images cropped from 4.jpg design mock.
   ========================================= */

/* ---------- top title + collage ---------- */
.ld4-hero {
  padding: 1.4rem 0 0.6rem;
}

.ld4-collage {
  /* max-width: 1536px; */
  /* margin: 0 auto; */
  /* padding: 0 40px; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.ld4-collage img {
  width: 100%;
  aspect-ratio: 765 / 509;
  object-fit: cover;
  display: block;
}

/* ---------- Factory Overview ---------- */
.ld4-factory {
  padding: 1.4rem 0 2rem;
}

.ld4-factory-grid {
  /* max-width: 1720px; */
  /* margin: 0 auto; */
  /* padding: 0 40px; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.ld4-factory-grid img {
  width: 100%;
  aspect-ratio: 550 / 366;
  object-fit: cover;
  display: block;
}

/* ---------- OEM/ODM cards ---------- */
.ld4-oem {
  padding: 1.4rem 0 2.2rem;
}

.ld4-oem-grid {
  /* max-width: 1720px; */
  margin: 0 auto;
  /* padding: 0 40px; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ld4-oem-card {
  background: var(--color-white);
}

.ld4-oem-card img {
  width: 100%;
  aspect-ratio: 549 / 356;
  object-fit: cover;
  display: block;
}

.ld4-oem-card h3 {
  color: var(--color-dark);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0;
  padding: 0.65rem 0 0.8rem;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ld4-collage,
  .ld4-factory-grid,
  .ld4-oem-grid {
    padding: 0 24px;
  }
}

@media (max-width: 767.98px) {
  .ld4-collage {
    padding: 0 16px;
    gap: 5px;
  }
  .ld4-factory-grid,
  .ld4-oem-grid {
    padding: 0 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 575.98px) {
  .ld4-collage {
    grid-template-columns: 1fr;
  }
  .ld4-factory-grid,
  .ld4-oem-grid {
    grid-template-columns: 1fr;
  }
}
