@charset "utf-8";
/* ============================================================
   English Site Footer Styles - Unified Footer CSS
   Supports: .glass-footer, .footer, .site-footer
   ============================================================ */

:root {
  --en-color-primary: #0A6EBD;
  --en-color-primary-dark: #075291;
  --en-color-primary-light: #2B8FE0;
  --en-color-white: #FFFFFF;
  --en-color-gray-100: #F3F4F6;
  --en-color-gray-300: #D1D5DB;
  --en-color-gray-400: #9CA3AF;
  --en-color-gray-500: #6B7280;
  --en-color-gray-600: #4B5563;
  --en-color-gray-700: #374151;
  --en-color-gray-800: #1F2937;
  --en-color-gray-900: #111827;
}

/* ================================================================
   PART 1: .glass-footer (List pages - cases, news, honors, services)
   ================================================================ */

/* ===== Footer Container ===== */
.glass-footer {
  background: #111827 !important;
  color: #9CA3AF !important;
  padding: 50px 0 0 !important;
  margin-top: 40px !important;
  font-size: 14px;
  line-height: 1.8;
  overflow: hidden;
}

.glass-footer * {
  box-sizing: border-box;
}

.glass-footer-main {
  padding-bottom: 30px;
}

.glass-footer .container-fluid {
  max-width: 1230px !important;
  padding: 0 15px;
}

.glass-footer .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.glass-footer [class*="col-"] {
  padding: 0 15px;
  margin-bottom: 20px;
}

.glass-footer .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.glass-footer .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.glass-footer .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.glass-footer .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.glass-footer .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.glass-footer .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
.glass-footer .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
.glass-footer .col-xs-6 { flex: 0 0 50%; max-width: 50%; }

@media (max-width: 991px) {
  .glass-footer .col-lg-4,
  .glass-footer .col-lg-2,
  .glass-footer .col-md-4,
  .glass-footer .col-md-2 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 575px) {
  .glass-footer .col-lg-4,
  .glass-footer .col-lg-2,
  .glass-footer .col-md-4,
  .glass-footer .col-md-2,
  .glass-footer .col-sm-6,
  .glass-footer .col-xs-6 { flex: 0 0 100%; max-width: 100%; }
}

/* ===== Brand Section ===== */
.glass-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.glass-footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

.glass-footer-desc {
  color: #9CA3AF !important;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.glass-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.glass-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #9CA3AF !important;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.glass-social-link:hover {
  background: #0A6EBD;
  color: #fff !important;
}

/* ===== Column Sections ===== */
.glass-footer-col {
  display: flex;
  flex-direction: column;
}

.glass-footer-title {
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(10,110,189,0.4);
}

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

.glass-footer-links li {
  margin-bottom: 8px;
}

.glass-footer-links a {
  color: #9CA3AF !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.3s ease;
  display: inline-block;
}

.glass-footer-links a:hover {
  color: #fff !important;
}

/* ===== Contact Section ===== */
.glass-footer-contact {
  color: #9CA3AF !important;
  font-size: 13px;
  line-height: 2;
}

.glass-footer-contact p {
  margin: 0 0 5px 0;
  color: #9CA3AF !important;
}

.glass-footer-contact a {
  color: #9CA3AF !important;
  text-decoration: none !important;
}

.glass-footer-contact a:hover {
  color: #fff !important;
}

/* ===== Friend Links ===== */
.glass-footer-friendlinks {
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
}

.glass-footer-friendlinks a {
  color: #6B7280 !important;
  margin-right: 12px;
  text-decoration: none !important;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 4px;
}

.glass-footer-friendlinks a:hover {
  color: #9CA3AF !important;
}

/* ===== Copyright Bar ===== */
.glass-footer-bar {
  background: rgba(0,0,0,0.3);
  padding: 15px 0;
  text-align: center;
}

.glass-footer-copy {
  color: #6B7280 !important;
  font-size: 12px;
  margin: 0;
}

.glass-footer-copy a {
  color: #6B7280 !important;
  text-decoration: none !important;
}

.glass-footer-copy a:hover {
  color: #9CA3AF !important;
}

/* ===== Override any inherited styles ===== */
.glass-footer h1,
.glass-footer h2,
.glass-footer h3,
.glass-footer h4,
.glass-footer h5,
.glass-footer h6 {
  color: #fff !important;
}

.glass-footer p {
  color: #9CA3AF !important;
}

.glass-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-footer li {
  list-style: none;
}

.glass-footer img {
  max-width: 100%;
  height: auto;
}

.glass-footer i.iconfont {
  font-style: normal;
}


/* ================================================================
   PART 2: .footer (Homepage - /en/)
   ================================================================ */

.footer#footer,
footer.footer {
  background: #111827 !important;
  color: #9CA3AF !important;
  padding: 0 !important;
  margin-top: 40px !important;
  font-size: 14px;
  line-height: 1.8;
  overflow: hidden;
  box-sizing: border-box;
}

footer.footer * {
  box-sizing: border-box;
}

footer.footer .container {
  max-width: 1230px !important;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

/* Main area grid layout */
footer.footer .footer-main {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
  gap: 40px !important;
  padding: 50px 0 40px !important;
  max-width: 1230px;
  margin: 0 auto;
}

/* Column styling */
footer.footer .footer-col {
  display: flex;
  flex-direction: column;
}

footer.footer .footer-col.footer-about {
  gap: 12px;
}

footer.footer .footer-col img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

footer.footer .footer-col p {
  color: #9CA3AF !important;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* Column titles */
footer.footer .footer-col h3,
footer.footer .footer-col h4 {
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(10,110,189,0.4);
}

/* Link lists */
footer.footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.footer .footer-col ul li {
  margin-bottom: 8px;
  list-style: none;
}

footer.footer .footer-col ul li a,
footer.footer .footer-col a {
  color: #9CA3AF !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.3s ease;
  display: inline-block;
}

footer.footer .footer-col ul li a:hover,
footer.footer .footer-col a:hover {
  color: #fff !important;
}

/* Contact info */
footer.footer .footer-col p a,
footer.footer .footer-col span {
  color: #9CA3AF !important;
  font-size: 13px;
}

footer.footer .footer-col p a:hover {
  color: #fff !important;
}

/* Friend links area */
footer.footer .footer-links {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 15px 0 !important;
  font-size: 12px;
}

footer.footer .footer-links a {
  color: #6B7280 !important;
  margin-right: 12px;
  text-decoration: none !important;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 4px;
}

footer.footer .footer-links a:hover {
  color: #9CA3AF !important;
}

/* Copyright bar */
footer.footer .footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 15px 0 !important;
  text-align: center !important;
  background: rgba(0,0,0,0.3);
}

footer.footer .footer-copyright p,
footer.footer .footer-copyright span,
footer.footer .footer-copyright a {
  color: #6B7280 !important;
  font-size: 12px;
  margin: 0;
  text-decoration: none !important;
}

footer.footer .footer-copyright a:hover {
  color: #9CA3AF !important;
}

/* Social links in homepage footer */
footer.footer .footer-col a[href*="douyin"],
footer.footer .footer-col a[href*="bilibili"],
footer.footer .footer-col a[href*="weibo"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #9CA3AF !important;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  margin-right: 8px;
}

footer.footer .footer-col a[href*="douyin"]:hover,
footer.footer .footer-col a[href*="bilibili"]:hover,
footer.footer .footer-col a[href*="weibo"]:hover {
  background: #0A6EBD;
  color: #fff !important;
}

/* Responsive for homepage footer */
@media (max-width: 991px) {
  footer.footer .footer-main {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding: 40px 0 30px !important;
  }
}

@media (max-width: 575px) {
  footer.footer .footer-main {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 30px 0 20px !important;
  }
}


/* ================================================================
   PART 3: .site-footer (Cover pages - About, Contact)
   ================================================================ */

footer.site-footer,
.site-footer {
  background: #111827 !important;
  color: #9CA3AF !important;
  padding: 50px 0 0 !important;
  margin-top: 40px !important;
  font-size: 14px;
  line-height: 1.8;
  overflow: hidden;
  box-sizing: border-box;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer .container {
  max-width: 1230px !important;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

/* Main area */
.site-footer .footer-main {
  padding-bottom: 30px;
}

/* Grid layout */
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 2fr 1.5fr !important;
  gap: 40px !important;
  padding: 0 0 30px 0;
}

/* Column styling */
.site-footer .footer-col {
  display: flex;
  flex-direction: column;
}

.site-footer .footer-col.footer-about {
  gap: 12px;
}

.site-footer .footer-col.footer-about p {
  color: #9CA3AF !important;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* Logo */
.site-footer .footer-logo img,
.site-footer .footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* Column titles */
.site-footer .footer-col h3,
.site-footer .footer-col h4 {
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(10,110,189,0.4);
}

/* Link lists */
.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 8px;
  list-style: none;
}

.site-footer .footer-col ul li a,
.site-footer .footer-col a {
  color: #9CA3AF !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.3s ease;
  display: inline-block;
}

.site-footer .footer-col ul li a:hover,
.site-footer .footer-col a:hover {
  color: #fff !important;
}

/* Service list */
.site-footer .footer-service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.site-footer .footer-service-list a {
  color: #9CA3AF !important;
  font-size: 13px;
  text-decoration: none !important;
  display: inline-block;
  transition: color 0.3s ease;
}

.site-footer .footer-service-list a:hover {
  color: #fff !important;
}

/* Contact info */
.site-footer .footer-col p,
.site-footer .footer-col span {
  color: #9CA3AF !important;
  font-size: 13px;
}

.site-footer .footer-col p a {
  color: #9CA3AF !important;
  text-decoration: none !important;
}

.site-footer .footer-col p a:hover {
  color: #fff !important;
}

/* Friend links section */
.site-footer .friend-links-wrap {
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1230px;
  margin: 0 auto;
}

.site-footer .friend-links-title {
  color: #6B7280 !important;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer .friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer .friend-links-list a {
  color: #6B7280 !important;
  font-size: 12px;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.site-footer .friend-links-list a:hover {
  color: #9CA3AF !important;
}

/* Copyright bar */
.site-footer .footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 15px 0;
  text-align: center;
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom span,
.site-footer .footer-bottom a {
  color: #6B7280 !important;
  font-size: 12px;
  margin: 0;
  text-decoration: none !important;
}

.site-footer .footer-bottom a:hover {
  color: #9CA3AF !important;
}

/* Override inherited styles */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #fff !important;
}

.site-footer p {
  color: #9CA3AF !important;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  list-style: none;
}

.site-footer img {
  max-width: 100%;
  height: auto;
}

/* Responsive for site-footer */
@media (max-width: 991px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 575px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  .site-footer .footer-service-list {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   PART 4: Shared footer elements across all footer types
   ================================================================ */

/* Ensure all footer variants have consistent spacing */
footer[class*="footer"] {
  clear: both;
}

/* Ensure footer links don't inherit blue color from other CSS */
footer.footer a,
footer.site-footer a,
footer.glass-footer a {
  transition: color 0.3s ease;
}

/* SVG icons in footers */
footer.footer svg,
footer.site-footer svg,
footer.glass-footer svg {
  vertical-align: middle;
}

/* Ensure footer is at the bottom */
footer.footer,
footer.site-footer,
footer.glass-footer {
  display: block;
  width: 100%;
}
