html {
  scroll-behavior: smooth;
}

.sf-link {
  color: inherit;
  text-decoration: none;
}

.sf-nav-item {
  position: relative;
}

.sf-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  z-index: 120;
  min-width: 12rem;
  padding: 0.65rem 0;
  color: #111827;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sf-nav-item:hover .sf-nav-dropdown,
.sf-nav-item:focus-within .sf-nav-dropdown,
.sf-nav-item.sf-menu-open .sf-nav-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.sf-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1.35rem;
}

.sf-nav-dropdown a,
.sf-nav-dropdown .sf-menu-option {
  display: block;
  padding: 0.72rem 1.05rem;
  color: #111827;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.3;
}

.sf-nav-dropdown a:hover,
.sf-nav-dropdown .sf-menu-option:hover {
  color: #386eed;
  background: #f5f7ff;
}

.sf-nav-mega {
  position: fixed;
  top: 5.75rem;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  background: #f4f6f8;
  transform: translateY(-0.625rem);
}

.sf-nav-item:hover .sf-nav-mega,
.sf-nav-item:focus-within .sf-nav-mega,
.sf-nav-item.sf-menu-open .sf-nav-mega {
  transform: translateY(0);
}

.sf-nav-mega::before {
  display: none;
}

.sf-nav-mega-inner {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 120rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.sf-product-mega {
  height: 26.25rem;
}

.sf-product-mega .sf-nav-mega-inner {
  gap: 7rem;
  padding-top: 4rem;
}

.sf-product-card {
  color: #000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 15rem;
  text-decoration: none;
}

.sf-product-card img {
  height: 12rem;
  object-fit: contain;
  width: 100%;
  transition: transform 1s ease;
}

.sf-product-card:hover img {
  transform: scale(1.05);
}

.sf-product-title {
  color: #000;
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  margin-top: 3rem;
  transition: color 1s ease;
}

.sf-product-desc {
  color: #999;
  font-size: 0.875rem;
  transition: color 1s ease;
}

.sf-product-card:hover .sf-product-title,
.sf-product-card:hover .sf-product-desc,
.sf-industry-card:hover .sf-industry-title {
  color: #386eed;
}

.sf-industry-mega {
  height: 20rem;
}

.sf-industry-mega .sf-nav-mega-inner {
  align-items: flex-start;
  gap: 9rem;
  justify-content: center;
  padding-top: 6.44rem;
}

.sf-industry-card {
  align-items: center;
  color: #000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  text-decoration: none;
  width: 8rem;
}

.sf-industry-icon-frame {
  align-items: center;
  display: flex;
  height: 3.3rem;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: 4rem;
}

.sf-industry-icon-frame img {
  display: block;
  height: 3.3rem;
  object-fit: contain;
  width: auto;
  transition: transform 1s ease;
}

.sf-industry-card:hover .sf-industry-icon-frame img {
  transform: translateY(-0.25rem);
}

.sf-industry-card[data-route="gt"] .sf-industry-icon-frame img {
  height: 1.7rem;
}

.sf-industry-title {
  color: #000;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 2.73rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  transition: color 1s ease;
  width: 100%;
}

.sf-link-mega {
  height: 10.25rem;
}

.sf-link-mega .sf-nav-mega-inner {
  align-items: center;
  gap: 5rem;
  height: 100%;
}

.sf-link-mega-option {
  color: #000;
  cursor: pointer;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  line-height: 1.35;
  text-decoration: none;
  transition: color 1s ease;
  white-space: nowrap;
}

.sf-link-mega-option:hover {
  color: #386eed;
}

.sf-news-rich {
  overflow-wrap: anywhere;
}

.sf-news-rich h1,
.sf-news-rich h2,
.sf-news-rich h3 {
  color: #111;
  font-weight: 600;
  line-height: 1.35;
  margin: 2rem 0 1rem;
}

.sf-news-rich h1 {
  font-size: 2rem;
}

.sf-news-rich h2 {
  font-size: 1.6rem;
}

.sf-news-rich h3 {
  font-size: 1.35rem;
}

.sf-news-rich p {
  margin: 0 0 1.25rem;
}

.sf-news-rich ul,
.sf-news-rich ol {
  margin: 0 0 1.25rem 1.5rem;
}

.sf-news-rich ul {
  list-style: disc;
}

.sf-news-rich ol {
  list-style: decimal;
}

.sf-news-rich a {
  color: #386eed;
  text-decoration: underline;
}

.sf-news-rich img {
  display: block;
  height: auto;
  margin: 1.5rem 0;
  max-width: 100%;
}

@media (max-width: 1280px) {
  .sf-product-mega .sf-nav-mega-inner {
    gap: 3.5rem;
  }

  .sf-industry-mega .sf-nav-mega-inner {
    gap: 4.5rem;
  }
}

.sf-footer-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sf-footer-link:hover {
  color: #8fb0ff;
}

.sf-home-link {
  cursor: pointer;
}

.sf-carousel .el-carousel__container {
  position: relative;
  overflow: hidden;
}

.sf-carousel .el-carousel__item {
  position: absolute !important;
  inset: 0;
  display: block !important;
  opacity: 0;
  transform: none !important;
  transition: opacity 0.55s ease !important;
  pointer-events: none;
}

.sf-carousel .el-carousel__item.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.sf-carousel .el-carousel__indicators {
  z-index: 5;
}

.sf-carousel .el-carousel__indicator {
  cursor: pointer;
}

.sf-carousel .el-carousel__button {
  opacity: 0.45;
}

.sf-carousel .el-carousel__indicator.is-active .el-carousel__button {
  opacity: 1;
}

.sf-float-fixed {
  width: 5rem !important;
  overflow: visible !important;
}

.sf-float-fixed:hover {
  width: 15rem !important;
}

.sf-float-fixed > span {
  width: 0 !important;
  margin-left: 0 !important;
  opacity: 0;
}

.sf-float-fixed:hover > span {
  width: 10rem !important;
  margin-left: 1.25rem !important;
  opacity: 1;
}

.sf-float-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 14rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.35rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sf-float-fixed:hover .sf-float-panel,
.sf-float-fixed:focus-within .sf-float-panel {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sf-float-panel a,
.sf-float-panel .sf-menu-option {
  display: block;
  padding: 0.75rem 0.85rem;
  color: #111827;
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 0.92rem;
}

.sf-float-panel a:hover,
.sf-float-panel .sf-menu-option:hover {
  color: #386eed;
  background: #f5f7ff;
}
