/* Nexlab light theme + Magic UI view-transition clip.
   Default qoladi dark. html.light — kun rejimi. */

html {
  color-scheme: dark;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-group(root) {
  animation-duration: var(--magicui-theme-toggle-vt-duration, 500ms);
}

html[data-magicui-theme-vt="active"]::view-transition-new(root) {
  clip-path: var(--magicui-theme-vt-clip-from);
}

.nexlab-theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 166, 107, 0.32);
  border-radius: 999px;
  cursor: pointer;
  color: #ffa66b;
  background: rgba(20, 21, 28, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nexlab-theme-toggle:hover {
  border-color: #ffa66b;
}

.nexlab-theme-toggle:focus-visible {
  outline: 2px solid #ffa66b;
  outline-offset: 2px;
}

.nexlab-theme-toggle svg {
  width: 16px;
  height: 16px;
  display: none;
}

html:not(.light) .nexlab-theme-toggle .icon-sun {
  display: block;
}

html.light .nexlab-theme-toggle .icon-moon {
  display: block;
}

.site-logo.logo-on-light {
  display: none;
}

html.light .navbar-main {
  background: rgba(244, 239, 233, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.light .testimonial-card,
html.light .faq-accordion,
html.light .faq-item {
  border: 1px solid rgba(20, 21, 28, 0.08);
}

html.light {
  color-scheme: light;
  --background: #f4efe9;
  --heading: #14151c;
  --paragraph: #3d3a38;
  --heading-2: #14151c;
  --secondary: #fff;
  --border: #d9cfc6;
  --black: #14151c;
  --border-2: #d4cbc2;
  --paragraph-2: #5c5854;
  --tertiary: #ebe4dc;
}

html.light body {
  background-color: var(--background);
  color: var(--heading);
}

html.light #hero.hero-section {
  background: #f4efe9;
}

html.light .hero-section-overlay {
  background-image: none;
  opacity: 0;
}

.site-logo-wrapper .site-logo.logo-on-dark,
.site-logo-wrapper .site-logo.logo-on-light {
  width: 132px;
  height: auto;
  max-width: none;
}

html.light #nexlab-grid rect {
  stroke: rgba(20, 21, 28, 0.16);
}

html.light #nexlab-grid rect.is-hover {
  fill: rgba(255, 166, 107, 0.38);
}

html.light .nexlab-theme-toggle {
  color: #14151c;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html.light .nexlab-lang-switcher .lang-trigger {
  color: #14151c;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html.light .nexlab-lang-switcher .lang-menu {
  background: rgba(255, 252, 249, 0.98);
  box-shadow: 0 16px 40px rgba(20, 21, 28, 0.12);
}

html.light .nexlab-lang-switcher .lang-item {
  color: #14151c;
}

html.light .nexlab-lang-switcher .lang-item:hover,
html.light .nexlab-lang-switcher .lang-item.active {
  color: #14151c;
}

html.light .site-logo.logo-on-dark {
  display: none;
}

html.light .site-logo.logo-on-light {
  display: block;
}

html.light .nav-link,
html.light .nav-link:hover,
html.light .nav-link.w--current,
html.light .nav-link .default-text {
  color: #14151c;
}

html.light .nav-link .default-text.black-heading {
  color: #fff;
}

html.light .hamburger-line {
  background-color: #14151c;
}

html.light .hero-heading-17cqw,
html.light .hero-sub-heading,
html.light ._20px-title,
html.light .heading,
html.light .secondary-heading,
html.light .heading-secondary,
html.light ._16px-text,
html.light ._20px-text-secodary,
html.light ._40px-text-bold,
html.light .counter-title,
html.light .faq-title-18px,
html.light .team-member-name,
html.light .client-name {
  color: #14151c;
}

html.light .footer .white-text {
  color: #14151c;
}

html.light p,
html.light .secondary-paragraph,
html.light ._14px-text-600,
html.light ._14px-text-500-secondary,
html.light .description,
html.light .team-member-designation,
html.light .testimonial-text {
  color: var(--paragraph);
}

html.light .service-heading:not(.stroked) {
  color: #14151c;
}

html.light .service-heading.stroked {
  -webkit-text-stroke-color: #14151c;
}

html.light .infinity-text {
  color: #14151c;
}

html.light .site-line-wrapper .line,
html.light .line-infinity {
  background-color: rgba(20, 21, 28, 0.08);
}

html.light .logo-chip-wrap.logo-chip-black {
  background: #fff;
  border-color: rgba(20, 21, 28, 0.08);
}

html.light #projects-page .nx-skel {
  background: linear-gradient(90deg, #ebe4dc 0%, #f7f2ec 45%, #ebe4dc 100%);
  background-size: 200% 100%;
}

html.light #projects-page .nx-projects-cta {
  background: #fff;
  border-color: rgba(255, 166, 107, 0.35);
}

html.light .w-nav-menu {
  background-color: #f4efe9;
}

html.light .pricing-card:not(.featured) {
  color: #f4efe9;
}

html.light .pricing-card:not(.featured) ._40px-text-bold,
html.light .pricing-card:not(.featured) .package-name,
html.light .pricing-card:not(.featured) .pricing-block-bottom,
html.light .pricing-card:not(.featured) p,
html.light .pricing-card:not(.featured) .secondary-paragraph {
  color: #f4efe9;
}

html.light .pricing-card .pricing-card-body-padding:not(.featured) {
  color: #14151c;
}

html.light .pricing-card .pricing-card-body-padding:not(.featured) p,
html.light .pricing-card .pricing-card-body-padding:not(.featured) li,
html.light .pricing-card .pricing-card-body-padding:not(.featured) .secondary-paragraph,
html.light .pricing-card .pricing-card-body-padding:not(.featured) ._16px-text,
html.light .pricing-card .pricing-card-body-padding:not(.featured) ._14px-text-600 {
  color: #3d3a38;
}

html.light .faq-accordion:hover {
  color: #14151c;
}

html.light .faq-accordion.w--current,
html.light .faq-accordion.w--current:hover,
html.light .faq-accordion.w--current .faq-title-18px,
html.light .faq-accordion.w--current p,
html.light .faq-accordion.w--current .secondary-paragraph {
  color: #f4efe9;
}

html.light .contact-section .heading,
html.light .contact-section p,
html.light .contact-section .secondary-paragraph,
html.light .contact-section .white-text {
  color: #14151c;
}

html.light [data-nav-menu-open],
html.light .w-nav-overlay {
  background-color: #f4efe9;
}

@media screen and (max-width: 991px) {
  .nexlab-theme-toggle {
    width: 34px;
    height: 34px;
  }
}
