/* here you can put your own css to customize and override the theme */

/* ----- Language dropdown (unchanged behavior) ----- */
.header-navigation .lang-switch-group-start {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.header-navigation .lang-dropdown {
  position: relative;
}

.header-navigation .lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  line-height: 1;
  border-radius: 4px;
  text-decoration: none !important;
  text-transform: none !important;
  color: #fff !important;
  opacity: 0.9;
}

.header-navigation .lang-dropdown-toggle:hover,
.header-navigation .lang-dropdown-toggle:focus,
.header-navigation .lang-dropdown.open > .lang-dropdown-toggle {
  color: #fff !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.header-navigation .lang-trigger {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.header-navigation .lang-trigger-zh {
  color: #ffb199;
  margin-right: 1px;
}

.header-navigation .lang-trigger-en {
  color: #ffd0bf;
  font-size: 15px;
  font-weight: 600;
}

.header-navigation .lang-dropdown .dropdown-menu.lang-dropdown-menu {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  padding: 0;
  margin-top: 8px;
  border: none;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  z-index: 3000;
  overflow: hidden;
}

.header-navigation .lang-dropdown .lang-dropdown-menu > li {
  float: none !important;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.header-navigation .lang-dropdown .lang-dropdown-menu > li > a.lang-option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 16px;
  color: #333 !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none !important;
  text-decoration: none !important;
  text-align: left;
  border: none;
  border-radius: 0;
  white-space: nowrap;
}

.header-navigation .lang-dropdown .lang-dropdown-menu > li > a.lang-option:hover,
.header-navigation .lang-dropdown .lang-dropdown-menu > li > a.lang-option:focus {
  background: rgba(230, 64, 12, 0.1) !important;
  color: #e6400c !important;
}

.header-navigation .lang-dropdown .lang-dropdown-menu > li > a.lang-option.lang-active {
  background: rgba(230, 64, 12, 0.16) !important;
  color: #e6400c !important;
  font-weight: 600;
}

/* ----- Site theme v2 (orange-forward refresh, same modules) ----- */
.site-theme-v2 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f3f1ef;
  color: #3d4450;
}

.site-theme-v2 .header {
  background: rgba(55, 64, 74, 0.94) !important;
  border-bottom: 1px solid rgba(230, 64, 12, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.site-theme-v2 .header.fixNav {
  background: rgba(40, 46, 54, 0.97) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.site-theme-v2 .promo-block {
  position: relative;
}

.site-theme-v2 .promo-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9;
  background: linear-gradient(
    180deg,
    rgba(230, 64, 12, 0.18) 0%,
    rgba(45, 52, 60, 0.25) 45%,
    rgba(24, 28, 32, 0.5) 100%
  );
}

.site-theme-v2 .tp-banner-container {
  position: relative;
  z-index: 1;
}

/* Section titles: accent underline */
.site-theme-v2 .content.content-center > .container > h2,
.site-theme-v2 .choose-us-block > .container > h2 {
  margin-bottom: 8px;
}

.site-theme-v2 .content h2 strong,
.site-theme-v2 .choose-us-block h2 strong {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-theme-v2 .content h2 strong::after,
.site-theme-v2 .choose-us-block h2 strong::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6400c, #ff8a5c);
}

.site-theme-v2 .content.content-center > .container > h4,
.site-theme-v2 .choose-us-block > .container > h4 {
  color: #6b7280;
  font-weight: 400;
  font-size: 17px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* About: warm band + “document” card + orange-tint circles */
.site-theme-v2 .about-block {
  padding-top: 72px !important;
  padding-bottom: 80px !important;
  background: linear-gradient(180deg, #fff8f4 0%, #faf9f8 38%, #f3f1ef 100%) !important;
}

.site-theme-v2 .about-block h4 {
  max-width: 880px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 48px !important;
  padding: 28px 32px 32px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(230, 64, 12, 0.14);
  box-shadow: 0 10px 40px rgba(230, 64, 12, 0.08);
  font-weight: 400;
  color: #4a5568;
  line-height: 1.75;
}

.site-theme-v2 .ab-cirle-blue {
  background: linear-gradient(160deg, #ff9a6b, #e6400c) !important;
}

.site-theme-v2 .ab-cirle-red {
  background: linear-gradient(160deg, #e6400c, #b83208) !important;
}

.site-theme-v2 .ab-cirle-green {
  background: linear-gradient(160deg, #ffc14d, #e85425) !important;
}

.site-theme-v2 .ab-trio img.img-responsive {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Services: card grid instead of divider columns */
.site-theme-v2 .services-block {
  background: linear-gradient(180deg, #eceae8 0%, #f7f5f3 100%) !important;
  padding: 76px 0 88px !important;
}

.site-theme-v2 .services-block .row {
  padding-top: 28px !important;
}

.site-theme-v2 .services-block .item {
  border-right: none !important;
  background: #fff;
  border-radius: 14px;
  padding: 26px 18px 30px !important;
  margin-bottom: 22px;
  border: 1px solid rgba(230, 64, 12, 0.12);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-theme-v2 .services-block .item:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 64, 12, 0.4);
  box-shadow: 0 14px 40px rgba(230, 64, 12, 0.2);
}

.site-theme-v2 .services-block .item img {
  max-height: 76px;
  width: auto;
  margin: 0 auto 14px;
  display: block;
}

.site-theme-v2 .services-block .item h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: #2d343c;
}

.site-theme-v2 .services-block .item p {
  color: #5c6570;
  line-height: 1.65;
}

@media (min-width: 992px) {
  .site-theme-v2 .services-block .row > [class*="col-md-"] {
    padding-left: 11px;
    padding-right: 11px;
  }
}

/* Cases: split area + “timeline” accordion */
.site-theme-v2 .choose-us-block {
  padding-top: 76px !important;
  padding-bottom: 88px !important;
  background: #fff !important;
  border-top: 1px solid rgba(230, 64, 12, 0.2);
}

.site-theme-v2 .choose-us-block .panel-group {
  padding-top: 8px !important;
  border-left: 3px solid rgba(230, 64, 12, 0.35);
  padding-left: 20px;
  margin-left: 4px;
}

.site-theme-v2 .choose-us-block .panel-default {
  padding-bottom: 10px !important;
}

.site-theme-v2 .choose-us-block .panel-default > .panel-heading {
  background: linear-gradient(90deg, rgba(230, 64, 12, 0.08), transparent) !important;
  border-radius: 8px;
  padding: 4px 0 4px 12px !important;
  margin-bottom: 0;
}

.site-theme-v2 .choose-us-block .panel-default .accordion-toggle:before {
  display: none !important;
}

.site-theme-v2 .choose-us-block .panel-default .accordion-toggle,
.site-theme-v2 .choose-us-block .panel-default .accordion-toggle:focus,
.site-theme-v2 .choose-us-block .panel-default .accordion-toggle:hover,
.site-theme-v2 .choose-us-block .panel-default .accordion-toggle:active {
  color: #2d343c !important;
  font-weight: 600;
}

.site-theme-v2 .choose-us-block .panel-default .accordion-toggle:hover {
  color: #e6400c !important;
}

.site-theme-v2 .choose-us-block .panel-default .panel-collapse .panel-body {
  background: #faf9f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0 8px 8px 8px;
  padding: 16px 18px !important;
  margin-top: 6px;
  margin-bottom: 12px !important;
  color: #4a5568;
  line-height: 1.7;
}

.site-theme-v2 .choose-us-block .img-responsive {
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(230, 64, 12, 0.12);
}

/* Contact strip: three panels */
.site-theme-v2 .pre-footer {
  background: linear-gradient(165deg, #3a424a 0%, #2a3038 55%, #23282e 100%) !important;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  border-top: 3px solid #e6400c;
}

.site-theme-v2 .pre-footer-col {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 22px 20px 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
}

.site-theme-v2 .pre-footer h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e6400c;
  display: inline-block;
}

.site-theme-v2 .pre-footer p,
.site-theme-v2 .pre-footer address {
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.65;
}

.site-theme-v2 .pre-footer a {
  color: #ffb89a !important;
}

.site-theme-v2 .pre-footer a:hover {
  color: #fff !important;
}

/* Footer */
.site-theme-v2 .footer {
  background: #1e2228 !important;
  border-top: 1px solid rgba(230, 64, 12, 0.35);
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

/* Back to top */
.site-theme-v2 .go2top {
  background: rgba(230, 64, 12, 0.92);
  border-color: #e6400c;
}

.site-theme-v2 .go2top:hover {
  background: #c53008;
  border-color: #c53008;
  color: #fff !important;
}

.about-block h4 p {
  text-indent: 2em;
}

.site-theme-v2 .about-block h4 p {
  text-indent: 0;
  margin-bottom: 1em;
}

.site-theme-v2 .about-block h4 p:last-child {
  margin-bottom: 0;
}

/* ----- Bilingual layout: same modules, stable grid (ZH / EN) ----- */
.site-theme-v2 .header-navigation > li > a {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .site-theme-v2 .services-block .row {
    display: flex;
    flex-wrap: wrap;
  }

  .site-theme-v2 .services-block .row:before,
  .site-theme-v2 .services-block .row:after {
    display: none;
  }

  .site-theme-v2 .services-block .row > [class*="col-md-"] {
    float: none;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }

  .site-theme-v2 .services-block .item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 280px;
    margin-bottom: 0;
  }

  .site-theme-v2 .services-block .item p {
    flex: 1 1 auto;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .site-theme-v2 .pre-footer > .container > .row {
    display: flex;
    flex-wrap: wrap;
  }

  .site-theme-v2 .pre-footer > .container > .row:before,
  .site-theme-v2 .pre-footer > .container > .row:after {
    display: none;
  }

  .site-theme-v2 .pre-footer > .container > .row > [class*="col-md-"] {
    float: none;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }

  .site-theme-v2 .pre-footer-col {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 300px;
    margin-bottom: 0;
  }

  .site-theme-v2 .pre-footer-col img {
    margin-top: auto;
    max-height: 200px;
    object-fit: contain;
  }

  .site-theme-v2 .choose-us-block > .container > .row {
    display: flex;
    flex-wrap: wrap;
  }

  .site-theme-v2 .choose-us-block > .container > .row:before,
  .site-theme-v2 .choose-us-block > .container > .row:after {
    display: none;
  }

  .site-theme-v2 .choose-us-block > .container > .row > [class*="col-md-"] {
    float: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .site-theme-v2 .choose-us-block .panel-group {
    flex: 1 1 auto;
  }
}

html[lang="en"] .site-theme-v2 .content.content-center > .container > h4,
html[lang="en"] .site-theme-v2 .choose-us-block > .container > h4 {
  max-width: 880px;
}

.site-theme-v2 .about-block h4,
.site-theme-v2 .choose-us-block .panel-body p,
.site-theme-v2 .pre-footer p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ----- Motion & “cool” accents (respects prefers-reduced-motion) ----- */
@keyframes fx-hero-breathe {
  0%,
  100% {
    filter: brightness(0.92) saturate(1.02);
  }
  50% {
    filter: brightness(1.06) saturate(1.08);
  }
}

.site-theme-v2 .promo-block.hero-fx::after {
  animation: fx-hero-breathe 10s ease-in-out infinite;
}

@keyframes fx-title-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 64, 12, 0.25);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px 1px rgba(255, 138, 92, 0.55);
    opacity: 0.95;
  }
}

.site-theme-v2 .content h2 strong::after,
.site-theme-v2 .choose-us-block h2 strong::after {
  animation: fx-title-glow 4.5s ease-in-out infinite;
}

.site-theme-v2 .section-reveal > .container > * {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.site-theme-v2 .section-reveal.is-visible > .container > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-theme-v2 .section-reveal.is-visible > .container > *:nth-child(1) {
  transition-delay: 0.04s;
}
.site-theme-v2 .section-reveal.is-visible > .container > *:nth-child(2) {
  transition-delay: 0.12s;
}
.site-theme-v2 .section-reveal.is-visible > .container > *:nth-child(3) {
  transition-delay: 0.2s;
}
.site-theme-v2 .section-reveal.is-visible > .container > *:nth-child(4) {
  transition-delay: 0.28s;
}
.site-theme-v2 .section-reveal.is-visible > .container > *:nth-child(5) {
  transition-delay: 0.36s;
}

.site-theme-v2 .services-block .item {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-theme-v2 .services-block .item img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.site-theme-v2 .services-block .item:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 20px rgba(230, 64, 12, 0.28));
}

@keyframes fx-cases-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.site-theme-v2 #benefits.section-reveal.is-visible .cases-visual {
  animation: fx-cases-float 5.5s ease-in-out infinite;
}

.site-theme-v2 .header-navigation > li > a.nav-glow {
  text-shadow:
    0 0 12px rgba(255, 200, 170, 0.95),
    0 0 24px rgba(230, 64, 12, 0.65);
}

@keyframes fx-gotop {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 4px 14px rgba(230, 64, 12, 0.35);
  }
  50% {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 10px 26px rgba(230, 64, 12, 0.45);
  }
}

.site-theme-v2 .go2top {
  animation: fx-gotop 3.2s ease-in-out infinite;
}

.site-theme-v2 .header.fixNav {
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.site-theme-v2 .choose-us-block .panel-default > .panel-heading {
  transition: background 0.3s ease, border-left-color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-theme-v2 .promo-block.hero-fx::after,
  .site-theme-v2 .content h2 strong::after,
  .site-theme-v2 .choose-us-block h2 strong::after,
  .site-theme-v2 #benefits.section-reveal.is-visible .cases-visual,
  .site-theme-v2 .go2top {
    animation: none !important;
  }

  .site-theme-v2 .section-reveal > .container > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-theme-v2 .services-block .item,
  .site-theme-v2 .services-block .item img {
    transition: none !important;
  }

  .site-theme-v2 .services-block .item:hover img {
    transform: none !important;
    filter: none !important;
  }

  .site-theme-v2 .header.fixNav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

