/* Vaconn / Dianwei — Bootstrap theme (green + white) */
:root {
  --vc-green: #0b6e4f;
  --vc-green-dark: #08563e;
  --vc-green-light: #1a9b6f;
  --vc-mint: #e8f5ef;
  --vc-mint-2: #d4ede3;
  --vc-ink: #1e2a24;
  --vc-muted: #5a6b62;
  --vc-white: #ffffff;
  --vc-line: rgba(11, 110, 79, 0.12);
  --vc-shadow: 0 12px 40px rgba(11, 110, 79, 0.12);
  --vc-font-brand: "Georgia", "SimSun", "Songti SC", serif;
  --vc-font-heiti: "Microsoft YaHei", "SimHei", "Heiti SC", sans-serif;
  --vc-font-body: "Microsoft YaHei", "SimHei", "Heiti SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.vc-body {
  margin: 0;
  font-family: var(--vc-font-body);
  color: var(--vc-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 155, 111, 0.14), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(11, 110, 79, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fbf9 0%, #ffffff 40%, #f3faf6 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a {
  color: var(--vc-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vc-green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* —— Navbar —— */
.vc-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vc-line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  z-index: 1030;
}

.vc-navbar.is-scrolled {
  box-shadow: 0 8px 28px rgba(11, 110, 79, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.vc-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  text-decoration: none !important;
}

.vc-brand-logo {
  height: 70px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.vc-brand-name {
  font-family: var(--vc-font-heiti);
  font-weight: 900;
  font-size: 2rem;
  color: #111111;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.vc-brand:hover .vc-brand-name {
  color: #000000;
}

.vc-brand-sub {
  display: none;
}

@media (max-width: 575.98px) {
  .vc-brand-logo {
    height: 34px;
  }

  .vc-brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }
}

.vc-navbar .nav-link {
  color: var(--vc-ink) !important;
  font-weight: 500;
  padding: 0.55rem 0.85rem !important;
  border-radius: 0.4rem;
}

.vc-navbar .nav-link:hover,
.vc-navbar .nav-link:focus {
  color: var(--vc-green) !important;
  background: var(--vc-mint);
}

.vc-lang {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: 0.5rem;
}

.vc-lang a {
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--vc-line);
  color: var(--vc-muted);
}

.vc-lang a.active,
.vc-lang a:hover {
  background: var(--vc-green);
  border-color: var(--vc-green);
  color: #fff;
}

.navbar-toggler {
  border-color: var(--vc-line);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(11, 110, 79, 0.2);
}

/* —— Hero —— */
.vc-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.vc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 86, 62, 0.88) 0%, rgba(11, 110, 79, 0.72) 45%, rgba(8, 60, 44, 0.55) 100%),
    url("../images/topt.jpg") center / cover no-repeat;
  z-index: -2;
  transform: scale(1.02);
  animation: vcHeroZoom 18s ease-in-out infinite alternate;
}

.vc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(8, 50, 36, 0.35) 100%);
  z-index: -1;
}

@keyframes vcHeroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.vc-hero-inner {
  padding: 5.5rem 0 4rem;
  max-width: 720px;
  animation: vcFadeUp 0.9s ease both;
}

@keyframes vcFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc-hero-brand {
  font-family: var(--vc-font-brand);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.35rem;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.vc-hero-tag {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.vc-hero-lead {
  font-size: 1.05rem;
  max-width: 34rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.45rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vc-btn:hover {
  transform: translateY(-2px);
}

.vc-btn-primary {
  background: #fff;
  color: var(--vc-green-dark);
}

.vc-btn-primary:hover {
  background: var(--vc-mint);
  color: var(--vc-green-dark);
}

.vc-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  margin-left: 0.6rem;
}

.vc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.vc-btn-solid {
  background: var(--vc-green);
  color: #fff;
}

.vc-btn-solid:hover {
  background: var(--vc-green-dark);
  color: #fff;
}

.vc-btn-outline {
  background: transparent;
  border-color: var(--vc-green);
  color: var(--vc-green);
}

.vc-btn-outline:hover {
  background: var(--vc-green);
  color: #fff;
}

/* —— Sections —— */
.vc-section {
  padding: 3.5rem 0;
}

.vc-section-alt {
  background: linear-gradient(180deg, var(--vc-mint) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.vc-section-head {
  margin-bottom: 1.75rem;
}

.vc-section-head h2 {
  font-family: var(--vc-font-brand);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--vc-green-dark);
  margin: 0 0 0.4rem;
}

.vc-section-head p {
  color: var(--vc-muted);
  margin: 0;
  max-width: 36rem;
}

.vc-section-head .vc-more {
  font-weight: 600;
  white-space: nowrap;
}

/* —— Application tiles —— */
.vc-app {
  display: block;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 180px;
  color: #fff !important;
  box-shadow: var(--vc-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vc-app:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(11, 110, 79, 0.22);
  color: #fff !important;
}

.vc-app img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.vc-app:hover img {
  transform: scale(1.06);
}

.vc-app span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 60, 44, 0.9));
  font-weight: 600;
  font-size: 1.05rem;
}

/* —— Application page cards —— */
.vc-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vc-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--vc-line);
  border-radius: 1rem;
  padding: 1.5rem 1rem 1.25rem;
  color: var(--vc-ink);
  text-decoration: none !important;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vc-app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 110, 79, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.vc-app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 110, 79, 0.16);
  border-color: rgba(11, 110, 79, 0.35);
  color: var(--vc-ink);
  background: #f8fcfa;
}

.vc-app-card:hover::before {
  opacity: 1;
}

.vc-app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.95rem;
  border: 2px solid var(--vc-mint-2);
  background: linear-gradient(145deg, var(--vc-mint), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.vc-app-card:hover .vc-app-card-icon {
  transform: scale(1.08);
  border-color: var(--vc-green);
  box-shadow: 0 10px 24px rgba(11, 110, 79, 0.2);
  background: linear-gradient(145deg, var(--vc-green), var(--vc-green-light));
}

.vc-app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vc-app-card:hover .vc-app-card-icon img {
  transform: scale(1.08);
}

.vc-app-card-icon i {
  font-size: 1.85rem;
  color: var(--vc-green);
  line-height: 1;
  transition: color 0.28s ease, transform 0.28s ease;
}

.vc-app-card:hover .vc-app-card-icon i {
  color: #fff;
  transform: scale(1.08);
}

.vc-app-card-title {
  font-family: var(--vc-font-heiti);
  font-weight: 900;
  font-size: 1rem;
  color: #111;
  margin: 0;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.vc-app-card:hover .vc-app-card-title {
  color: var(--vc-green-dark);
}

.vc-app-card-desc {
  font-size: 0.92rem;
  color: var(--vc-muted);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}

.vc-app-card-more {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vc-green);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: relative;
  z-index: 1;
}

.vc-app-card:hover .vc-app-card-more {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .vc-app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .vc-app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .vc-app-grid {
    grid-template-columns: 1fr;
  }

  .vc-app-card {
    padding: 1.25rem 1rem;
    flex-direction: row;
    text-align: left;
    gap: 0.9rem;
  }

  .vc-app-card-icon {
    margin-bottom: 0;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .vc-app-card-icon i {
    font-size: 1.45rem;
  }
}

/* —— Product cards —— */
.vc-prod-block {
  margin-bottom: 2.25rem;
}

.vc-prod-block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--vc-mint-2);
  padding-bottom: 0.5rem;
}

.vc-prod-block-title h3 {
  font-family: var(--vc-font-brand);
  font-size: 1.35rem;
  color: var(--vc-green-dark);
  margin: 0;
}

.vc-card {
  background: #1da900;
  border: 1px solid var(--vc-line);
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.vc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--vc-shadow);
  border-color: rgba(11, 110, 79, 0.28);
}

.vc-card-img {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s ease;
}

.vc-card:hover .vc-card-img img {
  transform: scale(1.04);
}

.vc-card-body {
  padding: 0.85rem 1rem 1.1rem;
  flex: 1;
}

.vc-card-body a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vc-card-body a:hover {
  color:#d9ecfd;
}

.vc-empty {
  color: var(--vc-muted);
  padding: 1rem 0;
}

/* —— News —— */
.vc-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--vc-line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.vc-news-list li {
  border-bottom: 1px solid var(--vc-line);
}

.vc-news-list li:last-child {
  border-bottom: 0;
}

.vc-news-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  color: var(--vc-ink);
}

.vc-news-list a:hover {
  background: var(--vc-mint);
  color: var(--vc-green-dark);
}

.vc-news-list .vc-date {
  color: var(--vc-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* —— Inner pages —— */
.vc-page-banner {
  background: linear-gradient(120deg, var(--vc-green-dark), var(--vc-green-light));
  color: #fff;
  padding: 2.25rem 0 1.75rem;
  margin-bottom: 0;
}

.vc-page-banner h1 {
  font-family: var(--vc-font-brand);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.vc-page-banner .breadcrumb {
  margin: 0.5rem 0 0;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
}

.vc-page-banner .breadcrumb-item,
.vc-page-banner .breadcrumb-item a,
.vc-page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.vc-panel {
  background: #fff;
  border: 1px solid var(--vc-line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.vc-panel-title {
  font-family: var(--vc-font-brand);
  font-size: 1.15rem;
  color: var(--vc-green-dark);
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vc-mint-2);
}

.vc-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vc-sidebar-nav li {
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.vc-sidebar-nav li > a b,
.vc-sidebar-nav li > a {
  color: var(--vc-ink);
  font-weight: 600;
}

.vc-sidebar-nav span a {
  display: block;
  padding: 0.2rem 0 0.2rem 1.1rem;
  color: var(--vc-muted);
  font-size: 0.92rem;
}

.vc-sidebar-nav span a:hover,
.vc-sidebar-nav li > a:hover {
  color: var(--vc-green);
}

.vc-sidebar-nav img {
  display: none;
}

.vc-content-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--vc-ink);
}

.vc-content-body img {
  max-width: 100%;
  height: auto;
}

.vc-article-title {
  font-family: var(--vc-font-brand);
  font-size: 1.6rem;
  color: var(--vc-green-dark);
  text-align: center;
  margin: 0 0 0.75rem;
}

.vc-meta {
  text-align: center;
  color: var(--vc-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--vc-line);
}

.vc-product-hero-img {
  text-align: center;
  margin: 1rem 0 1.5rem;
  background: var(--vc-mint);
  border-radius: 0.75rem;
  padding: 1rem;
}

.vc-product-hero-img img {
  max-width: min(100%, 520px);
  border-radius: 0.35rem;
}

.vc-news-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--vc-line);
  color: var(--vc-ink);
}

.vc-news-row:hover {
  color: var(--vc-green);
}

.vc-pager {
  margin-top: 1.25rem;
  text-align: center;
}

.vc-pager table,
.vc-pager p {
  margin: 0 auto;
}

.vc-pager a {
  display: inline-block;
  margin: 0 0.15rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.3rem;
  border: 1px solid var(--vc-line);
}

.vc-pager a:hover {
  background: var(--vc-green);
  color: #fff;
  border-color: var(--vc-green);
}

/* —— Footer —— */
.vc-footer {
  background: linear-gradient(180deg, #0a5c42 0%, #074432 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.vc-footer a {
  color: #fff;
}

.vc-footer a:hover {
  color: var(--vc-mint-2);
}

.vc-footer-brand {
  font-family: var(--vc-font-brand);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.vc-footer-meta {
  font-size: 0.9rem;
  opacity: 0.85;
}

.vc-footer-copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* —— Misc —— */
.vc-main {
  min-height: 40vh;
}

@media (max-width: 767.98px) {
  .vc-hero {
    min-height: 70vh;
  }

  .vc-hero-inner {
    padding: 4.5rem 0 3rem;
  }

  .vc-btn-ghost {
    margin-left: 0;
    margin-top: 0.6rem;
  }

  .vc-lang {
    margin: 0.75rem 0 0;
  }

  .vc-cert-marquee {
    padding: 0.75rem 0;
  }

  .vc-cert-group img {
    height: 72px;
  }
}

/* —— Certificate marquee —— */
.vc-cert-marquee {
  background: #fff;
  border-bottom: 1px solid var(--vc-line);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
}

.vc-cert-marquee::before,
.vc-cert-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.vc-cert-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.vc-cert-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

.vc-cert-track {
  display: flex;
  width: max-content;
  animation: vcCertScroll 45s linear infinite;
}

.vc-cert-marquee:hover .vc-cert-track {
  animation-play-state: paused;
}

.vc-cert-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.vc-cert-group img {
  height: 88px;
  width: auto;
  object-fit: contain;
  border: 1px solid var(--vc-line);
  border-radius: 0.35rem;
  background: #fff;
  padding: 0.25rem;
  flex-shrink: 0;
}

@keyframes vcCertScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Service intro (xsfu) —— */
.vc-service-intro p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--vc-ink);
  margin-bottom: 0.6rem;
  text-indent: 2em;
}

.vc-service-intro p:last-child {
  margin-bottom: 0;
}

.vc-service-block {
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--vc-line);
}

.vc-service-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.vc-service-block:first-child {
  padding-top: 0;
}

.vc-service-block h3 {
  font-family: var(--vc-font-heiti);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vc-green-dark);
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.vc-service-block h3 i {
  font-size: 1.1rem;
  color: var(--vc-green);
  flex-shrink: 0;
}

.vc-service-block p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--vc-muted);
  margin: 0;
  text-indent: 2em;
}

/* —— Contact info icons (pg) —— */
.vc-content-body .vc-ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--vc-mint);
  color: var(--vc-green-dark);
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-right: 0.55rem;
  vertical-align: middle;
}

.vc-content-body p.vc-ci-wrap,
.vc-content-body .vc-ci-line {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.45rem;
  background: #f8fdf9;
  border: 1px solid var(--vc-line);
  border-radius: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  text-indent: 0;
  transition: background 0.2s, border-color 0.2s;
}

.vc-content-body p.vc-ci-wrap:hover,
.vc-content-body .vc-ci-line:hover {
  background: #f0faf2;
  border-color: var(--vc-green);
}

.vc-content-body p.vc-ci-wrap strong,
.vc-content-body .vc-ci-line strong {
  color: var(--vc-green-dark);
  margin-right: 0.3rem;
  min-width: 3.5em;
}

