/* ==========================================================================
   NovaBridge brand layer. Loaded after style.css (the template stylesheet).
   All brand colours live here: change them once and the whole site follows.
   ========================================================================== */

:root {
  --nb-navy: #050B2E;        /* darkest background (from the logo background) */
  --nb-navy-2: #0A1240;      /* dark panels, gradient start */
  --nb-navy-3: #131D5E;      /* cards on dark backgrounds */
  --nb-blue: #1A3BFF;        /* main brand colour: links, icons, accents */
  --nb-blue-light: #3D6BFF;  /* gradient end, hover states */
  --nb-cyan: #2FD4FF;        /* highlight on dark backgrounds */
  --nb-magenta: #C13CFF;     /* secondary accent */
  --nb-tint: #EEF2FF;        /* light blue tint for icon circles */
  --nb-tint-2: #F5F7FF;
  --nb-gradient: linear-gradient(110deg, var(--nb-magenta) 0%, var(--nb-blue) 50%, var(--nb-cyan) 100%);
  --nb-text: #4B5168;
  --nb-heading: #0B1033;
}

/* ---------- Logo ---------- */
.nb-logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nb-logo img {
  height: 44px;
  width: auto;
}
.nb-logo span {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.nb-logo-dark span {
  color: var(--nb-heading);
}
/* Navbar logo (icon + "FF TECH"): 44px tall, but shrinks instead of
   running into the menu when its column is narrower than the logo */
.vl-logo.nb-logo a {
  max-width: 100%;
}
.vl-logo.nb-logo img {
  width: 288px;
  max-width: 100%;
  height: auto;
}

/* ---------- Loading screen ---------- */
/* Logo #5 (white) on the logo's navy-to-purple background, with a gradient bar */
.nb-preloader {
  background: linear-gradient(135deg, #040F2D 0%, #03050F 55%, #1E0B6E 85%, #6A22B8 100%);
}
.nb-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.nb-preloader-logo {
  width: 160px;
  height: auto;
  animation: nb-breathe 1.8s ease-in-out infinite;
}
.nb-preloader-bar {
  position: relative;
  width: 160px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.nb-preloader-bar span {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: var(--nb-gradient);
  animation: nb-loading-bar 1.2s ease-in-out infinite;
}
@keyframes nb-breathe {
  0%, 100% { opacity: 0.75; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes nb-loading-bar {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ---------- Header ---------- */
/* Dropdown menus: grow to fit the longest item (the template's fixed 212px
   width cut off long service names) and use the brand style */
.vl-main-menu ul > li .sub-menu {
  width: max-content;
  min-width: 240px;
  padding: 10px;
  border: 1px solid #E6E9F5;
  border-radius: 14px;
  box-shadow: 0 24px 50px -12px rgba(11, 16, 51, 0.3);
  transform: translateY(10px);
}
.vl-main-menu ul > li:hover .sub-menu {
  transform: translateY(0);
}
/* gradient line across the top of the dropdown */
.vl-main-menu ul > li .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nb-gradient);
}
.vl-main-menu ul > li .sub-menu li a {
  white-space: nowrap;
  padding: 10px 24px 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--nb-heading);
  transition: background 0.25s, color 0.25s, padding 0.25s;
}
/* hover: light tint, blue text and a gradient bar, instead of the template's
   gradient text and big indent */
.vl-main-menu ul > li .sub-menu li:hover > a,
.vl-main-menu ul > li .sub-menu li a:hover {
  background: var(--nb-tint);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--nb-blue);
  color: var(--nb-blue);
  padding: 10px 16px 10px 24px;
}
.vl-main-menu ul > li .sub-menu li a::after {
  top: 50%;
  left: 8px;
  height: 18px;
  width: 4px;
  margin-top: -9px;
  border-radius: 4px;
  background: var(--nb-gradient);
}
.vl-main-menu ul > li .sub-menu li a:hover::after {
  left: 10px;
}

/* ---------- Shared bits ---------- */
.nb-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.nb-text-link {
  color: var(--nb-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s, color 0.2s;
}
.nb-text-link:hover {
  color: var(--nb-magenta);
  gap: 12px;
}
.nb-text-link-light {
  color: #fff;
}
.nb-text-link-light:hover {
  color: var(--nb-cyan);
}
.nb-lead {
  font-size: 20px;
  line-height: 32px;
  color: var(--nb-heading);
}
.vl-section-subtitle-5,
.vl-section-subtitle-6,
.vl-section-subtitle-7,
.vl-section-subtitle-8 {
  letter-spacing: 0.06em;
}

/* Font Awesome icons inside the template's round icon holders */
.nb-icon span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--nb-blue);
}
.vl-success-box-icon-3.nb-icon span {
  font-size: 36px;
}
/* "How we work" steps on hover. The template was made for image icons (turned white
   with a filter) and flips the circle; with our blue font icons that left a blue icon
   on a blue circle, so: gradient circle, white icon, a small lift instead of the flip. */
.vl-success-box-3.vl-success-box-iner:hover .vl-success-box-icon-3.nb-icon span {
  background: var(--nb-gradient);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26, 59, 255, 0.35);
}
.vl-success-box-3.vl-success-box-iner:hover .vl-success-box-icon-3-number cite {
  background: var(--nb-navy);
  box-shadow: 0 0 0 3px #fff;
}
.vl-success-box-iner:hover .vl-success-box-title {
  color: var(--nb-blue);
}
.vl-service-icon-box-4:hover .nb-icon span i {
  color: var(--nb-magenta);
}
.vl-about-icon-2 span {
  background: var(--nb-gradient);
  height: 44px;
  width: 44px;
  line-height: 44px;
  font-size: 18px;
}
.vl-about-icon-2::after {
  background: var(--nb-tint);
}

/* ---------- Hero ---------- */
.nb-hero {
  height: auto;
  min-height: 770px;
  /* Fill the screen so the next section never peeks in below the fold */
  min-height: max(770px, 100svh);
  background-color: var(--nb-navy);
}
.nb-hero .vl-section-heading {
  font-size: 58px;
  line-height: 68px;
}
@media (max-width: 575px) {
  .nb-hero .vl-section-heading {
    font-size: 38px;
    line-height: 48px;
  }
}
.nb-hero .vl-section-subtitle-5 {
  background: rgba(47, 212, 255, 0.12);
  color: var(--nb-cyan) !important;
  border: 1px solid rgba(47, 212, 255, 0.3);
}
.nb-trust-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.nb-trust-points li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}
.nb-trust-points i {
  color: var(--nb-cyan);
  margin-right: 6px;
}
.nb-hero-visual {
  max-width: 620px;
  margin-left: auto;
}
.nb-hero-stats {
  display: flex;
  gap: 12px;
  margin-top: -20px;
  position: relative;
}
.nb-hero-stat {
  flex: 1;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.nb-hero-stat-value {
  display: block;
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
  color: #fff;
}
.nb-hero-stat-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}
@media (max-width: 575px) {
  .nb-hero-stats {
    flex-direction: column;
    margin-top: 12px;
  }
}

/* ---------- Page banner (inner pages) ---------- */
.nb-page-banner {
  background-color: var(--nb-navy);
}
.nb-page-banner h1 {
  font-size: 52px;
  line-height: 62px;
}
@media (max-width: 767px) {
  .nb-page-banner h1 {
    font-size: 36px;
    line-height: 46px;
  }
  .nb-page-banner.pt-200 {
    padding-top: 150px;
  }
}
.nb-page-banner-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 28px;
  max-width: 680px;
  margin: 0;
}
.nb-page-banner .vl-breadcrumb-list span,
.nb-page-banner .vl-breadcrumb-list a {
  color: rgba(255, 255, 255, 0.7);
}
.nb-page-banner .vl-breadcrumb-list .active {
  color: var(--nb-cyan);
}

/* ---------- Feature cards (Why us, engagement models) ---------- */
.nb-feature {
  background: #fff;
  border: 1px solid #E6E9F5;
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nb-feature:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(10, 18, 64, 0.1);
}
.nb-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--nb-tint);
  color: var(--nb-blue);
  font-size: 24px;
  margin-bottom: 20px;
}
.nb-feature-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--nb-heading);
  margin-bottom: 10px;
}
.nb-feature p {
  margin: 0;
  color: var(--nb-text);
}
.nb-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}
@media (max-width: 575px) {
  .nb-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Industry cards ---------- */
.nb-industry-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  height: 100%;
  padding: 26px 24px;
  background: var(--nb-navy-2);
  background-image: radial-gradient(circle at 100% 0%, rgba(47, 212, 255, 0.18), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.nb-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 18, 64, 0.25);
}
.nb-industry-card-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--nb-gradient);
  color: #fff;
  font-size: 22px;
}
.nb-industry-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.nb-industry-card-title {
  color: #fff;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}
.nb-industry-card-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 24px;
}
.nb-industry-card-arrow {
  color: var(--nb-cyan);
  transition: transform 0.3s;
}
.nb-industry-card:hover .nb-industry-card-arrow {
  transform: translateX(4px);
}

/* ---------- Work cards ---------- */
.nb-work-card {
  background: #fff;
  border: 1px solid #E6E9F5;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
/* Hover: replaces the template's dark overlay with a brand-gradient border,
   blue glow, image zoom + light sweep, and a gradient line under the image */
.nb-work-card::after {
  display: none;
}
.nb-work-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--nb-gradient) border-box;
  box-shadow: 0 24px 50px -12px rgba(26, 59, 255, 0.35), 0 0 30px rgba(47, 212, 255, 0.15);
}
.nb-work-card:hover .vl-gallery-testimonial-2-image {
  transform: none;
}
.nb-work-card:hover .nb-work-card-title a {
  color: var(--nb-blue);
}
.nb-work-card .vl-gallery-testimonial-2-image {
  position: relative;
  overflow: hidden;
}
.nb-work-card .vl-gallery-testimonial-2-image img {
  aspect-ratio: 12 / 7;
  height: auto; /* the template fixes this at 450px, which ignores the ratio */
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.nb-work-card:hover .vl-gallery-testimonial-2-image img {
  transform: scale(1.08);
  filter: saturate(1.25) brightness(1.08);
}
/* diagonal light sweep across the image */
.nb-work-card .vl-gallery-testimonial-2-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.nb-work-card:hover .vl-gallery-testimonial-2-image::after {
  left: 130%;
  transition: left 0.8s ease;
}
.nb-work-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
/* gradient line that grows across the top of the text area */
.nb-work-card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--nb-gradient);
  transition: width 0.5s ease;
}
.nb-work-card:hover .nb-work-card-body::before {
  width: 100%;
}
.nb-work-card .readmore span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.nb-work-card:hover .readmore {
  color: var(--nb-blue);
}
.nb-work-card:hover .readmore span {
  transform: translateX(6px);
}
.nb-work-card-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.nb-work-card-title {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 12px;
}
.nb-work-card-title a {
  color: var(--nb-heading);
}
.nb-work-card-title a:hover {
  color: var(--nb-blue);
}
.nb-work-card-result {
  color: var(--nb-text);
  margin-bottom: 16px;
}
.nb-work-card-result strong {
  color: var(--nb-heading);
  font-size: 20px;
}
.nb-work-card .readmore {
  margin-top: auto;
}

/* Proof labels: how much we can say about a project */
.nb-proof-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
}
.nb-proof-named {
  background: rgba(26, 59, 255, 0.85);
}
.nb-proof-anonymized {
  background: rgba(5, 11, 46, 0.75);
  border: 1px solid rgba(47, 212, 255, 0.6);
}
.nb-proof-demo {
  background: rgba(193, 60, 255, 0.8);
}
.nb-proof-legend {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  color: var(--nb-text);
}
.nb-proof-legend .nb-proof-badge {
  position: static;
  margin-right: 8px;
  display: inline-block;
}
.nb-proof-legend .nb-proof-anonymized {
  background: var(--nb-navy);
}

/* Project results */
.nb-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.nb-result {
  background: var(--nb-navy-2);
  background-image: radial-gradient(circle at 100% 0%, rgba(47, 212, 255, 0.2), transparent 60%);
  padding: 24px;
}
.nb-result-value {
  display: block;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  color: #fff;
}
.nb-result-label {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* ---------- Testimonials ---------- */
.nb-dark-section {
  background: var(--nb-navy);
  background-image: radial-gradient(circle at 85% 10%, rgba(47, 212, 255, 0.18), transparent 40%),
                    radial-gradient(circle at 10% 90%, rgba(193, 60, 255, 0.18), transparent 40%);
}
.nb-testimonial {
  background: var(--nb-navy-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}
.nb-quote-mark {
  font-size: 32px;
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nb-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-right: 16px;
  background: var(--nb-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Stats row ---------- */
.nb-stats {
  position: static;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
.nb-stats .vl-about-choose-counter-box:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.nb-stats .counter,
.nb-stats .counter + span {
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 767px) {
  .nb-stats .vl-about-choose-counter-box {
    border-right: 0;
    width: 50%;
    margin-right: 0;
  }
}

/* ---------- About ---------- */
.nb-about-visual img {
  display: block;
}
.nb-pillar {
  height: calc(100% - 30px);
  background: #fff;
  padding: 32px 28px;
  border-top: 4px solid transparent;
  border-image: var(--nb-gradient) 1;
}

/* ---------- Team ---------- */
.nb-team-card {
  background: #fff;
  border: 1px solid #E6E9F5;
  overflow: hidden;
  height: calc(100% - 30px);
}
.nb-team-card-photo {
  aspect-ratio: 1 / 1;
  background: var(--nb-navy-2);
  background-image: radial-gradient(circle at 80% 15%, rgba(47, 212, 255, 0.35), transparent 50%),
                    radial-gradient(circle at 15% 90%, rgba(193, 60, 255, 0.35), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-team-card-photo img {
  height: 100%;
  object-fit: cover;
}
.nb-team-card-initials {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.nb-team-card-body {
  padding: 20px 22px 24px;
}
.nb-team-card-name {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--nb-heading);
}
.nb-team-card-role {
  color: var(--nb-blue);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}
.nb-team-card-bio {
  color: var(--nb-text);
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 12px;
}
.nb-team-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nb-tint);
  color: var(--nb-blue);
}

/* ---------- Detail pages ---------- */
.nb-sidebar-box {
  background: var(--nb-tint-2);
  border: 1px solid #E6E9F5;
  padding: 28px 24px;
}
.nb-sidebar-box-accent {
  background: var(--nb-tint);
}
.nb-sidebar-title {
  font-size: 20px;
  line-height: 28px;
  color: var(--nb-heading);
  margin-bottom: 16px;
}
.nb-sidebar-cta {
  background: var(--nb-navy-2);
  background-image: radial-gradient(circle at 100% 0%, rgba(47, 212, 255, 0.25), transparent 55%);
  border: 0;
}
.nb-sidebar-cta .nb-sidebar-title {
  color: #fff;
}
.nb-sidebar-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.nb-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nb-tags li {
  padding: 6px 14px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #DCE1F5;
  font-size: 14px;
  color: var(--nb-heading);
}
.nb-tags li a {
  color: inherit;
}
.nb-plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nb-plain-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  color: var(--nb-text);
}
.nb-plain-list i {
  color: var(--nb-blue);
  margin-top: 5px;
}
.vl-service-details-larg-img .nb-proof-badge {
  top: 20px;
  left: 20px;
}
.vl-service-details-larg-img img,
.vl-single-blog-img img {
  aspect-ratio: 12 / 7;
  object-fit: cover;
}
.vl-service-details-cat-single-2 .icon i,
.vl-single-blog-meta-box-icon i {
  color: var(--nb-blue);
}

/* ---------- CTA ---------- */
.nb-cta {
  background: var(--nb-navy-2);
  background-image: radial-gradient(circle at 90% 10%, rgba(47, 212, 255, 0.3), transparent 45%),
                    radial-gradient(circle at 0% 100%, rgba(193, 60, 255, 0.3), transparent 45%);
  padding-right: 40px;
}
.nb-cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  max-width: 560px;
}
.nb-cta .nb-text-link {
  color: #fff;
}
.nb-cta .nb-text-link:hover {
  color: var(--nb-cyan);
}
.nb-cta-visual img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin-left: auto;
  border-radius: 8px;
}

/* ---------- Contact form ---------- */
.nb-form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--nb-heading);
  margin-bottom: 8px;
}
.nb-form input,
.nb-form select,
.nb-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #DCE1F5;
  border-radius: 6px;
  padding: 0 16px;
  height: 52px;
  color: var(--nb-heading);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nb-form textarea {
  height: 160px;
  padding: 14px 16px;
  resize: vertical;
}
.nb-form input:focus,
.nb-form select:focus,
.nb-form textarea:focus {
  outline: none;
  border-color: var(--nb-blue);
  box-shadow: 0 0 0 3px rgba(26, 59, 255, 0.15);
}
.nb-form .input-validation-error {
  border-color: #D92D20;
}
.nb-field-error,
.nb-form-error {
  display: block;
  color: #D92D20;
  font-size: 14px;
  margin-top: 6px;
}
.nb-form-error ul {
  margin: 0 0 16px;
  padding-left: 18px;
}
.nb-form-note {
  font-size: 14px;
  color: var(--nb-text);
}
/* Spam trap: kept off-screen so people never see it */
.nb-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nb-form-success {
  text-align: center;
  padding: 40px 10px;
}
.nb-map {
  width: 100%;
  height: 340px;
  border: 0;
}
.nb-map-title {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--nb-heading);
}

/* ---------- Footer ---------- */
.nb-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nb-footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--nb-text);
  line-height: 24px;
}
.nb-footer-contact i {
  color: var(--nb-blue);
  margin-top: 4px;
  width: 16px;
}
.nb-footer-contact a {
  color: var(--nb-text);
}
.nb-footer-contact a:hover {
  color: var(--nb-blue);
}
.nb-footer-contact strong {
  color: var(--nb-heading);
}

/* ---------- 404 ---------- */
.nb-error-code {
  font-size: 140px;
  line-height: 1;
  font-weight: 800;
  background: var(--nb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

/* Testimonial text on dark cards */
.nb-testimonial .vl-testimonial-box-content p {
  color: rgba(255, 255, 255, 0.88);
}
.nb-testimonial .vl-testimonial-box-auth-title {
  color: #fff;
}
.nb-testimonial .vl-testimonial-box-auth-content span {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Custom cursor ----------
   A dot that follows the mouse and a gradient ring that trails behind it.
   Turned on by js/nb-cursor.js only for mouse users (not touch screens,
   not "reduce motion"), so everyone else keeps the normal cursor. */
html.nb-cursor-on,
html.nb-cursor-on * {
  cursor: none !important;
}
/* keep the normal text cursor where people type */
html.nb-cursor-on input,
html.nb-cursor-on textarea,
html.nb-cursor-on select,
html.nb-cursor-on [contenteditable] {
  cursor: auto !important;
}
.nb-cursor-dot,
.nb-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform;
}
html.nb-cursor-on .nb-cursor-dot,
html.nb-cursor-on .nb-cursor-ring {
  opacity: 1;
}
.nb-cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
}
/* the visible dot is a layer inside, so it can shrink while the script moves the outside */
.nb-cursor-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--nb-cyan);
  box-shadow: 0 0 10px rgba(47, 212, 255, 0.8);
  transition: transform 0.2s ease;
}
.nb-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}
/* gradient outline */
.nb-cursor-ring::before,
.nb-cursor-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nb-cursor-ring::before {
  padding: 2px;
  background: var(--nb-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* soft glow fill, shown on hover */
.nb-cursor-ring::after {
  background: var(--nb-gradient);
  opacity: 0;
  filter: blur(2px);
}

/* hovering a link, button or card: ring grows and glows, dot shrinks */
html.nb-cursor-hover .nb-cursor-ring::before {
  transform: scale(1.8);
}
html.nb-cursor-hover .nb-cursor-ring::after {
  transform: scale(1.8);
  opacity: 0.18;
}
html.nb-cursor-hover .nb-cursor-dot::before {
  transform: scale(0.5);
}

/* clicking: ring squeezes in */
html.nb-cursor-down .nb-cursor-ring::before,
html.nb-cursor-down .nb-cursor-ring::after {
  transform: scale(0.75);
}

/* mouse left the window */
html.nb-cursor-out .nb-cursor-dot,
html.nb-cursor-out .nb-cursor-ring {
  opacity: 0;
}

/* ---------- Language switcher ---------- */
/* Header: globe + current language, then the "Get started" button */
.nb-header-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.nb-lang {
  position: relative;
}
.nb-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--vl-fonts-figtree);
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.nb-lang-toggle .fa-globe {
  font-size: 18px;
}
.nb-lang-caret {
  font-size: 14px;
  transition: transform 0.25s;
}
.nb-lang.open .nb-lang-caret {
  transform: rotate(180deg);
}
.nb-lang-toggle:focus-visible {
  outline: 2px solid var(--nb-cyan);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Full name on wide screens, short label ("EN", "ខ្មែរ") where the header is tight */
.nb-lang-short {
  display: none;
}
@media (max-width: 1399px) {
  .nb-lang-name { display: none; }
  .nb-lang-short { display: inline; }
}

/* Dropdown: dark glass, matching the navbar and hero stat cards */
.nb-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(10, 18, 64, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nb-lang-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nb-gradient);
}
.nb-lang.open .nb-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nb-lang-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nb-lang-menu a:hover,
.nb-lang-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nb-lang-menu a.active {
  background: rgba(47, 212, 255, 0.12);
  color: var(--nb-cyan);
  font-weight: 700;
}

/* Mobile menu: one button per language */
.nb-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nb-lang-chip {
  padding: 8px 16px;
  border: 1px solid #E6E9F5;
  border-radius: 999px;
  color: var(--nb-heading);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.nb-lang-chip:hover {
  border-color: var(--nb-blue);
  color: var(--nb-blue);
}
.nb-lang-chip.active {
  background: var(--nb-tint);
  border-color: var(--nb-blue);
  color: var(--nb-blue);
  font-weight: 700;
}

/* On smaller desktops the logo and menu tighten up so the menu stays on one line
   next to the language switcher, in every language (Vietnamese is the longest) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .vl-logo.nb-logo img {
    width: 240px;
  }
  .vl-main-menu ul > li {
    margin-right: 20px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .vl-logo.nb-logo img {
    width: 170px;
  }
  .vl-main-menu ul > li {
    margin-right: 14px;
  }
  .vl-main-menu ul > li > a {
    font-size: 16px;
  }
  .nb-header-actions {
    gap: 12px;
  }
}

/* ---------- Fonts per language ---------- */
/* Figtree has no Vietnamese, Khmer or Chinese letters, so those pages use a font that does
   (loaded in _HeadCSS only on that language's pages). Latin text keeps Figtree where it can. */
:root:lang(vi) {
  --vl-fonts-figtree: "Be Vietnam Pro", sans-serif;
}
:root:lang(km) {
  --vl-fonts-figtree: "Figtree", "Kantumruy Pro", sans-serif;
}
:root:lang(zh) {
  --vl-fonts-figtree: "Figtree", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
/* The language names in the switcher are shown in their own script on every page */
.nb-lang [lang="km"], .nb-lang-list [lang="km"] {
  font-family: "Kantumruy Pro", "Khmer OS", "Leelawadee UI", sans-serif;
}
.nb-lang [lang="vi"], .nb-lang-list [lang="vi"] {
  font-family: "Be Vietnam Pro", var(--vl-fonts-figtree);
}

/* Khmer stacks vowels and subscripts above and below the line, so it needs more room */
html:lang(km) h1, html:lang(km) h2, html:lang(km) h3, html:lang(km) h4, html:lang(km) h5 {
  line-height: 1.5;
  letter-spacing: normal;
}
html:lang(km) p, html:lang(km) li {
  line-height: 1.8;
}
html:lang(km) .vl-upper, html:lang(zh) .vl-upper {
  letter-spacing: normal;
}
