
.attr-nav > ul > li.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.attr-nav > ul > li.lang-switch > a.lang-link {
  padding: 21px 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  opacity: 0.72;
}

.attr-nav > ul > li.lang-switch > a.lang-link:hover,
.attr-nav > ul > li.lang-switch > a.lang-link.active {
  color: #fc5220 !important;
  opacity: 1;
}

.attr-nav > ul > li.lang-switch > span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
}

@media screen and (max-width: 991px) {
  .attr-nav > ul > li.lang-switch {
    margin-right: 14px;
    gap: 4px;
  }

  .attr-nav > ul > li.lang-switch > a.lang-link {
    padding: 0 2px;
    font-size: 12px;
    line-height: 1;
  }
}

.contact-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form-status {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-success {
  background: #e6f6ee;
  color: #0f5132;
  border: 1px solid #b9e2cb;
}

.contact-form-status.is-error {
  background: #fdecec;
  color: #842029;
  border: 1px solid #f1c2c7;
}

/* Desktop multi-level nav: keep level-2 submenu aligned to the right */
@media screen and (min-width: 992px) {
  .navbar-nav li > ul {
    overflow: visible;
  }

  .navbar li > ul ul {
    margin-top: -15px;
    margin-left: 282px;
    min-width: 360px;
    z-index: 1000;
  }

  .navbar li > ul ul li a {
    padding: 12px 36px 12px 28px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
  }
}

/* Override theme fallback that pushes level-2 submenu to the left on <=1399px */
@media screen and (min-width: 992px) and (max-width: 1399px) {
  .navbar li > ul ul {
    margin-left: 282px;
  }
}

/* Mobile nav toggle hit-area tuning: avoid oversized overlay on level-1 items */
@media screen and (max-width: 991px) {
  .navbar-nav > li.has-sub > .submenu-button {
    width: 56px;
    z-index: 2;
  }

  .navbar-nav > li > a {
    position: relative;
    z-index: 1;
    padding-right: 62px;
  }
}

.footer-inquiry-form .form-control {
  height: 40px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
}

.footer-inquiry-form textarea.form-control {
  height: auto;
  min-height: 66px;
  resize: vertical;
}

.footer-inquiry-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.footer-inquiry-form .form-control:focus {
  border-color: #fc5220;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: #fff;
}

.footer-inquiry-form .btn-style1 {
  width: 100%;
  min-height: 40px;
}

.footer-inquiry-form .contact-form-status {
  margin-top: 6px;
  padding: 8px 10px;
  font-size: 13px;
}

.product-detail-main-image {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e9ecef;
  padding: 14px;
}

.product-detail-overview-box {
  border-left: 4px solid #fc5220;
  background: #fff;
  padding: 22px 24px 18px;
}

.product-detail-overview-box p:last-child {
  margin-bottom: 0 !important;
}

.product-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-detail-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.product-detail-list li:last-child {
  margin-bottom: 0;
}

.product-detail-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fc5220;
  box-shadow: 0 0 0 4px rgba(252, 82, 32, 0.14);
}

.product-detail-table-card {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 10px;
  padding: 20px;
}

.product-detail-table-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
}

.product-detail-data-table {
  min-width: 1100px;
  font-size: 14px;
}

.product-detail-data-table-wide {
  min-width: 1500px;
}

.product-detail-data-table thead th {
  background: #fff3ec;
  color: #c76a2a;
  font-weight: 800;
  white-space: nowrap;
}

.product-detail-data-table td,
.product-detail-data-table th {
  padding: 12px 14px;
  vertical-align: middle;
}

.product-detail-data-table tbody td {
  white-space: nowrap;
}

.product-faq .card {
  border: 1px solid #eceff3;
}

.brand-logo {
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.header-style1 .navbar-brand.logochange .brand-logo-on-dark,
.header-style1.menu_area-light .navbar-brand .brand-logo-on-dark,
.footer-style01 .brand-logo-on-dark,
footer.bg-secondary .brand-logo-on-dark {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.96;
}

.header-style1.scrollHeader .navbar-brand .brand-logo-on-dark,
.header-style2.scrollHeader .navbar-brand .brand-logo-on-dark,
.header-style3.scrollHeader .navbar-brand .brand-logo-on-dark {
  filter: none;
  opacity: 1;
}

.resource-library-panel {
  border: 1px solid #e7eaf3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.resource-library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #edf1f7;
}

.resource-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.resource-filter-btn {
  border: 1px solid #dde4f0;
  background: #f4f7fc;
  color: #1f2630;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.resource-filter-btn:hover,
.resource-filter-btn.active {
  border-color: #fc5220;
  background: #fc5220;
  color: #fff;
}

.resource-download-selected {
  min-width: 210px;
}

.resource-download-selected:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.resource-library-head,
.resource-library-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 330px;
  gap: 12px;
  align-items: center;
}

.resource-library-head {
  padding: 12px 24px;
  background: #f8fafe;
  border-bottom: 1px solid #edf1f7;
  font-size: 13px;
  font-weight: 700;
  color: #5f6776;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.resource-library-body {
  max-height: 680px;
  overflow-y: auto;
}

.resource-library-row {
  padding: 16px 24px;
  border-bottom: 1px solid #edf1f7;
}

.resource-library-row:last-child {
  border-bottom: 0;
}

.resource-library-row.is-selected {
  background: #fff6f3;
}

.resource-file {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.resource-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef3fb;
  color: #2f6df8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.resource-file-meta {
  min-width: 0;
}

.resource-file-meta a {
  display: block;
  color: #1f2630;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-file-meta span {
  display: block;
  margin-top: 3px;
  color: #81899a;
  font-size: 13px;
}

.resource-size {
  color: #6f7788;
  font-size: 16px;
  font-weight: 600;
}

.resource-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.resource-actions > a,
.resource-add-btn {
  color: #6f7788;
  font-weight: 700;
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1.2;
}

.resource-actions > a:hover,
.resource-add-btn:hover,
.resource-add-btn.is-selected {
  color: #fc5220;
}

.resource-check-wrap {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.resource-check {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.resource-library-count {
  margin: 0;
  padding: 14px 24px 18px;
  border-top: 1px solid #edf1f7;
  color: #6f7788;
  font-size: 14px;
}

@media screen and (max-width: 1199px) {
  .resource-library-head,
  .resource-library-row {
    grid-template-columns: minmax(0, 1fr) 110px 290px;
  }
}

@media screen and (max-width: 991px) {
  .resource-library-toolbar {
    padding: 18px 18px 14px;
  }

  .resource-filters {
    gap: 8px;
  }

  .resource-filter-btn {
    padding: 10px 13px;
  }

  .resource-library-head {
    display: none;
  }

  .resource-library-body {
    max-height: none;
  }

  .resource-library-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 18px;
  }

  .resource-size {
    font-size: 14px;
    color: #8892a0;
  }

  .resource-actions {
    justify-content: flex-start;
    gap: 12px;
  }

  .resource-file-meta a {
    font-size: 16px;
  }

  .resource-library-count {
    padding: 12px 18px 16px;
  }
}

.company-profile-summary {
  border: 1px solid #e7eaf3;
}

.company-profile-hero-image {
  background: #f0f2f5;
  border-radius: 12px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.company-profile-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-profile-points {
  padding-left: 18px;
}

.company-profile-points li {
  color: #5f6776;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.company-profile-points li:last-child {
  margin-bottom: 0;
}

.company-profile-panel .resource-library-body {
  max-height: 520px;
}

@media screen and (max-width: 991px) {
  .company-profile-hero-image {
    min-height: 220px;
  }

  .company-profile-hero-image img {
    width: 100%;
  }
}

.cert-gallery {
  background: #fff;
  padding: 20px;
}

.cert-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cert-gallery-note {
  color: #5f6776;
  font-size: 14px;
}

.cert-gallery-marquee-wrap {
  overflow: hidden;
}

.cert-gallery-track {
  --cert-marquee-gap: 16px;
  display: flex;
  align-items: stretch;
  gap: var(--cert-marquee-gap);
  width: max-content;
  will-change: transform;
  animation: certGalleryMarquee var(--cert-marquee-duration, 52s) linear infinite;
}

.cert-gallery:hover .cert-gallery-track,
.cert-gallery:focus-within .cert-gallery-track {
  animation-play-state: paused;
}

@keyframes certGalleryMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - (var(--cert-marquee-gap) / 2)), 0, 0);
  }
}

.cert-gallery-item {
  flex: 0 0 clamp(230px, 28vw, 310px);
  display: flex;
  flex-direction: column;
  border: 1px solid #e8edf6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cert-gallery-item:hover {
  border-color: #fc5220;
  box-shadow: 0 10px 24px rgba(26, 39, 68, 0.12);
  transform: translateY(-2px);
}

.cert-gallery-media {
  background: #f7f9fc;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.cert-gallery-meta {
  padding: 12px 14px 14px;
}

.cert-gallery-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff2ed;
  color: #fc5220;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.cert-gallery-meta h5 {
  margin: 0;
  color: #1f2630;
  font-size: 16px;
  line-height: 1.35;
  word-break: break-word;
}

.certificates-page-intro {
  max-width: 780px;
  margin: 0 auto 10px;
  color: #5f6776;
  font-size: 16px;
  line-height: 1.8;
}

.certificates-page-grid .cert-gallery-item {
  width: 100%;
  height: 100%;
  flex: none;
}

.certificates-page-grid .cert-gallery-meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.certificates-page-action {
  margin-top: auto;
  padding-top: 10px;
  color: #fc5220;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

@media screen and (max-width: 767px) {
  .cert-gallery {
    padding: 14px;
  }

  .cert-gallery-item {
    flex-basis: min(85vw, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-gallery-track {
    animation: none;
  }
}

.cases-stat-card {
  height: 100%;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  text-align: center;
}

.cases-stat-value {
  display: block;
  color: #f15a29;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.1;
}

.cases-stat-label {
  display: block;
  margin-top: 0.5rem;
  color: #475569;
  font-size: 0.95rem;
}

.cases-download-panel,
.cases-cta-panel {
  padding: 2rem;
  border-radius: 1rem;
  background: #f8fafc;
}

.cases-download-button.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.cases-download-note {
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.95rem;
}

.cases-case-card {
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.cases-case-card .card-body {
  padding: 1.75rem;
}

.cases-case-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-model-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.cases-model-pill span {
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-model-pill strong {
  color: #111827;
  font-size: 1rem;
  line-height: 1.4;
}

.cases-step-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.cases-step-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #f15a29;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .cases-download-panel,
  .cases-cta-panel {
    padding: 1.4rem;
  }

  .cases-case-card .card-body,
  .cases-step-card {
    padding: 1.25rem;
  }

  .cases-stat-value {
    font-size: 1.5rem;
  }
}
