:root {
  --navy: #0a3a5c;
  --blue: #1565a8;
  --teal: #2a9d8f;
  --green: #7cb342;
  --light: #f5f8fa;
  --text: #2d3a4a;
  --muted: #6b7c8a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: var(--blue);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10, 58, 92, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo span {
  line-height: 1.2;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero / full-screen sections */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 58, 92, 0.35) 0%, rgba(10, 58, 92, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero h1.company-name {
  white-space: nowrap;
}

.hero .en-name {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero .tagline .en {
  display: block;
  font-size: 0.85em;
  margin-top: 8px;
  opacity: 0.9;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-hint svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Page banner */
.page-banner {
  padding: 150px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.page-banner.about-hero {
  background: linear-gradient(180deg, rgba(10, 58, 92, 0.45) 0%, rgba(10, 58, 92, 0.6) 100%), url('images/about_hero.jpg');
  background-size: cover;
  background-position: center;
}

.page-banner.products-hero {
  background: linear-gradient(180deg, rgba(10, 58, 92, 0.45) 0%, rgba(10, 58, 92, 0.6) 100%), url('images/products_hero.jpg');
  background-size: cover;
  background-position: center;
}

.page-banner.cases-hero {
  background: linear-gradient(180deg, rgba(10, 58, 92, 0.45) 0%, rgba(10, 58, 92, 0.6) 100%), url('images/cases_hero.jpg');
  background-size: cover;
  background-position: center;
}

.page-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  font-weight: 700;
}

.page-banner p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.page-banner p .en {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.85;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h3 {
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 6px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* About */
.about-content {
  max-width: 880px;
  margin: 0 auto;
}

.about-text {
  background: var(--light);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
}

.about-text h4 {
  color: var(--navy);
  font-size: 20px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.about-text p {
  margin: 0 0 16px;
  text-align: justify;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text .en {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* About page layout matching screenshot */
.about-section {
  padding-top: 50px;
}

.about-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.about-page-header h3 {
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 700;
}

.about-page-header h3 span {
  font-size: 16px;
  color: var(--teal);
  font-weight: 500;
  margin-left: 8px;
}

.about-page-header .about-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.about-hero-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 58, 92, 0.12);
  margin-bottom: 36px;
}

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

.about-content-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 8px 30px rgba(10, 58, 92, 0.08);
}

.about-content-card h4 {
  color: var(--navy);
  font-size: 20px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.about-content-card p {
  margin: 0 0 16px;
  text-align: justify;
  line-height: 1.8;
}

.about-content-card p:last-child {
  margin-bottom: 0;
}

.about-content-card .en {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-divider {
  height: 1px;
  background: rgba(10, 58, 92, 0.1);
  margin: 32px 0;
}

/* Products */
.product-featured {
  background: linear-gradient(135deg, rgba(10, 58, 92, 0.04) 0%, rgba(42, 157, 143, 0.06) 100%);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 48px;
  border: 1px solid rgba(42, 157, 143, 0.15);
}

.product-featured .badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.product-featured h4 {
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 6px;
}

.product-featured .en-title {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.featured-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 58, 92, 0.12);
  background: var(--white);
}

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

.featured-text ul {
  margin: 0;
  padding-left: 18px;
}

.featured-text li {
  margin-bottom: 10px;
}

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

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 58, 92, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(10, 58, 92, 0.14);
}

.product-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card-body {
  padding: 22px;
}

.product-card h5 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 4px;
}

.product-card .en-title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.product-featured-link,
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Product blocks on products listing page */
.products-section {
  padding-top: 50px;
}

.product-block-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
}

.product-block {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(10, 58, 92, 0.08);
  border: 1px solid rgba(10, 58, 92, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(10, 58, 92, 0.14);
}

.product-block-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--teal);
}

.product-block-header h4 {
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 6px;
}

.product-block-header .en-title {
  font-size: 14px;
  color: var(--muted);
}

.product-block-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.product-block-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 58, 92, 0.1);
  background: var(--light);
}

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

.product-block-summary h5,
.detail-col h5 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(42, 157, 143, 0.25);
  display: inline-block;
}

.product-block-summary p {
  margin: 0 0 12px;
  text-align: justify;
  line-height: 1.8;
}

.product-block-summary p.en,
.detail-col p.en,
.detail-col ul.en {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.product-block-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 20px;
}

.detail-col ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.detail-col ul:last-child {
  margin-bottom: 0;
}

.detail-col li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.detail-col p {
  margin: 0 0 14px;
  text-align: justify;
  line-height: 1.8;
}

.process-col {
  display: flex;
  flex-direction: column;
}

.process-img {
  margin-top: auto;
  padding-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 58, 92, 0.1);
}

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

.product-block-foot {
  text-align: right;
}

.btn-text {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.product-block:hover .btn-text {
  color: var(--navy);
}

.detail-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* Product detail page: features & process sections */
.detail-block {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 8px 30px rgba(10, 58, 92, 0.08);
  border: 1px solid rgba(10, 58, 92, 0.06);
  margin-top: 28px;
}

.detail-block h4 {
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.detail-feat-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.detail-feat-cols ul {
  margin: 0;
  padding-left: 18px;
}

.detail-feat-cols li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.detail-feat-cols .en {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-block > p {
  margin: 0 0 14px;
  text-align: justify;
  line-height: 1.8;
}

.detail-block > p.en {
  color: var(--muted);
  font-size: 14px;
}

.detail-process-img {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 58, 92, 0.1);
  background: var(--light);
}

.detail-process-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .detail-feat-cols {
    grid-template-columns: 1fr;
  }
}

/* Water background behind text (semi-transparent, does not affect readability) */
main.detail-page {
  position: relative;
}

main.detail-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/water_bg.jpg') center / cover no-repeat fixed;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

main.detail-page > .section {
  position: relative;
  z-index: 1;
}

/* Product features: Chinese line + English line stacked */
.detail-feat-list {
  margin: 0;
}

.feat-item {
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
}

.feat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.feat-item .cn {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.feat-item .en {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Cases */
.cases-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.cases-intro .en {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 58, 92, 0.1);
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 58, 92, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Contact */
.contact-hero {
  height: 55vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 58, 92, 0.55);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}

.contact-hero p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.contact-info {
  max-width: 680px;
  margin: -60px auto 70px;
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 16px;
  padding: 30px 44px;
  box-shadow: 0 8px 30px rgba(10, 58, 92, 0.1);
}

.contact-info .info-row {
  display: flex;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(10, 58, 92, 0.08);
}

.contact-info .info-row:last-child {
  border-bottom: none;
}

.contact-info .info-label {
  flex: 0 0 130px;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}

.contact-info .info-value {
  flex: 1;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
}

@media (max-width: 600px) {
  .contact-info {
    padding: 24px 24px;
    margin: -30px auto 50px;
  }
  .contact-info .info-row {
    flex-direction: column;
    gap: 4px;
  }
  .contact-info .info-label {
    flex: none;
  }
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
}

footer a {
  color: rgba(255, 255, 255, 0.85);
}

footer p {
  margin: 4px 0;
}

/* Product navigation grid (products listing page) */
.product-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.product-nav-box {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 58, 92, 0.08);
  border: 1px solid rgba(10, 58, 92, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-nav-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(10, 58, 92, 0.14);
}

.product-nav-box .pn-img {
  height: 200px;
  overflow: hidden;
  background: var(--light);
}

.product-nav-box .pn-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-nav-box:hover .pn-img img {
  transform: scale(1.04);
}

.product-nav-box .pn-text {
  position: relative;
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
}

.product-nav-box .pn-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/water_bg.jpg') center / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.product-nav-box .pn-text > * {
  position: relative;
  z-index: 1;
}

.product-nav-box .pn-text h4 {
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 6px;
}

.product-nav-box .pn-en {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .product-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-nav-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .mobile-menu-btn {
    display: block;
  }

  .featured-grid,
  .product-grid,
  .gallery,
  .product-block-intro,
  .product-block-detail {
    grid-template-columns: 1fr;
  }

  .product-featured {
    padding: 28px;
  }

  .product-block {
    padding: 24px;
  }

  .product-block-header h4 {
    font-size: 22px;
  }
}
