/* ==========================================================================
   Shandong Gaoqiang New Material Technology Co., Ltd. - Index CSS
   Exact Match to User Reference Screenshots & Optimized Component Styling
   ========================================================================== */

/* --------------------------------------------------
   1. Banner Section (Hero Swiper Slider)
   -------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: #f5f8fd;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: min(800px, calc(100vw * 800 / 1920));
  min-height: 500px;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-img {
  display: none;
}

.hero-section .swiper-pagination {
  bottom: 28px !important;
  z-index: 5;
}

.hero-section .swiper-pagination-bullet {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.62);
  opacity: 1;
  transition: var(--transition);
}

.hero-section .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 55px;
}

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(8, 29, 60, 0.55);
  backdrop-filter: blur(8px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.hero-section .swiper-button-prev {
  left: 30px;
}

.hero-section .swiper-button-next {
  right: 30px;
}

.hero-section .swiper-button-next:after,
.hero-section .swiper-button-prev:after {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.4);
}

/* --------------------------------------------------
   2. About Us Module
   -------------------------------------------------- */
.about-section {
  padding: 96px 0 86px;
  background-color: #ffffff;
}

.about-section {
  padding: 85px 0 90px;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.about-text-content {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-subtitle {
  position: relative;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: inline-block;
}

.about-subtitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 36px;
  height: 3.5px;
  background: var(--accent);
  border-radius: 2px;
}

.about-title {
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.about-title span {
  color: var(--accent);
}

.about-text-p {
  max-width: 580px;
  font-size: 0.98rem;
  color: #4e5d78;
  line-height: 1.75;
  margin-bottom: 18px;
}

.btn-about-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #081d3c;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  margin-top: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(8, 29, 60, 0.18);
  border: 1px solid transparent;
}

.btn-about-learn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.btn-about-learn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 85, 0, 0.28);
}

.btn-about-learn:hover i {
  transform: translateX(4px);
}

.about-image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 28, 54, 0.06);
  border: 1px solid #f0f4f9;
  height: 480px;
  display: flex;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 20px;
  margin: 56px 0 0;
  padding: 32px 40px;
  background: #ffffff;
  border: 1px solid #f0f4f9;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(10, 28, 54, 0.07);
}

.about-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 0 10px;
  border-left: 0;
}

.about-stat-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf2f8;
  font-size: 1.85rem;
  color: var(--primary);
  line-height: 1;
}

.about-stat-info {
  display: flex;
  flex-direction: column;
}

.about-stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.about-stat-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.about-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
}

/* --------------------------------------------------
   3. Products Module (4 Cards Per Row Grid)
   -------------------------------------------------- */
.products-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.title-decor-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
}

.navy-line {
  width: 32px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.orange-dot {
  width: 8px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.products-section {
  padding: 85px 0 90px;
  background-color: #f7faff;
  background-image: radial-gradient(#dce7f5 1px, transparent 1px);
  background-size: 24px 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 45px;
  align-items: stretch;
}

.products-swiper {
  position: relative;
  overflow: visible;
}

.product-card-box {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f0f4f9;
  box-shadow: 0 10px 30px rgba(10, 28, 54, 0.05);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  height: 100%;
}

.product-card-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 28, 54, 0.12), 0 0 20px rgba(255, 85, 0, 0.1);
  border-color: rgba(255, 85, 0, 0.35);
}

.product-card-top {
  width: 100%;
  aspect-ratio: 1 / 1; /* 1:1 正方形比例 */
  background: linear-gradient(145deg, #f8fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 正方形图片平铺且不变形 */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-card-bottom {
  background: #ffffff;
  padding: 22px 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 142px;
  min-height: 142px;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
  text-align: left;
  transition: color 0.3s ease;
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}

.product-card-box:hover .product-card-name {
  color: var(--accent);
}

.product-card-line {
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
  margin-top: 0;
  margin-left: 0;
  display: block;
  transition: width 0.35s ease;
}

.product-card-box:hover .product-card-line {
  width: 44px;
}

.product-card-view-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.3s ease;
}

.product-card-view-more i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.product-card-box:hover .product-card-view-more {
  color: var(--accent);
}

.product-card-box:hover .product-card-view-more i {
  transform: translateX(4px);
}

.products-action-center {
  text-align: center;
  margin-top: 20px;
}

.btn-product-view-all {
  min-height: 46px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* --------------------------------------------------
   4. Applications Module
   -------------------------------------------------- */
.applications-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  background: #f4f9ff url('../images/index-app.png') center center / cover no-repeat;
}

.applications-section > .container {
  position: relative;
  z-index: 1;
}

.applications-section .section-desc {
  color: #19345b;
}

.applications-grid {
  display: flex;
  gap: 0;
  width: 100%;
  margin: 0 auto;
}

.applications-carousel {
  width: min(100%, 1400px);
  padding: 0 58px;
  margin: 0 auto;
  position: relative;
}

.applications-swiper {
  width: 100%;
  overflow: hidden;
}

.factory-swiper {
  position: relative;
  overflow: visible;
}

.application-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  transition: transform 0.35s ease;
  position: relative;
}

.application-card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.application-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dceaf8;
}

.application-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.application-card:hover .application-card-media img {
  transform: scale(1.06);
}

.application-card-caption {
  display: flex;
  min-height: 72px;
  padding: 16px 14px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  text-align: center;
  background: rgba(0, 56, 118, 0.82);
  backdrop-filter: blur(3px);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.application-card-caption strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.application-card-caption i {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.35s ease;
}

.application-card:hover .application-card-caption i {
  width: 50px;
}

.applications-action-center {
  text-align: center;
  margin-top: 34px;
}

.btn-applications-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 32px;
  min-height: 46px;
  transition: all 0.3s ease;
}

.btn-applications-view-all:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 28, 54, 0.2);
}

.btn-applications-view-all i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.btn-applications-view-all:hover i {
  transform: translateX(4px);
  color: #ffffff;
}

/* --------------------------------------------------
   5. Why Choose Us Module (Exact Match to Reference Image)
   -------------------------------------------------- */
.why-section {
  padding: 85px 0 95px;
  background-color: #fbfcff;
  background-image: url('../images/index-why.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #f0f4f9;
  border-radius: 18px;
  padding: 38px 24px 34px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(10, 28, 54, 0.05);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 28, 54, 0.12), 0 0 20px rgba(255, 85, 0, 0.1);
  border-color: rgba(255, 85, 0, 0.35);
}

.why-icon {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 50%;
  background: #edf4fb;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  transition: all 0.35s ease;
}

.why-icon-main {
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1;
}

.why-icon-badge-dot {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
}

.why-icon-badge-drop {
  position: absolute;
  right: 25px;
  bottom: 24px;
  font-size: 1.15rem;
  color: var(--accent);
}

.why-icon-badge-check {
  position: absolute;
  font-size: 1.3rem;
  color: var(--accent);
}

.why-icon-badge-pin {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 1.25rem;
justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 正方形图片平铺且不变形 */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-card-bottom {
  background: #ffffff;
  padding: 22px 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 142px;
  min-height: 142px;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
  text-align: left;
  transition: color 0.3s ease;
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}

.product-card-box:hover .product-card-name {
  color: var(--accent);
}

.product-card-line {
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
  margin-top: 0;
  margin-left: 0;
  display: block;
  transition: width 0.35s ease;
}

.product-card-box:hover .product-card-line {
  width: 44px;
}

.product-card-view-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.3s ease;
}

.product-card-view-more i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.product-card-box:hover .product-card-view-more {
  color: var(--accent);
}

.product-card-box:hover .product-card-view-more i {
  transform: translateX(4px);
}

.products-action-center {
  text-align: center;
  margin-top: 20px;
}

.btn-product-view-all {
  min-height: 46px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
}


/* --------------------------------------------------
   4. Why Choose Us Module (Exact Match to Reference Image)
   -------------------------------------------------- */
.why-section {
  padding: 85px 0 95px;
  background-color: #fbfcff;
  background-image: url('../images/index-why.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #f0f4f9;
  border-radius: 18px;
  padding: 38px 24px 34px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(10, 28, 54, 0.05);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 28, 54, 0.12), 0 0 20px rgba(255, 85, 0, 0.1);
  border-color: rgba(255, 85, 0, 0.35);
}

.why-icon {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 50%;
  background: #edf4fb;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  transition: all 0.35s ease;
}

.why-icon-main {
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1;
}

.why-icon-badge-dot {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
}

.why-icon-badge-drop {
  position: absolute;
  right: 25px;
  bottom: 24px;
  font-size: 1.15rem;
  color: var(--accent);
}

.why-icon-badge-check {
  position: absolute;
  font-size: 1.3rem;
  color: var(--accent);
}

.why-icon-badge-pin {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 1.25rem;
  color: var(--accent);
}

.why-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.why-card-line {
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 16px;
  transition: width 0.35s ease;
}

.why-card:hover .why-card-line {
  width: 46px;
}

.why-desc {
  font-size: 0.9rem;
  color: #556377;
  line-height: 1.65;
  margin: 0;
}

.why-stats-floating {
  margin-top: 50px;
}
.why-stat-icon-output .why-stat-detail {
  right: -2px;
  top: -4px;
  font-size: 1.35rem;
}
.why-stat div { display: flex; flex-direction: column; }
.why-stat strong { color: var(--primary); font-size: 2.15rem; line-height: 1.05; white-space: nowrap; }
.why-stat small { font-size: 0.72rem; }
.why-stat div > span { color: #1e365c; font-size: 0.86rem; margin-top: 7px; white-space: nowrap; }

/* --------------------------------------------------
   5. Company & Factory Gallery Module (Optimized Image Heights & Text Sizes)
   -------------------------------------------------- */
.company-section {
  padding: 100px 0;
  background-color: var(--secondary);
  color: #ffffff;
}

.company-section .section-title {
  color: #ffffff;
}

.company-section .section-desc {
  color: #cbd5e1;
}

.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}

.home-mobile-swiper-btn {
  display: none;
}

.applications-section .home-mobile-swiper-btn {
  position: absolute;
  top: calc(50% - 5px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 43, 92, 0.2);
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.applications-section .home-mobile-swiper-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.04);
}

.applications-section .home-mobile-swiper-prev {
  left: 0;
}

.applications-section .home-mobile-swiper-next {
  right: 0;
}

.factory-item {
  display: block;
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 320px; /* Increased Image Height */
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.factory-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-item:hover img {
  transform: scale(1.08);
}

.factory-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 26px 24px;
  background: linear-gradient(0deg, rgba(10, 25, 47, 0.96) 0%, rgba(10, 25, 47, 0.5) 70%, rgba(10, 25, 47, 0) 100%);
  color: #ffffff;
}

.factory-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.factory-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

/* --------------------------------------------------
   6. Certifications
   -------------------------------------------------- */
.certifications-section {
  position: relative;
  overflow: hidden;
  min-height: 805px;
  padding: 90px 0 70px;
  background: #f7faff url('../images/index-cer.png') center calc(100% + 42px) / cover no-repeat;
}

.certifications-section > .container {
  position: relative;
  z-index: 1;
}

.certifications-heading {
  margin-bottom: 0;
}

.certifications-heading .section-title {
  color: #082c67;
}

.certificates-showcase {
  position: relative;
  width: min(100%, 1700px);
  margin: 70px auto 0;
  padding: 0 46px 14px;
}

.cert-swiper {
  width: 100%;
  overflow: hidden;
  padding: 12px 0 18px;
}

.cert-swiper .swiper-wrapper {
  align-items: flex-end;
}

.certificate-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  transition: transform 0.3s ease;
}

.certificate-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(34, 75, 132, 0.16));
}

.certificate-card:hover {
  transform: translateY(-10px);
}

/* --------------------------------------------------
   7. News Module (Exact Match to Reference Image)
   -------------------------------------------------- */
.news-section {
  padding: 85px 0 95px;
  background-color: #f7faff;
  background-image: url('../images/index-new.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f4f9;
  box-shadow: 0 10px 30px rgba(10, 28, 54, 0.05);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 28, 54, 0.12), 0 0 20px rgba(255, 85, 0, 0.1);
  border-color: rgba(255, 85, 0, 0.35);
}

.news-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #edf2f7;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.news-body {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.news-meta i {
  color: #94a3b8;
  font-size: 0.85rem;
}

.news-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.38;
  text-align: left;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #556377;
  line-height: 1.65;
  margin-bottom: 10px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.3s ease;
}

.news-link i {
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.news-card:hover .news-link {
  color: var(--accent);
}

.news-card:hover .news-link i {
  transform: translateX(4px);
}

.news-action-center {
  text-align: center;
  margin-top: 36px;
}

.btn-news-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(10, 28, 54, 0.06);
}

.btn-news-view-all i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.btn-news-view-all:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 28, 54, 0.2);
}

.btn-news-view-all:hover i {
  transform: translateX(4px);
  color: #ffffff;
}

/* --------------------------------------------------
   10. Homepage CTA (Fixed Background Dark Blue Design)
   -------------------------------------------------- */
.cta-section {
  position: relative;
  width: 100%;
  min-height: 260px;
  padding: 55px 0;
  overflow: hidden;
  background-image: url('../images/index-cta.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Fixed Dark Blue Overlay Mask */
.cta-overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 16, 42, 0.91) 0%, rgba(4, 24, 60, 0.86) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom Wave Texture */
.cta-wave-texture {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.cta-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-container {
  position: relative;
  z-index: 3;
}

.cta-flex-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-left-content {
  max-width: 720px;
}

.cta-title {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

.cta-title span {
  color: var(--accent) !important;
}

.cta-desc {
  color: #cbd5e1 !important;
  font-size: 1.08rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 540px !important;
}

.cta-right-action {
  flex-shrink: 0;
}

/* Outlined White Button as shown in Reference Image */
.btn.btn-cta-outline,
.btn-cta-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 14px 34px !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 4px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.btn.btn-cta-outline:hover,
.btn-cta-outline:hover {
  background: #ffffff !important;
  color: #041d42 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
}

.btn-cta-outline i {
  font-size: 0.95rem !important;
  transition: transform 0.3s ease !important;
}

.btn-cta-outline:hover i {
  transform: translateX(5px) !important;
}

@media (max-width: 992px) {
  .cta-flex-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

/* Scroll Reveal Motion */
body {
  overflow-x: hidden;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up { transform: translateY(34px); }
.reveal-left { transform: translateX(-54px); }
.reveal-right { transform: translateX(54px); }
.reveal-pop { transform: translateY(28px) scale(0.94); }

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-swiper {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 800;
  }
  .hero-slide {
    background-size: contain;
    background-color: #f5f8fd;
  }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1201px) and (max-width: 1440px) {
  .hero-swiper {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 800;
  }
  .hero-slide {
    background-size: contain;
    background-color: #f5f8fd;
  }
}

@media (max-width: 1024px) {
  .hero-swiper {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 800;
  }
  .hero-slide { background-size: contain; }
  .hero-section .swiper-pagination { bottom: 26px !important; }
  .about-grid { grid-template-columns: 1fr; align-items: flex-start; gap: 38px; }
  .about-image-card { width: 100%; height: 400px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); padding: 28px; gap: 20px; }
  .about-stat-item { justify-content: flex-start; padding: 10px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .why-stat:nth-child(3) { border-left: 0; }
  .factory-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .certifications-section { min-height: 720px; padding-top: 80px; }
  .certificates-showcase { margin-top: 62px; padding: 0 20px 8px; }
  .certificate-card img { height: 310px; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-content-wrapper { max-width: 680px; margin-left: 3%; }
}

@media (max-width: 768px) {
  .hero-swiper {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .hero-slide {
    height: auto;
    background-image: none !important;
    background-size: cover;
  }
  .hero-slide-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-section .swiper-button-next,
  .hero-section .swiper-button-prev {
    width: 34px;
    height: 34px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  }
  .hero-section .swiper-button-prev {
    left: 12px;
  }
  .hero-section .swiper-button-next {
    right: 12px;
  }
  .hero-section .swiper-button-next:after,
  .hero-section .swiper-button-prev:after {
    font-size: 0.82rem;
  }
  .hero-section .swiper-pagination { bottom: 22px !important; }
  .about-section { padding: 60px 0; }
  .about-grid { gap: 28px; }
  .about-image-card { height: 280px; border-radius: 16px; }
  .about-subtitle { margin-bottom: 20px; font-size: 0.95rem; }
  .about-title { font-size: 2rem; margin-bottom: 18px; }
  .about-text-p { font-size: 0.92rem; line-height: 1.65; margin-bottom: 14px; }
  .btn-about-learn { padding: 12px 26px; font-size: 0.92rem; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 36px; padding: 20px 16px; gap: 16px 10px; border-radius: 16px; }
  .about-stat-item { padding: 8px 4px; gap: 12px; }
  .about-stat-icon { width: 48px; height: 48px; flex-basis: 48px; font-size: 1.4rem; }
  .about-stat-value { font-size: 1.65rem; }
  .about-stat-label { white-space: normal; font-size: 0.82rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0 30px; }
  .product-card-bottom { flex-basis: 124px; min-height: 124px; padding: 16px 12px 14px; }
  .product-card-name { font-size: 0.95rem; margin-bottom: 10px; min-height: 2.7em; max-height: 2.7em; }
  .applications-section { padding: 58px 0 64px; background-position: center center; }
  .applications-section .section-desc { font-size: 0.95rem; }
  .products-swiper,
  .applications-swiper,
  .factory-swiper {
    overflow: hidden;
  }
  .products-swiper { padding: 0 0 58px; }
  .applications-carousel { padding: 0 48px; }
  .applications-swiper { padding: 0; }
  .factory-swiper { padding: 0 0 58px; }
  .products-grid,
  .applications-grid,
  .factory-gallery-grid {
    display: flex;
    gap: 0;
    width: 100%;
    margin: 0;
  }
  .products-grid .swiper-slide,
  .applications-grid .swiper-slide,
  .factory-gallery-grid .swiper-slide {
    width: 100%;
    flex-shrink: 0;
  }
  .application-card-caption { min-height: 64px; padding: 14px 10px 12px; }
  .application-card-caption strong { font-size: 0.94rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-section { padding: 56px 0 42px; }
  .section-title { font-size: 2rem; }
  .why-section .section-desc br { display: none; }
  .why-card { min-height: 0; }
  .factory-item { height: 280px; }
  .home-mobile-swiper-btn {
    position: absolute;
    bottom: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(0, 43, 92, 0.2);
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .home-mobile-swiper-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
  }
  .home-mobile-swiper-prev {
    left: calc(50% - 50px);
  }
  .home-mobile-swiper-next {
    right: calc(50% - 50px);
  }
  .applications-section .home-mobile-swiper-btn {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .applications-section .home-mobile-swiper-btn:hover {
    transform: translateY(-50%) scale(1.04);
  }
  .applications-section .home-mobile-swiper-prev {
    left: 0;
  }
  .applications-section .home-mobile-swiper-next {
    right: 0;
  }
  .certifications-section { min-height: 570px; padding: 62px 0 42px; background-position: center calc(100% + 20px); }
  .certifications-heading .section-title { font-size: 2rem; }
  .certificates-showcase { margin-top: 42px; padding: 0 4px 16px; }
  .cert-swiper { padding-bottom: 10px; }
  .certificate-card img { height: 260px; }
  .news-thumb { height: 200px; }
  .cta-section {
    min-height: 440px;
    padding: 60px 0 70px;
    background-position: 65% center;
  }
  .cta-content-wrapper { max-width: 100%; margin-left: 0; }
  .cta-title { font-size: 2.2rem !important; }
  .cta-desc { font-size: 1rem !important; }
  .cta-dot-grid { display: none; }
  .cta-bottom-line-wrap { display: none; }
}

@media (max-width: 480px) {
  .about-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
  .about-stat-item { border-top: 0; padding: 8px 4px; }
  .products-grid { gap: 0; }
  .product-card-bottom { flex-basis: 118px; min-height: 118px; padding: 14px 10px 12px; }
  .product-card-name { font-size: 0.9rem; }
  .applications-grid { gap: 0; }
  .application-card-media { aspect-ratio: 1 / 1; }
  .btn-applications-view-all { width: 100%; }
  .cta-title { font-size: 2.15rem; }
  .cta-desc br { display: none; }
  .btn.btn-cta-primary,
  .btn-cta-primary { min-width: 240px; width: 100%; }
}
