/* Fiducial Brand Colors */
/* version 3 */
:root {
  --fiducial-red: #cd2e26;
  --fiducial-red-dark: #be1e2c;
  --fiducial-dark: #222222;
  --fiducial-gray: #5a5a5a;
  --fiducial-light: #ececec;
  --white: white;
  --black: black;
}

/* Navigation Styles */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.navigation-landing-page {
  position: relative;
  z-index: 3;
}

.navigation-wrap-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0.75rem; /* Minimal horizontal padding for touch targets */
  position: relative;
  z-index: 10;
  background-color: transparent; /* 初始透明 */
  box-shadow: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navback,
#navback {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cd2e26; /* 主站品牌红色 */
  z-index: 1;
  display: block !important;
  opacity: 1 !important;
  box-shadow: var(--shadow-card); /* Enhanced shadow */
  min-height: 80px;
}

/* 移除重复的transition定义 */

.logo-link {
  position: relative;
  z-index: 10;
}

.logo-image {
  width: 153px;
  height: auto;
}

.social-btns {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0%;
  z-index: 0;
}

.menu-button-2 {
  background: none;
  border: none;
  cursor: pointer;
  padding: 25px;
  display: none;
}

.navigation-items {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-items-mobile {
  display: flex;
  gap: 0;
}

.navigation-item-3 {
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.navigation-item-3:hover {
  color: #fff;
  background-color: var(--fiducial-red);
}

/* Navigation hover underline effect (desktop only) */
@media screen and (min-width: 970px) {
  .navigation-item-3:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #FFFFFF;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
  }

  .navigation-item-3:hover:after {
    width: 100%;
    left: 0;
  }
}

/* Dropdown Styles */
.dropdown-2 {
  position: relative;
  display: inline-block;
}

.dropdown-toggle-2 {
  cursor: pointer;
  padding: 12px 20px;
}

.link-6 {
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.dropdown-list-2 {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}

.dropdown-2:hover .dropdown-list-2 {
  display: block;
}

.dropdown-link-6,
.dropdown-link-5 {
  color: #222;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.dropdown-link-6:hover,
.dropdown-link-5:hover {
  background-color: #f1f1f1;
}

/* Mobile Navigation */
@media (max-width: 969px) {
  .menu-button-2 {
    display: block;
  }

  .navigation-items {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--fiducial-dark);
    flex-direction: column;
    padding: 80px 0 20px;
    overflow-y: auto;
  }

  .navigation-items.w--nav-menu-open {
    display: flex;
  }

  .menu-items-mobile {
    flex-direction: column;
    gap: 0;
  }

  .navigation-item-3 {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-list-2 {
    position: static;
    display: none;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .dropdown-2.w--open .dropdown-list-2 {
    display: block;
  }
}

/* Footer Styles */
.footer-dark {
  background-color: var(--fiducial-dark);
  color: #fff;
  padding: 60px 0 30px;
}

.container-8 {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  width: 100%;
}

.footer-brand {
  display: inline-block;
  width: 25%;
  margin-right: 40px;
	margin-left: 40px;
  margin-bottom: 20px;
}

.fid-logo {
  width: 200px;
  height: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 0.75fr 0.75fr;
  grid-column-gap: 40px;
  width: 75%;
  margin-left: 30px;
  margin-right: 30px;
}

.footer-block {
  display: flex;
  flex-direction: column;
  min-width: 25%;
}

.title-small {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-social-block {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-block;
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-social-link:hover {
  opacity: 1;
}

.footer-social-link img {
  width: 100%;
  height: 100%;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.footer-wrap {
  text-align: center;
}

.copyright-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

/* Mobile Footer */
@media (max-width: 767px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand {
    width: 100%;
    text-align: center;
    margin-right: 0;
	  margin-left: 0px;
    margin-bottom: 30px;
  }

  .footer-content {
    width: 90%;
    grid-template-columns: 0.7fr 0.7frr 0.7fr 0.7fr;
    grid-column-gap: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-block {
	  text-align: center;
	  min-width: auto;
  }
	.footer-social-link {
		margin: auto !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-content {
    grid-template-columns: 0.6fr 0.6frr 0.6fr 0.6fr;
    margin-left: 60px;
    grid-column-gap: 30px;
  }

  .footer-block {
    min-width: 30%;
  }

  .footer-brand {
    width: 25%;
    margin-right: 20px;
	margin-left: 20px;
  }
}

/* Utility classes */
.hide-it {
  display: none !important;
}

.off {
  display: none !important;
}

.hide {
  display: none !important;
}

.w--current {
  /* Current page styling */
}

.w--nav-menu-open {
  /* Mobile menu open state */
}

.w--open {
  /* Dropdown open state */
}
